@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page: #181818;
  --surface: #1f1f1f;
  --surface-hover: #272727;
  --stage: #131209;
  --ink: #f6f5f0;
  --muted: #b8b7af;
  --muted-strong: #d6d4ca;
  --line: #41413b;
  --accent: #d6f778;
  --accent-ink: #181818;
  --nav: #1f1f1fe8;
  --hero-start: #fff;
  --hero-end: #9b9b9b;
  --curve: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 24px 64px #0006;
  font-family: Manrope, system-ui, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --page: #f9f9f3;
    --surface: #fff;
    --surface-hover: #f0f1e8;
    --stage: #e8eade;
    --ink: #21231b;
    --muted: #56584c;
    --muted-strong: #34382a;
    --line: #cdd1c0;
    --accent: #3d5805;
    --accent-ink: #fff;
    --nav: #ffffffed;
    --hero-start: #000;
    --hero-end: #666;
    --shadow: 0 24px 64px #26291820;
  }
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 112px; }
body { margin: 0; background: var(--page); color: var(--ink); }
h1, h2, h3, p, figure, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
img, video { display: block; max-width: 100%; }
button:disabled { cursor: not-allowed; opacity: .48; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 90; top: 8px; left: 16px; padding: 8px 12px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; }

/* Named text styles from the landing page scale. */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -.052em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -.02em; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4, .caption-1 { font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.title-5 { font-size: .75rem; line-height: 1rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-6, .caption-2 { font-size: .875rem; line-height: 1.25rem; font-weight: 400; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: .875rem; line-height: 1.25rem; font-weight: 600; }
.caption-3 { font-size: .75rem; line-height: 1rem; font-weight: 600; }

.container { width: min(1248px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 80px; }
.section-intro { max-width: 680px; margin-bottom: 32px; }
.section-intro .eyebrow { margin-bottom: 16px; }
.section-intro > p:last-child { margin-top: 16px; color: var(--muted); }
.eyebrow { color: var(--accent); letter-spacing: .09em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: var(--accent); border-radius: 100%; margin-right: 8px; vertical-align: 1px; }

.site-header { position: sticky; top: 16px; z-index: 30; width: min(760px, calc(100% - 48px)); margin: 16px auto 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 16px; min-height: 56px; border: 1px solid var(--line); border-radius: 16px; background: var(--nav); backdrop-filter: blur(20px); }
.brand { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: 32px; color: var(--muted-strong); }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--accent); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 8px; }
.menu-toggle span { display: block; background: currentColor; height: 2px; width: 16px; margin: 4px auto; transition: transform .5s var(--curve); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { display: none; }

.hero { padding-top: 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 680px; margin-block: 16px 24px; color: var(--hero-start); background: linear-gradient(90deg, var(--hero-start), var(--hero-end)); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-summary { max-width: 480px; color: var(--muted-strong); margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; min-height: 48px; transition: transform .3s var(--curve); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.secondary { border-color: var(--line); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-proof { color: var(--muted); margin-top: 16px; }
.hero-proof-image { min-width: 0; }
.proof-frame { display: block; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.proof-frame img { width: 100%; height: auto; border-radius: 8px; }
.proof-frame:hover { border-color: var(--accent); }
.hero-proof-image figcaption { color: var(--muted); display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-inline: 4px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; padding: 16px 24px; gap: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted-strong); background: var(--surface); }
.hero-facts span { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon, .benefit-small > .icon { color: var(--accent); }

.layout-grid { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 4fr); align-items: start; gap: 16px; }
.layout-options { display: grid; gap: 8px; }
.layout-options button { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left; min-height: 48px; padding: 8px 12px; background: var(--surface); color: var(--muted-strong); border: 1px solid var(--line); border-radius: 8px; }
.layout-options button > span:first-child { opacity: .72; font-variant-numeric: tabular-nums; }
.layout-options button .icon { width: 16px; height: 16px; }
.layout-options button:hover { background: var(--surface-hover); }
.layout-options button:active { transform: scale(.98); }
.layout-options button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.layout-figure { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); min-width: 0; }
.layout-grid:has(.layout-options[hidden]) .layout-figure { grid-column: 1 / -1; }
.layout-stage { display: grid; gap: 2px; }
.layout-shot img { width: 100%; height: auto; }
.layout-shot:focus-visible { outline-offset: -4px; }
.layout-figure figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px; color: var(--muted); }
.layout-figure figcaption strong { display: block; color: var(--ink); }

.benefits { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px; }
.benefit-main, .benefit-small { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.benefit-main { overflow: hidden; }
.benefit-image img { width: 100%; height: auto; }
.benefit-copy, .benefit-small { padding: 24px; }
.benefit-copy h3 { margin-top: 8px; }
.benefit-copy p:last-child, .benefit-small p { color: var(--muted); margin-top: 8px; }
.benefit-side { display: grid; gap: 16px; }
.benefit-small { display: flex; align-items: flex-start; gap: 16px; }
.benefit-small > .icon { width: 24px; height: 24px; margin-top: 4px; }

.tagline-section { background: var(--surface); padding-block: 80px; }
.tagline-inner { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 4fr); align-items: start; gap: 24px; }
.tagline { max-width: 680px; }
.tagline > span { display: block; }
.tagline > span + span { margin-top: 16px; }
.tagline .word { display: inline-block; transition: opacity .65s var(--curve); }
.tagline.is-animated .word:not(.is-lit) { opacity: .35; }

.recording-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.recording-player { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--stage); }
.recording-player video { width: 100%; height: auto; }
.recording-play { position: absolute; inset: 0; margin: auto; width: max-content; max-width: calc(100% - 24px); height: max-content; display: flex; align-items: center; gap: 12px; background: var(--accent); color: var(--accent-ink); border: none; border-radius: 8px; padding: 8px 12px; font-size: 1rem; line-height: 1.5rem; font-weight: 600; text-align: left; box-shadow: var(--shadow); }
.recording-play small { display: block; font-size: .75rem; line-height: 1rem; font-weight: 500; }
.native-recording figcaption, #video-error, .demo-caption { color: var(--muted); margin-top: 12px; }
#video-error a { color: var(--accent); text-decoration: underline; }
.recording-steps { list-style: none; display: grid; gap: 16px; padding: 0; }
.recording-steps li { display: flex; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.recording-steps li > span { color: var(--accent); margin-top: 4px; }
.recording-steps p, .transcript p { color: var(--muted); margin-top: 8px; }
.transcript { margin-top: 24px; max-width: 680px; }

.demo-shell { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--stage); }
.scene { position: relative; aspect-ratio: 1280 / 630; overflow: hidden; touch-action: pan-y; isolation: isolate; background: var(--stage); }
.native-canvas { position: absolute; inset: 0 auto auto 0; width: 1280px; height: 740px; transform: scale(var(--demo-scale, .875)); transform-origin: left top; }
.window-stack { position: absolute; inset: 0; }
.native-window { position: absolute; width: 720px; height: 450px; border-radius: 8px; overflow: hidden; transform-origin: center; background: #e8edf0; opacity: 0; box-shadow: 0 12px 24px #0005; backface-visibility: hidden; cursor: pointer; border: 0; padding: 0; }
.native-window img { width: 100%; height: 100%; object-fit: fill; }
.demo-loading { position: absolute; top: 48%; width: 100%; text-align: center; color: var(--muted); font-size: .875rem; line-height: 1.25rem; }
.retry-demo { position: absolute; top: 60%; left: 50%; transform: translateX(-50%); }
.native-controls { padding: 8px 16px 16px; }
.sample-dock { display: flex; gap: 4px; overflow-x: auto; padding: 8px 4px; scrollbar-width: thin; }
.sample-dock button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid transparent; padding: 8px; border-radius: 8px; background: var(--surface); }
.sample-dock button:hover { border-color: var(--line); }
.sample-dock button[aria-pressed="true"] { border-color: var(--accent); background: var(--surface-hover); }
.sample-dock img { width: 24px; height: 24px; object-fit: contain; }
.demo-caption-name { text-align: center; color: var(--ink); font-size: .875rem; line-height: 1.25rem; }
.demo-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; color: var(--muted); font-size: .875rem; line-height: 1.25rem; }
.demo-navigation { display: flex; align-items: center; gap: 8px; }
.demo-feedback { flex: 1 1 240px; }
.arrow-button, .reset-demo, .return-stack, .retry-demo { min-height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 8px 12px; }
.arrow-button:hover, .reset-demo:hover, .return-stack:hover, .retry-demo:hover { background: var(--surface-hover); color: var(--accent); }
body:not(.js-ready) .demo-shell, body:not(.js-ready) .demo-tools { display: none; }

.faq-section { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.faq-list { display: grid; gap: 8px; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 16px; }
details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary span { position: relative; width: 16px; height: 16px; flex: none; color: var(--accent); }
details summary span::before, details summary span::after { content: ""; position: absolute; inset: 7px 0 auto; height: 2px; background: currentColor; }
details summary span::after { transform: rotate(90deg); transition: transform .3s var(--curve); }
details[open] summary span::after { transform: rotate(0); }
details p { color: var(--muted); margin-top: 12px; max-width: 640px; }
.final-cta { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 64px 24px; }
.final-cta h2 { margin-top: 16px; }
.final-cta > .body-3 { max-width: 480px; color: var(--muted); margin: 16px auto 24px; }
.download-note { color: var(--muted); margin-top: 16px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px 48px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); }
[data-reveal].pending-reveal { opacity: 0; transform: translateY(32px); }
[data-reveal] { transition: opacity .7s var(--curve), transform .7s var(--curve); }
[data-reveal]:focus-within { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero-grid { gap: 32px; }
  .hero .heading-1 { font-size: 3rem; line-height: 1; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .section-space { padding-block: 48px; }
  .desktop-nav { display: none; }
  .js-ready .menu-toggle { display: block; }
  .mobile-nav:not([hidden]) { position: fixed; inset: 80px 0 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 8px; overflow-y: auto; overscroll-behavior: contain; padding: 32px 24px; background: var(--nav); backdrop-filter: blur(24px); }
  .mobile-nav a { padding: 12px 16px; border-radius: 8px; animation: enter .4s var(--curve) both; }
  .mobile-nav a:nth-child(2) { animation-delay: 60ms; }
  .mobile-nav a:nth-child(3) { animation-delay: 120ms; }
  .mobile-nav a:nth-child(4) { animation-delay: 180ms; }
  .mobile-nav a:nth-child(5) { animation-delay: 240ms; }
  .mobile-nav a:hover { background: var(--surface-hover); color: var(--accent); }
  @keyframes enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .hero { padding-top: 48px; }
  .hero-grid, .benefits, .tagline-inner, .recording-layout, .faq-section { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; padding: 12px; }
  .layout-grid { grid-template-columns: 1fr; }
  .layout-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-options button { grid-template-columns: 1fr; }
  .layout-options button > :first-child, .layout-options button > .icon { display: none; }
  .tagline-section { padding-block: 48px; }
  .site-footer { align-items: flex-start; }
}
@media (max-width: 480px) {
  .container, .site-header { width: calc(100% - 32px); }
  .hero { padding-top: 40px; }
  .hero .heading-1, .heading-2 { font-size: 2.25rem; line-height: 2.5rem; }
  .hero-grid { gap: 24px; }
  .hero-facts .icon { width: 16px; height: 16px; }
  .layout-figure figcaption { flex-direction: column; gap: 4px; }
  .benefit-copy, .benefit-small { padding: 16px; }
  .scene { aspect-ratio: 1280 / 740; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].pending-reveal { opacity: 1; transform: none; }
  .tagline .word { opacity: 1 !important; }
}
@media (forced-colors: active) {
  .hero h1 { background: none; color: CanvasText; -webkit-text-fill-color: currentColor; }
  .button.primary, .layout-options button[aria-pressed="true"] { border-color: Highlight; color: LinkText; }
}
