/* Hallmark 2.0.0 · CUBERL Launch Cube prototype · shape: landing page with a live launch studio · genre modern-minimal (developer tool) with an ALIVE motion layer · signature: the studio checks live Pons data before you freeze anything · theme: none dealt — brand supplied (client logo: dark navy / bright blue / mint / white) */
/* critique: the studio is the work — a live checker, not a mood. The honest $JUDGE lesson carries the page's argument; every figure is live or from the verified gate. */
/* Hallmark · dismissed 58 · the headline is the brief's own nine-word sentence and the studio form plus checklist are functional text, not prose */
:root {
  --p-bg: #04101f; --p-surface: #0a1a2e; --p-ink: #f4f8ff; --p-muted: #9aadc6;
  --p-accent: #1a8cff; --p-accent-ink: #04101f; --p-action: #1a8cff; --p-action-ink: #04101f;
  --p-inv-bg: #f4f8ff; --p-inv-surface: #e0e5ed; --p-inv-ink: #04101f; --p-inv-muted: #535e6c;
  --p-inv-accent: #1a8cff; --p-inv-accent-ink: #04101f; --p-inv-action: #1a8cff; --p-inv-action-ink: #04101f;
  --font-display: "Satoshi", "Host Grotesk", system-ui, sans-serif;
  --font-text: "Host Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 700;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.04em;
  --mint: #2bf2a7;
  --sky: #5eb1ff;
  --pale-mint: #8ff5c8;
  --warn: #e8a33d;
  --neg: #ff8a7a;
  --mask: #000;
  --navy-2: #081226;
  --navy-3: #0d1d38;
  --ground-bg: #081226;
  --ground-surface: #0d1d38;
  --ground-ink: #f4f8ff;
  --ground-accent: #1a8cff;
  --card: #0a1a2e;
  --line: color-mix(in oklab, var(--p-ink) 12%, transparent);
  --line-strong: color-mix(in oklab, var(--p-ink) 22%, transparent);
  --glow-blue: color-mix(in oklab, var(--p-accent) 26%, transparent);
  --glow-mint: color-mix(in oklab, var(--mint) 20%, transparent);
  --shadow-win: 0 24px 60px -24px rgb(0 0 0 / 0.65), 0 0 0 1px var(--line-strong);
  --shadow-card: 0 16px 40px -16px rgb(0 0 0 / 0.6), 0 0 0 1px var(--line-strong);
}

/* ---- base (Floor 4, 5, 6, 7) ---- */
html, body { overflow-x: clip; }
/* no CSS smooth scroll: keyboard focus must land instantly (a smooth scroll
   leaves the focused control off-screen for ~500ms); anchor links smooth-scroll
   via app.js instead */
h1, h2, h3 { overflow-wrap: break-word; min-width: 0; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--p-accent); color: var(--p-accent-ink); }

/* ---- focus ring on studio fields: the motion layer swaps the outline for a
   border + halo, which keyboard users can miss and the gate flags — keep the
   halo and restore the 2px outline on keyboard focus (ties the motion rule's
   (0,3,2); this file loads after it, so it wins) ---- */
html[data-motion="live"] .field :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}

/* ---- secondary button: the kit's pill fill (#121f2e) reads as part of the
   dark ground (1.14:1) — a surface fill plus a real border gives it an edge ---- */
html[data-buttons="pill"] .btn--secondary { background: var(--p-surface); border: 1px solid var(--line-strong); }

/* ---- nav: logo small, wordmark beside it ---- */
.nav__logo img { border-radius: 6px; display: block; }
.nav__logo span { font-weight: 600; letter-spacing: 0.02em; }

/* ---- card glyphs: small stroke icons so the card rows read as product
   cards, not bare text blocks ---- */
.card__glyph { display: block; width: 28px; height: 28px; margin-bottom: var(--s-3); color: var(--p-accent); }
.card__glyph svg { display: block; width: 100%; height: 100%; }
.card__glyph--mint { color: var(--mint); }

