/* The public pages' chrome (header, small-screen menu, footer) and the home page.
   Tokens and components come from app.css; the visual system from site.css. */

html { scroll-behavior: smooth; }
.site-head { position: sticky; top: 0; z-index: 30; background: rgb(var(--bg-rgb) / .72); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.site-inner { max-width: 1280px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; gap: 2px; margin-left: 12px; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 11px; border-radius: 8px; transition: color .2s, background .2s; }
.site-nav a:hover { color: var(--text); background: rgb(var(--tint-rgb) / .05); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgb(var(--tint-rgb) / .05); box-shadow: inset 0 -1.5px 0 var(--text); }
.site-cta { margin-left: auto; display: flex; gap: 8px; }
.site-cta .btn { text-decoration: none; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 40px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2); background: rgb(var(--tint-rgb) / .04); display: grid; place-content: center; gap: 5px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease); }
.mnav[open] summary span:first-child { transform: translateY(3.3px) rotate(45deg); }
.mnav[open] summary span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mnav nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); display: grid; padding: 8px; border-radius: 16px;
  background: rgb(var(--surface-rgb) / .97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgb(var(--shade-rgb) / calc(.9 * var(--shade-k))); animation: rise .35s var(--ease); }
.mnav nav a { padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.mnav nav a:hover, .mnav nav a[aria-current="page"] { background: rgb(var(--tint-rgb) / .06); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

footer.site-foot { display: block; max-width: 1280px; margin: 120px auto 0; padding: 56px 28px 36px; border-top: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .6fr)); gap: 48px; }
.foot-about .brand { margin-bottom: 16px; }
.foot-about p { margin: 0; max-width: 460px; line-height: 1.65; }
.site-foot nav { display: grid; gap: 10px; align-content: start; }
.site-foot nav b { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.site-foot nav a { color: var(--text-2); text-decoration: none; }
.site-foot nav a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 12px var(--mono); color: var(--text-3); }

.home-main { max-width: 1280px; margin: 0 auto; padding: 56px 28px 40px; }
.brief-note { margin: 0; font-size: 12.5px; color: var(--text-3); }

