/* DropDock landing page
   Page tokens follow DESIGN.md. Shelf tokens are copied from the app's own styles.css
   so every mockup matches the real product. */

:root {
  /* page */
  --bg: #000000;
  --bg-raised: #181818;
  --text: #F2F2F7;
  --text-2: #8E8E93;
  --text-3: #6C6C70;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #FF9F0A;
  --accent-dim: rgba(255, 159, 10, 0.12);
  --accent-glow: rgba(255, 159, 10, 0.22);
  --dev: #A99EFF;
  --dev-dim: rgba(169, 158, 255, 0.12);
  --danger: #FF453A;

  /* shelf (from the app) */
  --shelf: #1C1C1E;
  --item: #2C2C2E;
  --item-hover: #3A3A3C;
  --dim: #48484A;
  --shelf-border: rgba(255, 255, 255, 0.07);
  --shelf-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.30);

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-app: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* type */
  --font: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', monospace;
  --app-font: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, system-ui, sans-serif;

  --gutter: 16px;
  --nav-h: 64px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; } }

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg use { pointer-events: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 8px 12px; border-radius: 8px; background: var(--accent); color: #000; font-weight: 600;
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }

/* ── Type ──────────────────────────────────── */
.h2 {
  font-size: 2.25rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em;
  text-wrap: balance;
}
@media (min-width: 768px) { .h2 { font-size: 3rem; line-height: 1.05; } }
.h3 { font-size: 1.875rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.h4 { font-size: 1.125rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--text-2); max-width: 36rem; text-wrap: pretty; }
p { text-wrap: pretty; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.02em;
  color: var(--text-2);
}
.tag svg { width: 14px; height: 14px; }
.tag__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.tag__num { color: var(--accent); }
.tag--live { color: var(--accent); }
.tag--dev { color: var(--dev); padding: 4px 10px; border-radius: 999px; background: var(--dev-dim); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: live 2.4s var(--ease-out) infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255,159,10,.5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255,159,10,0); } }

.svg-mono { font-family: var(--mono); font-size: 12px; fill: var(--text-2); }
.svg-mono--hi { fill: var(--accent); }

/* ── Buttons ───────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 1rem; font-weight: 600; line-height: 1; white-space: nowrap;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 0.875rem; }
.btn--accent { background: var(--accent); color: #000; }
.btn--ghost { background: var(--item); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: #FFB340; }
  .btn--ghost:hover { background: var(--item-hover); }
}

/* ── Grain ─────────────────────────────────── */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Intro ─────────────────────────────────── */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 180; background: #000;
  display: grid; place-items: center;
}
.intro__mark { position: relative; width: 72px; height: 72px; }
.intro__tray { width: 72px; height: 72px; color: var(--accent); opacity: 0; transform: scale(0.92); }
.intro__file {
  position: absolute; left: 50%; top: 0; width: 22px; height: 28px; margin-left: -11px;
  border-radius: 4px; background: var(--item); border: 1px solid var(--dim); opacity: 0;
}
.intro__file::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 5px; height: 5px; border-radius: 1.5px; background: var(--danger); }