/* ---- section CTA link under a card row ---- */
.section-cta { margin: var(--s-6) 0 0; }
.footer__col-head { font-family: var(--font-text); font-weight: 500; font-size: var(--t-card); line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 var(--s-3); }

/* ---- footer wrap: the kit gives it grid rows but no columns, so the implicit
   auto column sizes to the widest child's max-content — at 320px the closing
   h2's one-line width (303px) overflows the 272px wrap. A definite 1fr column
   keeps the stack inside the wrap at every width ---- */
footer.closing > .wrap { grid-template-columns: minmax(0, 1fr); }

/* ---- horizontal-overflow guard (clip, not hidden: keeps position:sticky) ---- */
html, body { overflow-x: clip; }

/* ---- hero proof line under the actions ---- */
.hero__proof { font-size: var(--t-small); color: var(--p-muted); margin: var(--s-4) 0 0; }

/* ---- hero display type: Satoshi Bold, Noctenna's clamp ---- */
.hero h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---- data figures are instrument readings: mono, not display type ---- */
.t-stat { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* ---- hero: the field fills the WHOLE hero behind the words (two canvases:
   a static starfield + the animated cube field). The glows sit under the
   field so no area reads empty; the wrap rides above both canvases; clip
   keeps the parallaxed canvases and the marquee bleed inside the hero ---- */
main > section.hero {
  overflow: clip;
  background:
    radial-gradient(60% 45% at 12% 0%, var(--glow-blue), transparent 70%),
    radial-gradient(50% 40% at 95% 55%, var(--glow-mint), transparent 70%);
}
.hero > canvas#starfield, .hero > canvas#cubefield {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  z-index: 0;
  /* the hero field DISSOLVES into the ambient layer over its bottom 22%:
     no hard edge where the hero ends and the next section begins (the
     client: the two scenes looked like different worlds). The mask lives
     in the canvas's own space, so the scroll tilt/zoom do not move it. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}
/* ---- ambient layer: one continuous starfield behind the WHOLE page ----
   Fixed to the viewport, behind everything (body is its own stacking
   context via .bg-topglow's isolation:isolate, so z-index:-1 paints
   above the body background and below all content — the kit's own
   .bg-topglow::before uses the same trick). The sections below the hero
   have transparent backgrounds, so this shows through everywhere: no
   scene ever reads as flat empty dark again. Same palette as the hero
   field, quieter density — one world, not two. */
canvas#ambient {
  position: fixed; inset: 0; width: 100%; height: 100%; display: block;
  z-index: -1; pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
/* Local scrim behind the hero text only (scroll-craft: a scrim only where
   the text sits — never a full-frame overlay). The field's brightest cubes
   sit behind the lead paragraph; without this the lead reads 4.4:1 at its
   worst tenth (needs 4.5:1). z-index -1 keeps it above the canvases (the
   wrap is its own stacking context) and below the wrap's content. */
.hero > .wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 26% 24%, color-mix(in oklab, var(--ground-bg) 45%, transparent), transparent 70%);
}

/* ---- hero art: the lit ground + the one effect (wireframe cube field) ---- */
.hero__art {
  /* the ground is translucent now: the hero field shows through behind the
     cards instead of stopping at the panel's edge */
  background:
    radial-gradient(70% 60% at 16% 8%, var(--glow-blue), transparent 70%),
    radial-gradient(55% 50% at 92% 96%, var(--glow-mint), transparent 70%),
    radial-gradient(45% 42% at 86% 6%, color-mix(in oklab, var(--sky) 18%, transparent), transparent 70%),
    color-mix(in oklab, var(--ground-bg) 78%, transparent);
}
.hero__art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(color-mix(in oklab, var(--p-ink) 7%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, var(--mask) 0%, transparent 75%);
  mask-image: linear-gradient(to bottom, var(--mask) 0%, transparent 75%);
}


