/* Glareshield Studio - the studio's site, and Right Seat's page on it.
   The look comes from the studio's logo: a black flight deck before sunrise, one amber rim of light along the
   glareshield, wide white lettering. Headings use the logo's typeface (Michroma); running text and the product's
   own idioms (display glass, annunciator strips, the laminated checklist card) stay in B612, the cockpit-display
   typeface. Colour rules on the product page follow the app: cyan = you can press it, green = done, amber = attention. */

@font-face { font-family: "Michroma"; src: url("../fonts/Michroma-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

@font-face { font-family: "B612"; src: url("../fonts/B612-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612"; src: url("../fonts/B612-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url("../fonts/B612Mono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url("../fonts/B612Mono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #070708;        /* the flight deck before sunrise */
  --deck: #0d0f11;         /* one step up from black */
  --panel: #1c1f23;
  --glass: #040506;        /* display unit glass */
  --bezel: #3a4147;
  --rule: #23282d;
  --text: #f1eee7;
  --soft: #cbc6bb;
  --dim: #a09b91;
  --faint: #7d786f;
  --amber: #f3a83d;        /* the rim of sunrise; the one call to action */
  --hot: #ffe2b0;
  --ember: #d9701a;
  --dawn: #101a44;         /* the sky above it */
  --amber-hi: #ffbd5c;
  --amber-ink: #1b1203;
  --cyan: #62d7f5;
  --green: #62e08c;
  --card: #f5f3ec;         /* the laminated checklist card */
  --card-rule: #d8d4c7;
  --ink: #18202f;
  --ink-soft: #4d5669;
  --display: "Michroma", "B612", "Segoe UI", system-ui, sans-serif;
  --sans: "B612", "Segoe UI", system-ui, sans-serif;
  --mono: "B612 Mono", "Consolas", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 124px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }

h1 { font-family: var(--display); font-size: clamp(1.75rem, 3.5vw, 2.9rem); line-height: 1.16; letter-spacing: -0.01em; font-weight: 400; text-wrap: balance; }
h2 { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.24; letter-spacing: -0.005em; font-weight: 400; text-wrap: balance; }
h3 { font-size: 1.1875rem; line-height: 1.25; font-weight: 700; }
p { max-width: 62ch; }
.fine { font-size: 0.875rem; color: var(--dim); line-height: 1.45; }
.fine a { text-underline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
  background: var(--amber); color: var(--amber-ink); border: 0; border-radius: 6px;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s;
}
.btn:hover { background: var(--amber-hi); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-ink { background: var(--ink); color: #fff; width: 100%; }
.btn-ink:hover { background: #26324a; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.push { margin-left: auto; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(7, 7, 8, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; text-decoration: none; letter-spacing: -0.01em; color: var(--text); }
.brand-mark { color: var(--dim); flex: none; }
.brand-seat { fill: var(--amber); }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--soft); text-decoration: none; font-size: 0.9375rem; padding: 6px 0; }
.top-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--amber); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(560px, 84vh, 860px); overflow: hidden; }
.hero-pic { position: absolute; inset: 0; z-index: -2; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.97) 0%, rgba(7, 7, 8, 0.93) 34%, rgba(7, 7, 8, 0.55) 50%, rgba(7, 7, 8, 0) 68%),
    linear-gradient(0deg, rgba(7, 7, 8, 0.9) 0%, rgba(7, 7, 8, 0) 26%);
}
.hero-in { width: 100%; padding-block: 56px 72px; }
.hero-copy { max-width: 540px; }
.lede { margin-top: 22px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.5; color: var(--soft); max-width: 46ch; }
.hero-credit { position: absolute; right: var(--pad); bottom: 14px; font-size: 0.75rem; color: rgba(241, 238, 231, 0.6); }

.signup { margin-top: 30px; max-width: 500px; }
.signup-row { display: flex; gap: 8px; }
.signup input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 14px;
  background: rgba(4, 5, 6, 0.78); border: 1px solid #555d65; border-radius: 6px; color: var(--text);
}
.signup input[type="email"]::placeholder { color: var(--faint); }
.signup .fine { margin-top: 10px; }
.signup-msg { display: none; margin-top: 12px; font-size: 0.9375rem; }
.signup-msg.is-ok, .signup-msg.is-err { display: block; }
.signup-msg.is-ok { color: var(--green); }
.signup-msg.is-err { color: var(--amber-hi); }
.signup.is-done .signup-row, .signup.is-done > .fine { display: none; }
.signup.is-done .signup-msg { margin-top: 0; padding: 14px 16px; background: rgba(4, 5, 6, 0.78); border: 1px solid var(--green); border-radius: 6px; font-size: 1rem; }
.follow { margin-top: 12px; padding: 14px 16px; background: rgba(4, 5, 6, 0.78); border: 1px solid var(--bezel); border-radius: 6px; }
.follow p { font-size: 0.9375rem; color: var(--soft); }
.follow-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.key { min-height: 40px; padding: 0 14px; background: transparent; border: 1px solid var(--cyan); color: var(--cyan); border-radius: 6px; font-size: 0.9375rem; }
.key:hover { background: rgba(98, 215, 245, 0.12); }
.key[aria-pressed="true"] { background: var(--cyan); color: #03222b; font-weight: 700; }

.listen { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 0; background: none; border: 0; color: var(--text); font-size: 1rem; text-decoration: underline; text-decoration-color: rgba(241, 238, 231, 0.35); text-underline-offset: 5px; }
.listen:hover { text-decoration-color: var(--amber); }
.listen-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--amber); color: var(--amber); }
.listen:hover .listen-ico { background: var(--amber); color: var(--amber-ink); }

