.landing {
  --ink: #192b47;
  --muted: #506176;
  --line: #cbd5df;
  --navy: #203b60;
  --paper: #fff;
  --mist: #eff3f7;
  background: var(--paper);
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.landing .shell { width: min(1160px, calc(100% - 80px)); }
.site-head { background: #fff; }
.site-head .top { min-height: 72px; }
.site-head .brand { letter-spacing: -.08em; }
.site-head .brand span { margin-left: -5px; }
.site-head nav a { font-size: .94rem; }
.landing .button { border-radius: 8px; background: var(--navy); color: #fff; }
.landing .button:hover { background: #122742; }
.landing h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.2; letter-spacing: -.068em; }

.hero-band { background: #eff3f7; border-block: 1px solid #dce4ed; }
.intro-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(26px, 5vw, 80px); align-items: center; padding-block: clamp(50px, 6.5vw, 96px); }
.platforms { color: #435f7f; font-size: .95rem; font-weight: 700; margin-bottom: 20px; }
.hero-copy h1 { font-size: clamp(3.25rem, 5.5vw, 5.6rem); letter-spacing: -.085em; line-height: 1.12; }
.hero-copy em { font-style: normal; color: #435d91; }
.lead-copy { max-width: 27em; margin-top: 24px; color: #3d5068; font-size: 1.12rem; line-height: 1.8; }
.intro-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.intro-actions a, .setup-note a { text-underline-offset: .23em; }
.intro-actions a { font-size: .96rem; font-weight: 650; }
.setup-note, .asset-note { color: var(--muted); font-size: .88rem; }
.setup-note { margin-top: 15px; }
.setup-note a { white-space: nowrap; }
.hero-film { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #c4d0e0; border-radius: 18px; box-shadow: 0 12px 34px #203b6010; }
.hero-film video { display: block; width: 100%; height: auto; aspect-ratio: 4/3; background: #e8edf8; }
.hero-film figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 17px; border-block: 1px solid var(--line); color: #415572; font-size: .9rem; }
.film-transcript { padding: 11px 17px; border-bottom: 0; font-size: .9rem; }
.film-transcript .slip-label { display: flex; align-items: center; gap: 6px; margin: 14px 0 5px; font-weight: 700; }
.film-transcript blockquote { margin: 0; }
.film-transcript p { margin: 0; }
.film-transcript mark { background: #e4efbd; color: inherit; }
.film-transcript img { border-radius: 4px; }

.hero-band { color: #f3f6ed; background: radial-gradient(ellipse at 90% 20%, #1b3d49, transparent 62%), #102537; border-bottom: 3px solid #c8e998; }
.hero-band .platforms { color: #cbdba8; }
.hero-copy h1 { font-size: clamp(3.5rem, 6.25vw, 6rem); line-height: 1.07; }
.hero-copy em { color: #dcfa9e; }
.hero-band .lead-copy { color: #dbe4e6; }
.hero-band .setup-note { color: #bacad1; }
.hero-band .button { background: #dcfa9e; color: #172d36; border-color: #dcfa9e; }
.hero-band .button:hover { background: #eeffc6; }
.hero-band a:focus-visible, .hero-band button:focus-visible, .hero-band summary:focus-visible { outline-color: #dcfa9e; }
.hero-film { background: #102537; border-color: #42616a; border-radius: 21px; box-shadow: 0 18px 55px #05142045; }
.hero-film video { background: #142e3f; }
.hero-film figcaption, .atlas-film figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-film figcaption { border-color: #3f5967; color: #dce8e6; }
.landing .hero-film summary { color: #e0edae; }
.film-transcript { color: #eef3ed; }
.film-transcript .wave { color: #d7fa8b; }
.app-atlas { padding-block: clamp(42px, 5.5vw, 76px); background: #f5f7f0; border-bottom: 1px solid #d8e0d5; }
.atlas-intro { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 24px; }
.atlas-intro p { color: var(--muted); }
.atlas-film { overflow: hidden; border-radius: 16px; border: 1px solid #ced9d1; background: #fff; }
.atlas-film video { display: block; width: 100%; height: auto; background: #eaf0ec; }
.atlas-film figcaption { padding: 5px 18px; font-size: .88rem; color: var(--muted); border-top: 1px solid #cfdbd2; }
.dictionary-band { background: #f3f5ed; }
.dictionary-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 8vw, 110px); padding-block: clamp(48px, 7vw, 92px); }
.dictionary-layout h2 + p { margin-top: 16px; color: var(--muted); }
.dictionary-steps { margin: 24px 0 0; }
.dictionary-steps div { display: grid; grid-template-columns: 5.3em 1fr; gap: 10px; border-top: 1px solid #d0d9cf; padding: 13px 0; line-height: 1.65; }
.dictionary-steps dt { font-weight: 700; }
.dictionary-steps dd { margin: 0; }
.dictionary-example { padding: clamp(22px, 3vw, 42px); color: #e9f2ed; background: #203c43; border-radius: 16px; }
.dictionary-example figcaption { margin-bottom: 22px; font-weight: 700; color: #d7edb0; }
.dictionary-example p span { display: block; color: #ccdbd5; font-size: .85rem; margin-bottom: 6px; }
.demo-notes { margin: .6rem 0; padding-inline-start: 1.5rem; }
.demo-notes ul { margin: .25rem 0 .6rem; padding-inline-start: 1.1rem; list-style: disc; }
.term-examples { margin: 0; }
.term-examples div { display: grid; grid-template-columns: 7em 1fr; align-items: baseline; gap: .65rem; padding-block: 11px; border-top: 1px solid #526a67; }
.term-examples dt { font-size: .88rem; color: #ccdbd5; }
.term-examples dd { margin: 0; color: #e8f7c8; font-weight: 650; }
.stories { padding-block: clamp(46px, 6vw, 84px) 0; }
.stories-intro { margin-block: 12px 24px; color: var(--muted); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-grid figure { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2.3vw, 28px); border-top: 3px solid #88a180; background: #f1f5f1; border-radius: 2px 2px 12px 12px; }
.story-grid blockquote { margin: 0 0 22px; line-height: 1.8; }
.story-grid figcaption { display: grid; gap: 3px; }
.story-grid figcaption span { font-size: .86rem; color: var(--muted); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story-grid figure { animation: story-arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    @keyframes story-arrive { from { transform: translateY(12px); border-top-color: #d3dfcf; } to { transform: none; border-top-color: #88a180; } }
  }
}
.site-footer { padding: 42px 0 20px; background: #f3f6f8; color: var(--ink); }
.footer-columns { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer-columns nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-columns h2 { font-size: 1rem; letter-spacing: -.025em; margin: 0 0 9px; }
.footer-columns p, .footer-columns nav a, .footer-columns button, .footer-base { color: var(--muted); font-size: .92rem; }
.footer-columns p { margin-top: 8px; }
.footer-columns nav a, .footer-columns button { padding: 5px 0; text-decoration: none; }
.footer-columns button { background: transparent; border: 0; }
.footer-columns nav :is(a,button):hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }
@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .term-examples div { grid-template-columns: 1fr; gap: 3px; }
}
.dictionary-line { margin-top: 21px; font-size: 1.1rem; }
.dictionary-line mark { color: #dcf4ad; background: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .landing .button { transition: background-color 160ms ease, border-color 160ms ease, transform 140ms ease-out; }
  .landing .button:active { transform: scale(.98); }
  #beta-dialog[open] { animation: open-form 160ms cubic-bezier(.22,1,.36,1); }
}

@keyframes open-form { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.editorial { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); align-items: start; gap: clamp(32px, 7vw, 100px); padding-block: clamp(54px, 7.3vw, 100px); }
.section-intro > p { color: var(--muted); margin-top: 16px; max-width: 19em; }
.landing summary { color: var(--ink); }
.example { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.example:first-child, .questions details:first-child { border-top: 2px solid var(--navy); }
.example h3, .devices-grid h3 { font-size: 1.42rem; letter-spacing: -.045em; }
.spoken { margin: 8px 0 15px; color: var(--muted); }
.example-result { display: grid; grid-template-columns: 4.2em minmax(0,1fr); gap: 12px; padding-left: 14px; border-left: 3px solid #9ab179; }
.example-result > span { margin-top: .22em; color: #456038; font-size: .9rem; font-weight: 700; }
.example-result ul, .example-result dl, .example-result dd { margin: 0; }
.example-result ul { padding-left: 1.1em; line-height: 1.72; }
.example-result dl div { display: flex; gap: .7em; line-height: 1.7; }
.example-result dt { flex: none; font-weight: 700; }
.device-band { background: #edf2f6; padding-block: clamp(48px, 6vw, 80px); }
.devices-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px, 4vw, 56px); margin: 30px 0 18px; }
.device-gallery { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #c9d6d9; border-radius: 18px; }
.device-heading { padding: 22px 24px 17px; flex: 1; }
.device-heading p { margin-top: 7px; color: var(--muted); }
.landing kbd { font: 650 .9em system-ui; }
.device-slides { margin: 0 12px 12px; border-radius: 10px; overflow: hidden; }
.device-slide img, .device-slide video { display: block; width: 100%; height: auto; aspect-ratio: 900 / 1040; }
.device-slide[hidden], .gallery-nav[hidden] { display: none; }
.gallery-nav { display: flex; align-items: center; gap: 6px; padding: 10px 12px; margin: 0 12px; border-top: 1px solid #dbe3e0; }
.gallery-count { color: #536462; font: 600 .82rem system-ui; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-picker { flex: 1; width: 0; min-width: 0; min-height: 44px; color: #203e3e; font: 650 .94rem system-ui; border: 0; background: transparent; cursor: pointer; }
.gallery-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 440px) { .gallery-nav { margin-inline: 6px; padding-inline: 2px; gap: 4px; } .gallery-picker { font-size: .83rem; } }
.gallery-nav button { display: grid; place-items: center; padding: 0; width: 44px; height: 44px; flex: none; color: #294a48; background: #f0f5ee; border: 1px solid #bfcebe; border-radius: 50%; }
.gallery-nav button:hover { background: #dfebdc; }
.gallery-nav i { width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.gallery-nav [data-direction="-1"] i { transform: rotate(135deg); }
@media (prefers-reduced-motion: no-preference) {
  .device-slide:not([hidden]) { animation: show-scene .2s ease-out; }
  @keyframes show-scene { from { opacity: .65; } to { opacity: 1; } }
}
.questions details { padding: 17px 0; }
.questions details p { color: var(--muted); }
.beta { background: var(--navy); color: white; }
.beta-invite { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: clamp(42px, 5vw, 64px); }
.beta-invite h2 { margin-bottom: 8px; }
.beta-invite p { color: #dce6f1; }
.beta-invite .button { flex: none; color: #203552; background: #e6efcb; border-color: #e6efcb; }
.beta-invite .button:hover { background: #f2f7e6; }
.landing .footer { min-height: 70px; }

html:has(#beta-dialog[open]) { overflow: hidden; }
#beta-dialog {
  width: min(29rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 64px #202f4430;
  overscroll-behavior: contain;
}
#beta-dialog::backdrop { background: rgb(23 35 56 / 58%); }
.beta-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.beta-heading h2 { font-size: 1.75rem; }
.beta-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 1.5rem; color: var(--ink); background: var(--mist); }
.beta-intro { margin: .5rem 0; color: var(--muted); }
#beta-dialog form { padding: 0; border: 0; }
#beta-dialog .note { margin: 0; }
#beta-dialog .note:empty { display: none; }

.dialog-setup { font-size: .9rem; color: var(--muted); padding: 10px 12px; margin-bottom: 1rem; border-radius: 6px; background: var(--mist); }
@media (max-width: 760px) {
  .landing .shell { width: calc(100% - 36px); }
  .site-head .top { min-height: 62px; }
  .intro-layout, .dictionary-layout, .editorial, .devices-grid { grid-template-columns: 1fr; }
  .intro-layout { padding-block: 38px 30px; gap: 28px; }
  .hero-copy h1 { font-size: clamp(3.1rem, 10vw, 4.1rem); }
  .lead-copy { margin-top: 16px; font-size: 1.025rem; }
  .platforms { margin-bottom: 12px; }
  .intro-actions { margin-top: 18px; }
  .atlas-intro { display: block; }
  .atlas-intro p { margin-top: 12px; }
  .atlas-film video { height: clamp(220px, 45vw, 320px); object-fit: cover; }
  .atlas-film figcaption { align-items: flex-start; flex-direction: column; gap: 0; padding: 9px 13px; }
  .editorial { gap: 25px; }
  .devices-grid { gap: 32px; }
  .beta-invite { align-items: flex-start; flex-direction: column; }
  .section-intro h2 br { display: none; }
}
@media (max-width: 420px) {
  .hero-film figcaption { padding-inline: 10px; }
  .example-result { grid-template-columns: 1fr; gap: 3px; }
}