/* ---- the sample launch report (the collage window) ---- */
.report-card {
  background: var(--p-surface);
  color: var(--p-ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-win);
  overflow: hidden;
}
.report-card__bar {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) calc(var(--s-4) + 28px) var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--p-muted);
}
.report-card__dots { display: flex; gap: 8px; }
.report-card__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.report-card__dots i:first-child { background: var(--p-accent); }
.report-card__dots i:nth-child(2) { background: var(--mint); }
.report-chip {
  margin-left: auto;
  font-size: 11px;
  color: var(--mint); border: 1px solid color-mix(in oklab, var(--mint) 45%, transparent);
  border-radius: 999px; padding: 2px 8px;
}
.report-card__body { padding: var(--s-4); }
.report-row { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 13px; border-top: 1px solid var(--line); }
.report-row:first-child { border-top: none; padding-top: 0; }
.report-row b { font-weight: 500; display: block; }
.report-row em { font-style: normal; color: var(--p-muted); }
.report-verdict {
  margin-top: var(--s-4); padding: 12px;
  border: 1px solid color-mix(in oklab, var(--neg) 55%, transparent);
  background: color-mix(in oklab, var(--neg) 10%, transparent);
  border-radius: var(--r-md);
}
.report-verdict b { display: block; font-size: 16px; color: var(--neg); }
.report-verdict span { font-size: 13px; color: var(--p-muted); }