/* ------------------------------------------------------------------ hero */
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; min-height: calc(100vh - 150px); scroll-margin-top: 80px; }
.hero2 .h-display { font-size: clamp(40px, 4.6vw, 70px); }
.brief2 { margin-top: 30px; box-shadow: var(--shadow-3); }
.stack { position: relative; aspect-ratio: 1.02; perspective: 2000px; }
.stack .shot { position: absolute; margin: 0; }
.stack .s-back { top: 0; right: -30px; width: 86%; }
.stack .s-front { left: 0; bottom: 56px; width: 80%; }
.stack .s-back img { max-height: 60vh; object-fit: cover; object-position: top left; }
.stack .s-front img { max-height: 44vh; object-fit: cover; object-position: top left; }
.float-chip { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font: 500 13px var(--sans); color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.float-chip .ic { width: 15px; height: 15px; color: var(--text-3); }
.float-chip.c1 { left: -26px; top: 30%; }
.float-chip.c2 { right: -18px; top: 58%; }
.float-chip.c2 .ic, .float-chip.c3 .ic { color: var(--green); }
.float-chip.c3 { left: 38%; bottom: 16px; }
.stack-cap { position: absolute; left: 0; right: 0; bottom: -34px; margin: 0; font: 500 11px var(--mono); color: var(--text-3); text-align: center; }

/* ------------------------------------------------------------------ sentences */
.sentences { margin-top: 110px; }
.center { text-align: center; }

/* ------------------------------------------------------------------ the showcase */
.showcase { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.showcase .demo-switch { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; margin-top: 28px; }
.showcase .demo-switch button { justify-content: flex-start; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
.showcase .demo-switch button .ic { width: 16px; height: 16px; }
.showcase .demo-wrap { position: relative; }

/* ------------------------------------------------------------------ GTM strip */
.gtm-strip { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 34px; align-items: center; margin-top: 130px; padding: 26px 34px; border-radius: 26px;
  background: var(--surface); box-shadow: var(--shadow-1); border: 1px solid var(--line-2); }
.gtm-strip h3 { margin: 12px 0 6px; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; }
.gtm-strip h3 em { font: inherit; font-style: normal; color: var(--text-3); }
.gtm-strip p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.gtm-strip .btn { text-decoration: none; }
.radar.mini { width: 150px; }
.radar.mini .rcore { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.radar.mini .rcore .ic { width: 18px; height: 18px; }
.radar.mini b { width: 8px; height: 8px; margin: -4px 0 0 -4px; }

/* ------------------------------------------------------------------ the line */
.pst { position: relative; display: inline-grid; margin-left: 6px; }
.pst em { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font: 600 11px var(--mono); font-style: normal; }
.pst .ic { width: 12px; height: 12px; }
.st-held { color: var(--amber); background: var(--amber-soft); animation: stHeld 12s var(--ease) infinite; }
.st-ok { color: var(--green); background: var(--green-soft); opacity: 0; animation: stOk 12s var(--ease) infinite; }
@keyframes stHeld { 0%, 56% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes stOk { 0%, 56% { opacity: 0; } 60%, 100% { opacity: 1; } }
.line-band .sec-head { max-width: 860px; }
.line-legend i { display: inline-block; }

/* ------------------------------------------------------------------ questions */
.faq { margin-top: 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 550; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 17px; font: 400 24px var(--sans); color: var(--text-3); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent-2); }
.faq p { margin: 0 0 22px; color: var(--text-2); font-size: 15px; line-height: 1.7; max-width: 720px; }
footer a { color: var(--text-2); }

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .mnav { display: block; }
  .site-cta { margin-left: auto; }
  .hero2 { grid-template-columns: 1fr; min-height: 0; gap: 70px; }
  .stack { aspect-ratio: auto; height: 560px; }
  .showcase { grid-template-columns: 1fr; gap: 36px; }
  .showcase .demo-switch { flex-direction: row; flex-wrap: wrap; }
  .gtm-strip { grid-template-columns: 110px minmax(0, 1fr); }
  .gtm-strip .btn { grid-column: 1 / -1; justify-self: start; }
  .radar.mini { width: 110px; }
}
@media (max-width: 640px) {
  .site-inner { padding: 12px 16px; gap: 12px; }
  .site-cta .btn-ghost { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-about { grid-column: 1 / -1; }
  footer.site-foot { padding: 40px 16px 28px; margin-top: 80px; }
  .home-main { padding: 32px 16px 24px; }
  .brief-note { display: none; }
  .stack { height: auto; display: grid; gap: 14px; }
  .stack .shot { position: relative; inset: auto; width: 100%; transform: none !important; opacity: 1; }
  .stack .s-back { display: none; }
  .stack .s-front img { max-height: none; }
  .float-chip { position: static; animation: none; justify-self: start; }
  .stack-cap { position: static; text-align: left; }
  .sentences { margin-top: 70px; }
  .gtm-strip { grid-template-columns: 1fr; padding: 22px 18px; }
  .gtm-strip .radar.mini { display: none; }
}

/* ------------------------------------------------------------------ the one front door */
.brief-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.brief-btns .btn { text-decoration: none; }

/* ------------------------------------------------------------------ what comes back */
.triad { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.triad li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.triad b { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.triad span { color: var(--text-2); font-size: 15px; }

/* ------------------------------------------------------------------ how it works: three steps */
.flow.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ------------------------------------------------------------------ examples */
.ex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.ex-card { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--surface); }
.ex-k { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ex-k .ic { width: 16px; height: 16px; color: var(--accent); }
.ex-card h3 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.025em; }
.ex-card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.ex-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.ex-more { color: var(--text-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.ex-more:hover { color: var(--text); }

/* ------------------------------------------------------------------ authority: one service's rules */
.rule-list { list-style: none; max-width: 640px; margin: 44px auto 0; padding: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: rgb(var(--surface-rgb) / .7); }
.rule-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; border-top: 1px solid var(--line); font: 500 13px var(--mono); letter-spacing: .04em; }
.rule-list li:first-child { border-top: 0; }
.rule-list b { font-weight: 500; text-transform: uppercase; color: var(--text); }
.rule-list li.ok span { color: var(--green); }
.rule-list li.wait span { color: var(--amber); }
.rule-list li.no span { color: var(--rose); }

/* ------------------------------------------------------------------ proof */
.proof-row { margin-top: 150px; }
.proof-row .media { margin-right: 0; }
.proof-card { max-width: 520px; margin-left: auto; padding: 26px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-3); }
.pc-top { display: flex; gap: 14px; align-items: center; }
.pc-top .ic { width: 38px; height: 38px; padding: 8px; border-radius: 11px; color: var(--accent); background: var(--green-soft); border: 1px solid var(--green-line); }
.pc-top small { display: block; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pc-top b { font-size: 16px; }
.pc-rows { margin: 20px 0 0; display: grid; }
.pc-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.pc-rows dt { color: var(--text-2); }
.pc-rows dd { margin: 0; font: 500 14px var(--mono); }
.pc-rows dd.good { color: var(--green); }
.pc-rows dd.bad { color: var(--rose); }
.pc-hash { display: block; margin-top: 14px; font: 11px var(--mono); color: var(--text-3); overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ services */
.numbers.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.pick { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); }
.pick h3 { margin: 4px 0 0; font-size: 17px; letter-spacing: -.02em; }
.pick > p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.55; }
.pick-meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--text-3); }
.pick-meta li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--text-3); }
.pick-meta .ok::before { background: var(--green); }
.pick-meta .wait::before { background: var(--amber); }
.pick-meta .no::before { background: var(--rose); }
.pick-actions { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.pick-actions a { color: var(--text-2); font-size: 13.5px; }
.pick-all { margin-top: 28px; text-decoration: none; }

/* ------------------------------------------------------------------ connect */
.sys-row { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sys-row li { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(var(--tint-rgb) / .03); font: 500 14px var(--sans); color: var(--text-2); }
.connect .actions { margin-top: 28px; }
.connect .actions .btn { text-decoration: none; }

@media (max-width: 1100px) {
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-card { margin: 0; }
}
@media (max-width: 640px) {
  .ex-grid, .pick-grid, .flow.three, .numbers.compact { grid-template-columns: 1fr; }
  .triad li { grid-template-columns: 1fr; gap: 4px; }
  .rule-list li { flex-direction: column; gap: 2px; }
}

/* ------------------------------------------------------------------ the proof page */
.pf-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.pf-hero .copy { max-width: 820px; }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; margin-top: 36px; align-items: start; }
.pf-receipts { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--surface); }
.pf-receipts li { display: grid; grid-template-columns: 28px 92px 150px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.pf-receipts li:first-child { border-top: 0; }
.pf-receipts .n { font: 500 11px var(--mono); color: var(--text-3); }
.pf-receipts .k { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.pf-receipts .st { font: 500 12px var(--mono); color: var(--text-3); }
.pf-receipts .sm { color: var(--text-2); overflow-wrap: anywhere; }
.pf-receipts li.gate .k, .pf-receipts li.human .k { color: var(--amber); }
.pf-receipts li.human { background: rgb(var(--tint-rgb) / .03); }
.pf-check { position: sticky; top: calc(var(--head-h, 64px) + 20px); display: grid; gap: 14px; padding: 24px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); }
.pf-check p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.pf-verdict { margin: 0; display: grid; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); }
.pf-verdict.ok { border-color: var(--green-line); background: var(--green-soft); }
.pf-verdict.bad { border-color: var(--rose); background: rgb(240 113 107 / .08); }
.pf-verdict dt { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pf-verdict dd { margin: 4px 0 0; font-size: 13.5px; }
.pf-verdict code { font: 11.5px var(--mono); overflow-wrap: anywhere; color: var(--text-2); }
.pf-limits { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; max-width: 860px; }
.pf-limits li { display: flex; gap: 12px; align-items: baseline; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.pf-limits .ic { flex: none; width: 17px; height: 17px; color: var(--text-3); transform: translateY(3px); }
.pf-enforced { margin-top: 44px; row-gap: 36px; }
@media (max-width: 900px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-check { position: static; }
  .pf-receipts li { grid-template-columns: 26px minmax(0, 1fr); }
  .pf-receipts .st, .pf-receipts .sm { grid-column: 2; }
}

/* ================================================================== motion & fit (2026-09-24)
   The hero fits one screen at common laptop heights (1440×900, 1280×720): type and the
   composer scale with the viewport's height as well as its width. Then light and motion:
   a faint grid behind the hero, the composer's rim of light, the screens arriving, a reading
   line across the run, chips that settle and float. All transform/opacity; none under
   prefers-reduced-motion. */
.hero2 { position: relative; min-height: calc(100svh - var(--head-h, 64px) - 56px); padding: 0 0 clamp(14px, 3vh, 36px); gap: clamp(32px, 4vw, 56px); }
.hero2 .eyebrow2 { margin-top: 0; }
.hero2 .h-display { margin-top: clamp(10px, 1.6vh, 18px); font-size: clamp(30px, min(3.8vw, 5.8vh), 58px); line-height: 1.02; }
.hero2 .lede-lg { margin-top: clamp(10px, 2vh, 20px); font-size: clamp(14.5px, min(1.12vw, 2.15vh), 17.5px); line-height: 1.6; }
.hero2 .brief2 { margin-top: clamp(14px, 2.6vh, 28px); }
.hero2 .brief textarea { min-height: clamp(96px, 17vh, 168px); padding-top: 14px; font-size: clamp(14.5px, 1.08vw, 16.5px); line-height: 1.55; resize: vertical; }
/* the box is the product: the composer's column gets the larger share of the hero */
@media (min-width: 1101px) { .hero2 { grid-template-columns: minmax(0, 1.22fr) minmax(0, .9fr); } }
.hero2 .cx-chips { padding-bottom: 8px; gap: 6px; }
.hero2 .cx-lead { display: none; }
.hero2 .cx-chip { font-size: 12.5px; padding: 5px 11px; }
.hero2 .brief-bar { flex-wrap: nowrap; }
.hero2 .brief-note { flex: 1; min-width: 0; font-size: 12px; line-height: 1.45; }
.hero2 .brief-btns { flex: none; }
@media (max-width: 640px) { .hero2 .brief-bar { flex-wrap: wrap; } }
.hero2 .brief-bar { padding-top: 6px; }
.hero2 .stack { max-height: calc(100svh - var(--head-h, 64px) - 40px); }
.hero2 .stack .s-back img { max-height: 52vh; }
.hero2 .stack .s-front img { max-height: 40vh; }

/* a faint grid behind the hero, fading out at its edges */
.hero2::before { content: ""; position: absolute; inset: -40px -60px 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgb(var(--accent-rgb) / .7) 0 1.5px, transparent 2px),
    linear-gradient(rgb(var(--tint-rgb) / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--tint-rgb) / .06) 1px, transparent 1px);
  background-size: 224px 224px, 56px 56px, 56px 56px; background-position: 112px 112px, 0 0, 0 0; mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); animation: gridmove 60s linear infinite; }
