@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.935f295205.woff2") format("woff2"), url("assets/fonts/dm-sans.b0ae3e89a7.ttf") format("truetype");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+25A0-25FF;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk.b9d3e2dd38.woff2") format("woff2"), url("assets/fonts/space-grotesk.ec926d5065.ttf") format("truetype");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+25A0-25FF;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-bold.e0ac4f1e1d.woff2") format("woff2"), url("assets/fonts/space-grotesk-bold.3e75695446.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+25A0-25FF;
}

:root {
  --paper: #f4f1e9;
  --ink: #1f241f;
  --muted: #62645e;
  --line: #d4d3cb;
  --blue: #2848e8;
  --blue-deep: #1736c8;
  --blue-pale: #e8eeff;
  --night: #171d1a;
  --body: "DM Sans", sans-serif;
  --display: "Space Grotesk", sans-serif;
  --container: min(1600px, calc(100% - 96px));
  --header-height: 100px;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.045em; }
em { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.container { width: var(--container); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
section[id], .privacy-note { scroll-margin-top: 36px; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon.light { filter: invert(1); }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* A short navigation works at every size without another menu. */
.site-header {
  display: flex;
  align-items: center;
  gap: 48px;
  width: var(--container);
  min-height: var(--header-height);
  margin-inline: auto;
}
.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font: 700 24px var(--display);
  letter-spacing: -0.05em;
}
.wordmark picture { display: inline-flex; }
.wordmark img { width: 48px; height: 26px; object-fit: contain; }
.wordmark-period { color: var(--blue); }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.desktop-nav a:hover, .inline-link:hover, .release-link:hover { color: var(--blue); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background 150ms ease;
}
.button-blue { color: white; background: var(--blue); }
.button-blue:hover { background: var(--blue-deep); }
.nav-download { min-height: 46px; padding: 12px 20px; font-size: 14px; }
.text-button, .inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
}
.play-symbol { color: var(--blue); font-size: 12px; }
.film-duration { color: var(--muted); font-size: 13px; font-weight: 400; }

/* The desktop ribbon is an expressive accent, never a mock app. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 24px;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding-block: 48px 72px;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin-bottom: 30px; color: var(--muted); font-size: 15px; }
h1 { font-size: clamp(48px, 5.2vw, 80px); line-height: 1.08; letter-spacing: -0.065em; }
h1 em { letter-spacing: -0.045em; }
.hero-description { max-width: 36ch; margin-top: 30px; font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.trust-line { margin-top: 18px; color: var(--muted); font-size: 13px; }
.hero-scroll { position: absolute; left: 0; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); font-size: 13px; }
.hero-scroll:hover { color: var(--blue); }
.hero-scroll img { width: 14px; height: 14px; }
.hero-art { min-width: 0; }
.sound-scene { position: relative; width: calc(100% + clamp(12px, 2.8vw, 48px)); margin-left: calc(-1 * clamp(6px, 1.4vw, 24px)); aspect-ratio: 1.5; }
.sound-scene > picture { position: absolute; inset: 0; }
.sound-sculpture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sound-ribbon { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.ribbon-ready .sound-sculpture { visibility: hidden; }
.ribbon-toggle {
  position: absolute;
  right: clamp(6px, 1.4vw, 24px);
  bottom: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.ribbon-toggle:hover { color: var(--ink); }

/* One overview, with four chapters sharing a gridded practice room. */
.insights-section { padding-block: 72px 88px; background: var(--blue-pale); }
.insights-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; margin-bottom: 44px; }
h2 { font-size: clamp(36px, 3.8vw, 56px); }
.insights-heading p { max-width: 48ch; color: var(--muted); font-size: 18px; }
.insight-demo { border: 1px solid var(--ink); background: var(--paper); }
.insight-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.insight-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  gap: 16px;
  min-height: 112px;
  min-width: 0;
  padding: 22px 24px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  text-align: left;
}
.insight-tabs button:last-child { border-right: 0; }
.insight-tabs button > span { grid-row: 1 / 3; padding-top: 3px; font: 700 11px var(--display); }
.insight-tabs strong { font: 700 17px var(--display); }
.insight-tabs small { grid-column: 2; color: var(--muted); font-size: 14px; }
.insight-tabs [aria-selected="true"] { background: var(--blue); color: white; }
.insight-tabs [aria-selected="true"] small { color: #d8dfff; }
.insight-tabs button:focus-visible { z-index: 1; outline-offset: -6px; outline-color: var(--ink); }
.insight-tabs [aria-selected="true"]:focus-visible { outline-color: white; }
@media (hover: hover) { .insight-tabs button:not([aria-selected="true"]):hover { background: #ebece5; } }
.insight-panel {
  padding: 34px;
  background-image: linear-gradient(rgba(40, 72, 232, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 72, 232, .055) 1px, transparent 1px);
  background-size: 24px 24px;
}
.insight-view { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 64px; }
.screen-frame { min-width: 0; overflow: hidden; border: 1px solid var(--ink); border-radius: 13px; background: #ebeae4; box-shadow: 12px 14px 0 rgba(31, 36, 31, .11); transition: transform 240ms cubic-bezier(.22, 1, .36, 1), box-shadow 240ms ease; }
.screenshot-link picture { display: block; }
.screen-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding-inline: 14px; border-bottom: 1px solid var(--ink); }
.screen-bar > span { width: 8px; height: 8px; flex-shrink: 0; border: 1px solid var(--ink); border-radius: 50%; }
.screen-bar strong { margin-left: auto; font: 700 9px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.screenshot-link { display: block; cursor: zoom-in; }
.screenshot-link:focus-visible { outline-offset: -6px; outline-color: white; }
.screenshot-link img { width: 100%; }
.screenshot-source-hidden { visibility: hidden; }
.demo-note { max-width: 52ch; }
.demo-label, .mini-label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.09em; }
.demo-note h3 { font-size: clamp(27px, 2.5vw, 36px); }
.demo-copy p { margin-top: 20px; }
.demo-copy .step-detail { color: var(--muted); font-size: 14px; }
.demo-label + h3 { margin-top: 16px; }
.demo-note > .demo-label { color: var(--ink); text-transform: uppercase; }
.feature-badge { padding: 3px 7px; border-radius: 4px; background: #e1e5f4; color: #384979; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.practice-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.product-footnote { color: var(--muted); font-size: 13px; }

.insight-view:not([hidden]) .demo-note,
.insight-view:not([hidden]) .screen-frame { animation: practice-enter 240ms cubic-bezier(.22, 1, .36, 1); }
@keyframes practice-enter { from { opacity: .65; translate: 0 10px; } }
@media (hover: hover) {
  .screen-frame:has(.screenshot-link:hover) { transform: translateY(-4px); box-shadow: 16px 20px 0 rgba(31, 36, 31, .14); }
}
.screen-frame:has(.screenshot-link:active) { transform: translateY(0) scale(.985); }

@supports (animation-timeline: view()) {
  .insights-heading, .faq-heading, .download-copy {
    animation: section-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
  }
}
@keyframes section-enter { from { opacity: .8; translate: 0 14px; } }

.faq-section { padding-block: 80px 100px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 96px; }
.faq-heading h2 { max-width: 12ch; }
.privacy-note { max-width: 37ch; margin-top: 48px; }
.privacy-note h3 { margin-bottom: 14px; font-size: 22px; }
.privacy-note p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; padding: 20px 0; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 16px; height: 16px; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-panel-inner { max-width: 60ch; padding: 0 36px 24px 0; color: var(--muted); font-size: 15px; }
.faq-panel a, .install-details a, .tour-note a, .noscript-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.download-section { padding-block: 88px 96px; background: var(--night); color: white; }
.download-section :focus-visible { outline-color: white; }
.download-grid { display: grid; grid-template-columns: 1fr 0.7fr; align-items: center; gap: 48px; }
.download-copy h2 { max-width: 14ch; }
.download-copy p { margin-top: 24px; color: #bdc3be; }
.download-copy .button { margin-top: 28px; }
.release-meta { display: block; margin-top: 16px; color: #bdc3be; font-size: 13px; }
.download-art { justify-self: center; }
.download-art picture, .info-dialog > picture { display: contents; }
.download-icon { width: 190px; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; min-height: 124px; padding-block: 32px; }
.site-footer .wordmark { font-size: 21px; }
.site-footer .wordmark img { width: 40px; height: 22px; }
.site-footer > div { display: flex; gap: 28px; margin-left: auto; }
.site-footer > div a { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; }
.site-footer > div a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Native dialogs keep keyboard, Escape, and focus behavior familiar. */
body:has(dialog[open]) { overflow: hidden; }
dialog {
  width: min(1100px, calc(100% - 64px));
  max-height: calc(100dvh - 64px);
  margin: auto;
  padding: 28px;
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 80px #0004;
}
dialog::backdrop { background: #111820b8; }
.dialog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.dialog-top h2 { margin-top: 8px; font-size: 28px; }
.icon-button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.icon-button:hover { background: #e5e3dc; }
.tour-dialog video { display: block; width: 100%; max-height: calc(100dvh - 260px); border-radius: 8px; background: #161b18; }
.tour-chapters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tour-chapters button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 12px; }
.tour-chapters button:hover, .tour-chapters [aria-current="true"] { border-color: var(--blue); color: var(--blue); }
.tour-note { margin-top: 16px; font-size: 14px; }
.info-dialog { width: min(560px, calc(100% - 64px)); padding: 32px; }
.download-app-icon { margin-bottom: 20px; }
.info-dialog h2 { font-size: 34px; }
.dialog-description { margin-top: 16px; font-size: 14px; }
.dialog-commercial { margin-top: 8px; color: var(--muted); font-size: 14px; }
.install-disclosure { margin-top: 24px; padding: 16px; border-radius: 8px; background: #e8e7e0; font-size: 14px; }
.install-disclosure p { margin-top: 6px; color: var(--muted); }
.install-details { margin-top: 20px; font-size: 14px; }
.install-details summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--blue); }
.install-details summary::after { content: " +"; }
.install-details[open] summary::after { content: " −"; }
.install-steps { margin: 8px 0 16px; padding-left: 22px; }
.install-steps li { margin-block: 10px; padding-left: 4px; }
.install-details p { color: var(--muted); }
.direct-download { width: 100%; margin-top: 24px; }
.release-link { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: 8px; font-size: 13px; }
.screenshot-dialog { width: min(1600px, calc(100% - 48px)); }
.screenshot-frame { display: flex; justify-content: center; }
.screenshot-frame img { width: auto; max-width: 100%; max-height: calc(100dvh - 220px); object-fit: contain; border-radius: 8px; }
.small-note { margin-top: 16px; color: var(--muted); font-size: 12px; }
.screenshot-dialog[open] { animation: screenshot-in 180ms ease-out; }
.screenshot-dialog.screenshot-closing { animation: screenshot-out 140ms ease-in both; }
.screenshot-dialog.screenshot-closing::backdrop { animation: backdrop-out 140ms ease-in both; }
@keyframes screenshot-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes screenshot-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes backdrop-out { to { opacity: 0; } }
.noscript-note { padding: 20px; text-align: center; font-size: 14px; }

@media (max-width: 1100px) {
  :root { --container: calc(100% - 64px); }
  .site-header { gap: 28px; }
  .hero { padding-block: 56px 80px; }
  .hero-description { font-size: 18px; }
  .hero-actions { gap: 16px; }
  .insight-tabs button { padding-inline: 16px; gap: 12px; }
  .insight-panel { padding: 28px; }
  .insight-view { grid-template-columns: 1fr 1.3fr; gap: 36px; }
  .faq-layout { gap: 56px; }
}

@media (max-width: 780px) {
  :root { --container: calc(100% - 40px); --header-height: 80px; }
  .site-header { gap: 20px; }
  .wordmark { font-size: 22px; gap: 7px; }
  .wordmark img { width: 40px; height: 22px; }
  .desktop-nav { gap: 20px; }
  .desktop-nav a { font-size: 13px; }
  .nav-download, .hero-art { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 52px 80px; }
  .eyebrow { margin-bottom: 24px; font-size: 13px; }
  h1 { max-width: 620px; font-size: clamp(34px, 10.9vw, 66px); }
  .hero-description { margin-top: 24px; font-size: 18px; }
  .hero-actions { margin-top: 28px; }
  .trust-line { margin-top: 16px; font-size: 12px; }
  h2 { font-size: 38px; }
  .insights-section { padding-block: 48px 56px; }
  .insights-heading { display: block; margin-bottom: 28px; }
  .insights-heading p { margin-top: 22px; font-size: 16px; }
  .insight-tabs button { grid-template-columns: 1fr; gap: 8px; min-height: 76px; padding: 14px 8px; }
  .insight-tabs button > span { grid-row: auto; padding: 0; font-size: 10px; }
  .insight-tabs strong { font-size: clamp(11px, 3.3vw, 14px); }
  .insight-tabs small { display: none; }
  .insight-panel { padding: 24px 20px 30px; }
  .insight-view { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .screen-frame { box-shadow: 7px 8px 0 rgba(31, 36, 31, .11); border-radius: 10px; }
  .screen-bar { height: 30px; padding-inline: 10px; }
  .screen-bar strong { font-size: 8px; letter-spacing: .05em; }
  .demo-note { max-width: 54ch; }
  .demo-note h3 { font-size: 28px; }
  .demo-label + h3 { margin-top: 10px; }
  .demo-copy p { margin-top: 14px; }
  .demo-copy .step-detail { font-size: 13px; }
  .practice-caption { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 16px; }
  .product-footnote { font-size: 12px; }
  .inline-link { font-size: 14px; }
  .faq-section { padding-block: 48px 64px; }
  .faq-layout { display: flex; flex-direction: column; gap: 36px; }
  .faq-heading h2 { max-width: 15ch; }
  .privacy-note { max-width: 52ch; margin-top: 28px; }
  .faq-list summary { min-height: 70px; gap: 16px; font-size: 15px; }
  .faq-panel-inner { padding-right: 16px; font-size: 14px; }
  .download-section { padding-block: 56px; }
  .download-grid { grid-template-columns: 1fr auto; gap: 20px; }
  .download-copy h2 { font-size: 36px; }
  .download-icon { width: 88px; }
  .download-art { align-self: start; padding-top: 8px; }
  .download-copy p, .download-copy .button, .release-meta { margin-top: 20px; }
  .site-footer { gap: 12px 24px; padding-block: 24px; }
  .site-footer > div { width: 100%; margin-left: 0; }
  dialog, .info-dialog, .screenshot-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; border-radius: 12px; }
  .dialog-top { margin-bottom: 20px; }
  .dialog-top h2 { font-size: 24px; }
  .info-dialog h2 { font-size: 30px; }
  .tour-chapters { gap: 6px; margin-top: 14px; }
  .tour-chapters button { flex: 1 1 40%; }
  .tour-dialog video { max-height: calc(100dvh - 330px); }
  .screenshot-frame img { max-height: calc(100dvh - 180px); }
}

@media (max-width: 420px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-actions .button { padding-inline: 24px; }
  .desktop-nav { gap: 16px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-art { display: none; }
  .insight-tabs button { padding-inline: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