/* ---- status dots (shared by the report card and the check rows) ---- */
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin-top: 4px; background: var(--line-strong); }
.dot--pass { background: var(--mint); }
.dot--fail { background: var(--neg); }
.dot--warn { background: var(--warn); }
.dot--info { background: var(--p-accent); }
.dot--error { background: var(--p-muted); }
.dot--running { background: var(--p-accent); animation: dot-pulse 1.2s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ---- the small fact card over the art's lower-left corner ---- */
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.fact-card { background: var(--p-surface); color: var(--p-ink); box-shadow: var(--shadow-card); padding: var(--s-4); border-radius: var(--r-lg); }
.fact-card__fig { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 500; font-size: 32px; line-height: 1.1; }
.fact-card__text { margin: 4px 0 0; font-size: 13px; color: var(--p-muted); line-height: 1.5; }

/* ---- motion toggle in the art's corner ---- */
.motion-toggle {
  font: inherit; font-size: 12px; color: var(--p-muted);
  background: color-mix(in oklab, var(--p-surface) 85%, transparent);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 4px 12px; cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.motion-toggle:hover { color: var(--p-ink); border-color: var(--p-muted); }
.motion-toggle--art { position: absolute; right: var(--s-4); bottom: var(--s-4); z-index: 3; }

/* marquee strip at the hero's foot */
.hero-strip { border-top: 1px solid var(--line); padding-top: var(--s-4); }
.mo-mq__track li { font-family: var(--font-mono); font-size: 13px; color: var(--p-muted); }
.mo-mq__track li::after { content: "◆"; font-size: 8px; color: var(--p-accent); margin-left: 64px; }

/* ---- tool sections: grow past one screen rather than lay their last rows
   over the next section (the kit's fixed --h screens fit content sections,
   not a tall form or results that appear after a check) ---- */
#studio { height: auto; min-height: 100svh; }
main > section.hero--short { height: auto; min-height: 100svh; }

/* ---- studio form ---- */
.studio-form { display: flex; flex-direction: column; gap: var(--s-4); }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field label output { float: right; font-variant-numeric: tabular-nums; font-weight: 400; color: var(--mint); }
.field__opt { font-weight: 400; color: var(--p-muted); }
.field input[type="text"], .field input[type="url"], .field textarea {
  width: 100%;
  font: inherit; font-size: 15px; color: var(--p-ink);
  background: var(--navy-3); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 12px;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus { border-color: var(--p-accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--p-muted); }
.field__hint { font-size: 12px; color: var(--p-muted); margin: 8px 0 0; }
.field input[type="range"] { width: 100%; accent-color: var(--p-accent); }
.snipe-note {
  background: var(--navy-3); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px;
}
.snipe-note p { margin: 0; font-size: 13px; color: var(--p-muted); line-height: 1.55; }
.snipe-note p + p { margin-top: 8px; }
.snipe-note b { color: var(--p-ink); font-weight: 500; }
.form__note { font-size: 12px; color: var(--p-muted); margin: 0; }

/* ---- studio results: check rows, verdict, frozen preview ---- */
.studio-results { min-height: 280px; }
.results__empty h3 { margin: 0 0 8px; font-size: var(--t-card); }
.results__empty p { margin: 0; color: var(--p-muted); font-size: 14px; line-height: 1.6; }
.check-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.check-row:first-child { border-top: none; padding-top: 0; }
.check-row b { display: block; font-size: 15px; font-weight: 500; }
.check-row div > span { display: block; font-size: 13px; color: var(--p-muted); line-height: 1.55; margin-top: 4px; }
.check-row__scope { font-size: 12px; color: var(--p-muted); }
.verdict { margin-top: var(--s-4); padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong); }
.verdict b { display: block; font-size: 18px; }
.verdict ul { margin: 8px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--p-muted); }
.verdict--go { border-color: color-mix(in oklab, var(--mint) 55%, transparent); background: color-mix(in oklab, var(--mint) 10%, transparent); }
.verdict--go b { color: var(--mint); }
.verdict--fail { border-color: color-mix(in oklab, var(--neg) 55%, transparent); background: color-mix(in oklab, var(--neg) 10%, transparent); }
.verdict--fail b { color: var(--neg); }
.verdict--warn { border-color: color-mix(in oklab, var(--warn) 55%, transparent); background: color-mix(in oklab, var(--warn) 10%, transparent); }
.verdict--warn b { color: var(--warn); }
.verdict--incomplete { border-color: color-mix(in oklab, var(--p-accent) 55%, transparent); background: color-mix(in oklab, var(--p-accent) 10%, transparent); }
.verdict--incomplete b { color: var(--sky); }
.frozen-preview { margin-top: var(--s-5); border-top: 1px solid var(--line); padding-top: var(--s-4); }
.frozen-preview h3 { margin: 0 0 12px; font-size: var(--t-card); }
.frozen-preview dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.frozen-preview dt { font-size: 12px; color: var(--p-muted); }
.frozen-preview dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.frozen-preview p { margin: 16px 0 0; font-size: 13px; color: var(--p-muted); line-height: 1.6; }

/* ---- launch checklist ---- */
.checklist { margin-top: var(--s-5); }
.checklist h3 { margin: 0; }
.checklist__progress { font-size: 13px; color: var(--p-muted); margin: 8px 0 0; }
.checklist__items { list-style: none; margin: 12px 0 0; padding: 0; }
.checklist__items li { border-top: 1px solid var(--line); }
.checklist__items label { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; cursor: pointer; min-height: 44px; }
.checklist__items input[type="checkbox"] { width: 16px; height: 16px; flex: none; accent-color: var(--mint); transform: translateY(2px); }
.checklist__items label span { font-size: 14px; }
.checklist__items label em { font-style: normal; font-size: 12px; color: var(--p-muted); margin-left: auto; text-align: right; }
.checklist__items input:disabled + span { color: var(--p-ink); }

/* ---- check page ---- */
.wrap--narrow { max-width: 720px; margin-inline: auto; }
.check-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.check-form__row { display: flex; gap: 12px; }
.check-form__row input {
  flex: 1; min-width: 0;
  font: inherit; font-family: var(--font-mono); font-size: 14px; color: var(--p-ink);
  background: var(--navy-3); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 12px;
}
.check-form__row input:focus { border-color: var(--p-accent); }
.check-form__row input::placeholder { color: var(--p-muted); }
.check-form .form__note { margin-top: 12px; }
.token-card { margin-top: var(--s-5); }
.token-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.token-card__head h3 { margin: 0; font-size: var(--t-card); }
.token-card__sub { margin: 4px 0 0; font-size: 13px; color: var(--p-muted); }
#tokenAddr { font-family: var(--font-mono); font-size: 12px; }
.token-card__status {
  flex: none; font-size: 12px; color: var(--mint);
  border: 1px solid color-mix(in oklab, var(--mint) 45%, transparent);
  border-radius: 999px; padding: 4px 12px;
}
.token-card__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
.token-card__facts dt { font-size: 12px; color: var(--p-muted); }
.token-card__facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
#checkResults { margin-top: var(--s-5); }

/* ---- flow diagrams ---- */
.flow {
  display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr 56px 1fr;
  align-items: stretch; gap: 0; margin: var(--s-6) 0;
}
.flow__node {
  background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: var(--s-4); text-align: center;
}
.flow__node b { display: block; font-weight: 500; font-size: 15px; }
.flow__node span { font-size: 12px; color: var(--p-muted); }
.flow__line { position: relative; align-self: center; height: 1px; background: var(--line-strong); overflow: visible; }
.flow__line i {
  position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--p-accent);
  animation: pulse-x 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.flow__line:nth-of-type(4) i { animation-delay: 0.5s; background: var(--mint); }
.flow__line:nth-of-type(6) i { animation-delay: 1s; }
@keyframes pulse-x {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(49px); opacity: 0; }
}
.statement { font-size: 18px; line-height: 1.5; max-width: 640px; margin: var(--s-6) 0 0; }
.beats .card { min-height: 0; }

