/* 1FTunnel download page, code edition. Dark grounds, the app's teal, titles set in a code face,
   and running tunnel traffic (codefield.js) behind the stage, the figures, the CTA and the footer. */

@font-face {
  font-family: 'Roboto'; /* taste-skill-ignore: the app's own interface face, used for reading text */
  src: url('../fonts/roboto-var-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono'; /* taste-skill-ignore: the owner asked for a code look across the page */
  src: url('../fonts/jetbrains-mono-var-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #0B0F0E;
  --ground-2: #0F1412;
  --panel: #151B19;
  --panel-2: #1D2522;
  --deep: #070A09;
  --ink: #E9F1EF;
  --muted: #9AABA7;
  --teal: #36AAA2;
  --teal-hi: #5CCBC1;
  --on-teal: #06100E;

  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --code: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; /* taste-skill-ignore: code look requested by the owner */

  /* five sizes: small, body, lead, head, display */
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  --step-head: clamp(1.875rem, 1.2rem + 2vw, 3rem);
  --step-display: clamp(4.5rem, 12.5vw, 12rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --section: clamp(7rem, 11vw, 10rem);
  --radius: 12px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, ul, dl, dd, pre { margin: 0; }
h1, h2, h3 { font-family: var(--code); font-weight: 600; text-wrap: balance; letter-spacing: -0.02em; } /* taste-skill-ignore: code-style titles */
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
code { font-family: var(--code); font-size: inherit; color: var(--teal-hi); } /* taste-skill-ignore: literal tokens */
:target { scroll-margin-top: 2rem; }
::selection { background: var(--teal); color: var(--on-teal); }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: var(--step-small); line-height: 1.5; }
.nums { font-variant-numeric: tabular-nums; }
.head { font-size: var(--step-head); line-height: 1.08; }
.lead { font-size: var(--step-lead); line-height: 1.25; }
.code-title::before { content: '> '; color: var(--teal); }
.caret { display: inline-block; width: 0.5em; height: 1.05em; margin-left: 0.2em; vertical-align: -0.15em; background: var(--teal); }

.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 10; padding: 0.6rem 1rem; background: var(--ink); color: var(--ground); font-size: var(--step-small); }
.skip:focus { top: 1rem; }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.4rem;
  background: var(--teal); color: var(--on-teal);
  font-family: var(--code); font-weight: 700; font-size: var(--step-small); /* taste-skill-ignore: code-style action */
  text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:hover { background: var(--teal-hi); }
.button:active { transform: scale(0.97); }
.button-small { min-height: 2.5rem; padding: 0 1rem; }
.text-link { font-family: var(--code); font-size: var(--step-small); color: var(--teal-hi); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; transition: color var(--t-hover) ease; } /* taste-skill-ignore: code-style link */
.text-link:hover { color: var(--ink); }

/* ---------- the split: a fixed stage beside a scrolling column ---------- */
.split { display: grid; grid-template-columns: 47fr 53fr; }
.stage { position: sticky; top: 0; height: 100vh; /* taste-skill-ignore: fallback before svh */ height: 100svh; padding: 20px 0 20px 20px; z-index: 1; }
.stage-frame { position: relative; height: 100%; border-radius: var(--radius); background: var(--deep); overflow: hidden; }
.stage-code { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-logo { position: absolute; inset: 0; margin: auto; width: 58%; transition: opacity 500ms ease; }
.stage-glyphs { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms var(--ease-out); touch-action: pan-y; }
.glyphs-ready .stage-logo { opacity: 0; }
.glyphs-ready .stage-glyphs { opacity: 1; }
.shot { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 520ms var(--ease-out), visibility 0s linear 520ms; }
.shot img { height: 86%; width: auto; max-width: 84%; object-fit: contain; border-radius: var(--radius); background: var(--ground); will-change: transform; }
.shot.is-active { opacity: 1; visibility: visible; transition: opacity 520ms var(--ease-out), visibility 0s; }
.js .stage:not([data-active="glyphs"]) .stage-glyphs,
.js .stage:not([data-active="glyphs"]) .stage-logo { opacity: 0; }

.column { position: relative; z-index: 2; min-width: 0; }

/* hero */
.hero { position: relative; min-height: 100vh; /* taste-skill-ignore: fallback before svh */ min-height: 100svh; }
.nav { position: absolute; top: 32px; right: var(--margin); display: flex; align-items: center; gap: 1.75rem; font-family: var(--code); font-size: var(--step-small); } /* taste-skill-ignore: code-style navigation */
.nav-link { text-decoration: none; color: var(--ink); transition: color var(--t-hover) ease; }
.nav-link:hover { color: var(--teal-hi); }
.hero-copy { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); width: min(27ch, calc(100% - 2 * var(--margin))); font-size: var(--step-lead); }
.hero-line { font-size: var(--step-lead); line-height: 1.35; }
.hero-action { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; font-size: var(--step-body); }
.hero-meta { color: var(--muted); font-family: var(--code); } /* taste-skill-ignore: file facts in code style */
.hero-promo { margin-top: 1.5rem; color: var(--muted); }
.hero-promo a, .step a, .faq-text a { color: var(--teal-hi); text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: color var(--t-hover) ease; }
.hero-promo a:hover, .step a:hover, .faq-text a:hover { color: var(--ink); }
.nav-promo { color: var(--teal-hi); }
.wordmark {
  position: absolute; right: var(--margin); bottom: 40px;
  font-size: var(--step-display); font-weight: 500; letter-spacing: -0.06em; line-height: 0.8;
  white-space: nowrap; color: var(--ink); transform-origin: right bottom;
}

/* features: the reading column beside the stage */
.features { padding: 72px var(--margin) 0 clamp(2rem, 6vw, 6rem); }
.features > .head { max-width: 18ch; }
.feature { max-width: 46ch; padding: 22vh 0; }
.feature:first-of-type { padding-top: 14vh; }
.feature:last-of-type { padding-bottom: 34vh; }
.feature h3 { margin-bottom: 1rem; color: var(--teal-hi); }
.feature p { max-width: 46ch; }
.feature-shot { display: none; }
.segmented { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.segmented-wrap { flex-wrap: wrap; }
.segmented button {
  min-height: 2.75rem; padding: 0 1rem;
  background: var(--panel-2); color: var(--ink); font-family: var(--code); font-size: var(--step-small); font-weight: 600; /* taste-skill-ignore: code-style switches */
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.segmented button:hover { background: #26302D; }
.segmented button:active { transform: scale(0.96); }
.segmented button[aria-pressed="true"] { background: var(--teal); color: var(--on-teal); }
.mode-hint { margin-top: 0.9rem; color: var(--muted); max-width: 46ch; min-height: 3em; }

/* ---------- tickers: one line of tunnel traffic running between sections ---------- */
.ticker { overflow: hidden; background: var(--ground-2); padding: 0.9rem 0; font-family: var(--code); font-size: var(--step-small); color: var(--teal); white-space: nowrap; } /* taste-skill-ignore: literal traffic */
.ticker-track { display: flex; width: max-content; }
.ticker-track span { opacity: 0.75; }

/* ---------- stats: figure lines over a quiet code field ---------- */
.stats {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  padding: var(--section) var(--margin);
}
.section-code { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.stats > :not(canvas) { position: relative; z-index: 1; }
.stats-body { grid-column: 1 / 8; }
.stats-title { font-size: var(--step-head); line-height: 1.08; margin: 0 0 56px 156px; }
.figures { display: grid; gap: 28px; }
.figure-row { display: grid; grid-template-columns: 132px 1fr; column-gap: 24px; align-items: baseline; }
.figure-row dt { text-align: right; font-family: var(--code); font-size: var(--step-lead); font-weight: 700; line-height: 1; color: var(--teal-hi); } /* taste-skill-ignore: figures in the code face */
.figure-row dd { max-width: 40ch; }
.stats-note { margin: 40px 0 0 156px; color: var(--muted); max-width: 52ch; }
.stats-side { grid-column: 9 / 13; padding-top: 80px; }
.stats-picture { overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.stats-picture img { width: 100%; }
.news-title { font-size: var(--step-lead); line-height: 1.2; margin: 48px 0 20px; }
.news { list-style: none; padding: 0; display: grid; gap: 16px; }
.news strong { font-weight: 600; color: var(--teal-hi); }

/* ---------- payload: input half, output half ---------- */
.payload { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.payload-in, .payload-out { min-height: 90vh; /* taste-skill-ignore: fallback before svh */ min-height: 90svh; padding: calc(var(--step-head) * 1.6 + 120px) var(--margin) 96px; }
.payload-in { background: var(--ground); }
.payload-out { background: var(--panel); display: flex; flex-direction: column; align-items: flex-end; }
.payload-title {
  position: absolute; left: 0; right: 0; top: 96px; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; pointer-events: none;
  font-size: var(--step-head); line-height: 1;
}
.payload-title-in { color: var(--ink); padding-left: var(--margin); }
.payload-title-out { color: var(--teal-hi); text-align: right; padding-right: var(--margin); }
.payload-label { display: block; font-family: var(--code); font-size: var(--step-small); color: var(--muted); margin-bottom: 0.6rem; } /* taste-skill-ignore: code-style label */
.payload-text {
  display: block; width: min(26rem, 100%); min-height: 11.5em; resize: vertical;
  padding: 1rem 1.1rem; border: 0; border-radius: var(--radius);
  background: var(--panel); color: var(--ink); caret-color: var(--teal-hi);
  font-family: var(--code); font-size: var(--step-body); line-height: 1.5; /* taste-skill-ignore: the payload is literal code */
}
.payload-text:focus-visible, .payload-fields input:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 2px; }
.payload-fields { display: flex; gap: 0.75rem; margin-top: 0.9rem; width: min(26rem, 100%); font-family: var(--code); font-size: var(--step-small); color: var(--muted); } /* taste-skill-ignore: code-style labels */
.payload-fields label { display: grid; gap: 0.35rem; flex: 1 1 auto; }
.payload-fields label:last-child { flex: 0 0 6.5rem; }
.payload-fields input { width: 100%; min-height: 2.75rem; padding: 0 0.8rem; border: 0; border-radius: var(--radius); background: var(--panel); color: var(--ink); font-size: var(--step-body); }
.presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.presets button { min-height: 2.75rem; padding: 0 1rem; background: var(--panel-2); color: var(--ink); font-family: var(--code); font-size: var(--step-small); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); } /* taste-skill-ignore: code-style presets */
.presets button:hover { background: #26302D; }
.presets button:active { transform: scale(0.96); }
.request { width: min(520px, 100%); padding: 1.5rem; border-radius: var(--radius); background: var(--ground); color: var(--ink); }
.request-head { font-size: var(--step-small); color: var(--muted); margin-bottom: 1rem; }
.request-head strong { color: var(--ink); font-weight: 500; }
.request pre { font-family: var(--code); font-size: var(--step-small); line-height: 1.65; white-space: pre-wrap; word-break: break-word; } /* taste-skill-ignore: literal request bytes */
.request .crlf { color: var(--teal-hi); }
.chunk-gap { margin: 0.8rem 0; padding: 0.35rem 0.7rem; border-radius: 6px; background: var(--panel-2); color: var(--muted); font-size: var(--step-small); }
.request-foot { margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.payload-note { width: min(520px, 100%); margin-top: 1.25rem; color: var(--muted); }

/* ---------- steps: run-in column ---------- */
.steps { background: var(--ground); padding: var(--section) var(--margin); }
.steps-column { width: min(620px, 100%); margin-left: max(0px, calc(30vw - var(--margin))); }
.steps-title { font-size: var(--step-head); line-height: 1.08; margin-bottom: 56px; }
.step + .step { margin-top: 64px; }
.step p { font-size: var(--step-body); line-height: 1.6; }
.step strong { font-family: var(--code); font-weight: 600; color: var(--teal-hi); } /* taste-skill-ignore: code-style run-ins */
.evidence, .file-card { margin-top: 20px; }
.evidence { overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.evidence img { width: 100%; }
.file-card { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--panel); }
.file-name { font-family: var(--code); font-weight: 600; } /* taste-skill-ignore: file name */
.file-meta { color: var(--muted); font-size: var(--step-small); margin-top: 0.2rem; }
.file-hash { margin-top: 0.9rem; font-size: var(--step-small); color: var(--muted); }
.file-hash code { display: block; margin-top: 0.3rem; color: var(--ink); word-break: break-all; }

/* ---------- promo: accounts sold on 1forcrkuota.com, set apart on the app's teal ---------- */
.promo {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  align-items: center; padding: clamp(5rem, 8vw, 7rem) var(--margin); background: var(--teal); color: var(--on-teal);
}
.promo-copy { grid-column: 1 / 7; }
.promo-tag { margin-bottom: 1.25rem; font-family: var(--code); font-size: var(--step-small); font-weight: 600; } /* taste-skill-ignore: code-style label */
.promo-title { font-size: var(--step-head); line-height: 1.08; max-width: 16ch; }
.promo-text { margin-top: 20px; font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; }
.promo-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.button-dark { background: var(--ground); color: var(--ink); }
.button-dark:hover { background: var(--panel-2); }
.promo-link { font-family: var(--code); font-size: var(--step-small); font-weight: 700; text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; transition: text-decoration-thickness var(--t-hover) ease; } /* taste-skill-ignore: code-style link */
.promo-link:hover { text-decoration-thickness: 0.15em; }
.promo-list { grid-column: 8 / 13; padding: 1.5rem 1.6rem; border-radius: var(--radius); background: var(--ground); color: var(--ink); }
.promo-list div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--panel-2); }
.promo-list div:first-child { padding-top: 0; border-top: 0; }
.promo-list div:last-child { padding-bottom: 0; }
.promo-list dt { padding-top: 0.15em; font-family: var(--code); font-size: var(--step-small); color: var(--teal-hi); } /* taste-skill-ignore: code-style labels */
.promo-list dd { line-height: 1.45; }

/* ---------- faq: answers as reading text ---------- */
.faq {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  padding: var(--section) var(--margin); background: var(--ground-2);
}
.faq-title { grid-column: 1 / 4; font-size: var(--step-head); line-height: 1.08; align-self: start; }
.faq-text { grid-column: 5 / 13; columns: 2; column-gap: 56px; }
.faq-text p { break-inside: avoid; margin-bottom: 22px; font-size: var(--step-body); line-height: 1.55; }
.faq-text strong { font-family: var(--code); font-weight: 600; color: var(--teal-hi); } /* taste-skill-ignore: questions in the code face */

/* ---------- cta: the sentence beside a 1F made of running code ---------- */
.cta {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  align-items: center; min-height: 80vh; /* taste-skill-ignore: fallback before svh */ min-height: 80svh;
  padding: var(--section) var(--margin); background: var(--ground);
}
.cta-copy { grid-column: 1 / 7; }
.cta-line { font-size: var(--step-head); line-height: 1.1; }
.cta-text { margin-top: 20px; font-size: var(--step-lead); line-height: 1.4; max-width: 26ch; }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-code { grid-column: 7 / 13; width: 100%; height: 62vh; /* taste-skill-ignore: fallback before svh */ height: 62svh; border-radius: var(--radius); background: var(--deep); }

/* ---------- footer: code half, menu half ---------- */
.footer { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; /* taste-skill-ignore: fallback before svh */ min-height: 100svh; background: var(--deep); }
.footer-picture { position: relative; overflow: hidden; background: var(--deep); }
.footer-picture img { position: absolute; left: -10%; bottom: -8%; width: 104%; max-width: none; }
.code-logo { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .footer-picture img { opacity: 0; }
.footer-menu { background: var(--ground-2); padding: 80px var(--margin) 32px calc(100% / 6); display: flex; flex-direction: column; }
.footer-mark { font-family: var(--code); font-size: var(--step-body); font-weight: 700; margin-bottom: 40px; } /* taste-skill-ignore: wordmark in the code face */
.footer-links { display: grid; gap: 22px; justify-items: start; }
.footer-links a { font-family: var(--code); font-size: var(--step-lead); font-weight: 700; line-height: 1.1; text-decoration: none; transition: transform var(--t-hover) var(--ease-out), color var(--t-hover) ease; } /* taste-skill-ignore: code-style menu */
.footer-links a::before { content: '> '; color: var(--teal); }
@media (hover: hover) and (pointer: fine) {
  .footer-links:hover a { color: var(--muted); }
  .footer-links a:hover { color: var(--teal-hi); transform: translateX(12px); }
}
.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 64px; font-size: var(--step-small); line-height: 1.6; }
.footer-contact a { color: var(--teal-hi); }
.legal { margin-top: auto; padding-top: 48px; font-size: var(--step-small); color: var(--muted); }

/* ---------- phones and narrow tablets: the stage no longer stays; each block shows its own screen ---------- */
@media (max-width: 899px) {
  .split { display: block; }
  .stage { position: relative; height: 52vh; /* taste-skill-ignore: fallback before svh */ height: 52svh; padding: 12px; }
  .shot { display: none; }
  .stage-logo { width: 52%; }
  .hero { min-height: 0; display: flex; flex-direction: column; padding: 4px var(--margin) 56px; }
  .nav { display: none; }
  .wordmark { position: static; order: 1; font-size: 17vw; line-height: 0.95; margin-top: 0.15em; }
  .hero-copy { position: static; order: 2; transform: none; width: auto; margin-top: 1.25rem; }
  .hero-action { margin-top: 1.5rem; }
  .features { padding: 64px var(--margin) 24px; }
  .feature, .feature:first-of-type, .feature:last-of-type { padding: 0 0 56px; max-width: none; }
  .features > .head { margin-bottom: 48px; }
  .feature-shot { display: block; width: min(72vw, 340px); aspect-ratio: 4 / 3; margin-top: 24px; overflow: hidden; border-radius: var(--radius); background: var(--ground); }
  .feature-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
  .stats { display: block; }
  .stats-title { margin-left: 0; }
  .stats-note { margin-left: 112px; }
  .figure-row { grid-template-columns: 88px 1fr; }
  .stats-side { padding-top: 64px; }
  .stats-picture { width: 56%; margin-left: auto; }
  .payload { grid-template-columns: 1fr; }
  .payload-title { position: static; display: block; background: var(--ground); padding: 72px var(--margin) 0; font-size: 9.5vw; }
  .payload-title-in, .payload-title-out { display: block; padding: 0; text-align: left; }
  .payload-in { min-height: 0; padding: 32px var(--margin) 48px; }
  .payload-out { min-height: 0; padding: 48px var(--margin) 64px; align-items: stretch; }
  .payload-text, .payload-fields { width: 100%; }
  .steps-column { margin-left: 0; width: 100%; }
  .step + .step { margin-top: 56px; }
  .promo { display: block; padding: 72px var(--margin); }
  .promo-list { margin-top: 40px; padding: 1.25rem; }
  .promo-list div { grid-template-columns: 1fr; gap: 0.15rem; }
  .faq { display: block; }
  .faq-title { margin-bottom: 32px; }
  .faq-text { columns: 1; }
  .faq-text p { margin-bottom: 18px; }
  .cta { display: block; min-height: 0; padding: 12svh var(--margin) 8svh; }
  .cta-line { max-width: none; }
  .cta-code { height: 44vh; /* taste-skill-ignore: fallback before svh */ height: 44svh; margin-top: 48px; }
  .footer { grid-template-columns: 1fr; min-height: 0; }
  .footer-picture { height: 46vh; /* taste-skill-ignore: fallback before svh */ height: 46svh; }
  .footer-picture img { width: auto; height: 116%; left: -4%; bottom: -14%; }
  .footer-menu { padding: 48px var(--margin) 32px; }
  .footer-links { gap: 20px; }
  .footer-contact { grid-template-columns: 1fr; margin-top: 48px; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .nav { gap: 1.1rem; }
  .stats-side { grid-column: 8 / 13; }
}
/* the nav only has room for the extra link once the column is wide enough */
@media (max-width: 1280px) {
  .nav-promo { display: none; }
}

/* ---------- motion (content stays visible without JavaScript and with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(22px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 500ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .wordmark { animation: wordmark-in 1100ms var(--ease-out) 200ms both; }
  .caret { animation: blink 1.05s steps(1) infinite; }
  .ticker-track { animation: ticker 90s linear infinite; }
  .ticker-reverse .ticker-track { animation-direction: reverse; animation-duration: 110s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wordmark-in { from { opacity: 0; translate: 0 0.12em; } to { opacity: 1; translate: 0 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
    /* the signature move: the name settles a few percent as the first screen leaves */
    .js .wordmark { animation: wordmark-in 1100ms var(--ease-out) 200ms both, wordmark-shrink linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
  }
}
@keyframes wordmark-shrink { to { scale: 0.93; } }
