/*
 * OmniDesk Hub — product site. Plain CSS, no build step.
 * Tokens follow the app (src/renderer/src/styles/tokens.css): warm neutrals, one ember accent (≤ 10 % of any view),
 * Instrument Serif for big moments, Geist for everything else. Dark is the default; light follows the OS.
 */

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --bg: #141311;
  --band: #181715;
  --surface-1: #1A1917;
  --surface-2: #211F1C;
  --surface-3: #2A2724;
  --border: rgba(255, 240, 220, 0.08);
  --border-strong: rgba(255, 240, 220, 0.15);
  --text: #EDE9E3;
  --text-2: #A8A298;
  --text-3: #8A847B;
  --accent: #F08A5D;
  --accent-hover: #F59E76;
  --accent-soft: rgba(240, 138, 93, 0.14);
  --accent-contrast: #1A1917;
  --success: #7DBE8A;
  --paper: #FBFAF7;
  --paper-text: #1D1B18;
  --paper-text-2: #5F5950;
  --fill-hover: rgba(255, 240, 220, 0.05);
  --focus: rgba(240, 138, 93, 0.78);
  --nav-bg: rgba(20, 19, 17, 0.74);
  --glow: rgba(240, 138, 93, 0.1);
  --grain-opacity: 0.045;

  --shadow-sm: 0 0 0 1px rgba(255, 240, 220, 0.05), 0 1px 2px rgba(8, 6, 4, 0.3);
  --shadow-md: 0 0 0 1px rgba(255, 240, 220, 0.06), 0 2px 4px rgba(8, 6, 4, 0.22), 0 8px 18px rgba(8, 6, 4, 0.28);
  --shadow-lg: 0 0 0 1px rgba(255, 240, 220, 0.07), 0 4px 8px rgba(8, 6, 4, 0.22), 0 16px 32px rgba(8, 6, 4, 0.34), 0 40px 80px rgba(8, 6, 4, 0.36);
  --shadow-btn: 0 1px 0 rgba(255, 250, 240, 0.28) inset, 0 1px 2px rgba(8, 6, 4, 0.3), 0 6px 16px rgba(240, 138, 93, 0.16);
  --shadow-btn-hover: 0 1px 0 rgba(255, 250, 240, 0.28) inset, 0 2px 4px rgba(8, 6, 4, 0.3), 0 10px 24px rgba(240, 138, 93, 0.24);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #F6F4EF;
    --band: #EEEBE4;
    --surface-1: #FBFAF7;
    --surface-2: #FFFEFB;
    --surface-3: #F1EEE8;
    --border: #E3DED5;
    --border-strong: #D3CCC1;
    --text: #1D1B18;
    --text-2: #5C564D;
    --text-3: #756F65;
    --accent: #BE501C;
    --accent-hover: #AA4717;
    --accent-soft: rgba(190, 80, 28, 0.1);
    --accent-contrast: #FFF9F4;
    --success: #276B41;
    --fill-hover: rgba(60, 42, 20, 0.05);
    --focus: rgba(190, 80, 28, 0.6);
    --nav-bg: rgba(246, 244, 239, 0.78);
    --glow: rgba(190, 80, 28, 0.07);
    --grain-opacity: 0.03;

    --shadow-sm: 0 1px 2px rgba(48, 34, 18, 0.06), 0 1px 3px rgba(48, 34, 18, 0.04);
    --shadow-md: 0 0 0 1px rgba(48, 34, 18, 0.035), 0 2px 4px rgba(48, 34, 18, 0.04), 0 4px 10px rgba(48, 34, 18, 0.05), 0 10px 20px rgba(48, 34, 18, 0.04);
    --shadow-lg: 0 0 0 1px rgba(48, 34, 18, 0.05), 0 4px 8px rgba(48, 34, 18, 0.04), 0 12px 24px rgba(48, 34, 18, 0.07), 0 40px 80px rgba(48, 34, 18, 0.12);
    --shadow-btn: 0 1px 0 rgba(255, 250, 240, 0.22) inset, 0 1px 2px rgba(48, 34, 18, 0.18), 0 6px 16px rgba(190, 80, 28, 0.18);
    --shadow-btn-hover: 0 1px 0 rgba(255, 250, 240, 0.22) inset, 0 2px 4px rgba(48, 34, 18, 0.2), 0 10px 24px rgba(190, 80, 28, 0.26);
  }
}