/* ---- scroll-linked reveals (scrubbed; content visible without script:
        the hidden state only applies once JS adds .js to <html>). JS sets
        opacity + translateY from scroll position every frame — SYMMETRIC:
        140px rise + full fade-in over ONE FULL VIEWPORT of entry travel,
        and a fade-out + extra 80px rise as the element leaves through the
        top edge. Fully reversible up and down. There is NO transition here
        on purpose: a time-based transition would lag behind the finger
        and break the 1:1 coupling with the scroll. The .reveal.card
        selector matches the kit's card transition rule in weight so the
        scrub is not smoothed by it (styles.css loads after motion.css, so
        the tie goes to this file). The old one-shot .is-in system was
        removed 2026-11-20: a 0.7s time-based fade is invisible during a
        phone fling and can never animate on scroll-up. The 48px /
        28%-viewport scrub that replaced it was verified working and
        STILL read as "no animation" on the client's phone — diagnosis
        on his own device (06:19–06:23 WIB): only a brief opacity change
        at the bottom edge, no visible rise, no top fade-out. Hence the
        full-viewport window + symmetric top exit. ---- */
html.js .reveal, html.js .reveal.card {
  opacity: 0;
  transform: translateY(140px);
  transition: none;
}

/* ---- motion paused (the hero art's pause button) ---- */
html.motion-off .flow__line i { animation-play-state: paused; }
html.motion-off .dot--running { animation-play-state: paused; }

/* ---- reduced motion: everything rests, nothing stays hidden ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* the .reveal.card selector must be repeated here: the base rule's
     .reveal.card (0,3,1) would otherwise beat this rule (0,2,1) and
     leave the 8 card reveals hidden under reduced motion. */
  html.js .reveal, html.js .reveal.card { opacity: 1; transform: none; transition: none; }
  .flow__line i { animation: none; opacity: 1; transform: translateX(24px); }
  .dot--running { animation: none; opacity: 1; }
  .motion-toggle { transition: none; }
  .mo-mq__track { animation: none; }
}