/* ── Nav ───────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 130; height: 2px;
  background: var(--accent); transform-origin: left; transform: scaleX(0); pointer-events: none;
}
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; justify-content: center;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 0;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px;
  width: 100%; max-width: 920px; height: 56px; padding: 0 8px 0 20px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(22, 22, 24, 0.72);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
}
.nav__brand { justify-self: start; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.nav__logo { width: 20px; height: 20px; color: var(--accent); }
.nav__links { display: none; align-items: center; gap: 2px; }
.nav__links a {
  display: block; padding: 8px 14px; border-radius: 999px; font-size: 0.875rem; line-height: 20px; color: var(--text-2);
  transition: color 200ms ease, background-color 200ms ease;
}
.nav__links a.is-current { color: var(--text); background: rgba(255,255,255,.07); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--text); } }
.nav__cta { display: none; justify-self: end; height: 40px; }
.nav__burger { justify-self: end; position: relative; width: 40px; height: 40px; border-radius: 50%; touch-action: manipulation; }
.nav__burger span {
  position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; margin-top: -0.75px; border-radius: 2px; background: var(--text);
  transition: transform 400ms var(--ease-drawer);
}
.nav__burger span:nth-child(1) { transform: translateY(-4px); }
.nav__burger span:nth-child(2) { transform: translateY(4px); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
@media (min-width: 900px) {
  .nav__pill { grid-template-columns: 1fr auto 1fr; padding-left: 24px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  display: flex; align-items: center; padding: 96px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu ul { display: grid; gap: 8px; width: 100%; }
.menu a { display: block; font-size: 2.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; padding: 8px 0; }
.menu a.menu__cta { color: var(--accent); }
.menu li { opacity: 0; transform: translateY(48px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-drawer); }
.menu.is-open li { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) { transition-delay: 50ms; }
.menu.is-open li:nth-child(3) { transition-delay: 100ms; }
.menu.is-open li:nth-child(4) { transition-delay: 150ms; }
.menu.is-open li:nth-child(5) { transition-delay: 200ms; }
.menu.is-open li:nth-child(6) { transition-delay: 250ms; }

/* ── File icon (CSS-drawn document) ─────────── */
.fi {
  --c: #8E8E93;
  position: relative; flex-shrink: 0;
  width: 2.15em; height: 2.15em; border-radius: 0.46em;
  background: var(--item-hover);
  display: grid; place-items: center;
}
.fi::before {
  content: ""; width: 1em; height: 1.3em; border-radius: 0.12em;
  background: #E5E5EA;
  clip-path: polygon(0 0, 66% 0, 100% 26%, 100% 100%, 0 100%);
}
.fi::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 0.72em; height: 0.3em; border-radius: 0.08em; transform: translate(-50%, 0.12em);
  background: var(--c);
}
.fi[data-ext="pdf"] { --c: #FF453A; }
.fi[data-ext="mp4"] { --c: #BF5AF2; }
.fi[data-ext="png"] { --c: #0A84FF; }
.fi[data-ext="zip"] { --c: #FFD60A; }
.fi[data-ext="xlsx"] { --c: #30D158; }
.fi[data-ext="cube"] { --c: #64D2FF; }
.fi[data-ext="mail"] { --c: #FF9F0A; }
.fi[data-ext="link"]::before { width: 1.1em; height: 1.1em; clip-path: none; border-radius: 50%; background: transparent; border: 0.14em solid #64D2FF; }
.fi[data-ext="link"]::after { width: 0.14em; height: 1.1em; transform: translate(-50%, -50%); background: #64D2FF; box-shadow: none; border-radius: 0; opacity: .0; }
.fi--lg { font-size: 24px; }

/* ── Shelf (DropDock window, rebuilt from app CSS) ──────────
   Sizes are in em against the app's 13px base, so the whole
   shelf scales with font-size. */
.dd {
  --u: calc(1em / 13);
  font-family: var(--app-font);
  font-size: 15px;
  width: calc(var(--u) * 300);
  max-width: 100%;
  display: flex; flex-direction: column;
  background: var(--shelf);
  background-image: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, transparent calc(var(--u) * 60));
  border: 1px solid var(--shelf-border);
  border-radius: calc(var(--u) * 14);
  box-shadow: var(--shelf-shadow);
  overflow: hidden;
  color: var(--text);
  user-select: none; -webkit-user-select: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.dd.is-edge {
  border-color: rgba(255,159,10,.45);
  box-shadow: var(--shelf-shadow), 0 0 0 1px rgba(255,159,10,.45), 0 0 10px 1px var(--accent-glow);
}
.dd__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--u) * 11) calc(var(--u) * 8) calc(var(--u) * 10) calc(var(--u) * 13);
  border-bottom: 1px solid var(--shelf-border);
}
.dd__title { display: flex; align-items: center; gap: calc(var(--u) * 7); font-size: 1em; font-weight: 650; }
.dd__logo { width: calc(var(--u) * 17); height: calc(var(--u) * 17); color: var(--accent); }
.dd__actions { display: flex; gap: calc(var(--u) * 2); }
.dd__btn {
  width: calc(var(--u) * 28); height: calc(var(--u) * 28); border-radius: calc(var(--u) * 9);
  display: grid; place-items: center; color: var(--text-2);
  transition: background-color 150ms ease, color 150ms ease, transform 140ms var(--ease-out);
}
.dd__btn svg { width: calc(var(--u) * 13); height: calc(var(--u) * 13); }
button.dd__btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  button.dd__btn:hover { background: var(--accent-dim); color: var(--accent); }
  button.dd__btn--close:hover { background: rgba(255,59,48,.18); color: #FF3B30; }
}
.dd .i-sun { display: none; }
.dd__zone {
  position: relative; display: flex; flex-direction: column;
  padding: calc(var(--u) * 6); min-height: calc(var(--u) * 150);
  transition: background-color 180ms ease;
}
.dd.is-over .dd__zone { background: var(--accent-glow); }
.dd__empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: calc(var(--u) * 10); padding: calc(var(--u) * 24) calc(var(--u) * 16); text-align: center;
}
.dd__drop { width: calc(var(--u) * 34); height: calc(var(--u) * 34); color: var(--dim); transition: color 200ms ease, transform 200ms var(--ease-out); }
.dd.is-over .dd__drop { color: var(--accent); transform: translateY(-5px); }
.dd__label { font-size: 1em; font-weight: 600; color: var(--text-2); }
.dd.is-over .dd__label { color: var(--accent); }
.dd__sublabel { font-size: calc(var(--u) * 11); line-height: 1.55; color: var(--dim); }
.dd.has-files .dd__empty { display: none; }
.dd__list { display: flex; flex-direction: column; gap: calc(var(--u) * 4); padding: calc(var(--u) * 2); }
.dd__item {
  position: relative; display: flex; align-items: center; gap: calc(var(--u) * 9);
  padding: calc(var(--u) * 7) calc(var(--u) * 9);
  border-radius: calc(var(--u) * 9);
  background: var(--item);
  font-size: calc(var(--u) * 12); font-weight: 500;
  cursor: grab; touch-action: none;
  transition: background-color 140ms ease;
}
.dd__item .fi { font-size: calc(var(--u) * 13); }
.dd__item.is-new { animation: ddIn 0.22s var(--ease-app) both; }
@keyframes ddIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) { .dd__item:hover { background: var(--item-hover); } }
.dd__item.is-dragging { opacity: .5; transform: scale(.97); }
.dd__item.is-flash { animation: ddFlash 600ms var(--ease-out); }
@keyframes ddFlash { 0% { background: var(--accent-glow); } 100% { background: var(--item); } }
.dd__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__remove {
  width: calc(var(--u) * 20); height: calc(var(--u) * 20); border-radius: 50%;
  display: grid; place-items: center; color: var(--dim); opacity: 0; flex-shrink: 0;
  transition: opacity 140ms ease, background-color 140ms ease, color 140ms ease;
}
.dd__remove svg { width: calc(var(--u) * 10); height: calc(var(--u) * 10); }
.dd__item:hover .dd__remove, .dd__remove:focus-visible { opacity: 1; }
@media (hover: none) { .dd__remove { opacity: 1; } }
.dd__remove:hover { background: rgba(255,59,48,.18); color: #FF3B30; }
.dd__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: calc(var(--u) * 7) calc(var(--u) * 13) calc(var(--u) * 9);
  border-top: 1px solid var(--shelf-border);
}
.dd__count { font-size: calc(var(--u) * 11); font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.dd__hint { font-size: calc(var(--u) * 10); color: var(--dim); }

/* shelf light mode, also from the app */
.dd.is-light {
  --shelf: #FFFFFF; --item: #F2F2F7; --item-hover: #E5E5EA; --accent: #FF9500;
  --text: #1C1C1E; --text-2: #6C6C70; --dim: #AEAEB2;
  --shelf-border: rgba(0,0,0,0.07);
  --shelf-shadow: 0 8px 20px rgba(0,0,0,0.13), 0 2px 5px rgba(0,0,0,0.08);
}
.dd.is-light .i-moon { display: none; }
.dd.is-light .i-sun { display: block; }
.dd.is-light .fi::before { background: #fff; }

.dd--mini { font-size: 11px; }
.dd--tiny { font-size: 9px; }

/* dragging ghost */
.ghost {
  position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 12px;
  background: rgba(44, 44, 46, .92); border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  font-family: var(--app-font); font-size: 13px; font-weight: 500; white-space: nowrap;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  will-change: transform;
}
.ghost .fi { font-size: 14px; }
.drop-note {
  position: fixed; z-index: 161; pointer-events: none;
  padding: 6px 10px; border-radius: 8px; background: var(--accent); color: #000;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  padding: calc(var(--nav-h) + 56px + env(safe-area-inset-top, 0px)) 0 80px;
  display: flex; align-items: center;
}
.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__tag { margin-bottom: 24px; }
.hero__title { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.hero__title .line { display: block; white-space: nowrap; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span {
  display: inline-block;
  background: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 24px; max-width: 32rem; font-size: 1.125rem; line-height: 1.6; color: var(--text-2); }
@media (min-width: 768px) { .hero__title { font-size: 4.5rem; } }
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; }
  .hero__title { font-size: 3.75rem; }
}
@media (min-width: 1440px) { .hero__title { font-size: 4.5rem; } }

/* waitlist form */
.join { margin-top: 32px; max-width: 460px; }
.join__field {
  position: relative; display: flex; gap: 4px; padding: 4px;
  border-radius: 999px; background: var(--shelf); border: 1px solid var(--line-2);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.join__field:focus-within { border-color: rgba(255,159,10,.55); box-shadow: 0 0 0 4px var(--accent-dim); }
.join.is-invalid .join__field { border-color: rgba(255,69,58,.7); box-shadow: 0 0 0 4px rgba(255,69,58,.12); }
.join input {
  flex: 1; min-width: 0; height: 48px; padding: 0 12px 0 20px;
  border: 0; border-radius: 999px; background: transparent; outline: none; font-size: 16px; caret-color: var(--accent);
}
.join input::placeholder { color: var(--text-3); }
.join__btn { overflow: hidden; flex-shrink: 0; }
.join__label { position: relative; z-index: 1; }
.join__bar { position: absolute; inset: 0; background: rgba(0,0,0,.18); transform-origin: left; transform: scaleX(0); }
.join__msg { margin-top: 12px; padding-left: 20px; font-size: 0.875rem; line-height: 20px; color: var(--text-3); min-height: 20px; }
.join.is-invalid .join__msg { color: #FF6961; }
.join.is-done .join__msg { color: var(--accent); }
.join.is-done .join__field { border-color: rgba(255,159,10,.4); }
@media (max-width: 519px) {
  .join { max-width: none; }
  .join__field { flex-direction: column; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; }
  .join__field:focus-within, .join.is-invalid .join__field, .join.is-done .join__field { box-shadow: none; }
  .join input {
    flex: none; height: 52px; padding: 0 16px; border-radius: 14px;
    background: var(--shelf); border: 1px solid var(--line-2);
    transition: border-color 200ms ease, box-shadow 200ms ease;
  }
  .join input:focus { border-color: rgba(255,159,10,.55); box-shadow: 0 0 0 4px var(--accent-dim); }
  .join.is-invalid input { border-color: rgba(255,69,58,.7); box-shadow: 0 0 0 4px rgba(255,69,58,.12); }
  .join__btn { width: 100%; height: 52px; border-radius: 14px; }
  .join__msg { padding-left: 2px; }
}

/* the small Windows screen */
.screen-hero {
  position: relative; display: flex; flex-direction: column;
  border-radius: 20px; border: 1px solid var(--line-2); background: #0E0E10; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.02);
}
.desktop {
  position: relative; flex: 1; min-height: 520px; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 22px 22px; background-position: 11px 11px;
}
.desk__files { position: absolute; left: 12px; top: 12px; display: grid; grid-template-columns: repeat(2, 88px); gap: 2px 4px; }
.desk-file {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 88px; padding: 10px 4px 8px; border-radius: 10px;
  font-family: var(--app-font); font-size: 12px; line-height: 16px; color: var(--text);
  text-align: center; cursor: grab; touch-action: none;
  user-select: none; -webkit-user-select: none;
  transition: background-color 160ms ease, opacity 200ms ease, transform 140ms var(--ease-out);
}
.desk-file:active { cursor: grabbing; transform: scale(0.97); }
.desk-file .fi { box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.desk-file__name { display: block; width: 100%; color: var(--text-2); }
.desk-file.is-docked .desk-file__name { color: var(--accent); }
.desk-file.is-lifted { opacity: .35; }
@media (hover: hover) and (pointer: fine) { .desk-file:hover { background: rgba(255,255,255,.06); } }
.desk__hint {
  position: absolute; left: 28px; bottom: 28px;
  display: flex; align-items: flex-end; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; line-height: 16px; color: var(--text-2);
}
.desk__arrow { width: 96px; height: 48px; color: var(--accent); transform: scaleY(-1); margin-bottom: 6px; }
.desk__hint > span { padding-bottom: 2px; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.desktop__dock { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.desktop__dock .dd { font-size: 13px; }
.edge-strip {
  position: absolute; top: 0; bottom: 0; right: 0; width: 2px; z-index: 4;
  background: var(--accent); opacity: 0; box-shadow: 0 0 24px 6px var(--accent-glow);
  transition: opacity 200ms ease; pointer-events: none;
}
.screen-hero.edge-hot .edge-strip { opacity: 1; }
.taskbar {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 12px; border-top: 1px solid var(--line);
  background: rgba(28, 28, 30, .92);
}
.taskbar__app { position: relative; width: 24px; height: 24px; border-radius: 6px; background: #2C2C2E; }
.taskbar__app:nth-of-type(2) { background: #2A3346; }
.taskbar__app:nth-of-type(3) { background: #3A2E24; }
.taskbar__search { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px 0 10px; margin-right: 6px; border-radius: 999px; background: #2C2C2E; font-family: var(--app-font); font-size: 12px; color: var(--text-3); }
.taskbar__search svg { width: 13px; height: 13px; }
.taskbar__app--on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -6px; height: 2px; border-radius: 2px; background: #8E8E93; }
.taskbar__tray { position: absolute; right: 8px; top: 0; bottom: 0; display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-2); }
.taskbar__dd { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--text-2); transition: background-color 150ms ease, color 150ms ease, transform 140ms var(--ease-out); touch-action: manipulation; }
.taskbar__dd[aria-pressed="true"] { color: var(--accent); }
.taskbar__dd:active { transform: scale(0.94); }
.taskbar__dd svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .taskbar__dd:hover { background: rgba(255,255,255,.08); } }
.taskbar__clock { padding-right: 6px; }

@media (min-width: 700px) and (max-width: 1099px) { .screen-hero { max-width: 720px; } }
@media (min-width: 1100px) and (max-width: 1279px) {
  .desk__files { grid-template-columns: repeat(2, 80px); }
  .desk-file { width: 80px; font-size: 11px; }
  .desktop__dock .dd { font-size: 12px; }
}
@media (max-width: 699px) {
  .hero { min-height: 0; padding-bottom: 64px; }
  .hero__grid { gap: 40px; }
  .screen-hero { border-radius: 18px; }
  .desktop { min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 16px; }
  .desk__files { position: static; display: flex; justify-content: space-between; gap: 0; }
  .desk__files li:nth-child(5) { display: none; }
  .desk-file { width: 76px; padding: 8px 2px 6px; font-size: 11px; line-height: 14px; }
  .desk-file .fi--lg { font-size: 20px; }
  .desk__hint { position: static; justify-content: center; }
  .desk__arrow { display: none; }
  .desktop__dock { position: static; transform: none; }
  .desktop__dock .dd { width: 100%; }
  .desktop__dock .dd__zone { min-height: 120px; }
}

/* ── Sections (shared) ─────────────────────── */
section { position: relative; }
.sechead { display: grid; gap: 16px; margin-bottom: 64px; max-width: 720px; }
.sechead .lead { margin-top: 0; }

/* ── Problem ───────────────────────────────── */
.problem { padding: 128px 0; }
.problem__wrap { display: grid; gap: 48px; align-items: center; }
.problem__copy .lead { margin-top: 24px; }
.steps { margin-top: 40px; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 1rem; transition: color 300ms ease; }
.steps__dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--text-3); transition: background-color 300ms ease, border-color 300ms ease; }
.steps li.is-on { color: var(--text); }
.steps li.is-on .steps__dot { background: var(--text-2); border-color: var(--text-2); }
.problem__answer {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 12px; background: var(--accent-dim);
  color: var(--accent); font-weight: 600;
}
.problem__answer svg { width: 20px; height: 20px; }
.problem__art { color: var(--text-3); }
.trip { width: 100%; height: auto; overflow: visible; }
.trip__cloud { color: var(--text-2); }
.trip__laptop { color: var(--text-2); }
@media (min-width: 900px) {
  .problem { padding: 160px 0; }
  .problem__wrap { grid-template-columns: 5fr 7fr; gap: 64px; }
}

/* ── Three distances ───────────────────────── */
.dist { padding: 96px 0; }
.dist__wrap { display: grid; gap: 48px; }
.dist__title { margin-bottom: 40px; }
.dist__rail { display: none; }
.dist__copies { display: grid; gap: 48px; }
.dist__copy .tag { margin-bottom: 12px; }
.dist__copy p:not(.tag) { margin-top: 12px; color: var(--text-2); font-size: 1.125rem; line-height: 1.6; max-width: 28rem; }
.dist__stage { display: grid; gap: 24px; }
.stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: 24px;
  background: #0A0A0A; border: 1px solid var(--line);
  overflow: hidden; color: var(--text-3);
}
/* Pinned layout (desktop, motion allowed) */
.dist.is-pinned { padding: 0; }
.dist.is-pinned .dist__pin { height: 100vh; display: flex; align-items: center; }
.dist.is-pinned .dist__wrap { grid-template-columns: 4fr 7fr; gap: 64px; align-items: center; }
.dist.is-pinned .dist__copies { position: relative; display: block; min-height: 240px; }
.dist.is-pinned .dist__copy { position: absolute; inset: 0 0 auto 0; }
.dist.is-pinned .dist__rail {
  display: block; position: relative; height: 2px; margin-bottom: 40px; max-width: 320px;
  background: var(--line-2); border-radius: 2px; overflow: hidden;
}
.dist__railfill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.dist.is-pinned .dist__stage { position: relative; display: block; aspect-ratio: 4 / 3; max-height: 76vh; }
.dist.is-pinned .stage { position: absolute; inset: 0; aspect-ratio: auto; }

/* stage 1: screen */
.screen { position: absolute; inset: 24px; display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--line-2); background: #101011; overflow: hidden; }
.screen__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.screen__bar span { width: 8px; height: 8px; border-radius: 50%; background: #3A3A3C; }
.screen__bar em { font-style: normal; margin-left: 12px; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.screen__body { position: relative; flex: 1; display: flex; }
.editor { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; padding-right: 0; }
.editor__viewer { flex: 1; border-radius: 8px; background: #1A1A1C; display: grid; place-items: center; }
.editor__frame { width: 46%; aspect-ratio: 16/9; border-radius: 4px; background: #2C2C2E; border: 1px solid var(--line-2); }
.editor__tracks { display: grid; gap: 6px; }
.track { position: relative; height: 22px; border-radius: 4px; background: #161618; }
.track span { position: absolute; top: 2px; bottom: 2px; left: var(--x); width: var(--w); border-radius: 3px; background: #4B3E6B; }
.track--audio span { background: #24463A; }
.track .track__drop { background: var(--accent); opacity: 0; transform-origin: left; }
.screen__dock { position: absolute; right: 8px; top: 12px; width: 41%; max-width: 230px; }
.s1-ghost { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; border-radius: 8px; background: rgba(58,58,60,.95); font-family: var(--app-font); font-size: 10px; color: var(--text); white-space: nowrap; opacity: 0; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.s1-ghost .fi { font-size: 9px; }
.s1-cursor, .mini-cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; opacity: 0; }

/* stage 2: room */
.room, .world { position: absolute; inset: 0; width: 100%; height: 100%; padding: 24px; }
.ring { fill: none; stroke: #FF9F0A; stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.room__pin { position: absolute; left: 24px; top: 24px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: var(--shelf); border: 1px solid var(--line); }
.room__pinlabel { display: inline-flex; gap: 6px; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--text-2); }
.room__pinlabel svg { width: 12px; height: 12px; }
.pin { display: inline-flex; gap: 4px; }
.pin i {
  width: 22px; height: 28px; border-radius: 6px; background: var(--item);
  display: grid; place-items: center; font-style: normal;
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums;
}
.room__chips { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--shelf); border: 1px solid var(--line); font-size: 0.8125rem; color: var(--text);
}
.chip svg { width: 14px; height: 14px; color: var(--accent); }
.chip em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--dev); padding-left: 8px; border-left: 1px solid var(--line-2); }
.chip--dev svg { color: var(--dev); }
.chip--muted svg { color: var(--text-3); }

/* stage 3: world */
.world__arc { stroke-dasharray: 400; stroke-dashoffset: 400; }
.world__ping { transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
.linkcard {
  position: absolute; right: 24px; top: 24px; width: min(300px, 70%);
  padding: 16px; border-radius: 16px; background: var(--shelf); border: 1px solid var(--line-2);
  box-shadow: var(--shelf-shadow); font-family: var(--app-font);
}
.linkcard__top { display: flex; gap: 12px; align-items: center; }
.linkcard__top .fi { font-size: 14px; }
.linkcard__name { font-size: 13px; font-weight: 600; color: var(--text); }
.linkcard__meta { font-size: 11px; color: var(--accent); }
.linkcard__url {
  margin-top: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px;
  background: var(--item); font-family: var(--mono); font-size: 11px; color: var(--text-2);
}
.linkcard__url svg { width: 12px; height: 12px; color: var(--accent); flex-shrink: 0; }
.linkcard__url span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkcard__copy { display: inline-flex; gap: 4px; align-items: center; color: var(--accent); }
.linkcard__exp { margin-top: 10px; font-size: 12px; color: var(--text-2); }
.linkcard__exp b { color: var(--text); font-weight: 500; }
.linkcard--static { position: relative; right: auto; top: auto; width: 100%; max-width: 320px; }
.world__chips { justify-content: flex-start; }

@media (max-width: 599px) {
  .stage { aspect-ratio: 3 / 4; }
  .screen { inset: 12px; }
  .screen__dock { width: 56%; }
  .linkcard { right: 12px; top: 12px; width: calc(100% - 24px); }
  .room__pin { left: 12px; top: 12px; }
  .room__chips { left: 12px; right: 12px; bottom: 12px; }
  .chip { font-size: 0.75rem; }
}

/* ── Tagline ───────────────────────────────── */
.tagline { padding: 160px 0; }
.tagline__text {
  max-width: 980px; font-size: 2.25rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.03em;
  text-wrap: balance;
}
.tagline__text .w { color: rgba(242,242,247,.28); }
@media (min-width: 768px) { .tagline__text { font-size: 3.75rem; line-height: 1.05; } }
.no-js .tagline__text .w, .tagline.is-static .w { color: var(--text); }

/* ── Bento ─────────────────────────────────── */
.features { padding: 128px 0; }
.bento { display: grid; gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 24px; background: #0C0C0D; border: 1px solid var(--line);
  overflow: hidden;
}
.card__art { position: relative; height: 280px; overflow: hidden; border-bottom: 1px solid var(--line); }
.card__text { padding: 24px; }
.card__text p { margin-top: 8px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.6; max-width: 36rem; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card--wide { grid-column: span 4; }
  .card--full { grid-column: span 6; flex-direction: row; align-items: stretch; }
  .card--full .card__text { flex: 0 0 34%; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
  .card--full .card__art { flex: 1; border-bottom: 0; border-left: 1px solid var(--line); }
}
.card__art--row { display: flex; align-items: center; justify-content: center; gap: 32px; padding: 24px; flex-wrap: wrap; }

/* edge demo */
.mini-screen { position: absolute; inset: 24px; border-radius: 12px; background: #141415; border: 1px solid var(--line); overflow: hidden; }
.mini-screen__edge { position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); opacity: 0; box-shadow: 0 0 16px 4px var(--accent-glow); }
.mini-file {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 8px;
  background: rgba(58,58,60,.95); font-family: var(--app-font); font-size: 10px; color: var(--text); white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.5);
}
.mini-file .fi { font-size: 8px; }
.edge-chip { left: 18%; top: 38%; }
.edge-dock { position: absolute; right: 6px; top: 16px; width: 44%; max-width: 200px; transform: translateX(110%); }
.mini-taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; display: flex; align-items: center; justify-content: center; gap: 6px; background: rgba(255,255,255,.04); border-top: 1px solid var(--line); }
.mini-taskbar span { width: 14px; height: 14px; border-radius: 4px; background: #2C2C2E; }
.mini-taskbar__tray { position: absolute; right: 10px; background: none !important; display: grid; place-items: center; }
.mini-taskbar__tray svg { width: 12px; height: 12px; color: var(--accent); }

/* drag demo */
.dragdemo { position: absolute; inset: 24px; }
.dragdemo__app { position: absolute; left: 0; top: 0; bottom: 0; width: 52%; border-radius: 12px; border: 1px dashed var(--line-2); display: grid; place-items: center; transition: border-color 200ms ease, background-color 200ms ease; }
.dragdemo__app.is-hot { border-color: var(--accent); background: var(--accent-dim); }
.dragdemo__drop { font-size: 12px; color: var(--text-3); text-align: center; padding: 8px; }
.dragdemo__done { position: absolute; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--accent); opacity: 0; font-family: var(--app-font); }
.dragdemo__done .fi { font-size: 8px; }
.dragdemo__dock { position: absolute; right: 0; top: 50%; width: 44%; transform: translateY(-50%); }
.dragdemo__dock .dd__zone { min-height: 0; }
.drag-chip { left: 0; top: 0; opacity: 0; }

/* restart demo */
.restart { position: absolute; inset: 24px; display: grid; place-items: center; }
.restart__dock { width: 78%; max-width: 230px; }
.restart__dock .dd__zone { min-height: 0; }
.restart__veil { position: absolute; inset: 0; border-radius: 12px; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--text-2); opacity: 0; }
.restart__icon { width: 22px; height: 22px; color: var(--accent); }

/* LAN demo */
.lan { position: absolute; inset: 24px; display: flex; gap: 16px; }
.browser { flex: 1; min-width: 0; border-radius: 12px; border: 1px solid var(--line-2); background: #141415; display: flex; flex-direction: column; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.browser__bar > span { width: 7px; height: 7px; border-radius: 50%; background: #3A3A3C; }
.browser__url { margin-left: 8px; flex: 1; display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 6px; background: var(--item); font-family: var(--mono); font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.browser__url svg { width: 12px; height: 12px; color: var(--accent); flex-shrink: 0; }
.browser__body { position: relative; flex: 1; }
.lan__gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 16px; }
.lan__gate p { font-size: 12px; color: var(--text-2); }
.lan__lock { width: 20px; height: 20px; color: var(--accent); }
.pin--lan i { width: 26px; height: 32px; border: 1px solid var(--line-2); background: var(--shelf); }
.pin--lan i.is-filled { border-color: rgba(255,159,10,.5); }
.lan__files { position: absolute; inset: 0; padding: 12px; display: grid; gap: 6px; align-content: start; opacity: 0; }
.lan__files li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--item); font-family: var(--app-font); font-size: 12px; }
.lan__files li span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lan__files li svg { width: 14px; height: 14px; color: var(--accent); }
.lan__files .fi { font-size: 9px; }
.radar { display: none; flex: 0 0 150px; flex-direction: column; gap: 10px; }
.radar__title { font-family: var(--mono); font-size: 11px; color: var(--text-2); }
.radar__scope { position: relative; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); overflow: hidden; background: radial-gradient(circle, transparent 32%, rgba(255,255,255,.06) 33%, transparent 34%, transparent 65%, rgba(255,255,255,.06) 66%, transparent 67%); }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,159,10,.32), transparent 22%); animation: sweep 3.2s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__blip { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.radar__list { display: grid; gap: 6px; font-size: 12px; color: var(--text); }
.radar__list li { display: flex; align-items: center; gap: 8px; }
.radar__dot { width: 6px; height: 6px; border-radius: 50%; background: #30D158; }
@media (min-width: 600px) { .radar { display: flex; } }

/* cloud demo */
.upload { width: 100%; max-width: 340px; padding: 16px; border-radius: 16px; background: var(--shelf); border: 1px solid var(--line-2); font-family: var(--app-font); }
.upload__row { display: flex; gap: 12px; align-items: center; }
.upload__row .fi { font-size: 14px; }
.upload__meta { flex: 1; min-width: 0; }
.upload__meta p { font-size: 13px; font-weight: 600; }
.upload__track { display: block; margin-top: 8px; height: 4px; border-radius: 4px; background: var(--item); overflow: hidden; }
.upload__fill { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.upload__link { margin-top: 14px; display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 10px; border-radius: 10px; background: var(--item); }
.upload__link > svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }
.upload__url { flex: 1; min-width: 0; font-family: var(--mono); font-size: 11px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copybtn { position: relative; width: 30px; height: 30px; border-radius: 8px; background: var(--item-hover); color: var(--text); flex-shrink: 0; transition: transform 140ms var(--ease-out); }
.copybtn:active { transform: scale(0.94); }
.copybtn svg { position: absolute; left: 8px; top: 8px; width: 14px; height: 14px; transition: opacity 300ms cubic-bezier(0.2, 0, 0, 1), transform 300ms cubic-bezier(0.2, 0, 0, 1), filter 300ms cubic-bezier(0.2, 0, 0, 1); }
.copybtn__b { opacity: 0; transform: scale(.25); filter: blur(4px); color: var(--accent); }
.copybtn.is-done .copybtn__a { opacity: 0; transform: scale(.25); filter: blur(4px); }
.copybtn.is-done .copybtn__b { opacity: 1; transform: none; filter: none; }
.upload__exp { margin-top: 10px; font-size: 12px; color: var(--text-2); }
.upload__exp b { color: var(--text); font-weight: 500; }
.sync { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-2); }
.sync__dev { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sync__dev svg { width: 28px; height: 28px; color: var(--text); }
.sync__line { position: relative; width: 80px; height: 1px; background: var(--line-2); overflow: hidden; }
.sync__pulse { position: absolute; top: 0; left: 0; width: 24px; height: 1px; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: syncgo 1.8s var(--ease-io) infinite; }
@keyframes syncgo { from { transform: translateX(-24px); } to { transform: translateX(80px); } }

/* ── Use cases ─────────────────────────────── */
.uses { padding: 128px 0; }
.uses__grid { display: grid; gap: 32px; }
.uses__tabs { display: grid; gap: 4px; }
.uses__tab {
  position: relative; display: grid; gap: 2px; text-align: left;
  padding: 16px 20px; border-radius: 16px; overflow: hidden;
  transition: background-color 200ms ease;
}
.uses__role { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-3); transition: color 200ms ease; }
.uses__what { font-size: 0.875rem; color: var(--text-3); }
.uses__tab[aria-selected="true"] { background: var(--bg-raised); }
.uses__tab[aria-selected="true"] .uses__role { color: var(--text); }
.uses__tab[aria-selected="true"] .uses__what { color: var(--text-2); }
.uses__timer { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (hover: hover) and (pointer: fine) { .uses__tab:hover .uses__role { color: var(--text); } }
.uses__panels { position: relative; min-height: 440px; border-radius: 24px; background: #0C0C0D; border: 1px solid var(--line); overflow: hidden; }
.panel { position: absolute; inset: 0; display: flex; flex-direction: column; }
.panel[hidden] { display: none; }
.scene { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 32px 24px; flex-wrap: wrap; min-height: 300px; }
.scene .dd { width: 100%; max-width: 300px; }
.scene .dd__zone { min-height: 0; }
.panel__text { padding: 24px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.9375rem; line-height: 1.6; }
.devnote { display: inline-block; margin-left: 4px; color: var(--dev); font-family: var(--mono); font-size: 0.75rem; }
.dests { display: grid; gap: 8px; }
.dests li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--shelf); border: 1px solid var(--line); font-size: 0.875rem; }
.dests svg { width: 14px; height: 14px; color: var(--accent); }
.dests li.is-dev svg { color: var(--dev); }
.dests em { font-style: normal; margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--dev); }
.netbadge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; background: var(--accent-dim); color: var(--accent); font-size: 0.85em; margin-right: 4px; }
.netbadge svg { width: 1em; height: 1em; }
.who { flex-shrink: 0; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; font-size: 0.8em; font-weight: 600; background: hsl(var(--h) 45% 32%); color: hsl(var(--h) 80% 88%); }
.btpair { display: grid; grid-template-columns: auto minmax(96px, 160px) auto; align-items: center; justify-items: center; column-gap: 16px; row-gap: 10px; }
.btpair__icon { width: 56px; height: 56px; color: var(--text); }
.btpair__label { font-size: 0.8125rem; color: var(--text-2); white-space: nowrap; }
.btpair__beam { position: relative; width: 100%; height: 32px; display: grid; place-items: center; }
.btpair__beam::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--dev) 0 4px, transparent 4px 10px); opacity: .7; }
.btpair__beam::after { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--dev); box-shadow: 0 0 10px var(--dev); animation: beam 2.2s var(--ease-io) infinite; }
@keyframes beam { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 100%; opacity: 0; } }
.btpair__beam svg { position: relative; z-index: 1; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #0C0C0D; color: var(--dev); border: 1px solid var(--dev); }
.scene--bt { flex-direction: column; }
.board { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4/3; border-radius: 16px; background: #141415; border: 1px solid var(--line); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 16px 16px; }
.note { position: absolute; left: var(--x); top: var(--y); width: 40%; display: grid; gap: 4px; padding: 12px; border-radius: 10px; background: var(--shelf); border: 1px solid var(--line-2); transform: rotate(var(--r)); font-size: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.note svg { width: 12px; height: 12px; color: var(--accent); }
.note b { font-size: 13px; }
.note span { color: var(--text-2); }
.note--file, .note--link { display: flex; align-items: center; gap: 8px; }
.note--file .fi { font-size: 10px; }
.note--link svg { color: #64D2FF; }
.board__string { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.convert { width: 100%; max-width: 340px; display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: var(--shelf); border: 1px solid var(--line-2); font-family: var(--app-font); }
.convert__row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: var(--item); font-size: 13px; font-weight: 500; }
.convert__row .fi { font-size: 11px; }
.convert__opts { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--text-2); }
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--item); }
.seg span { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--text-2); }
.seg .is-on { background: var(--item-hover); color: var(--text); }
.switch { width: 34px; height: 20px; border-radius: 999px; background: var(--item-hover); padding: 2px; flex-shrink: 0; }
.switch span { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.switch.is-on { background: var(--accent); }
.switch.is-on span { transform: translateX(14px); }
.convert .btn { justify-self: start; pointer-events: none; }
@media (min-width: 900px) {
  .uses__grid { grid-template-columns: 4fr 7fr; gap: 48px; }
  .uses__panels { min-height: 520px; }
}

/* ── Roadmap ───────────────────────────────── */
.roadmap { padding: 128px 0; }
.road { display: grid; gap: 16px; }
.road__item {
  padding: 32px 24px; border-radius: 20px;
  border: 1px dashed rgba(169,158,255,.28);
  background: rgba(169,158,255,.03);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.road__item svg { width: 22px; height: 22px; color: var(--dev); margin-bottom: 24px; }
.road__item p { margin-top: 8px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .road__item:hover { border-color: rgba(169,158,255,.5); background: rgba(169,158,255,.06); } }
@media (min-width: 700px) { .road { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .road { grid-template-columns: repeat(3, 1fr); } }

/* ── Built ─────────────────────────────────── */
.built { padding: 128px 0; }
.built__wrap { display: grid; gap: 64px; align-items: center; }
.principles { margin-top: 48px; display: grid; gap: 32px; }
.principles .h4 { display: flex; align-items: center; gap: 12px; }
.principles svg { width: 18px; height: 18px; color: var(--accent); }
.principles p { margin-top: 8px; padding-left: 30px; color: var(--text-2); line-height: 1.6; max-width: 30rem; }
.net { color: var(--text-2); }
.net svg { width: 100%; height: auto; }
.net figcaption { margin-top: 24px; font-size: 0.875rem; color: var(--text-3); max-width: 28rem; }
.net__cross { stroke-dasharray: 140; }
.net__direct { stroke-dasharray: 200; }
@media (min-width: 900px) { .built__wrap { grid-template-columns: 1fr 1fr; } }

/* ── FAQ ───────────────────────────────────── */
.faq { padding: 128px 0; }
.faq__wrap { display: grid; gap: 48px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font: inherit; }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left; font-size: 1.125rem; font-weight: 500; line-height: 1.4;
  touch-action: manipulation;
}
.qa__q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-2); transition: transform 300ms var(--ease-drawer), color 200ms ease; }
.qa__q[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--accent); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease-drawer); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding-bottom: 24px; color: var(--text-2); line-height: 1.6; max-width: 40rem; opacity: 0; transition: opacity 250ms ease; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a p { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .qa__q:hover svg { color: var(--text); } }
@media (min-width: 900px) { .faq__wrap { grid-template-columns: 4fr 7fr; } }

/* ── Final ─────────────────────────────────── */
.final { padding: 160px 0; }
.final__wrap { display: grid; gap: 64px; align-items: center; }
.final__title { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.final__title, .final__copy .lead { max-width: 680px; }
.final__copy .lead { margin-top: 24px; }
@media (min-width: 768px) { .final__title { font-size: 4.5rem; } }
.final__dock { display: flex; justify-content: center; }
.final__dock .dd { font-size: 16px; width: calc(16px * 300 / 13); max-width: 100%; transform: rotate(-2deg); }
@media (min-width: 1000px) { .final__wrap { grid-template-columns: 7fr 5fr; } }

/* ── Footer ────────────────────────────────── */
.foot { position: relative; padding: 64px 0 calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); overflow: hidden; }
.foot__wrap { position: relative; z-index: 1; display: grid; gap: 40px; }
.foot__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.125rem; }
.foot__logo svg { width: 22px; height: 22px; color: var(--accent); }
.foot__tag { margin-top: 12px; color: var(--text-2); max-width: 22rem; }
.foot__contact { display: grid; gap: 8px; justify-items: start; }
.foot__name { font-weight: 600; }
.foot__role { color: var(--text-2); font-size: 0.875rem; margin-bottom: 8px; }
.foot__contact a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.8125rem; color: var(--text-2); transition: color 200ms ease; overflow-wrap: anywhere; }
.foot__contact a svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .foot__contact a:hover, .foot__base a:hover { color: var(--accent); } }
.foot__base { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-3); grid-column: 1 / -1; }
.foot__base a { transition: color 200ms ease; }
.foot__copy { margin-left: auto; }
.foot__giant {
  margin-top: 48px; text-align: center; font-weight: 700; letter-spacing: -0.06em; line-height: .8;
  font-size: clamp(4.5rem, 21vw, 22rem); color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.1);
  user-select: none; pointer-events: none; white-space: nowrap;
}
@media (min-width: 900px) { .foot__wrap { grid-template-columns: 1fr auto; } }