@keyframes gridmove { to { background-position: 336px 336px, 224px 224px, 224px 224px; } }

/* the composer's rim of light */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hero2 .brief2 { position: relative; }
.hero2 .brief2::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, rgb(var(--accent-rgb) / .15) 72%, rgb(var(--accent-rgb) / .95) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rim 7s linear infinite; }
.hero2 .brief2:focus-within::before { animation-duration: 3s; }
@keyframes rim { to { --ang: 360deg; } }
.hero2 .brief-dot { animation: pulse 2.4s ease-in-out infinite; }

/* the screens arrive, then the run is read line by line */
.js .hero2 .stack .s-back { opacity: 0; transform: translateX(70px) rotateY(-14deg) rotateX(4deg); transition: opacity 1.2s var(--ease) .35s, transform 1.6s var(--ease) .35s; }
.js .hero2 .stack .s-front { opacity: 0; transform: translateY(80px) scale(.94); transition: opacity 1.1s var(--ease) .75s, transform 1.4s var(--ease) .75s; }
.js.ready .hero2 .stack .s-back, .js.ready .hero2 .stack .s-front { opacity: 1; transform: none; }
.hero2 .stack .s-front { overflow: hidden; }
.hero2 .stack .s-front::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgb(var(--accent-rgb) / .10) 70%, rgb(var(--accent-rgb) / .55) 98%, transparent);
  animation: readline 5.5s var(--ease) 2.2s infinite; opacity: 0; }
