/* Lucida home. Colour chapters: each field is a flat colour that means its chapter (the app's own series colours). */
@font-face { font-family: "Red Hat Display"; src: url("/home/fonts/rh-display-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("/home/fonts/rh-text-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("/home/fonts/rh-text-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --teal: #0d6d65; --teal-light: #dcfaf3; --teal-dark: #032e29;
  --blue: #1f3a93; --blue-ink: #ffffff;
  --orange: #c2410c; --orange-ink: #fff7ed;
  --pink: #be185d; --pink-ink: #fff0f6;
  --amber: #a16207; --amber-ink: #fffbeb;
  --ground: #f2f5f4; --tile: #e3ebe8; --ink: #07201c; --soft: #50625e;
  --panel: #062b27; --mint: #9ff0dd;
  --ui: #ffffff; --ui-ink: #0d1f1c; --ui-soft: #5b6b68; --ui-line: #e1e8e6;
  --display: "Red Hat Display", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, sans-serif;
  --step-small: 0.8125rem;
  --step-body: 1.0625rem;
  --step-lead: 1.5rem;
  --step-sub: 2.5rem;
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --margin: clamp(16px, 2.8vw, 40px);
  --radius: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--step-body)/1.5 var(--text); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; line-height: 0.92; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--ground); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; z-index: 30; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* Buttons: one shape, fully round. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; font: 500 var(--step-small)/1 var(--text); font-size: var(--step-body); text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: var(--step-body); }