/* ── Reveal base (JS sets the initial hidden state) ── */
.js [data-hero-fade] { opacity: 0; }
.js .hero__title .line > span { transform: translateY(110%); }
.js .desk-file, .js .desk__hint { opacity: 0; }
.js .desktop__dock .dd { transform: translateX(calc(100% + 40px)); opacity: 0; }

/* ── Reduced motion & transparency ─────────── */
@media (prefers-reduced-motion: reduce) {
  .js [data-hero-fade], .js .desk-file, .js .desk__hint { opacity: 1; }
  .js .hero__title .line > span, .js .desktop__dock .dd { transform: none; opacity: 1; }
  .js .intro { display: none; }
  .live-dot, .kbd-dot, .radar__sweep, .sync__pulse, .world__ping { animation: none; }
  .tagline__text .w { color: var(--text); }
  .menu li { transition: opacity 200ms ease; transform: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__pill { background: #1C1C1E; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu { background: #000; backdrop-filter: none; }
}

/* fixes after browser review */
.sechead .tag { justify-self: start; }
.note { z-index: 1; }
.board__string { z-index: 0; }

/* mobile: pair each distance's copy with its visual */
@media (max-width: 899px) {
  .dist:not(.is-pinned) .dist__side,
  .dist:not(.is-pinned) .dist__copies,
  .dist:not(.is-pinned) .dist__stage { display: contents; }
  .dist:not(.is-pinned) .dist__wrap { gap: 24px; }
  .dist__title { order: 0; margin-bottom: 16px; }
  .dist__copy[data-dist="0"] { order: 1; }
  .stage[data-stage="0"] { order: 2; margin-bottom: 40px; }
  .dist__copy[data-dist="1"] { order: 3; }
  .stage[data-stage="1"] { order: 4; margin-bottom: 40px; }
  .dist__copy[data-dist="2"] { order: 5; }
  .stage[data-stage="2"] { order: 6; }

  .uses__tabs {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .uses__tabs::-webkit-scrollbar { display: none; }
  .uses__tab { flex: 0 0 auto; scroll-snap-align: start; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); }
  .uses__role { font-size: 0.9375rem; }
  .uses__what { display: none; }
  .uses__timer { left: 16px; right: 16px; }
  .uses__panels { min-height: 0; }
  .panel { position: relative; }
}
/* static final states when the sequence isn't pinned */
.dist:not(.is-pinned) .track__drop { opacity: 1; }
.dist:not(.is-pinned) .world__arc { stroke-dashoffset: 0; }
.dist:not(.is-pinned) .room__link { opacity: 1; }
.dist:not(.is-pinned) .room__packet { opacity: 0; }

/* mobile rhythm and legible diagram labels */
@media (max-width: 767px) {
  .problem, .features, .uses, .roadmap, .built, .faq { padding: 96px 0; }
  .tagline, .final { padding: 112px 0; }
  .dist { padding: 48px 0 64px; }
  .sechead { margin-bottom: 40px; }
  .lead { font-size: 1rem; }
  .trip .svg-mono { font-size: 20px; }
  .room .svg-mono { font-size: 22px; }
  .net .svg-mono { font-size: 15px; }
  .card__art { height: 240px; }
  .final__dock .dd { transform: none; font-size: 14px; }
  .foot__copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .btpair__beam::after { animation: none; opacity: 0; } }
@media (max-width: 699px) { .taskbar { justify-content: flex-start; } }

/* problem: the trip lives in a framed card like every other visual */
.trip-card { margin: 0; border-radius: 24px; background: #0C0C0D; border: 1px solid var(--line); overflow: hidden; }
.trip-card__art {
  padding: 32px 32px 20px; color: var(--text-3);
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; background-position: 11px 11px;
}
.trip-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.trip-steps li {
  position: relative; display: grid; align-content: start; gap: 4px;
  padding: 16px 20px 20px; font-size: 0.875rem; line-height: 20px; color: var(--text-3);
  transition: color 300ms ease;
}
.trip-steps li + li { border-left: 1px solid var(--line); }
.trip-steps__n { font-family: var(--mono); font-size: 0.75rem; line-height: 16px; transition: color 300ms ease; }
.trip-steps__bar {
  position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--text-2);
  transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out);
}
.trip-steps li.is-on { color: var(--text); }
.trip-steps li.is-on .trip-steps__n { color: var(--text-2); }
.trip-steps li.is-on .trip-steps__bar { transform: scaleX(1); }
.trip-card__answer {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  border-top: 1px solid var(--line); font-weight: 600; color: var(--text-3);
  transition: color 300ms ease, background-color 300ms ease;
}
.trip-card__answer svg { width: 20px; height: 20px; flex-shrink: 0; }
.trip-card__answer.is-on { color: var(--accent); background: var(--accent-dim); }
@media (max-width: 899px) {
  .problem__wrap { gap: 40px; }
  .trip-card__art { padding: 20px 16px 12px; }
  .trip-steps { grid-template-columns: repeat(2, 1fr); }
  .trip-steps li { padding: 14px 16px 16px; }
  .trip-steps li:nth-child(3) { border-left: 0; }
  .trip-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trip-card__answer { padding: 16px; font-size: 0.9375rem; }
}

.svg-mono--dim { fill: var(--text-3); }