/* ---- responsive ---- */
@media (max-width: 1023px) {
  /* the report card leaves the collage cut and stands on its own: the art
     grows with it, and the fact card + motion toggle are hidden so they
     cannot cover the card */
  .hero__art { padding: var(--s-4); overflow: hidden; }
  /* the text column is full-width on a phone, so the scrim widens to cover
     it: centred, spanning the top half of the hero */
  .hero > .wrap::before {
    background: radial-gradient(120% 55% at 50% 18%, color-mix(in oklab, var(--ground-bg) 45%, transparent), transparent 70%);
  }
  .hero__art > .ly-piece--main { position: relative; left: 0; top: 0; width: 100%; }
  .hero__art > .ly-piece--note { display: none; }
  .motion-toggle--art { display: none; }
  /* the hero grows with the art: on a phone the report card is taller than
     the space one screen leaves, and a fixed hero height would clip it */
  main > section.hero { height: auto; min-height: 100svh; }
  /* at this width the hero-text is a flex column, not a grid: let it size to
     its content instead of stretching to the wrap's 1fr row, and let the art
     size to the report card instead of taking the leftover space (its 220px
     floor, which clipped the card) */
  .hero > .wrap > .hero-text { height: auto; align-self: start; }
  .hero__art { flex: none; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__line { width: 1px; height: 28px; margin: 0 auto; }
  .flow__line i { top: 0; left: -3px; animation-name: pulse-y; }
  @keyframes pulse-y {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateY(21px); opacity: 0; }
  }
}
@media (max-width: 639px) {
  /* a phone: the art stays. The report card and the fact card stack below
     the words in normal flow and the hero grows past one screen — hiding
     the art left the hero as bare text on an empty dark ground, which is
     what the client rejected. The extra bottom padding is the pause
     toggle's own strip, so it never covers a card. */
  .hero__art {
    display: block;
    /* wider margins than the tablet's 16px: more of the live field shows
       around the cards instead of hiding behind them */
    padding: var(--s-5) var(--s-5) calc(var(--s-5) + 40px);
  }
  /* the fact card joins the flow under the report card: this (0,3,0) ties
     the kit's hide rule on non-main pieces and wins because this file
     loads later; it also beats the (0,2,0) hide at <=1023px above */
  .hero__art > .ly-piece.ly-piece--note {
    display: block;
    position: relative;
    left: 0; top: 0; bottom: auto;
    width: 100%;
    margin-top: var(--s-5);
  }
  /* the pause toggle returns on phones: the field is livelier now, and the
     control belongs to the art at every width */
  .motion-toggle--art { display: inline-block; }
  /* the marquee strip shows on phones too: this (0,3,0) ties the kit's
     hide in system.css and wins because this file loads later */
  .hero > .wrap > .hero-strip { display: block; }
  /* the report bar's extra right padding is the desktop cut's room (the
     window runs 28px past the frame edge there); on a phone there is no
     cut, and the padding squeezes the label onto two lines */
  .report-card__bar { padding-right: var(--s-4); }
  /* the kit's phone rule turns the secondary button into a text link, but its
     (0,2,0) loses to the pill background's (0,2,1) — restate it here so the
     pill + underline half-state does not show */
  html[data-buttons="pill"] .btn-row > .btn--secondary { background: none; border-color: transparent; }
  .check-form__row { flex-direction: column; }
  .check-form__row .btn { width: 100%; }
  .frozen-preview dl { grid-template-columns: 1fr; gap: 4px; }
  .frozen-preview dd { margin-bottom: 8px; }
  .checklist__items label em { display: none; }
  .token-card__head { flex-direction: column; }
}
@media (max-width: 359px) {
  /* a 320px card is 224px wide: the decorative window dots would push the
     report label onto two lines, so they make way for the label + chip */
  .report-card__dots { display: none; }
}
@media (max-height: 860px) and (min-width: 1024px) {
  /* short desktop viewports: the fact card would crowd the report card */
  .hero__art > .ly-piece--note { display: none; }
}