.btn-light { background: var(--teal-light); color: var(--teal-dark); }
.btn-light:hover { background: #ffffff; }
.btn-mint { background: var(--mint); color: var(--panel); }
.btn-ink { background: var(--ink); color: #ffffff; }
.btn-block { width: 100%; min-height: 52px; }

/* Bar: plain, takes the first chapter's colours. */
.bar { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--margin); color: var(--teal-light); font-size: var(--step-small); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 900 var(--step-lead)/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.bar-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.bar-links > a:not(.btn) { padding: 10px 2px; text-decoration: underline 2px transparent; text-underline-offset: 6px; transition: text-decoration-color 200ms; }
.bar-links > a:not(.btn):hover { text-decoration-color: currentColor; }

/* Fields */
.field-teal { background: var(--teal); color: var(--teal-light); }
.field-blue { background: var(--blue); color: var(--blue-ink); }
.field-orange { background: var(--orange); color: var(--orange-ink); }
.field-pink { background: var(--pink); color: var(--pink-ink); }
.field-amber { background: var(--amber); color: var(--amber-ink); }

/* Hero: stacked line in two inks. */
.hero { position: relative; min-height: 100svh; padding: 0 var(--margin); display: grid; grid-template-columns: 1fr auto; grid-template-rows: 14svh auto 1fr; column-gap: 40px; overflow: hidden; }
.hero-name { grid-column: 1 / -1; }
.hero-live { grid-column: 1; grid-row: 3; align-self: end; list-style: none; margin: 0; padding: 0 0 40px; display: grid; gap: 8px; justify-items: start; font-size: var(--step-small); }
.hero-live li { display: flex; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.12); color: #ffffff; }
.hero-live li:first-child { background: var(--teal-light); color: var(--teal-dark); }
.hero-live .ev-meta { color: inherit; opacity: 0.85; max-width: 32ch; }
.hero-name { grid-row: 2; font-size: clamp(88px, 15vw, 236px); line-height: 0.84; letter-spacing: -0.045em; text-transform: none; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
.line-dark { color: #01110e; }
.hero-foot { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; display: grid; justify-items: end; gap: 22px; padding-bottom: 40px; max-width: 34ch; text-align: right; }
.hero-support { font-size: var(--step-lead); line-height: 1.35; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js .hero-foot { opacity: 0; animation: fade-up 700ms var(--ease-out) 620ms forwards; }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Chapters: one screen each, the interface fragment as the portrait. */
.chapter { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr minmax(0, 506px) 1fr; grid-template-rows: auto 1fr auto; padding: 32px var(--margin); gap: 24px; overflow: hidden; }
.ch-title { grid-column: 1 / -1; font-size: var(--step-head); max-width: 12ch; }
.ch-figure { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; width: 100%; }
.ch-text { grid-column: 1; grid-row: 3; align-self: end; max-width: 32ch; font-size: var(--step-body); }
.ch-link { grid-column: 3; grid-row: 3; align-self: end; justify-self: end; font-weight: 500; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ch-link:hover { text-decoration-thickness: 4px; }

/* Interface fragments: the product's own conventions (borders, small labels) apply inside [data-ui]. */
.ui { background: var(--ui); color: var(--ui-ink); border-radius: var(--radius); padding: 18px; font: 400 var(--step-small)/1.4 var(--text); aspect-ratio: 3 / 4; display: flex; flex-direction: column; gap: 14px; transform: scale(var(--sc, 1)); transition: transform 800ms var(--ease-out); }
.ui-head { display: flex; align-items: center; gap: 8px; }
.ui-head-title { font-weight: 500; font-size: var(--step-small); flex: 1; }
.ui-dot { width: 9px; height: 9px; border-radius: 50%; background: #e0352b; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.ui-chip { font-size: var(--step-small); padding: 4px 10px; border-radius: 999px; background: #eef3f2; color: var(--ui-soft); }
.ui-chip-go { background: #dcfce7; color: #166534; }
.ui-time { font-size: var(--step-small); color: var(--ui-soft); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }

/* Replay */
.replay-stage { position: relative; flex: 1; border-radius: 10px; overflow: hidden; background: var(--teal); transition: background-color 400ms; }
.replay-page-h text { font: 900 10px/1 var(--display); letter-spacing: -0.04em; fill: var(--teal-light); }
.replay-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.replay-path path { fill: none; stroke: #ffffff; stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.replay-path [data-replay-trail] { stroke-width: 2.5; opacity: 0.85; }
.replay-path circle { fill: #ffffff; stroke: var(--ui-ink); stroke-width: 0.6; }
.replay-path .click { fill: none; stroke: #ffd166; stroke-width: 2; vector-effect: non-scaling-stroke; }
.replay-controls { display: flex; align-items: center; gap: 10px; }
.ui-play { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform 150ms var(--ease-out); }
.ui-play:hover { transform: scale(1.08); }
.replay-track { flex: 1; height: 6px; border-radius: 3px; background: #e6ecea; overflow: hidden; }
.replay-track span { display: block; height: 100%; width: var(--p, 0%); background: var(--blue); }
.replay-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 112px; overflow: hidden; }
.replay-events li { display: flex; gap: 10px; font-size: var(--step-small); padding: 6px 10px; border-radius: 8px; background: #f3f6f5; }
.replay-events li.is-new { animation: fade-up 400ms var(--ease-out); }
.ev-name { font-weight: 500; }
.ev-meta { color: var(--ui-soft); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Funnel */
.funnel-total { font-size: var(--step-small); color: var(--ui-soft); }
.funnel-total strong { display: block; font: 900 var(--step-sub)/1 var(--display); color: var(--ui-ink); letter-spacing: -0.03em; }
.funnel-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; align-content: center; }
.funnel-steps li { display: grid; grid-template-columns: 1fr auto auto; gap: 2px 10px; align-items: baseline; }
.fs-bar { grid-column: 1 / -1; height: 30px; width: var(--w); border-radius: 6px; background: var(--orange); transform-origin: left; }
.is-leak .fs-bar { background: #f59e0b; }
.fs-name { font-size: var(--step-small); }
.fs-n { font-weight: 500; font-variant-numeric: tabular-nums; }
.fs-rate { font-size: var(--step-small); color: var(--ui-soft); font-variant-numeric: tabular-nums; }
.funnel-note { font-size: var(--step-small); padding: 10px 12px; background: #fff3e8; border-radius: 8px; }

/* Heatmap */
.heat-page { position: relative; flex: 1; border-radius: 10px; background: #f7f7f5; padding: 18px; display: grid; align-content: start; gap: 14px; overflow: hidden; }
.hp-h { font: 900 var(--step-lead)/1 var(--display); letter-spacing: -0.03em; }
.hp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp-plan { display: grid; gap: 6px; padding: 14px; border-radius: 10px; background: #fff; border: 1px solid var(--ui-line); } /* taste-skill-ignore: a plan card on the example site inside [data-ui] */
.hp-plan b { font: 900 var(--step-lead)/1 var(--display); }
.hp-plan i { font-style: normal; font-size: var(--step-small); text-align: center; padding: 8px; border-radius: 999px; background: #eceeed; }
.hp-mid i { background: var(--ui-ink); color: #fff; }
.hp-faq { font-size: var(--step-small); color: var(--ui-soft); margin-top: 40%; }
.heat { position: absolute; left: var(--x); top: var(--y); width: calc(var(--s) * 18px); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; background: rgb(225 29 72 / 0.72); border: calc(var(--s) * 4px) solid rgb(251 146 60 / 0.4); background-clip: padding-box; mix-blend-mode: multiply; }
.hp-fold { position: absolute; left: 0; right: 0; top: var(--d); height: 4px; background: var(--pink); }
.hp-fold span { position: absolute; right: 10px; top: 8px; font-size: var(--step-small); color: var(--pink); font-weight: 500; }

/* Experiment */
.exp-rows { margin: 0; display: grid; gap: 14px; }
.exp-rows > div { display: grid; gap: 6px; }
.exp-rows dt { font-size: var(--step-small); font-weight: 500; }
.exp-rows dd { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline; }
.exp-bar { grid-column: 1 / -1; height: 26px; border-radius: 6px; width: calc(var(--v) / 25 * 100%); background: #d6dedb; }
.is-win .exp-bar { background: var(--amber); }
.exp-rows b { font: 900 var(--step-lead)/1 var(--display); }
.exp-rows i { font-style: normal; font-size: var(--step-small); color: var(--ui-soft); }
.exp-lift { flex: 1; display: grid; align-content: center; gap: 10px; padding: 14px; border-radius: 10px; background: #fdf6e3; }
.exp-lift strong { font: 900 var(--step-sub)/1 var(--display); letter-spacing: -0.03em; }
.exp-ci { position: relative; height: 10px; border-radius: 5px; background: #efe6c8; }
.exp-ci span { position: absolute; top: 0; bottom: 0; left: calc(var(--a) / 40 * 100%); width: calc((var(--b) - var(--a)) / 40 * 100%); border-radius: 5px; background: var(--amber); }
.exp-ci-l { font-size: var(--step-small); color: var(--ui-soft); }
.exp-flag { display: flex; justify-content: space-between; gap: 8px; font-size: var(--step-small); padding: 10px 12px; border-radius: 8px; background: #f3f6f5; }

/* Switches: sentences with working toggles. */
.switches { padding: 160px 0 0; background: var(--ground); }
.switches-title { font-size: var(--step-head); padding: 0 var(--margin) 48px; max-width: 14ch; }
.sw-list { list-style: none; margin: 0; padding: 0; }
.sw { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px; min-height: 20vh; padding: 28px var(--margin); color: var(--ink); transition: background-color 350ms var(--ease-out), color 350ms; }
.sw[data-on="true"] { background: var(--on); color: #ffffff; }
.sw-text { grid-column: 1; font: 900 var(--step-sub)/1.1 var(--display); letter-spacing: -0.02em; }
.sw-more { grid-column: 1; grid-row: 2; font-size: var(--step-body); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 350ms var(--ease-out), opacity 300ms; }
.sw[data-on="true"] .sw-more { max-height: 4em; opacity: 1; }
.toggle { grid-column: 2; grid-row: 1 / 3; position: relative; width: 76px; height: 42px; border-radius: 999px; border: 0; background: #c9d3d0; cursor: pointer; transition: background-color 250ms; }
.toggle span { position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; border-radius: 50%; background: #ffffff; transition: transform 250ms var(--ease-out); }
.toggle[aria-checked="true"] { background: rgb(255 255 255 / 0.32); }
.toggle[aria-checked="true"] span { transform: translateX(34px); }
.toggle:active span { width: 38px; }

/* Strip: one card, four fields. */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 160px; }
.strip-field { position: relative; min-height: 84svh; padding: 28px; display: grid; grid-template-rows: auto 1fr auto; }
.sf-1 { background: var(--teal); color: var(--teal-light); }
.sf-2 { background: var(--teal-light); color: var(--teal-dark); }
.sf-3 { background: var(--blue); color: #ffffff; }
.sf-4 { background: var(--amber); color: var(--amber-ink); }
.strip-title { font-size: var(--step-sub); max-width: 9ch; grid-row: 1; }
.ev-card { grid-row: 2; align-self: center; justify-self: center; width: min(260px, 100%); padding: 16px; border-radius: var(--radius); background: var(--ui); color: var(--ui-ink); display: grid; gap: 8px; font-size: var(--step-small); transition: transform 150ms var(--ease-out); }
.strip-field:hover .ev-card { transform: translateY(-6px); }
.ec-name { font-weight: 500; font-size: var(--step-small); }
.ec-dim { color: var(--ui-soft); font-size: var(--step-small); }
.ec-person { display: flex; align-items: center; gap: 8px; font-size: var(--step-small); }
.ec-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-light); color: var(--teal-dark); font-size: var(--step-small); font-weight: 500; }
.ec-step { display: grid; gap: 6px; font-size: var(--step-small); }
.ec-steps { display: flex; gap: 4px; }
.ec-steps i { flex: 1; height: 6px; border-radius: 3px; background: #e2e8e6; }
.ec-steps i.on { background: var(--blue); }
.ec-big { font: 900 var(--step-sub)/1 var(--display); letter-spacing: -0.03em; }
.ec-up { color: #166534; font-size: var(--step-small); }
.strip-clause { grid-row: 3; font: 900 var(--step-lead)/1.1 var(--display); letter-spacing: -0.02em; max-width: 14ch; }

/* About: inset panel, the engraving in the logo's ring. */
.about { padding: 20px; }
.about-panel { position: relative; border-radius: var(--radius); background: var(--panel); color: #e3fbf5; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; padding: 56px 56px 0; column-gap: 56px; row-gap: 40px; }
.about-title { grid-column: 1; grid-row: 1; font-size: var(--step-sub); max-width: 10ch; color: var(--mint); }
.about-copy { grid-column: 2; grid-row: 1 / 3; display: grid; align-content: start; gap: 40px; max-width: 520px; justify-self: end; padding-bottom: 56px; }
.about-copy h3 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 10px; color: var(--mint); }
.about-copy p { font-size: var(--step-body); line-height: 1.55; }
.about-copy .btn { justify-self: start; }
.about-img { grid-column: 1; grid-row: 2; align-self: end; width: 100%; max-width: 620px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 18px solid var(--mint); background: #fff; margin-bottom: -22%; }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.plates figure { margin: 0; display: grid; gap: 8px; }
.plates img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: #fff; }
.plates figcaption { font-size: var(--step-small); color: #b9e6da; }

/* FAQ: filled tiles. */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; padding: 200px var(--margin); }
.faq-title { font-size: var(--step-sub); position: sticky; top: 96px; align-self: start; max-width: 8ch; }
.faq-list { display: grid; gap: 8px; }
.faq details { border-radius: var(--radius); background: var(--tile); transition: background-color 250ms; }
.faq details[open] { background: var(--teal); color: #ffffff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 20px 24px; font-size: var(--step-lead); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; border-radius: 2px; background: currentColor; transition: transform 250ms var(--ease-out); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq summary:hover .pm { transform: scale(1.15); }
.faq details p { padding: 0 24px 24px; max-width: 56ch; font-size: var(--step-body); }

/* CTA: the product's first screen, already open. */
.cta { min-height: 90svh; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; gap: 24px; padding: 40px var(--margin); }
.cta-words { grid-column: 1 / 6; align-self: end; display: grid; gap: 20px; }
.cta-title { font-size: var(--step-head); color: var(--teal-light); max-width: 8ch; }
.cta-text { max-width: 36ch; font-size: var(--step-body); }
.dialog { grid-column: 7 / 12; justify-self: center; width: min(440px, 100%); background: var(--ui); color: var(--ui-ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; box-shadow: 0 24px 60px rgb(3 46 41 / 0.35); } /* taste-skill-ignore: the product dialog floats over the page and casts its own shadow */
.dlg-title { font: 900 var(--step-lead)/1 var(--display); letter-spacing: -0.02em; margin-bottom: 8px; }
.dlg-label { font-size: var(--step-small); font-weight: 500; padding: 0; }
.dlg-input { height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #cfd9d6; /* taste-skill-ignore: a real form field */ font: inherit; font-size: var(--step-body); color: var(--ui-ink); }
.dlg-input:focus { outline: 3px solid var(--teal); outline-offset: 1px; }
.dlg-seg { border: 0; margin: 4px 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dlg-seg legend { margin-bottom: 8px; }
.dlg-seg label { position: relative; }
.dlg-seg input { position: absolute; opacity: 0; inset: 0; }
.dlg-seg span { display: grid; place-items: center; height: 44px; border-radius: 10px; background: #eef3f2; font-size: var(--step-small); cursor: pointer; transition: background-color 200ms; }
.dlg-seg input:checked + span { background: var(--teal); color: #fff; }
.dlg-seg input:focus-visible + span { outline: 3px solid var(--ui-ink); outline-offset: 2px; }

/* Footer of tiles. */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 8px; background: var(--ground); }
.tile { border-radius: var(--radius); background: var(--tile); padding: 24px; min-height: 220px; display: grid; align-content: space-between; gap: 16px; }
.t-statement { grid-column: 1 / 5; }
.t-say { font: 500 var(--step-lead)/1.25 var(--text); letter-spacing: 0; }
.t-legal { font-size: var(--step-small); color: var(--soft); }
.t-nav { grid-column: 5 / 8; }
.t-nav ul, .t-legal-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.t-nav a, .t-legal-links a, .linklike { text-decoration: none; font-size: var(--step-body); }
.t-nav a:hover, .t-legal-links a:hover, .linklike:hover { text-decoration: underline; text-underline-offset: 4px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-size: var(--step-body); cursor: pointer; }
.t-region { grid-column: 8 / 10; }
.t-big { font: 900 var(--step-sub)/1 var(--display); letter-spacing: -0.02em; }
.t-legal-links { grid-column: 10 / 13; }
.t-word { grid-column: 1 / 9; min-height: 320px; background: var(--ink); color: var(--teal-light); display: grid; place-items: center; font: 900 clamp(64px, 11vw, 180px)/0.9 var(--display); letter-spacing: -0.05em; }
.t-go { grid-column: 9 / 13; min-height: 320px; background: var(--teal); color: var(--teal-light); text-decoration: none; font: 900 var(--step-sub)/1 var(--display); letter-spacing: -0.02em; }
.t-go svg { justify-self: end; transition: transform 200ms var(--ease-out); }
.t-go:hover svg { transform: translate(6px, -6px); }

/* Entrances: parts of each section rise once as it enters. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-rise].in { opacity: 1; transform: none; }
  .js .chapter .ui { --sc: 0.92; }
  .js .chapter.in-view .ui { --sc: 1; }
  .js .funnel-steps .fs-bar { transform: scaleX(0); transition: transform 900ms var(--ease-out); }
  .js .chapter.in-view .fs-bar { transform: none; }
  .js .chapter.in-view li:nth-child(2) .fs-bar { transition-delay: 120ms; }
  .js .chapter.in-view li:nth-child(3) .fs-bar { transition-delay: 240ms; }
  .js .chapter.in-view li:nth-child(4) .fs-bar { transition-delay: 360ms; }
  .heat { animation: pulse 2.4s ease-in-out infinite; }
  .heat:nth-of-type(2n) { animation-delay: -1.2s; }
}
@keyframes pulse { 50% { scale: 1.15; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 1024px) {
  .strip { grid-template-columns: 1fr; }
  .strip-field { min-height: 46svh; grid-template-columns: 1fr minmax(0, 300px); grid-template-rows: auto 1fr; column-gap: 32px; }
  .strip-field .ev-card { grid-column: 2; grid-row: 1 / 3; }
  .strip-title, .strip-clause { grid-column: 1; }
  .strip-clause { grid-row: 2; align-self: end; }
  .about-panel { grid-template-columns: 1fr; padding: 40px 40px 0; }
  .about-copy { grid-column: 1; grid-row: 2; justify-self: start; padding-bottom: 0; }
  .about-img { grid-row: 3; width: min(560px, 80vw); justify-self: center; margin-bottom: -18%; }
  .faq { grid-template-columns: 1fr; padding: 140px var(--margin); }
  .faq-title { position: static; }
  .cta { grid-template-columns: 1fr; }
  .cta-words, .dialog { grid-column: 1; }
  .dialog { justify-self: stretch; width: 100%; }
  .cta-words { align-self: start; }
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .t-statement { grid-column: 1 / 4; } .t-nav { grid-column: 4 / 7; } .t-region { grid-column: 1 / 4; } .t-legal-links { grid-column: 4 / 7; }
  .t-word { grid-column: 1 / -1; } .t-go { grid-column: 1 / -1; }
}

/* Phone: its own composition. */
@media (max-width: 640px) {
  .bar { padding: 16px; }
  .bar-links > a:not(.btn):not(:nth-child(3)) { display: none; }
  .bar-links .btn { display: none; }
  .hero { grid-template-rows: 18svh auto 1fr; padding: 0 16px; }
  .hero-name { font-size: 21vw; }
  .hero { grid-template-columns: 1fr; }
  .hero-foot { grid-column: 1; }
  .hero-live { display: none; }
  .strip-field { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .strip-field .ev-card { grid-column: 1; grid-row: 2; }
  .strip-title, .strip-clause { max-width: none; }
  .strip-clause { grid-row: 3; }
  .hero-foot { justify-self: start; justify-items: start; text-align: left; padding-bottom: 56px; max-width: none; }
  .hero-support { font-size: var(--step-body); }
  .chapter { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; padding: 72px 16px 56px; min-height: auto; }
  .ch-title, .ch-figure, .ch-text, .ch-link { grid-column: 1; grid-row: auto; justify-self: start; }
  .ch-figure { width: 88%; justify-self: center; }
  .ui { aspect-ratio: auto; min-height: 520px; }
  .switches { padding-top: 120px; }
  .sw { min-height: 132px; padding: 24px 16px; }
  .sw-text { font-size: var(--step-lead); }
  .strip-clause { max-width: none; }
  .sw-more { font-size: var(--step-small); }
  .toggle { width: 64px; height: 44px; }
  .toggle span { width: 34px; height: 34px; }
  .toggle[aria-checked="true"] span { transform: translateX(20px); }
  .strip { grid-template-columns: 1fr; margin-top: 120px; }
  .strip-field { min-height: 64svh; padding: 20px; }
  .about { padding: 10px; }
  .about-panel { padding: 28px 20px 0; }
  .about-title { font-size: var(--step-sub); }
  .about-img { width: 86vw; margin-bottom: -25%; border-width: 12px; }
  .plates { grid-template-columns: 1fr; }
  .faq { padding: 120px 16px; }
  .faq summary { font-size: var(--step-body); min-height: 64px; padding: 18px 20px; }
  .faq details p { font-size: var(--step-body); padding: 0 20px 20px; }
  .cta { padding: 64px 16px 40px; min-height: 84svh; }
  .cta-title { font-size: 13vw; }
  .dialog { width: 100%; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .tile { padding: 20px; min-height: 160px; }
  .t-word { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .t-go { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .t-nav { grid-column: 1; } .t-legal-links { grid-column: 2; } .t-region { grid-column: 1; } .t-statement { grid-column: 2; }
  .t-say { font-size: var(--step-body); }
}