@keyframes readline { 0% { transform: translateY(-90px); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(46vh); opacity: 0; } }
.js .hero2 .float-chip { opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .7s var(--ease), transform .8s cubic-bezier(.2, 1.4, .4, 1); }
.js.ready .hero2 .float-chip { opacity: 1; transform: none; animation: float 5s ease-in-out infinite; }
.js.ready .hero2 .float-chip.c1 { transition-delay: 1.5s; animation-delay: 2.4s; }
.js.ready .hero2 .float-chip.c2 { transition-delay: 1.9s; animation-delay: 3.1s; }
.js.ready .hero2 .float-chip.c3 { transition-delay: 2.3s; animation-delay: 3.8s; }
.hero2 .float-chip.c2 .ic, .hero2 .float-chip.c3 .ic { filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / .6)); }

/* ------------------------------------------------------------------ sections in motion */
/* three steps: the line between them draws across as they arrive */
.js .flow.three::before { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.js .flow.three.in::before { transform: none; }
.flow.three .flow-step .node { transition: box-shadow .6s var(--ease), border-color .6s; }
.flow.three .flow-step.in .node { box-shadow: 0 0 0 6px rgb(var(--accent-rgb) / .06), 0 18px 40px -20px rgb(var(--accent-rgb) / .5); }

/* the rules arrive one at a time; the one that waits keeps a slow pulse */
.rule-list li.wait { animation: waitpulse 3.2s ease-in-out infinite; }
@keyframes waitpulse { 50% { background: rgb(var(--tint-rgb) / .05); } }
.rule-list li.no b { text-decoration: line-through; text-decoration-color: rgb(240 113 107 / .6); }

/* the proof card: the digest decodes, the mark glows */
.proof-card { position: relative; overflow: hidden; }
.proof-card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgb(var(--accent-rgb) / .08) 48%, transparent 66%); transform: translateX(-100%); animation: sheen 6s var(--ease) 1s infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.pc-top .ic { animation: pulse 2.8s ease-in-out infinite; }
.pc-hash.decoding { color: var(--accent); }

