/* Flick's site: full-width tiles stacked like Apple's pages, black and light gray in turn, with a
   thin gap between them. The app's own type and blue. */

/* Macs and iPhones use their own San Francisco; everyone else gets Inter, which is close to it. */
@font-face {
  font-family: "Inter Flick";
  src: url(fonts/inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* The page and the light tiles. Each .dark tile swaps in its own colors below. */
:root {
  --page: #ffffff;
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.1);
  --soft: rgba(0, 0, 0, 0.05);
  --soft-hover: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --gap: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter Flick", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Flick", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #000000;
    --bg: #161617;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.12);
    --soft: rgba(255, 255, 255, 0.07);
    --soft-hover: rgba(255, 255, 255, 0.11);
    --accent: #0a84ff;
    --accent-hover: #2b95ff;
    --link: #2997ff;
    color-scheme: dark;
  }
}

.dark {
  --bg: #000000;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --line: rgba(255, 255, 255, 0.16);
  --soft: rgba(255, 255, 255, 0.08);
  --soft-hover: rgba(255, 255, 255, 0.13);
  --link: #2997ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 48px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--text); }
h1 { font-size: clamp(42px, 8.4vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.dark .eyebrow { color: var(--link); }
.eyebrow svg { width: 18px; height: 18px; }

.lede { max-width: 38em; margin: 20px 0 0; color: var(--muted); font-size: clamp(18px, 1.9vw, 22px); line-height: 1.4; letter-spacing: -0.02em; }

/* The direction hues of the ring. */
.gradient {
  background: linear-gradient(95deg, #0a84ff 0%, #5e5ce6 38%, #bf5af2 62%, #ff375f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 11px 22px;
  border: 1px solid var(--accent);
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { border-color: var(--accent-hover); background: var(--accent-hover); text-decoration: none; }
.btn.ghost { border-color: var(--link); background: transparent; color: var(--link); }
.btn.ghost:hover { background: var(--link); color: #fff; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

/* ---------- navigation: dark, like the hero below it ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(22, 22, 23, 0.8);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: min(1080px, 100% - 44px); height: 48px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--display); font-size: 18px; font-weight: 650; letter-spacing: -0.025em; }
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: -0.01em; }
.nav nav a { color: #e8e8ed; opacity: 0.85; }
.nav nav a:hover { opacity: 1; text-decoration: none; }
.nav .nav-cta { padding: 4px 12px; border-radius: 980px; background: var(--accent); color: #fff; opacity: 1; font-weight: 500; }
.nav .nav-cta:hover { background: var(--accent-hover); }
@media (max-width: 680px) { .nav nav a:not(.nav-cta) { display: none; } }

/* ---------- the tiles ---------- */

main { display: grid; gap: var(--gap); }
.tile { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 120px) 0; background: var(--bg); color: var(--text); }
.inner { width: min(1080px, 100% - 44px); margin-inline: auto; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.app-icon { width: 96px; height: 96px; margin: 0 auto 22px; }

/* What Flick is, and the video */
.hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 7px; }
.facts li::before { content: ""; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l3 3 6-6.6' fill='none' stroke='%232997ff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

.screen {
  position: relative;
  margin-top: clamp(48px, 7vw, 80px);
  overflow: hidden;
  border-radius: 18px;
  background: #1a1630;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 50px 120px -40px rgba(10, 132, 255, 0.45);
  aspect-ratio: 16 / 10;
}
@media (max-width: 600px) { .screen { border-radius: 12px; } }
.screen video { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 30, 32, 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0.85;
  transition: opacity 0.15s;
}
.play:hover { opacity: 1; }
.play svg { width: 16px; height: 16px; fill: currentColor; }
.play .i-play, .play.paused .i-pause { display: none; }
.play.paused .i-play { display: block; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: clamp(48px, 6vw, 72px); margin-bottom: 0; padding: 0; list-style: none; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } }
.steps li { counter-increment: step; color: var(--muted); font-size: 17px; line-height: 1.45; text-align: center; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
}
.steps b { display: block; margin-bottom: 4px; color: var(--text); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }

/* The desktop to try Flick on (desk.js), with the same wallpaper as the video */
.try { margin-top: clamp(72px, 9vw, 112px); padding-top: clamp(56px, 7vw, 80px); border-top: 1px solid var(--line); text-align: center; }
.try h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; letter-spacing: -0.03em; }
.try-lede { max-width: 34em; margin: 10px auto 0; color: var(--muted); font-size: 17px; line-height: 1.45; }
.desk {
  position: relative;
  height: clamp(500px, 46vw, 560px);
  margin-top: 26px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(60% 75% at 12% 18%, #8ec5ff 0%, transparent 70%),
    radial-gradient(55% 70% at 88% 12%, #f6b7d8 0%, transparent 70%),
    radial-gradient(70% 80% at 78% 95%, #ffd29a 0%, transparent 70%),
    radial-gradient(60% 70% at 20% 100%, #b7a6ff 0%, transparent 70%),
    linear-gradient(160deg, #cfe3ff 0%, #f3dcf0 55%, #ffe6cc 100%);
  text-align: left;
  letter-spacing: normal;
  cursor: default;
  isolation: isolate;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
@media (prefers-color-scheme: dark) {
  .desk {
    background:
      radial-gradient(60% 75% at 12% 18%, #1f4fa8 0%, transparent 70%),
      radial-gradient(55% 70% at 88% 12%, #7a2c74 0%, transparent 70%),
      radial-gradient(70% 80% at 78% 95%, #a3501f 0%, transparent 70%),
      radial-gradient(60% 70% at 20% 100%, #3b2b8f 0%, transparent 70%),
      linear-gradient(160deg, #0f1a33 0%, #241433 55%, #2a1a12 100%);
  }
}
@media (max-width: 600px) { .desk { margin-inline: -8px; border-radius: 12px; } }

/* Desktop icons, like Finder's: a picture or a page, and a name that turns blue when selected. */
.file {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--cw, 112px);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: default;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.file:focus-visible { outline: none; }
.file:focus-visible .icon { outline: 2px solid var(--accent); outline-offset: 1px; }
.file .icon { display: grid; place-items: center; width: 72px; height: 68px; border-radius: 7px; }
.file img, .ghost img { max-width: 64px; max-height: 64px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28)); -webkit-user-drag: none; pointer-events: none; }
.file img.page { width: 48px; }
.file .name {
  display: -webkit-box;
  max-width: calc(100% - 4px);
  margin-top: 3px;
  padding: 1px 5px;
  overflow: hidden;
  border-radius: 4px;
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.85);
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media (prefers-color-scheme: dark) { .file .name { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } }
.desk.narrow .file .name { max-width: 100%; padding: 1px 3px; font-size: 11px; }
.file.selected .icon { background: rgba(0, 0, 0, 0.16); }
.file.selected .name { background: #0a63d8; color: #fff; text-shadow: none; }
@media (prefers-color-scheme: dark) { .file.selected .icon { background: rgba(255, 255, 255, 0.16); } }
.file.new .icon, .file.new .name { animation: pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
@keyframes pop { from { opacity: 0; scale: 0.5; } }
.file.flash .icon { animation: flash 0.6s ease-in-out; }
@keyframes flash { 35% { scale: 1.18; } }
.file.nudge .icon { animation: nudge 1.6s ease-in-out; }
@keyframes nudge { 14% { translate: 0 -9px; } 28% { translate: 0 0; } 40% { translate: 0 -4px; } 52%, 100% { translate: 0 0; } }

/* What follows the pointer while files are dragged, with a green + over an option. */
.ghost { position: absolute; top: 0; left: 0; z-index: 5; width: 44px; height: 44px; opacity: 0.8; pointer-events: none; }
.ghost[hidden] { display: none; }
.ghost img { position: absolute; top: 0; left: 0; max-width: 44px; max-height: 44px; }
.ghost img.page { width: 32px; }
.ghost img:nth-of-type(2) { translate: 5px -4px; }
.ghost img:nth-of-type(3) { translate: 10px -8px; }
.ghost .count {
  position: absolute;
  top: -8px;
  left: 30px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #ff3b30;
  color: #fff;
  font: 600 12px/20px var(--font);
  text-align: center;
}
.ghost .plus { position: absolute; top: -12px; left: -12px; display: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3)); }
.ghost.copy .plus { display: block; }
.ghost.taken { opacity: 0; scale: 0.6; transition: opacity 0.18s, scale 0.18s; }
.ghost.back { opacity: 0; transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.26s ease-in; }

.marquee { position: absolute; z-index: 2; border: 1px solid rgba(10, 99, 216, 0.85); border-radius: 2px; background: rgba(10, 99, 216, 0.16); pointer-events: none; }
.marquee[hidden] { display: none; }

.desk-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 2;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 7px 14px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  translate: -50% 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.25s;
}
.desk-hint.gone, .desk-hint.quiet { opacity: 0; }
.desk.narrow .desk-hint { font-size: 12px; }

.try-foot { display: grid; justify-items: center; gap: 12px; margin-top: 16px; }
.formats { max-width: 46em; margin: 0; color: var(--faint); font-size: 13px; line-height: 1.5; }
.desk-reset {
  padding: 7px 16px;
  border: 0;
  border-radius: 980px;
  background: var(--soft);
  color: var(--text);
  font: 500 14px/1.2 var(--font);
  letter-spacing: -0.01em;
  cursor: pointer;
}
.desk-reset:hover { background: var(--soft-hover); }
/* Keeps its place, so nothing below jumps when it appears. */
.desk-reset[hidden] { display: block; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .file, .ghost.back, .ghost.taken { transition: none; }
  .file .icon, .file .name { animation: none !important; }
}

/* The app's ring (geometry.js and renderer/ring.css), drawn on the page */
.tr-ring {
  --accent-ring: #007aff;
  --ink: rgba(0, 0, 0, 0.85);
  --ink-2: rgba(0, 0, 0, 0.5);
  --hair: rgba(0, 0, 0, 0.1);
  --well: rgba(255, 255, 255, 0.4);
  --fill: rgba(246, 246, 246, 0.42);
  --edge: rgba(0, 0, 0, 0.14);
  --sheen-top: rgba(255, 255, 255, 0.95);
  --sheen-mid: rgba(255, 255, 255, 0.3);
  --sheen-bottom: rgba(255, 255, 255, 0.6);
  --lift: 0 12px 32px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
  --k: 1.35;
  position: relative;
  width: calc(280px * var(--k));
  height: calc(280px * var(--k));
  border-radius: 50%;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter Flick", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  letter-spacing: normal;
  text-align: left;
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
@media (prefers-color-scheme: dark) {
  .tr-ring {
    --accent-ring: #0a84ff;
    --ink: rgba(255, 255, 255, 0.92);
    --ink-2: rgba(255, 255, 255, 0.55);
    --hair: rgba(255, 255, 255, 0.12);
    --well: rgba(0, 0, 0, 0.16);
    --fill: rgba(30, 30, 32, 0.42);
    --edge: rgba(0, 0, 0, 0.55);
    --sheen-top: rgba(255, 255, 255, 0.34);
    --sheen-mid: rgba(255, 255, 255, 0.07);
    --sheen-bottom: rgba(255, 255, 255, 0.16);
    --lift: 0 12px 32px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.2);
  }
}
.tr-ring:focus-visible { outline-offset: 6px; border-radius: 50%; }
.tr-scale { position: absolute; top: 0; left: 0; width: 280px; height: 280px; transform: scale(var(--k)); transform-origin: 0 0; }
.tr-frost {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  box-shadow: var(--lift), 0 0 0 0.5px var(--edge);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
}
.tr-art { position: absolute; inset: 0; width: 280px; height: 280px; overflow: visible; }
.tr-art .glass { fill: var(--fill); }
.tr-art .well { fill: var(--well); stroke: var(--hair); stroke-width: 1; }
.tr-art .rim { fill: none; stroke: url(#tr-sheen); stroke-width: 1; }
.tr-art .sheen-top { stop-color: var(--sheen-top); }
.tr-art .sheen-mid { stop-color: var(--sheen-mid); }
.tr-art .sheen-bottom { stop-color: var(--sheen-bottom); }
.tr-art .dividers path { stroke: var(--hair); stroke-width: 1; stroke-linecap: round; }
.tr-art .slice path { fill: transparent; stroke: transparent; stroke-width: 16; stroke-linejoin: round; }
.tr-art .slice.active path { fill: var(--accent-ring); stroke: var(--accent-ring); }
.tr-art .labels text { fill: var(--ink); font-size: 12px; font-weight: 550; letter-spacing: -0.005em; text-anchor: middle; }
.tr-art .labels.on text { fill: #fff; }
.tr-info {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 106px;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.tr-title { max-width: 100%; overflow: hidden; font-size: 11.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.tr-ring.picking .tr-title { font-size: 14px; font-weight: 650; letter-spacing: -0.01em; }
.tr-sub { margin-top: 1px; color: var(--ink-2); font-size: 10px; line-height: 1.25; }
/* On the desktop the ring opens where a file is picked up, at the app's size. */
.desk .tr-ring {
  --k: 1;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  cursor: default;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity 0.12s ease-out, transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.1), visibility 0s 0.12s;
}
.desk .tr-ring.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.12s ease-out, transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.1); }
.desk .tr-ring.fired { opacity: 0; transition: opacity 0.14s ease-in 0.11s; }
.desk .tr-ring.clickable { pointer-events: auto; }
.tr-thumb { width: 28px; height: 28px; margin-bottom: 4px; object-fit: contain; }
.tr-thumb.pic { border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 0.5px var(--hair), 0 1px 2px rgba(0, 0, 0, 0.15); }
.tr-thumb:not([src]), .tr-ring.picking .tr-thumb, .tr-ring.on-hub .tr-thumb { display: none; }

/* The progress popup (renderer/hud.css), on glass like on macOS: top right, or bottom right on Windows. */
.desk-hud {
  --text: #19191c;
  --muted: #62626a;
  --raised: #ffffff;
  --sunken: rgba(0, 0, 0, 0.05);
  --good: #15803d;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: min(340px, calc(100% - 24px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  background: rgba(246, 246, 246, 0.62);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 0.5px rgba(0, 0, 0, 0.12);
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
  animation: drop-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
@media (prefers-color-scheme: dark) {
  .desk-hud {
    --text: #f2f2f3;
    --muted: #a8a8b0;
    --raised: #2c2c31;
    --sunken: rgba(255, 255, 255, 0.06);
    --good: #4ade80;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(30, 30, 32, 0.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(0, 0, 0, 0.55);
  }
}
.desk-hud[hidden] { display: none; }
.desk.win .desk-hud, .desk.narrow .desk-hud { top: auto; bottom: 12px; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.desk-hud .jobs { margin: 0; padding: 4px; list-style: none; }
.desk-hud .job { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 7px 8px; border-radius: 10px; animation: row-in 0.22s ease-out; }
@keyframes row-in { from { opacity: 0; transform: translateY(-4px); } }
.desk-hud .ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 9px;
  background: color-mix(in oklab, var(--c) 16%, var(--raised));
  color: var(--c);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.desk-hud .ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.desk-hud .ico img:not([src]) { display: none; }
.desk-hud .ico svg { width: 18px; height: 18px; }
.desk-hud .job-title { overflow: hidden; font-weight: 550; white-space: nowrap; text-overflow: ellipsis; }
.desk-hud .job-title .to { font-weight: 400; color: var(--muted); }
.desk-hud .job-meta { overflow: hidden; color: var(--muted); font-size: 11.5px; white-space: pre; text-overflow: ellipsis; }
.desk-hud .job-meta .delta { font-weight: 600; color: var(--good); }
.desk-hud .job-meta .delta.up { color: var(--muted); }
.desk-hud .bar { height: 3px; margin-top: 5px; overflow: hidden; border-radius: 2px; background: var(--sunken); }
.desk-hud .bar i { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--c); transition: width 0.05s linear; }
.desk-hud .job:not([data-status="running"]):not([data-status="queued"]) .bar { display: none; }
.desk-hud .act { display: flex; gap: 2px; }
.desk-hud .act button { padding: 4px 9px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 12px var(--font); cursor: pointer; }
.desk-hud .act button:hover { background: var(--sunken); color: var(--text); }
.desk-hud .act button[hidden] { display: none; }
/* One hue per direction (renderer/theme.css). */
.desk-hud [data-dir="up"] { --c: #16a34a; }
.desk-hud [data-dir="up-right"] { --c: #0d9488; }
.desk-hud [data-dir="right"] { --c: #2563eb; }
.desk-hud [data-dir="down-right"] { --c: #4f46e5; }
.desk-hud [data-dir="down"] { --c: #7c3aed; }
.desk-hud [data-dir="down-left"] { --c: #db2777; }
.desk-hud [data-dir="left"] { --c: #ea580c; }
.desk-hud [data-dir="up-left"] { --c: #d97706; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Privacy */
.zero { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.zero-num {
  font-family: var(--display);
  font-size: clamp(140px, 19vw, 230px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 10%, #64d2ff 55%, #0a84ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.zero-unit { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 650; line-height: 1.15; letter-spacing: -0.025em; }

.versus { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.side { padding: 36px 48px 0 0; }
.side + .side { padding: 36px 0 0 48px; border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .versus { grid-template-columns: 1fr; }
  .side, .side + .side { padding: 32px 0 0; border-left: 0; }
  .side + .side { margin-top: 32px; border-top: 1px solid var(--line); }
}
.side h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: 24px; }
.side h3 img { width: 26px; height: 26px; }
.side ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.side li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 17px; line-height: 1.4; }
.side li::before { content: ""; width: 22px; height: 22px; margin-top: -0.5px; border-radius: 50%; background-position: center; background-repeat: no-repeat; }
.them h3, .them li { color: #86868b; }
.them li::before { background-color: rgba(255, 255, 255, 0.08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M8 8l6 6M14 8l-6 6' stroke='%2386868b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.us li::before { background-color: #0a84ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.3l2.7 2.7L15.2 8.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Ease */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; margin-top: clamp(48px, 6vw, 72px); margin-bottom: 0; padding: 0; list-style: none; text-align: center; }
@media (max-width: 920px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .points { grid-template-columns: 1fr; } }
.points svg { width: 30px; height: 30px; margin: 0 auto 16px; color: var(--accent); }
.points b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.points span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Download */
.download .app-icon { width: 80px; height: 80px; }
.dl-phone { max-width: 30em; margin: 24px auto 0; color: var(--text); font-size: 17px; }
.dl-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(44px, 5vw, 60px); }
@media (max-width: 820px) { .dl-list { grid-template-columns: 1fr; max-width: 440px; } }
.dl-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 20px 28px;
  border-radius: 18px;
  background: #1d1d1f;
  color: var(--text);
  text-align: center;
  transition: background 0.15s, transform 0.15s;
}
.dl-btn:hover { background: #2a2a2d; text-decoration: none; }
.dl-btn:active { transform: scale(0.985); }
.dl-btn.mine { background: var(--accent); }
.dl-btn.mine:hover { background: var(--accent-hover); }
.dl-ico { width: 46px; height: 46px; margin-bottom: 16px; }
.dl-btn b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.dl-btn small { margin-top: 4px; color: var(--muted); font-size: 14px; letter-spacing: -0.005em; }
.dl-btn.mine small { color: rgba(255, 255, 255, 0.8); }
.dl-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--link); font-size: 15px; font-weight: 500; }
.dl-btn.mine .dl-go { color: #fff; }
.dl-go svg { width: 16px; height: 16px; }
.dl-pick { position: absolute; top: 14px; left: 50%; display: none; padding: 3px 10px; border-radius: 980px; background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.dl-btn.mine .dl-pick { display: block; }
.dl-more { margin-top: 26px; font-size: 15px; }
.which-mac summary, .fingerprints summary { color: var(--link); cursor: pointer; list-style: none; }
.which-mac summary::-webkit-details-marker, .fingerprints summary::-webkit-details-marker { display: none; }
.which-mac summary::after, .fingerprints summary::after { content: " ›"; display: inline-block; transition: transform 0.2s; }
.which-mac[open] summary::after, .fingerprints[open] summary::after { transform: rotate(90deg); }
.which-mac p { max-width: 34em; margin: 10px auto 0; color: var(--muted); line-height: 1.45; }
.which-mac b { color: var(--text); font-weight: 600; }
.dl-help { margin: 10px 0 0; color: var(--muted); }

/* Installing */
.install-steps { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.install-steps > div { padding: 36px 48px 0 0; }
.install-steps > div + div { padding: 36px 0 0 48px; border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .install-steps { grid-template-columns: 1fr; }
  .install-steps > div, .install-steps > div + div { padding: 32px 0 0; border-left: 0; }
  .install-steps > div + div { margin-top: 32px; border-top: 1px solid var(--line); }
}
.install-steps h3 { font-size: 24px; }
.install-steps ol { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: n; }
.install-steps li { position: relative; padding-left: 36px; counter-increment: n; color: var(--muted); font-size: 16px; line-height: 1.5; }
.install-steps li::before { content: counter(n); position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 650; }
.install-steps b { color: var(--text); font-weight: 600; }
.install-steps q { color: var(--text); font-style: italic; }
.install-more { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.install-after { margin: 0; color: var(--muted); font-size: 16px; }
.fingerprints { margin-top: 14px; font-size: 15px; }
.fingerprints p { max-width: 50em; margin: 10px 0 0; color: var(--muted); line-height: 1.5; }
.fingerprints code { padding: 1px 5px; border-radius: 5px; background: var(--soft); color: var(--text); font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.fingerprints dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; }
.fingerprints dt { color: var(--text); font-weight: 500; }
.fingerprints dd { margin: 0; overflow-wrap: anywhere; color: var(--muted); font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 600px) { .fingerprints dl { grid-template-columns: 1fr; } .fingerprints dd { margin-bottom: 6px; } }

/* Who makes it */
.cup { width: 64px; height: 64px; margin: 0 auto 26px; color: #ffdd00; }
.btn.coffee { border-color: #ffdd00; background: #ffdd00; color: #000; font-weight: 600; }
.btn.coffee:hover { border-color: #ffe54d; background: #ffe54d; }
.support-link { margin: 14px 0 0; color: var(--faint); font-size: 14px; }

/* ---------- footer ---------- */

.foot { margin-top: var(--gap); padding: 22px 0 40px; background: var(--bg); color: var(--faint); font-size: 13px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; width: min(1080px, 100% - 44px); margin: 0 auto; }
.foot .brand { font-size: 15px; }
.foot .brand img { width: 20px; height: 20px; }

/* 404 */
.missing { display: grid; min-height: calc(100vh - 48px); place-content: center; }
.missing h1 { font-size: clamp(36px, 5vw, 56px); }

/* Tiles rise in gently as they scroll into view. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal > * { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.seen > * { opacity: 1; transform: none; }
}
.desk .tr-ring:focus-visible { outline: none; }
.desk .tr-ring:not(.by-pointer):focus-visible .tr-frost { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; }