/* --------------------------------- base --------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Paper grain — a whisper of texture so the dark isn't flat. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
p a, dd a, .qa a { color: var(--text); text-decoration-line: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color 160ms var(--ease); }
p a:hover, dd a:hover, .qa a:hover { text-decoration-color: var(--accent); }
strong { font-weight: 600; color: var(--text); }
em { font-style: italic; }
::selection { background: var(--accent-soft); color: var(--text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
section[id], article[id], details[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--surface-3); color: var(--text); font-size: 14px; text-decoration: none; transition: top 160ms var(--ease-out); }
.skip:focus { top: 12px; }

/* ---------------------------------- type --------------------------------- */

.eyebrow {
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.display {
  font: 400 clamp(40px, 5.4vw, 76px)/1.02 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-top: 16px;
}
.section-lede { margin-top: 24px; max-width: 34em; color: var(--text-2); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; text-wrap: pretty; }
.inline-code {
  font: 500 0.86em/1 var(--font-mono);
  letter-spacing: -0.01em;
  padding: 0.18em 0.42em;
  border-radius: 4px;
  background: var(--surface-3);
  color: var(--text);
  white-space: nowrap;
}

/* -------------------------------- buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 600 15px/1 var(--font-sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 180ms var(--ease-out), color 160ms var(--ease);
}
.btn--lg { height: 52px; padding: 0 24px 0 20px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; font-weight: 500; }
.btn--primary { background: var(--accent); color: var(--accent-contrast); box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--fill-hover); border-color: var(--text-3); }
.btn__icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------- nav ---------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.nav[data-scrolled] { border-bottom-color: var(--border); }
.nav__bar { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.mark { display: block; flex: none; }
/* Dark: the mark's dark tile would melt into the page — a hairline light rim and a faint lift, following its squircle. */
.mark { filter: drop-shadow(0 0 0.6px rgba(255, 240, 220, 0.5)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55)); }
@media (prefers-color-scheme: light) { .mark { filter: none; } }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--text-2); text-decoration: none; transition: color 160ms var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
.nav__toggle svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nav__toggle path { transform-box: fill-box; transform-origin: center; transition: transform 200ms var(--ease-out); }
/* Open: the two lines cross into a close (×). */
.nav__toggle[aria-expanded='true'] .l1 { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] .l2 { transform: translateY(-3px) rotate(-45deg); }

/* ---------------------------------- hero --------------------------------- */