/* systems: each chip with a live dot, gently afloat */
.sys-row li { display: inline-flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite; }
.sys-row li:nth-child(2n) { animation-delay: -1.5s; } .sys-row li:nth-child(3n) { animation-delay: -3s; } .sys-row li:nth-child(5n) { animation-delay: -4.2s; }
.sys-row li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgb(var(--accent-rgb) / .8); }

/* the last call: a slow ring of light behind it */
.cta-xl { overflow: hidden; }
.cta-xl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / .14), transparent 60%); animation: breathe 7s ease-in-out infinite; }
.cta-xl > * { position: relative; z-index: 1; }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .6; } }

@media (max-width: 1100px) {
  .hero2 { min-height: 0; }
  .hero2 .h-display { font-size: clamp(34px, 7vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero2::before, .hero2 .brief2::before, .hero2 .brief-dot, .hero2 .stack .s-front::after, .rule-list li.wait,
  .proof-card::after, .pc-top .ic, .sys-row li, .cta-xl::after, .js.ready .hero2 .float-chip { animation: none; }
  .js .hero2 .stack .s-back, .js .hero2 .stack .s-front, .js .hero2 .float-chip { opacity: 1; transform: none; transition: none; }
  .js .flow.three::before { transform: none; }
}

/* While a brief compiles, the note says what is happening (shown on phones too). */
.brief-note.is-working { display: block; color: var(--text-2); }