/* ---------------------------------------------------------------- the annunciator strip (the app's own header) */
.fma-strip { background: var(--glass); border-block: 2px solid var(--bezel); }
.fma { display: flex; }
.fma-box { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; padding: 14px 6px 12px; border-right: 1px solid #1c2126; }
.fma-box:last-child { border-right: 0; }
.fma-v { font-family: var(--mono); font-weight: 700; font-size: clamp(0.8125rem, 1.6vw, 1.0625rem); color: var(--green); padding: 2px 8px; border: 1.5px solid transparent; white-space: nowrap; }
.fma-k { font-size: 0.75rem; color: var(--faint); margin-top: 3px; }
.fma-amber { color: var(--amber); }
.fma-white { color: var(--text); }
.fma-cyan { color: var(--cyan); }
.fma-boxed { border-color: var(--text); }

/* ---------------------------------------------------------------- sections */
.sec { padding-block: var(--sec); }
.sec-deck { background: var(--deck); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { margin-top: 16px; color: var(--soft); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-card { align-items: center; }
.split-shot { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-a > p { margin-top: 18px; color: var(--soft); }
@media (min-width: 1021px) { .split:not(.split-card) > .split-a { position: sticky; top: 104px; } }

.plain { margin-top: 22px; }
.plain li { padding: 14px 0; border-top: 1px solid var(--rule); color: var(--soft); max-width: 62ch; }
.plain li b { color: var(--text); }
.plain-tight li { padding: 10px 0; }
.plain + p { margin-top: 18px; }

/* display unit: black glass in a bezel */
.du { background: var(--glass); border: 1px solid var(--bezel); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 6px rgba(35, 39, 42, 0.55); }
.du-pad { padding: clamp(20px, 3vw, 30px); }
.du-pad p { margin-top: 10px; color: var(--soft); font-size: 1rem; }
.du-pad .fine { margin-top: 16px; font-size: 0.875rem; color: var(--dim); }

/* ---------------------------------------------------------------- the recorder */
.cvr .fma { border-bottom: 2px solid var(--bezel); }
.cvr .fma-box { padding: 10px 6px 9px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); margin-right: 8px; vertical-align: 1px; }
.cvr[data-state="speaking"] .dot { background: var(--green); }
.cvr[data-state="listening"] .dot { background: var(--cyan); }
.cvr[data-state="radio"] .dot { background: var(--amber); }

.cvr-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.cvr-chapters { display: flex; flex-direction: column; border-right: 1px solid var(--rule); background: #07090b; }
.cvr-tab { display: block; text-align: left; padding: 13px 18px 12px; background: none; border: 0; border-bottom: 1px solid var(--rule); border-left: 3px solid transparent; color: var(--dim); }
.cvr-tab:hover { background: #0d1114; color: var(--text); }
.cvr-tab-t { display: block; font-weight: 700; color: inherit; font-size: 0.9375rem; }
.cvr-tab-s { display: block; font-size: 0.8125rem; color: var(--dim); margin-top: 1px; }
.cvr-tab[aria-selected="true"] { border-left-color: var(--amber); background: #101418; color: var(--text); }
.cvr-tab[aria-selected="true"] .cvr-tab-s { color: var(--soft); }
.cvr-tab.is-played .cvr-tab-t::after { content: ""; display: inline-block; width: 10px; height: 6px; margin-left: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-3px); }

.cvr-pane { display: flex; flex-direction: column; min-width: 0; }
.cvr-scroll { height: clamp(340px, 52vh, 470px); overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--bezel) transparent; }
.cvr-lines { padding: 10px 0 18px; }
.ln { display: grid; grid-template-columns: 78px minmax(0, 1fr); column-gap: 14px; padding: 9px 20px 9px 17px; border-left: 3px solid transparent; }
.ln p { max-width: 64ch; }
.who { font-size: 0.8125rem; color: var(--dim); padding-top: 0.22em; }
.who i { display: block; font-style: normal; font-size: 0.6875rem; color: var(--faint); font-family: var(--mono); }
.ln-sam { cursor: pointer; }
.ln-sam .who { color: var(--amber); }
.ln-cap .who { color: var(--cyan); }
.ln-cap p, .ln-atc p { color: var(--soft); }
.ln-note { display: block; padding-left: 112px; }
.ln-note p { font-size: 0.875rem; color: var(--dim); }
.ln-sam:hover { background: rgba(243, 168, 61, 0.05); }
.ln.is-on { border-left-color: var(--amber); background: rgba(243, 168, 61, 0.09); }
.cvr.is-playing .ln { transition: opacity 0.2s; }
.cvr.is-playing .ln:not(.is-on):not(.is-done) { opacity: 0.42; }

.cvr-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--rule); background: #07090b; }
.cvr-play { display: inline-flex; align-items: center; gap: 8px; min-width: 112px; min-height: 44px; padding: 0 18px 0 14px; background: var(--amber); color: var(--amber-ink); border: 0; border-radius: 6px; font-weight: 700; }
.cvr-play:hover { background: var(--amber-hi); }
.cvr-play .i-pause, .cvr.is-playing .cvr-play .i-play { display: none; }
.cvr.is-playing .cvr-play .i-pause { display: block; }
.cvr-step { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--bezel); border-radius: 6px; color: var(--cyan); }
.cvr-step:hover { border-color: var(--cyan); }
.cvr-count { margin-left: auto; font-family: var(--mono); font-size: 0.8125rem; color: var(--dim); }
.cvr-fine { margin-top: 18px; max-width: 78ch; }

/* ---------------------------------------------------------------- you say / Sam */
.said { border-top: 1px solid var(--bezel); }
.said-row { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.said-row > :first-child { font-weight: 700; }
.said-row > :last-child { color: var(--soft); }
.said-head { padding: 9px 0; }
.said-head > span { font-size: 0.8125rem; font-weight: 400; color: var(--dim); }
.said-quiet > :first-child { color: var(--soft); font-weight: 400; }
.said-quiet > :last-child { color: var(--dim); }

/* ---------------------------------------------------------------- meet Sam */
.before { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.before-copy p { margin-top: 18px; color: var(--soft); }
figure img { border-radius: 8px; border: 1px solid #2b3035; width: 100%; }
figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--dim); max-width: 60ch; }
.shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(40px, 6vw, 72px); }
.shot { grid-column: span 6; }
.shot img { aspect-ratio: 4 / 3; object-fit: cover; }
.shot-wide { grid-column: span 12; }
.shot-wide img { aspect-ratio: 2.2 / 1; object-position: 60% 60%; }

/* ---------------------------------------------------------------- the checklist card */
.card { background: var(--card); color: var(--ink); border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px #fff, 0 34px 60px -34px #000; }
.card-band { background: var(--ink); color: #fff; font-weight: 700; padding: 13px 22px; font-size: 1.0625rem; }
.card-rows { padding: 6px 22px 10px; font-size: 1rem; line-height: 1.4; }
.cr { display: flex; align-items: baseline; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--card-rule); }
.cr:last-child { border-bottom: 0; }
.cr dt, .cr > label, .cr legend { font-weight: 700; }
.cr i { flex: 1 1 24px; min-width: 16px; border-bottom: 2px dotted #9aa1ad; transform: translateY(-4px); }
.cr dd { text-align: right; max-width: 60%; color: var(--ink-soft); }

.cr-field input { flex: 0 1 270px; min-width: 0; height: 46px; padding: 0 12px; background: #fff; border: 1.5px solid var(--ink); border-radius: 5px; color: var(--ink); font-family: var(--sans); }
.cr-field input::placeholder { color: #8a909c; }
.cr-choice { display: block; border: 0; border-bottom: 1px solid var(--card-rule); padding: 13px 0 14px; }
.cr-choice legend { padding: 0; margin-bottom: 9px; float: left; width: 100%; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 5px; font-family: var(--sans); font-size: 0.9375rem; background: #fff; }
.choices input:checked + span { background: var(--ink); color: #fff; font-weight: 700; }
.choices input:focus-visible + span { outline: 3px solid #0b78a0; outline-offset: 2px; }
.card-foot { padding: 6px 22px 22px; }
.card-foot .fine { margin-top: 12px; color: var(--ink-soft); }
.card-form :focus-visible { outline-color: #0b78a0; }
.card-form .signup-msg.is-ok { color: #12703a; font-weight: 700; }
.card-form .signup-msg.is-err { color: #9a4a00; font-weight: 700; }
.card-form.is-done .card-rows, .card-form.is-done .btn, .card-form.is-done .card-foot .fine { display: none; }
.card-form.is-done .card-foot { padding-top: 22px; }
.card-form.is-done .signup-msg { margin-top: 0; font-size: 1.0625rem; }

/* ---------------------------------------------------------------- gate to gate */
.legs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px); }
.leg { position: relative; padding-top: 22px; border-top: 2px solid var(--bezel); }
.leg::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--night); border: 2px solid var(--amber); }
.leg p { margin-top: 10px; color: var(--soft); font-size: 1rem; }
.leg q { color: var(--text); quotes: "\201C" "\201D"; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); margin-top: clamp(48px, 7vw, 88px); }
.ticks { margin-top: 18px; }
.ticks li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.ticks li > :first-child { font-family: var(--mono); font-weight: 700; color: var(--green); }
.ticks li > :last-child { color: var(--soft); }
.ticks-plain li { display: block; position: relative; padding-left: 30px; color: var(--soft); }
.ticks-plain li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ticks-todo li::before { width: 10px; height: 10px; border: 1.5px solid var(--amber); transform: none; top: 0.95em; border-radius: 2px; }

/* ---------------------------------------------------------------- debrief screens */
.shotframe-tabs { display: flex; align-items: center; gap: 6px; padding: 10px 12px 0; background: var(--panel); }
.sf-tab { min-height: 40px; padding: 0 18px; background: #1a1d20; border: 1px solid #14181b; border-bottom: 0; border-radius: 6px 6px 0 0; color: var(--dim); font-size: 0.9375rem; }
.sf-tab[aria-selected="true"] { background: var(--glass); color: var(--text); border-color: var(--bezel); }
.sf-hint { margin-left: auto; font-size: 0.8125rem; color: var(--dim); padding-right: 4px; }
.shotframe-view { height: clamp(420px, 66vh, 660px); overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--bezel) transparent; }
.shotframe-view img { width: 100%; border: 0; border-radius: 0; }

/* ---------------------------------------------------------------- also on board */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 88px); }
.more > div { padding: 22px 0; border-top: 1px solid var(--rule); }
.more dt { font-weight: 700; font-size: 1.125rem; }
.more dd { margin-top: 6px; color: var(--soft); max-width: 56ch; }

/* ---------------------------------------------------------------- join */
.sec-join { background: radial-gradient(120% 90% at 85% 40%, rgba(243, 168, 61, 0.13), rgba(243, 168, 61, 0) 60%), var(--night); }

/* ---------------------------------------------------------------- faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 1.125rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 22px; color: var(--soft); max-width: 66ch; }

/* ---------------------------------------------------------------- closing + footer */
.closing { background: var(--deck); padding-block: clamp(48px, 7vw, 84px); }
.closing-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.closing-line { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; max-width: 22ch; }
.foot { padding-block: 34px 48px; }
.foot p { font-size: 0.8125rem; color: var(--dim); max-width: 96ch; }
.foot p + p { margin-top: 10px; }
.foot .foot-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #1f2327; max-width: none; font-size: 0.875rem; }
.foot-by img { height: 34px; width: auto; display: block; }
.foot-logo { display: inline-flex; }
.foot b { color: var(--soft); }

/* plain pages (privacy, not found) */
.page .signup { margin-top: 18px; }
.page .btn { margin-top: 0; }
.page { padding-block: clamp(48px, 8vw, 96px); }
.page h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page h2 { font-size: 1.125rem; margin-top: 36px; }
.page p, .page li { margin-top: 14px; color: var(--soft); max-width: 68ch; }
.page ul { list-style: disc; padding-left: 22px; }
.todo { background: rgba(243, 168, 61, 0.14); border: 1px dashed var(--amber); border-radius: 4px; padding: 1px 6px; color: var(--amber-hi); }

/* ================================================================ the studio layer */

/* the rim: the logo's line of sunrise, used wherever one band of the page meets the next */
.sec-deck, .closing, .foot { position: relative; }
.sec-deck::before, .closing::before, .foot::before {
  content: ""; position: absolute; left: 7%; right: 7%; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(217, 112, 26, 0), rgba(217, 112, 26, 0.5) 18%, var(--amber) 42%, var(--hot) 50%, var(--amber) 58%, rgba(217, 112, 26, 0.5) 82%, rgba(217, 112, 26, 0));
  box-shadow: 0 0 14px rgba(243, 168, 61, 0.4);
}
.sec-deck + .sec-deck::before { display: none; }

/* header: the studio first, then the product */
.top-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.studio-mark, .studio-logo { display: inline-flex; align-items: center; flex: none; }
.studio-mark img { height: 22px; width: auto; display: block; }
.studio-logo img { height: 30px; width: auto; display: block; }
.studio-logo .logo-mark { display: none; height: 24px; }
.top-slash { flex: none; width: 1px; height: 24px; background: #4a5057; transform: skewX(-16deg); }
.text-link { color: var(--text); text-underline-offset: 5px; text-decoration-color: rgba(241, 238, 231, 0.35); }
.text-link:hover { text-decoration-color: var(--amber); }
.page-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }

/* studio home: the hero is the logo, at the size of the screen */
.s-hero { position: relative; text-align: center; padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.s-scene { display: block; width: 100%; height: clamp(230px, 37vw, 480px); }
.s-hero-in { position: relative; margin-top: clamp(-52px, -3.4vw, -36px); }
.s-hero h1 { max-width: 19ch; margin-inline: auto; font-size: clamp(1.9rem, 4.2vw, 3.4rem); }
.s-hero .lede { margin-inline: auto; max-width: 58ch; }
.s-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; margin-top: 30px; }
@keyframes sunrise { from { opacity: 0.1; } to { opacity: 1; } }
.sc-rise { animation: sunrise 2.6s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
.sc-rise-late { animation: sunrise 3.4s 0.35s cubic-bezier(0.2, 0.6, 0.2, 1) both; }

/* a product, with its name on a cockpit placard */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.product-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 66% 40%; border-radius: 8px; border: 1px solid #2b3035; }
.product-copy > p { margin-top: 20px; color: var(--soft); }
.product-facts { margin-top: 22px; border: 1px solid var(--bezel); border-radius: 8px; overflow: hidden; background: var(--glass); }
.product-facts .fma-box { padding: 11px 6px 10px; }
.product-facts .fma-box:nth-child(2) { flex-grow: 1.7; }
.product-facts .fma-v { white-space: normal; text-align: center; font-size: 0.8125rem; }
.product-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.placard {
  position: relative; display: inline-flex; align-items: center; padding: 15px 44px; border-radius: 6px;
  font-family: var(--display); font-size: clamp(1.05rem, 1.8vw, 1.35rem); letter-spacing: 0.16em; text-transform: uppercase; color: #f4f4f1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, rgba(0, 0, 0, 0) 1px 3px), linear-gradient(180deg, #50545a, #2b2e32 52%, #3d4146);
  border: 1px solid #70757b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.5), 0 14px 34px -16px #000;
}
.placard::before, .placard::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c9cdd2, #5a5f65 60%, #2a2d30); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
}
.placard::before { left: 14px; }
.placard::after { right: 14px; }
.bench { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 10px clamp(28px, 5vw, 72px); margin-top: clamp(44px, 6vw, 76px); padding-top: 28px; border-top: 1px solid var(--rule); }
.bench p { color: var(--soft); }
.foot-links { display: flex; gap: 22px; margin-left: auto; }
.more-one { grid-template-columns: minmax(0, 1fr); }
.more-one > div:first-child { border-top: 0; padding-top: 0; }

@media (max-width: 1020px) {
  .product, .bench { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .studio-logo .logo-full { display: none; }
  .studio-logo .logo-mark { display: block; }
  .top-brand { gap: 10px; }
  .studio-mark img { height: 18px; }
  .top-in { gap: 12px; }
  .top-in .btn-small { padding: 0 12px; font-size: 0.875rem; }
  .foot-links { margin-left: 0; }
}
@media (max-width: 420px) {
  .brand-mark { display: none; }
}

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 1020px) {
  .top-nav { display: none; }
  .top-in .btn { margin-left: auto; }
  .split, .split-shot, .before, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .legs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cvr-body { grid-template-columns: minmax(0, 1fr); }
  .cvr-chapters { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--rule); scrollbar-width: none; }
  .cvr-chapters::-webkit-scrollbar { display: none; }
  .cvr-tab { flex: none; border-bottom: 3px solid transparent; border-left: 0; border-right: 1px solid var(--rule); padding: 12px 16px 9px; }
  .cvr-tab[aria-selected="true"] { border-bottom-color: var(--amber); }
  .cvr-tab-s { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero { display: block; min-height: 0; }
  .hero-pic { position: relative; display: block; z-index: 0; }
  .hero-pic img { aspect-ratio: 5 / 4; object-position: 50% 30%; }
  .hero::before { background: linear-gradient(0deg, var(--night) 0%, rgba(7, 7, 8, 0) 45%); bottom: auto; height: 80vw; z-index: 1; pointer-events: none; }
  .hero-in { position: relative; z-index: 2; margin-top: -56px; padding-block: 0 44px; }
  .hero-credit { display: none; }
  .signup-row { flex-direction: column; }
  .signup-row .btn { width: 100%; }
  .fma { flex-wrap: wrap; }
  .fma-strip .fma-box { flex: 1 1 50%; border-bottom: 1px solid #1c2126; }
  .fma-strip .fma-box:nth-child(2n) { border-right: 0; }
  .legs, .pair, .more { grid-template-columns: minmax(0, 1fr); }
  .shot { grid-column: span 12; }
  .shot-wide img { aspect-ratio: 16 / 10; }
  .said-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .said-head > :last-child { display: none; }
  .ln { grid-template-columns: minmax(0, 1fr); padding: 9px 16px 9px 13px; }
  .who { padding-top: 0; }
  .who i { display: inline; margin-left: 6px; }
  .ln-note { padding-left: 16px; }
  .cr { flex-wrap: wrap; }
  .cr i { display: none; }
  .cr dt, .cr > label { flex: 1 1 100%; }
  .cr dd { text-align: left; max-width: none; color: var(--ink-soft); }
  .cr-field input { flex: 1 1 100%; }
  .ticks li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sf-hint { display: none; }
  .closing-in .btn { width: 100%; }
}

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