.hero { position: relative; padding-top: clamp(28px, 3.2vw, 48px); overflow-x: clip; }
.hero::before {
  content: '';
  position: absolute;
  inset: 22% 0 auto;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(46% 42% at 55% 54%, var(--glow), transparent 100%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
.hero__eyebrow, .hero__title { grid-column: 1 / -1; }
/* Copy and facts both start under the title, so the trailer below them rises into the first screen. */
.hero__copy { grid-column: 1 / span 7; align-self: start; }
.hero__title {
  margin-top: 20px;
  font: 400 clamp(52px, 8.8vw, 128px)/0.95 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
@media (min-width: 1081px) { .hero__title { font-size: clamp(52px, 7.6vw, 112px); } }
.hero__title em { display: block; color: var(--text-2); }
.hero__title .dot { color: var(--accent); font-style: normal; }
.hero__lede { margin-top: 24px; max-width: 34em; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

.download { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.download__meta { display: grid; gap: 2px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.download__release { color: var(--text); font-variant-numeric: tabular-nums; }
.download__intel a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.download__intel a:hover { color: var(--text); text-decoration-color: var(--accent); }
.download__also a[hidden] { display: none; }
.hero .download { margin-top: 28px; }
.download__platform { flex-basis: 100%; max-width: 36em; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface-1); font-size: 14px; color: var(--text-2); }

.hero__facts { grid-column: 9 / span 4; align-self: start; display: grid; margin-top: 24px; padding-bottom: 6px; }
.hero__facts > div { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.hero__facts > div:last-child { border-bottom: 1px solid var(--border); }
.hero__facts dt { font: 400 40px/1 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
.hero__facts dd { font-size: 14px; line-height: 1.45; color: var(--text-2); }

/* Pulled up close under the hero copy: at 1440×900 about a quarter of the film is in the first screen. */
.trailer { position: relative; max-width: 1360px; margin: clamp(24px, 2.4vw, 36px) auto 0; padding-inline: var(--gutter); }
.trailer__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-1);
  box-shadow: var(--shadow-lg);
  outline: 1px solid var(--border-strong);
  outline-offset: -1px;
}
.trailer__video, .mod__video { width: 100%; height: 100%; object-fit: cover; background: var(--surface-1); }
.trailer__caption { margin-top: 16px; font-size: 13px; color: var(--text-2); text-align: right; }

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 240, 220, 0.2);
  border-radius: 9999px;
  background: rgba(20, 19, 17, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #EDE9E3;
  font: 600 15px/1 var(--font-sans);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(8, 6, 4, 0.3), 0 12px 32px rgba(8, 6, 4, 0.4);
  transition: background-color 160ms var(--ease), transform 180ms var(--ease-out);
}
.play svg { fill: currentColor; }
.play:hover { background: rgba(33, 31, 28, 0.86); transform: translate(-50%, calc(-50% - 1px)); }
.play--sm { height: 40px; font-size: 14px; padding: 0 18px 0 14px; }
.play[hidden] { display: none; }

/* Pause / play for every moving video (WCAG 2.2.2): on hover or focus for the loops, always for the trailer and on touch. */
.vtoggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 240, 220, 0.2);
  border-radius: 8px;
  background: rgba(20, 19, 17, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #EDE9E3;
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 1px 2px rgba(8, 6, 4, 0.3), 0 6px 16px rgba(8, 6, 4, 0.3);
  transition: opacity 160ms var(--ease), background-color 160ms var(--ease);
}
.vtoggle svg { fill: currentColor; }
.vtoggle:hover { background: rgba(33, 31, 28, 0.9); }
.vtoggle[hidden] { display: none; }
:is(.trailer__frame, .mod__media, .connected__frame, .together__media):hover .vtoggle,
.vtoggle:focus-visible, .vtoggle[data-user-paused], .vtoggle--hero { opacity: 1; }
.vtoggle--hero { right: 64px; bottom: 16px; width: 40px; height: 40px; }
@media (hover: none) { .vtoggle { opacity: 1; } }
/* Sound on / off, the trailer only: right of its pause toggle (as in the tab order), same glass. aria-pressed = sound on. */
.vsound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 240, 220, 0.2);
  border-radius: 8px;
  background: rgba(20, 19, 17, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #EDE9E3;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(8, 6, 4, 0.3), 0 6px 16px rgba(8, 6, 4, 0.3);
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.vsound svg { fill: currentColor; }
.vsound:hover { background: rgba(33, 31, 28, 0.9); }
.vsound[aria-pressed="true"] { color: var(--accent); }
.vsound[hidden] { display: none; }

/* -------------------------------- reveal --------------------------------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------- modules -------------------------------- */

.modules { padding-top: clamp(96px, 12vw, 168px); padding-bottom: clamp(64px, 8vw, 112px); }
.section-head--split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
.section-head--split > div { grid-column: 1 / span 7; }
.replaced { grid-column: 8 / span 5; font-size: 16px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.gone { text-decoration: line-through; text-decoration-color: var(--text-3); text-decoration-thickness: 1px; color: var(--text-3); }
.replaced__now { color: var(--text); }

.chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(88px, 10vw, 136px) 0 clamp(32px, 4vw, 48px);
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.chapter span { color: var(--text-3); }
.chapter::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.mod { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 28px; align-items: center; }
.mod + .mod { margin-top: clamp(72px, 9vw, 120px); }
.mod__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-1);
  box-shadow: var(--shadow-md);
  outline: 1px solid var(--border);
  outline-offset: -1px;
}
.mod__kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-sans); color: var(--text-2); letter-spacing: 0.01em; }
.mod__kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mod__title { margin-top: 14px; font: 600 clamp(24px, 2.3vw, 30px)/1.15 var(--font-sans); letter-spacing: -0.03em; text-wrap: balance; }
.mod__copy > p:not(.mod__kicker) { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.mod__copy em { color: var(--text); font-style: normal; font-weight: 500; }
.points { margin-top: 20px; display: grid; gap: 0; }
.points li { position: relative; padding: 11px 0 11px 20px; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.points li::before { content: ''; position: absolute; left: 2px; top: 20px; width: 8px; height: 1px; background: var(--text-3); }
.points strong { font-weight: 600; }

/* Docs: wide media left, copy right. Slides (flip): narrower media, copy set further in. */
.mod--a .mod__media { grid-column: 1 / span 8; }
.mod--a .mod__copy { grid-column: 9 / span 4; }
.mod--flip .mod__media { grid-column: 1 / span 7; }
.mod--flip .mod__copy { grid-column: 9 / span 4; }
/* Notes: copy left and higher, media right, one column of air between. */
.mod--b { align-items: start; }
.mod--b .mod__copy { grid-column: 1 / span 4; grid-row: 1; padding-top: clamp(0px, 4vw, 56px); }
.mod--b .mod__media { grid-column: 6 / span 7; grid-row: 1; }
/* Whiteboard: full bleed of the column, copy as a row underneath. */
.mod--wide .mod__media { grid-column: 1 / -1; border-radius: 16px; }
.mod__copy--row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; padding-top: 8px; }
.mod__copy--row > div { grid-column: 1 / span 5; }
.mod__copy--row .points { grid-column: 7 / span 6; margin-top: 0; }
.points--cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }

/* Plan and Read: two cards of unequal width; the second one steps down. */
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.pair .mod { display: block; margin: 0; }
.pair .mod__copy { padding-top: 24px; max-width: 36em; }
.pair--plan .mod:first-child { grid-column: 1 / span 7; }
.pair--plan .mod:last-child { grid-column: 8 / span 5; margin-top: clamp(0px, 9vw, 128px); }
.pair--read .mod:first-child { grid-column: 1 / span 5; margin-top: clamp(0px, 6vw, 80px); }
.pair--read .mod:last-child { grid-column: 6 / span 7; }

/* Music: copy leads, media a touch smaller. */
.mod--music .mod__copy { grid-column: 1 / span 5; }
.mod--music .mod__media { grid-column: 7 / span 6; }

/* ------------------------------- connected -------------------------------- */

.connected { padding-block: clamp(96px, 11vw, 152px) clamp(80px, 9vw, 128px); border-top: 1px solid var(--border); }
.connected__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.connected__head { grid-column: 1 / span 5; }
.connected__grid { padding-bottom: 56px; }
.connected__media { grid-column: 6 / span 7; grid-row: 1 / span 2; position: sticky; top: calc(var(--nav-h) + 40px); }
.connected__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-1);
  box-shadow: var(--shadow-lg);
  outline: 1px solid var(--border-strong);
  outline-offset: -1px;
}
.ways { grid-column: 1 / span 5; margin-top: 48px; display: grid; }
.way { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 22px 0; border-top: 1px solid var(--border); }
.way__glyph {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.way__glyph svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.way__glyph--key { font: 600 12px/1 var(--font-mono); letter-spacing: -0.02em; }
.way__glyph--key[data-pc] { font-size: 10px; letter-spacing: -0.04em; white-space: nowrap; }
.way h3 { font: 600 17px/1.3 var(--font-sans); letter-spacing: -0.015em; }
.way p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.way em { font-style: normal; color: var(--text); }

.flows { margin-top: clamp(72px, 9vw, 120px); }
.flows__title { font: 500 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.flows__list { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.flows__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 18px 0; border-top: 1px solid var(--border); font-size: 16px; line-height: 1.45; }
.flows__list li > span:first-child { color: var(--text-2); }
.flows__arrow { color: var(--accent); }

/* -------------------------------- together -------------------------------- */

.together { padding-block: clamp(96px, 12vw, 160px) clamp(72px, 8vw, 104px); background: var(--band); border-block: 1px solid var(--border); }
.together__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
.together__head { grid-column: 1 / span 6; }

.live {
  grid-column: 8 / span 5;
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
  outline: 1px solid var(--border-strong);
  outline-offset: -1px;
  overflow: hidden;
  transform: rotate(0.6deg);
}
.live__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.live__title { font: 500 13px/1 var(--font-sans); color: var(--text); }
.live__people { display: inline-flex; align-items: center; gap: 6px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font: 600 11px/1 var(--font-sans); color: #FFF9F4; box-shadow: 0 0 0 2px var(--surface-2); }
.avatar--a { background: #246B60; }
.avatar--b { background: #3864A3; margin-left: -10px; }
.live__pill { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; height: 22px; padding: 0 9px; border-radius: 9999px; background: var(--surface-3); font: 500 11px/1 var(--font-sans); color: var(--text-2); }
.live__pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.live__page { margin: 16px; padding: 28px 28px 24px; border-radius: 8px; background: var(--paper); color: var(--paper-text); font: 400 15.5px/1.7 Georgia, 'Iowan Old Style', serif; box-shadow: 0 1px 2px rgba(20, 14, 8, 0.14), 0 8px 20px rgba(20, 14, 8, 0.12); }
.live__page p + p { margin-top: 10px; }
.live__h { font: 400 26px/1.15 var(--font-display); letter-spacing: -0.02em; margin-bottom: 12px; }
.live__muted { color: var(--paper-text-2); }
.caret { position: relative; display: inline-block; width: 2px; height: 1.25em; margin: 0 1px -0.22em; vertical-align: baseline; }
.caret::before { content: ''; position: absolute; inset: 0; border-radius: 1px; background: var(--c); animation: caret 1.1s steps(1) infinite; }
.caret b { position: absolute; left: -1px; bottom: calc(100% + 1px); padding: 2px 5px; border-radius: 4px 4px 4px 0; font: 600 10.5px/1.2 var(--font-sans); color: #FFF9F4; white-space: nowrap; }
.caret b { background: var(--c); }
.caret--a { --c: #246B60; }
.caret--b { --c: #3864A3; }
.caret--b::before { animation-delay: 0.45s; }
.sel { color: inherit; border-radius: 2px; }
.sel--b { background: rgba(56, 100, 163, 0.18); }
@keyframes caret { 50% { opacity: 0.25; } }
.live__invite { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 14px; border-top: 1px dashed var(--border-strong); }
.live__label { font-size: 12px; color: var(--text-2); }
.live__invite code { font: 500 13px/1 var(--font-mono); letter-spacing: 0.02em; color: var(--text); }

.together__body { margin-top: clamp(72px, 9vw, 112px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.together__media {
  grid-column: 1 / span 7;
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-1);
  box-shadow: var(--shadow-md);
  outline: 1px solid var(--border);
  outline-offset: -1px;
}
.facts { grid-column: 9 / span 4; display: grid; }
.facts li { padding: 18px 0; border-top: 1px solid var(--border); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts h3 { font: 600 16px/1.3 var(--font-sans); letter-spacing: -0.015em; }
.facts p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.limits {
  margin-top: clamp(56px, 7vw, 88px);
  max-width: 62em;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

/* --------------------------------- privacy -------------------------------- */

.privacy { padding-block: clamp(104px, 12vw, 168px) clamp(80px, 9vw, 120px); }
.privacy__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.privacy__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 40px); }
.net { grid-column: 7 / span 6; display: grid; }
.net__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 24px; padding: 22px 0; border-top: 1px solid var(--border); }
.net__row dt { font: 600 15px/1.45 var(--font-sans); letter-spacing: -0.01em; }
.net__row dd { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.net__row--none { border-bottom: 1px solid var(--border); align-items: baseline; }
.net__row--none dd strong { display: block; font: 400 34px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--accent); margin-bottom: 6px; }
.privacy__site { grid-column: 7 / span 6; margin-top: 28px; padding-left: 28px; position: relative; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.privacy__lock { position: absolute; left: 0; top: 4px; fill: none; stroke: var(--text-2); stroke-width: 1.4; stroke-linecap: round; }

/* --------------------------------- install -------------------------------- */

.install { padding-block: clamp(88px, 10vw, 136px) clamp(88px, 10vw, 128px); border-top: 1px solid var(--border); }
.install__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
.install__head > div:first-child { grid-column: 1 / span 6; }
.download--end { grid-column: 8 / span 5; margin-top: 0; justify-self: end; }
.steps { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; counter-reset: none; }
/* The steps per OS: a Mac's and Windows' (site.js hides the other OS's for Mac and Windows visitors). */
.steps__for { margin-top: clamp(56px, 7vw, 88px); font: 600 11px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.steps--after-for { margin-top: 16px; }
.steps[hidden], .steps__for[hidden], .install__more[hidden], .download__req[hidden], .download__intel[hidden] { display: none; }
.step { padding-top: 20px; border-top: 1px solid var(--border-strong); }
.step__n { display: block; font: 400 56px/1 var(--font-display); letter-spacing: -0.02em; color: var(--text-3); }
.step h3 { margin-top: 20px; font: 600 17px/1.3 var(--font-sans); letter-spacing: -0.015em; }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.step .inline-code { white-space: normal; word-break: break-all; }
/* grid-column: on phones a step is a two-column grid, and the note belongs under the text, not the number. */
.step p.step__note { grid-column: 2; margin-top: 10px; font-size: 14px; }
.install__more { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.install__why { grid-column: 1 / span 5; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.terminal { grid-column: 7 / span 6; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-1); }
.terminal summary, .qa summary { list-style: none; cursor: pointer; }
.terminal summary::-webkit-details-marker, .qa summary::-webkit-details-marker { display: none; }
.terminal summary { position: relative; padding: 16px 48px 16px 20px; font: 500 15px/1.45 var(--font-sans); }
.terminal summary::after, .qa summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms var(--ease-out);
}
.terminal[open] summary::after, .qa[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.terminal > p { padding: 0 20px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.terminal__cmd { display: flex; align-items: center; gap: 12px; margin: 14px 20px 0; padding: 12px 12px 12px 16px; border-radius: 8px; background: var(--bg); outline: 1px solid var(--border); overflow-x: auto; }
.terminal__cmd code { flex: 1; min-width: 0; font: 500 13.5px/1.5 var(--font-mono); letter-spacing: -0.01em; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.terminal__status { min-height: 20px; padding: 8px 20px 14px; font-size: 13px; color: var(--text-2); }

/* ----------------------------------- faq ---------------------------------- */

.faq { padding-block: clamp(104px, 12vw, 160px) clamp(96px, 10vw, 136px); background: var(--band); border-top: 1px solid var(--border); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list { grid-column: 6 / span 7; }
.qa { border-top: 1px solid var(--border); }
.qa:last-child { border-bottom: 1px solid var(--border); }
.qa summary { position: relative; padding: 22px 44px 22px 0; font: 500 18px/1.4 var(--font-sans); letter-spacing: -0.015em; transition: color 160ms var(--ease); }
.qa summary::after { right: 6px; }
.qa summary:hover { color: var(--accent); }
.qa summary:hover::after { border-color: var(--accent); }
.qa p { padding: 0 44px 24px 0; max-width: 40em; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.qa .inline-code { white-space: normal; word-break: break-word; }

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

.footer { padding-block: 56px 48px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1fr auto; row-gap: 28px; align-items: center; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a { font-size: 14px; color: var(--text-2); text-decoration: none; transition: color 160ms var(--ease); }
.footer__links a:hover { color: var(--text); }
.footer__legal { grid-column: 1 / -1; font-size: 13px; color: var(--text-2); }

/* ------------------------------- responsive ------------------------------- */

@media (max-width: 1080px) {
  .hero__copy { grid-column: 1 / -1; }
  .hero__facts { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin-top: 48px; }
  .hero__facts > div { grid-template-columns: 1fr; gap: 8px; border-bottom: 1px solid var(--border); }
  .section-head--split > div, .replaced { grid-column: 1 / -1; }
  .replaced { margin-top: 24px; max-width: 44em; }
  .mod--a .mod__copy, .mod--flip .mod__copy { grid-column: 8 / span 5; }
  .mod--flip .mod__media, .mod--a .mod__media { grid-column: 1 / span 7; }
  .mod--b .mod__copy { grid-column: 1 / span 5; }
  .facts { grid-column: 8 / span 5; }
  .together__media { grid-column: 1 / span 7; }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: calc(var(--nav-h) - 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(8, 6, 4, 0.18);
  }
  .nav__links[data-open] { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 16px; border-top: 1px solid var(--border); }
  .nav__links a:first-child { border-top: 0; }
  .nav__end { margin-left: auto; }

  .hero__grid, .mod, .pair, .connected__grid, .together__top, .together__body, .privacy__grid, .faq__grid, .install__head, .install__more, .mod__copy--row, .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .mod > *, .pair > *, .connected__grid > *, .together__top > *, .together__body > *, .privacy__grid > *, .faq__grid > *, .install__head > *, .install__more > *, .mod__copy--row > *, .pair .mod:first-child, .pair .mod:last-child {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  .mod--b .mod__copy, .mod--music .mod__copy { order: 2; padding-top: 0; }
  .pair .mod + .mod { margin-top: 64px !important; }
  .pair .mod:first-child { margin-top: 0 !important; }
  .mod__copy--row .points { margin-top: 20px; }
  .privacy__head, .faq__head { position: static; }
  /* Still positioned: its Play button and pause toggle sit inside it. */
  .together__media { position: relative; top: auto; }
  .connected__media { position: relative; top: auto; }
  .connected__media { margin-top: 40px; }
  .ways { margin-top: 40px; }
  .flows__list { grid-template-columns: 1fr 1fr; }
  .live { margin-top: 48px; transform: none; }
  .facts { margin-top: 40px; }
  .facts li:first-child { border-top: 1px solid var(--border); padding-top: 18px; }
  .net { margin-top: 40px; }
  .privacy__site { margin-top: 24px; }
  .download--end { justify-self: start; margin-top: 32px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .terminal { margin-top: 32px; }
  .faq__list { margin-top: 32px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(46px, 13vw, 64px); }
  .hero__facts { grid-template-columns: 1fr; margin-top: 40px; }
  .hero__facts > div { grid-template-columns: 40px 1fr; gap: 12px; border-bottom: 0; }
  .hero__facts > div:last-child { border-bottom: 1px solid var(--border); }
  .btn--lg { width: 100%; }
  .download { gap: 16px; }
  .trailer__caption { text-align: left; }
  .trailer__frame { border-radius: 12px; }
  .vtoggle, .vtoggle--hero { right: 8px; bottom: 8px; width: 32px; height: 32px; }
  .vtoggle--hero { right: 48px; }
  .vsound { right: 8px; bottom: 8px; width: 32px; height: 32px; }
  .points--cols, .flows__list, .steps { grid-template-columns: 1fr; }
  .steps { row-gap: 0; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 20px 0 22px; }
  .step__n { grid-row: 1 / span 2; font-size: 40px; }
  .step h3 { margin-top: 4px; }
  .net__row { grid-template-columns: 1fr; row-gap: 6px; }
  .live__page { margin: 12px; padding: 22px 18px 18px; font-size: 14.5px; }
  .live__invite code { font-size: 11.5px; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 14px; }
}

/* ------------------------------ reduced motion ---------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .caret::before { animation: none; }
}

/* ------------------------- floating Send to menu -------------------------- */

.sendto {
  position: absolute;
  left: 40px;
  bottom: -56px;
  width: 208px;
  padding: 6px;
  border-radius: 10px;
  background: var(--surface-3);
  box-shadow: 0 0 0 1px var(--border-strong), 0 2px 4px rgba(8, 6, 4, 0.18), 0 12px 28px rgba(8, 6, 4, 0.3), 0 32px 64px rgba(8, 6, 4, 0.24);
  font: 500 13px/1 var(--font-sans);
  color: var(--text);
  transform: rotate(-1.2deg);
}
.sendto__head { padding: 8px 10px 9px; margin-bottom: 4px; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 12px; }
.sendto li { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-radius: 6px; }
.sendto li.is-on { background: var(--accent-soft); }
.sendto svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; color: var(--text-2); }
.sendto li.is-on svg { color: var(--accent); }

@media (max-width: 1080px) {
  .sendto { left: auto; right: 16px; bottom: -36px; width: 184px; }
}
@media (max-width: 560px) {
  .sendto { display: none; }
}

/* --------------------------------- claude --------------------------------- */

.claude { padding-block: clamp(104px, 12vw, 168px) clamp(88px, 10vw, 128px); border-top: 1px solid var(--border); }
.claude__lede { grid-column: 8 / span 5; margin-top: 0; }
.claude .mod:first-of-type { margin-top: clamp(56px, 7vw, 88px); }
.new {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 600 11px/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.new--nav { margin: 0 0 0 6px; padding: 2px 5px; font-size: 10px; }
.mod__media--shot { aspect-ratio: 1216 / 792; }
.mod__media--shot picture, .mod__media--shot img { display: block; width: 100%; height: 100%; }
.mod__media--shot img { object-fit: cover; object-position: top left; }
.claude__more { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.claude__try { grid-column: 1 / span 5; }
.claude__know { grid-column: 7 / span 6; }
.claude__more h3 { font: 600 17px/1.3 var(--font-sans); letter-spacing: -0.015em; }
.asks { margin-top: 20px; display: grid; gap: 10px; }
.asks li { padding: 14px 18px; border-radius: 12px; background: var(--surface-1); outline: 1px solid var(--border); outline-offset: -1px; font: 400 19px/1.4 var(--font-display); letter-spacing: -0.005em; color: var(--text); text-wrap: pretty; }

@media (max-width: 1080px) {
  .claude__lede { grid-column: 1 / -1; margin-top: 24px; max-width: 44em; }
}
@media (max-width: 860px) {
  .claude__more { grid-template-columns: minmax(0, 1fr); }
  .claude__more > * { grid-column: 1 / -1; }
  .claude__know { margin-top: 40px; }
}
