/* ============================================================================
   MXNGOWARE site v10
   Layout skeleton: the measured rhythm in ../../ss-layout-v10 (1216 container,
   96/80 bands, 24/32 gaps, the display ramp, card and plan geometry).
   Identity: MXNGOWARE's own. Warm ink, two creams, one mango accent, teal for
   live. Nothing in this file is copied from the reference build or its source.
   ========================================================================= */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

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

:root {
  /* grounds */
  --ink: #120B06;
  --ink-2: #1C1109;
  --ink-card: #21160D;
  --ink-raise: #2A1C11;
  --screen: #0B0704;
  --cream: #FFF6E6;
  --cream-2: #FFFBF2;
  --cream-3: #FFEAD0;

  /* type */
  --fg-ink: #FFF7EF;
  --fg-ink-2: #C2B5A8;
  --fg-cream: #21130B;
  --fg-cream-2: #6B4F3D;

  /* accent: mango is the press-this colour and nothing else */
  --mango: #E66B22;
  --mango-hi: #F08236;
  --mango-light: #FFB347;
  --mango-deep: #A33F0F;
  --on-mango: #1C0C00;
  --gold: #FFD166;
  --teal: #17A398;
  --teal-light: #3FD9CB;
  --teal-deep: #0B5A52;

  --line-ink: rgba(255, 236, 214, .12);
  --line-ink-2: rgba(255, 236, 214, .22);
  --line-cream: rgba(33, 19, 11, .13);
  --line-cream-2: rgba(33, 19, 11, .42);

  /* geometry, from the measured card system */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-pill: 999px;

  /* one contact shadow plus one lift, never a hue */
  --sh-1: 0 1px 2px rgba(18, 11, 6, .10);
  --sh-2: 0 1px 2px rgba(18, 11, 6, .10), 0 6px 16px -6px rgba(18, 11, 6, .18);
  --sh-3: 0 1px 2px rgba(18, 11, 6, .12), 0 18px 40px -16px rgba(18, 11, 6, .35);

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --display: "StreamRound", "Arial Black", "Inter Tight", sans-serif;
  --mono: ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;

  --t-state: .15s;
  --t-card: .3s;
  --t-sweep: .4s;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);

  --container: 1216px;
  --header-h: 80px;
}

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-color: #5A3E2B var(--ink); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px; line-height: 1.6; font-weight: 450; letter-spacing: -.005em;
  color: var(--fg-cream); background: var(--cream-2);
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--on-mango); }
:focus-visible { outline: 2px solid var(--mango); outline-offset: 3px; border-radius: var(--r-xs); }
input { caret-color: var(--mango); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--on-mango);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 800; transition: top var(--t-state) var(--ease); }
.skip:focus { top: 12px; }

.ico { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------ container, bands -- */
.container { width: 100%; max-width: calc(var(--container) + 32px); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; max-width: calc(var(--container) + 64px); } }
.band { padding-block: 80px; position: relative; }
@media (min-width: 768px) { .band { padding-block: 96px; } }
.band-isolate { padding-block: 112px; }
@media (min-width: 768px) { .band-isolate { padding-block: 144px; } }

/* a ground is a scope: everything inside resolves against it */
.on-ink, .on-ink-2 { --bg: var(--ink); --fg: var(--fg-ink); --fg-2: var(--fg-ink-2); --line: var(--line-ink);
  --line-2: var(--line-ink-2); --card: var(--ink-card); --card-2: var(--ink-raise); --accent-text: var(--mango-light);
  --ok-text: var(--teal-light); background: var(--bg); color: var(--fg); }
.on-ink-2 { --bg: var(--ink-2); --card: #271A10; }
.on-cream, .on-cream-2 { --bg: var(--cream); --fg: var(--fg-cream); --fg-2: var(--fg-cream-2); --line: var(--line-cream);
  --line-2: var(--line-cream-2); --card: var(--cream-2); --card-2: #FFFFFF; --accent-text: var(--mango-deep);
  --ok-text: var(--teal-deep); background: var(--bg); color: var(--fg); }
.on-cream-2 { --bg: var(--cream-2); --card: #FFFFFF; --card-2: var(--cream); }

/* ------------------------------------------------------------------ type -- */
.h1-home, .h1-tool, .h1-std, .h2, .h3 { font-weight: 800; color: var(--fg); text-wrap: balance; }
.h1-home, .h1-tool, .h1-std, .h2 { font-family: var(--display); letter-spacing: -.012em; }
.h1-home { font-size: 52px; line-height: .95; font-weight: 850; }
.h1-tool { font-size: 38px; line-height: 1.04; letter-spacing: -.035em; }
.h1-std { font-size: 44px; line-height: 1.04; letter-spacing: -.035em; }
@media (min-width: 768px) {
  .h1-home { font-size: 88px; line-height: .94; }
  .h1-tool { font-size: 64px; line-height: 1.02; }
  .h1-std { font-size: 60px; line-height: 1.05; }
}
.h2 { font-size: 34px; line-height: 1.06; letter-spacing: -.032em; }
@media (min-width: 768px) { .h2 { font-size: 46px; } }
.h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.022em; }
.lede { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 54ch; }
.body { color: var(--fg-2); max-width: 56ch; }
.accent { color: var(--accent-text); }
.lbl { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* section head: heading left, its action right, nothing above the heading */
.head { display: grid; gap: 16px 48px; margin-bottom: 48px; align-items: end; }
@media (min-width: 900px) { .head { grid-template-columns: minmax(0, 1fr) auto; } }
.head .lede { margin-top: 16px; }
.head-c { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.head-c .lede { margin: 16px auto 0; }

/* --------------------------------------------------------------- buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; font-weight: 750; letter-spacing: -.01em;
  transition: background-color var(--t-state) var(--ease-io), border-color var(--t-state) var(--ease-io),
    color var(--t-state) var(--ease-io), box-shadow var(--t-sweep) var(--ease), transform var(--t-state) var(--ease); }
.btn .ico { transition: transform var(--t-state) var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 56px; padding: 0 32px; border-radius: var(--r-sm); font-size: 16px; }
.btn-md { height: 48px; padding: 0 26px; border-radius: var(--r-sm); font-size: 16px; }
.btn-sm { height: 40px; padding: 0 16px; border-radius: var(--r-sm); font-size: 14px; }
.btn-go { background: var(--mango); color: var(--on-mango); box-shadow: var(--sh-1); }
.btn-go:hover { background: var(--mango-hi); box-shadow: var(--sh-2); }
.btn-line { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--fg); }
.btn-full { width: 100%; }
.btn[disabled] { cursor: not-allowed; background: transparent; color: var(--fg-2); border: 1px dashed var(--line-2); box-shadow: none; }
@media (max-width: 639px) { .actions .btn { width: 100%; } }
.lnk { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 750; color: var(--accent-text);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color var(--t-state) var(--ease-io); }
.lnk:hover { text-decoration-color: currentColor; }
.actions { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .actions { display: flex; flex-wrap: wrap; gap: 14px; } }
.hero-top .actions, .hero-split .actions { justify-content: center; }
@media (min-width: 960px) { .hero-top .actions, .hero-split .actions { justify-content: flex-start; } }

/* ----------------------------------------------------------------- chips -- */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 750; line-height: 1.3; white-space: nowrap;
  color: var(--fg-2); background: color-mix(in srgb, var(--fg) 8%, transparent); }
.chip-live { color: var(--ok-text); background: color-mix(in srgb, var(--teal) 16%, transparent); }
.chip-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-dev { color: var(--fg-2); background: transparent; border: 1px dashed var(--line-2); }
.chip-pro { color: var(--accent-text); background: color-mix(in srgb, var(--mango) 14%, transparent); }

/* ---------------------------------------------------------------- header -- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--ink);
  color: var(--fg-ink); border-bottom: 1px solid var(--line-ink); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 850; font-size: 20px;
  letter-spacing: -.01em; color: var(--fg-ink); flex: 0 0 auto; }
.brand img { width: 30px; height: 30px; }
.nav { display: none; align-items: stretch; height: 100%; margin-left: 12px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav > li { position: relative; display: flex; }
.nav > li > a, .nav > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px;
  border: 0; background: transparent; cursor: pointer; font-size: 15px; font-weight: 650; color: var(--fg-ink-2);
  transition: color var(--t-state) var(--ease-io), box-shadow var(--t-state) var(--ease-io); }
.nav > li > a:hover, .nav > li > button:hover, .nav > li > [aria-current="page"],
.nav > li[data-open="true"] > button { color: var(--fg-ink); box-shadow: inset 0 -2px 0 var(--mango); }
.nav .chev { transition: transform var(--t-state) var(--ease-io); }
.nav li[data-open="true"] .chev { transform: rotate(180deg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .btn-line { --fg: var(--fg-ink); --line-2: var(--line-ink-2); display: none; }
.header-actions .btn-go { display: none; }
@media (min-width: 1024px) { .header-actions .btn-line, .header-actions .btn-go { display: inline-flex; } }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--r-sm); border: 1px solid var(--line-ink-2); background: transparent; color: var(--fg-ink); cursor: pointer; }
.burger .ico { width: 20px; height: 20px; }
.burger .x { display: none; }
.burger[aria-expanded="true"] .x { display: block; }
.burger[aria-expanded="true"] .b { display: none; }
@media (min-width: 1024px) { .burger { display: none; } }

/* mega-menu: anchored under its trigger, two columns */
.mega { position: absolute; top: var(--header-h); left: 0; width: 560px; padding: 16px 16px 0;
  background: var(--cream-2); color: var(--fg-cream); border-radius: 0 0 var(--r-lg) var(--r-lg);
  border: 1px solid var(--line-cream); border-top: 0; box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-state) var(--ease-io), transform var(--t-state) var(--ease-io), visibility 0s linear var(--t-state); }
li[data-open="true"] > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.mega-item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px; border-radius: var(--r-md);
  transition: background-color var(--t-state) var(--ease-io); }
.mega-item:hover, .mega-item:focus-visible { background: var(--cream); }
.mega-item strong { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; letter-spacing: -.015em; }
.mega-item span { display: block; font-size: 14px; line-height: 1.45; color: var(--fg-cream-2); margin-top: 3px; }
.mega-item .glyph { width: 28px; height: 28px; color: var(--mango-deep); }
.mega-item .tag { font-size: 12px; font-weight: 700; color: var(--fg-cream-2); border: 1px dashed var(--line-cream-2);
  border-radius: var(--r-pill); padding: 1px 7px; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px;
  padding: 10px 12px 12px; border-top: 1px solid var(--line-cream); font-size: 14px; color: var(--fg-cream-2); }
.mega-foot .lnk { color: var(--mango-deep); }

/* mobile drawer: every route, nothing hidden at phone width */
.drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--ink); color: var(--fg-ink);
  overflow-y: auto; padding-bottom: 32px; }
.drawer[hidden] { display: none; }
.drawer > ul > li { border-bottom: 1px solid var(--line-ink); }
.drawer > ul > li > a { display: flex; align-items: center; min-height: 60px; padding: 0 20px; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.drawer .sub a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px;
  padding: 0 20px 0 36px; font-size: 16px; color: var(--fg-ink-2); }
.drawer .sub { padding-bottom: 8px; }
.drawer .chip { --fg: var(--fg-ink); --fg-2: var(--fg-ink-2); --line-2: var(--line-ink-2); --ok-text: var(--teal-light); }
.drawer-cta { padding: 24px 20px 0; display: grid; gap: 12px; }
.drawer-cta .btn-line { --fg: var(--fg-ink); --line-2: var(--line-ink-2); }
@media (min-width: 1024px) { .drawer { display: none !important; } }

/* ------------------------------------------------------------------ hero -- */
.hero { padding-block: 64px 80px; overflow: hidden; }
@media (min-width: 768px) { .hero { padding-block: 72px 96px; } }
.hero-top { display: grid; gap: 28px; text-align: center; }
.hero-top .lede { margin-inline: auto; }
@media (min-width: 960px) {
  .hero-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; text-align: left; }
  .hero-top .lede { margin-inline: 0; }
  .hero-top .actions { margin-top: 28px; }
}
.hero-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 15px; color: var(--fg-2); }
@media (min-width: 960px) { .hero-note { justify-content: flex-start; } }
.hero-note .ico { color: var(--ok-text); }

/* The product's signal path is the hero's signature diagram: not a feature-card row,
   but the four handoffs that get a chat event onto an OBS scene. */
.signal-route { margin-top: 40px; display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-ink-2);
  background: var(--screen); color: var(--fg-ink); }
.signal-route li { position: relative; min-width: 0; padding: 12px 14px 13px 58px; border-top: 1px solid var(--line-ink); }
.signal-route li:first-child { border-top: 0; }
.signal-route li::after { content: ""; position: absolute; left: 27px; top: 44px; bottom: -13px; width: 1px; background: var(--teal); }
.signal-route li:last-child::after { display: none; }
.signal-route span { position: absolute; left: 10px; top: 11px; display: grid; place-items: center; width: 36px; height: 20px;
  border: 1px solid var(--teal); color: var(--teal-light); font-family: var(--mono); font-size: 9px; }
.signal-route b { display: block; font-size: 14px; line-height: 1.35; }
@media (min-width: 720px) {
  .signal-route { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .signal-route li { padding: 13px 34px 13px 58px; border-top: 0; border-left: 1px solid var(--line-ink); }
  .signal-route li:first-child { border-left: 0; }
  .signal-route li::after { left: auto; top: 50%; right: 8px; bottom: auto; width: 16px; height: 1px; }
  .signal-route li::before { content: ""; position: absolute; right: 7px; top: calc(50% - 3px); width: 6px; height: 6px;
    border-top: 1px solid var(--teal); border-right: 1px solid var(--teal); transform: rotate(45deg); }
  .signal-route li:last-child::before { display: none; }
}

/* the scene: overlays shown where they live, on a transparent browser-source canvas.
   The checkerboard is the one pattern allowed: it is how a streamer reads "transparent". */
.scene { position: relative; margin-top: 48px; aspect-ratio: 4 / 5; border-radius: var(--r-lg);
  border: 1px solid var(--line-ink-2); overflow: hidden; isolation: isolate;
  background-color: #1A100A;
  background-image: conic-gradient(#22160D 25%, transparent 0 50%, #22160D 0 75%, transparent 0);
  background-size: 28px 28px; }
@media (min-width: 720px) { .scene { aspect-ratio: 16 / 9; margin-top: 56px; } }
.scene-bar { position: absolute; z-index: 3; left: 0; right: 0; top: 0; display: flex; justify-content: space-between;
  gap: 12px; padding: 12px 16px; color: var(--fg-ink-2); background: var(--ink); border-bottom: 1px solid var(--line-ink); }
.scene-bar .lbl { font-size: 11px; }
.scene-bar .lbl + .lbl { display: none; }
@media (min-width: 720px) { .scene-bar .lbl + .lbl { display: inline; } }
.ov { position: absolute; z-index: 2; }
.ov-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 3px 8px; border-radius: var(--r-xs); background: var(--ink);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-ink-2); }
.ov-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); }
.ov-tag.dev::before { background: transparent; border: 1px dashed var(--fg-ink-2); }

.ov-clock { right: 5%; left: 5%; top: 12%; }
.ov-snoot { left: 5%; right: 5%; top: 55%; }
.ov-wheel { display: none; }
.ov-strip { left: 0; right: 0; bottom: 0; }
@media (min-width: 720px) {
  .ov-clock { left: auto; right: 3.5%; top: 13%; width: 38%; }
  .ov-snoot { left: auto; right: 3.5%; top: auto; bottom: 18%; width: 38%; }
  .ov-wheel { display: block; left: 6%; top: 15%; width: 27%; }
}

/* Subtick plate */
.clock-plate { background: var(--screen); border: 1px solid var(--line-ink-2); border-radius: var(--r-md); padding: 16px 18px 14px; box-shadow: var(--sh-3); }
.clock { display: flex; justify-content: center; align-items: baseline; font-weight: 900; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; color: var(--fg-ink); line-height: 1; font-size: 52px; }
@media (min-width: 720px) { .clock { font-size: clamp(40px, 5vw, 72px); } }
.clock s { text-decoration: none; color: var(--mango); margin: 0 .04em; }
.clock.is-bumped { animation: bump .6s var(--ease); }
@keyframes bump { 0% { color: var(--gold); } 100% { color: var(--fg-ink); } }
.feed { margin-top: 12px; display: grid; gap: 4px; font-family: var(--mono); font-size: 12px; min-height: 40px; }
.fd { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; color: var(--fg-ink-2); }
.fd-k { color: var(--gold); font-weight: 700; }
.fd-w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-a { color: var(--teal-light); font-weight: 700; }
.fd-new { animation: rowin .5s var(--ease); }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } }

/* Snoot plate */
.q-card { background: var(--cream-2); color: var(--fg-cream); border-radius: var(--r-md); padding: 14px 16px;
  border: 2px solid var(--mango); box-shadow: var(--sh-3); }
.q-card b { display: block; font-family: var(--mono); font-size: 12px; color: var(--mango-deep); font-weight: 700; }
.q-card p { font-size: 18px; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; margin-top: 4px; }
@media (min-width: 720px) { .q-card p { font-size: clamp(16px, 1.6vw, 20px); } }

/* Wheel plate */
.wheel-hold { position: relative; aspect-ratio: 1; width: 100%; }
.wheel-hold canvas { width: 100%; height: 100%; }
.wheel-pin { position: absolute; top: -4px; left: 50%; width: 0; height: 0; transform: translateX(-50%);
  border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 18px solid var(--fg-ink); }
.pin-ink { border-top-color: var(--fg-cream); }
.winner { margin-top: 12px; text-align: center; font-weight: 800; font-size: 15px; color: var(--fg-ink); min-height: 24px; }
.winner.is-on { color: var(--gold); }
.winner span { display: inline-block; padding: 2px 10px; border-radius: var(--r-xs); background: var(--ink); }

/* Marquee strip: the in-development tool, running */
.strip { position: relative; display: flex; overflow: hidden; background: var(--teal); color: #06231F; height: 44px; align-items: center; }
.strip-track { display: flex; flex: 0 0 auto; animation: crawl 38s linear infinite; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
.strip-track span { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; font-weight: 800; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.strip-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #06231F; }
@keyframes crawl { to { transform: translateX(-50%); } }
.strip-tag { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 14px;
  background: #06231F; color: var(--teal-light); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
/* The crawl fades into the tag instead of being cut mid-word at its edge. */
.strip-tag::before { content: ""; position: absolute; right: 100%; top: 0; bottom: 0; width: 28px;
  background: linear-gradient(to right, rgba(6, 35, 31, 0), #06231F); pointer-events: none; }
@media (max-width: 719px) { .strip-tag { padding: 0 10px; letter-spacing: .06em; } }

/* ----------------------------------------------------------------- grids -- */
.g3, .g2, .g4 { display: grid; gap: 24px; }
.g2 { gap: 32px; }
@media (min-width: 768px) { .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* A last card alone in its row takes the whole row (the tools index has seven). */
@media (min-width: 900px) { .g3 > .card-span { grid-column: 1 / -1; } }
@media (min-width: 640px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g3 > *, .g2 > *, .g4 > *, .capg > * { min-width: 0; }
.mid-cta { display: flex; justify-content: center; margin-top: 48px; }

.rack-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px;
  padding: 8px 12px; border: 1px solid var(--line-cream-2); border-bottom: 0; background: var(--ink); color: var(--fg-ink-2);
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.rack-label span:nth-child(2) { display: none; }
.rack-label span:last-child { color: var(--teal-light); }
@media (min-width: 700px) { .rack-label span:nth-child(2) { display: inline; } }
.live-rack { gap: 0; border: 1px solid var(--line-cream-2); }
.live-rack .card { border: 0; border-top: 1px solid var(--line-cream); border-radius: 0; box-shadow: none; }
.live-rack .card:first-child { border-top: 0; }
.live-rack .card-hover:hover { transform: none; box-shadow: inset 0 0 0 2px var(--mango); border-color: transparent; }
@media (min-width: 900px) {
  .live-rack .card { border-top: 0; border-left: 1px solid var(--line-cream); }
  .live-rack .card:first-child { border-left: 0; }
}

/* ----------------------------------------------------------------- cards -- */
.card { position: relative; display: flex; flex-direction: column; background: var(--card); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
  transition: transform var(--t-card) var(--ease), box-shadow var(--t-card) var(--ease), border-color var(--t-card) var(--ease); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--line-2); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body p { color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.card-foot { margin-top: auto; padding-top: 8px; }
.card-dev { border-style: dashed; border-color: var(--line-2); box-shadow: none; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* the product cap on a tool card: the live widget itself, not a picture of it */
.cap { position: relative; height: 250px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); padding: 36px 20px 16px; }
.cap-ink { background: var(--screen); }
.cap-gold { background: var(--gold); }
.cap-mango { background: var(--mango); }
.cap-teal { background: var(--teal); }
.cap-check { background-color: #1A100A; background-image: conic-gradient(#22160D 25%, transparent 0 50%, #22160D 0 75%, transparent 0); background-size: 20px 20px; }
.cap .clock { font-size: 52px; }
.cap .wheel-hold { width: 150px; }
.cap .winner { margin-top: 8px; }
.cap .q-card { width: 86%; border-color: var(--ink); }
.cap .lbl { position: absolute; left: 14px; top: 12px; color: var(--fg-ink-2); font-size: 11px; }
.cap-gold .lbl, .cap-teal .lbl, .cap-mango .lbl { color: #2A1402; }
.cap .strip { position: absolute; left: 0; right: 0; bottom: 36px; }
.ladder { width: 100%; display: grid; gap: 8px; font-size: 14px; }
.ladder li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; color: var(--fg-ink-2); }
.ladder li b { font-family: var(--mono); color: var(--gold); font-size: 12px; }
.ladder li strong { color: var(--fg-ink); font-weight: 750; }
.ladder .bar { grid-column: 2 / -1; height: 6px; border-radius: var(--r-pill); background: var(--line-ink); overflow: hidden; }
.ladder .bar i { display: block; height: 100%; background: var(--teal-light); }

/* setup steps */
.step { padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--mango); color: var(--on-mango); font-weight: 850; font-size: 15px; }
.step h3 { font-size: 20px; }
.step p { color: var(--fg-2); font-size: 16px; }
.step .after { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.url { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: var(--r-sm); background: var(--screen);
  border: 1px solid var(--line-ink-2); font-family: var(--mono); font-size: 12px; color: var(--fg-ink-2); }
.url code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url button { flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: var(--r-xs); border: 0; background: var(--mango); color: var(--on-mango);
  font-family: var(--sans); font-weight: 800; font-size: 14px; cursor: pointer; transition: background-color var(--t-state) var(--ease-io); }
.url button:hover { background: var(--mango-hi); }
.url button.is-done { background: var(--teal); color: #06231F; }
.obs { border-radius: var(--r-sm); border: 1px solid var(--line-ink-2); overflow: hidden; font-size: 14px; }
.obs > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--line-ink); color: var(--fg-ink-2); }
.obs > div:first-child { border-top: 0; background: var(--ink-raise); color: var(--fg-ink); font-weight: 700; }
.obs code { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.detect { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); border: 1px dashed var(--line-ink-2); font-size: 14px; }
.detect .d { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; border: 2px solid var(--fg-ink-2); }
.detect.is-live { border-style: solid; border-color: rgba(63, 217, 203, .5); }
.detect.is-live .d { background: var(--teal-light); border-color: var(--teal-light); }
.detect strong { display: block; font-weight: 800; color: var(--fg-ink); }
.detect span { color: var(--fg-ink-2); }
.patch-chain { counter-reset: patch; gap: 16px; }
.patch-chain .step { position: relative; border-radius: 0; border-color: var(--line-ink-2); box-shadow: inset 3px 0 0 var(--teal); }
@media (min-width: 900px) {
  .patch-chain { gap: 32px; }
  .patch-chain .step:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 30px; right: -33px; width: 32px;
    border-top: 1px solid var(--teal); }
  .patch-chain .step:not(:last-child)::before { content: ""; position: absolute; z-index: 3; top: 26px; right: -33px; width: 8px; height: 8px;
    border-top: 1px solid var(--teal); border-right: 1px solid var(--teal); transform: rotate(45deg); }
}

/* checklist cards with a solid header */
.cl { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.cl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 850; font-size: 20px; letter-spacing: -.025em; }
.cl-mango { background: var(--mango); color: var(--on-mango); }
.cl-teal { background: var(--teal); color: #06231F; }
.cl-ink { background: var(--ink); color: var(--fg-ink); }
.cl-head .cl-sub { font-size: 12px; font-weight: 750; letter-spacing: 0; }
.cl-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.cl-body > p { color: var(--fg-2); font-size: 16px; }
.field-notes { gap: 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line-cream-2); }
.field-notes .cl { border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line-cream); }
.field-notes .cl:first-child { border-top: 0; }
.field-notes .cl-head { padding: 14px 18px; }
.field-notes .cl-body { padding: 22px 18px 26px; }
@media (min-width: 900px) {
  .field-notes .cl { border-top: 0; border-left: 1px solid var(--line-cream); }
  .field-notes .cl:first-child { border-left: 0; }
}
.ticks { display: grid; gap: 11px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--fg); }
.ticks .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--ok-text); }
.ticks .ico.no { color: var(--fg-2); }

/* ------------------------------------------------------- plans & compare -- */
.plans { display: grid; gap: 32px; max-width: 880px; margin-inline: auto; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); }
.plan-pro { border: 1px dashed rgba(230, 107, 34, .7); background: #2A190D; }
.plan-name { font-size: 28px; font-weight: 850; letter-spacing: -.035em; }
.plan-line { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.plan-line small { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; letter-spacing: -.005em; line-height: 1.55; color: var(--fg-2); }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.plan .ticks li { color: var(--fg); }
.plan-pro .ticks .ico { color: var(--accent-text); }
.ribbon { position: absolute; top: -14px; left: 32px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--gold); color: var(--on-mango);
  font-size: 14px; font-weight: 800; box-shadow: var(--sh-2); }
.plan-after { text-align: center; margin-top: 40px; display: grid; gap: 8px; justify-items: center; font-size: 16px; color: var(--fg-2); }

.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; background: var(--card); }
table.cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.cmp caption { text-align: left; padding: 16px 20px; font-size: 15px; color: var(--fg-2); caption-side: bottom; border-top: 1px solid var(--line); }
.cmp th, .cmp td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp th[scope="row"] { text-align: left; font-weight: 600; color: var(--fg); }
.cmp thead th { font-size: 14px; font-weight: 800; color: var(--fg); background: rgba(255, 236, 214, .04); }
.cmp thead th:first-child { text-align: left; color: var(--fg-2); }
.cmp .grp th { text-align: left; font-size: 14px; font-weight: 800; color: var(--accent-text); padding-top: 24px; }
.cmp td { color: var(--fg-2); }
.cmp .pro { background: rgba(230, 107, 34, .07); }
.cmp thead .pro { color: var(--accent-text); background: rgba(230, 107, 34, .14); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; font-weight: 800; color: var(--fg); }
.cmp .yes { width: 18px; height: 18px; margin: 0 auto; color: var(--ok-text); }
.cmp .no { width: 16px; height: 16px; margin: 0 auto; color: var(--fg-2); }
.cmp .chip { font-size: 12px; }

/* --------------------------------- the mechanism band, where quotes would go -- */
.proof { display: grid; gap: 32px; }
@media (min-width: 960px) { .proof { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; } }
.proof-panel { border-radius: var(--r-lg); padding: 32px; background: var(--mango); color: var(--on-mango); }
@media (min-width: 960px) { .proof-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.proof-panel .h2 { color: var(--on-mango); font-size: 38px; }
.proof-panel p { margin-top: 16px; font-size: 16px; color: #2E1503; }
.proof-panel .lnk { margin-top: 20px; color: var(--on-mango); }
.rules { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .rules { columns: 2; } }
@media (min-width: 1100px) { .rules { columns: 3; } }
.rule { break-inside: avoid; margin-bottom: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.rule code { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-xs);
  background: var(--ink); color: var(--gold); }
.rule h3 { margin-top: 14px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.rule p { margin-top: 6px; font-size: 15px; color: var(--fg-2); }
.rule .who { display: block; margin-top: 12px; font-size: 14px; font-weight: 750; color: var(--accent-text); }
.operator-manual { columns: 1; border-top: 3px solid var(--ink); }
.operator-manual .rule { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 1.6fr); gap: 4px 20px;
  margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line-cream); border-radius: 0; box-shadow: none; }
.operator-manual .rule code { grid-row: 1 / span 3; align-self: start; justify-self: start; margin-top: 2px; }
.operator-manual .rule h3 { margin-top: 0; }
.operator-manual .rule p { grid-column: 2; }
.operator-manual .rule .who { grid-column: 2; margin-top: 6px; }
@media (max-width: 639px) {
  .operator-manual .rule { grid-template-columns: 1fr; }
  .operator-manual .rule code, .operator-manual .rule p, .operator-manual .rule .who { grid-column: 1; grid-row: auto; }
  .operator-manual .rule h3 { margin-top: 8px; }
}

/* -------------------------------------------------------- final CTA card -- */
.cta-card { display: grid; gap: 40px; padding: 40px 24px; border-radius: var(--r-xl); background: var(--ink); color: var(--fg-ink);
  box-shadow: var(--sh-3); position: relative; overflow: hidden;
  --fg: var(--fg-ink); --fg-2: var(--fg-ink-2); --line: var(--line-ink); --line-2: var(--line-ink-2); --accent-text: var(--mango-light); --ok-text: var(--teal-light); }
@media (min-width: 900px) { .cta-card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; padding: 56px; } }
.cta-card .lede { margin-top: 16px; }
.cta-sticker { position: absolute; right: -48px; bottom: -56px; width: 200px; height: 200px; transform: rotate(-12deg); pointer-events: none; }
@media (max-width: 899px) { .cta-sticker { display: none; } }
.reassure { display: grid; gap: 16px; align-content: center; position: relative; z-index: 1; }
@media (min-width: 900px) { .reassure { padding-left: 32px; border-left: 1px solid var(--line-ink); margin-right: 96px; } }
.reassure li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 15px; color: var(--fg-ink-2); }
.reassure .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--teal-light); }
.reassure b { color: var(--fg-ink); font-weight: 750; }

/* --------------------------------------------- tool page specific pieces -- */
.hero-split { display: grid; gap: 48px; align-items: center; }
.hero-split > div:first-child { text-align: center; }
.hero-split .lede { margin: 24px auto 0; }
@media (min-width: 960px) {
  .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .hero-split > div:first-child { text-align: left; }
  .hero-split .lede { margin-inline: 0; }
}
.hero-chips { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
@media (min-width: 960px) { .hero-chips { justify-content: flex-start; } }
.stage { border-radius: var(--r-lg); padding: 20px 24px 24px; border: 1px solid var(--line-2); }
.stage-ink { background: var(--screen); }
.stage-gold { background: var(--gold); border-color: transparent; }
.stage-mango { background: var(--mango); border-color: transparent; }
.stage-check { background-color: #1A100A; background-image: conic-gradient(#22160D 25%, transparent 0 50%, #22160D 0 75%, transparent 0); background-size: 24px 24px; }
.stage-lbl { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: var(--fg-ink-2); }
.stage-gold .stage-lbl, .stage-mango .stage-lbl { color: #2A1402; }
.stage .wheel-hold { width: min(100%, 340px); margin-inline: auto; }
.stage-gold .winner span { background: var(--ink); }
.stage .clock { font-size: clamp(52px, 8vw, 96px); }
.stack { display: grid; gap: 10px; }
.stack .q-card { border-color: transparent; box-shadow: var(--sh-1);
  transition: border-color var(--t-card) var(--ease), transform var(--t-card) var(--ease), box-shadow var(--t-card) var(--ease); }
.stack .q-card.is-pinned { border-color: var(--ink); transform: translateX(-6px); box-shadow: var(--sh-3); }
.stack .q-card .pin { float: right; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--fg-cream-2); }
.stack .q-card.is-pinned .pin { color: var(--mango-deep); }

/* sample settings tiles: the honest replacement for a proof-by-numbers band */
.what { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .what { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.what .lede { margin-top: 20px; }
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { padding: 18px; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; box-shadow: var(--sh-1); }
.tile .k { font-size: 14px; font-weight: 650; color: var(--fg-2); }
.tile .v { font-size: 28px; font-weight: 850; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile .n { font-size: 14px; color: var(--fg-2); }
.tiles-note { grid-column: 1 / -1; font-size: 14px; color: var(--fg-2); }

.capg { display: grid; gap: 32px; }
@media (min-width: 768px) { .capg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.why { display: grid; gap: 32px; }
@media (min-width: 768px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; } }
.why-row { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.why-row .glyph { width: 40px; height: 40px; color: var(--accent-text); }
.why-row p { margin-top: 8px; color: var(--fg-2); font-size: 16px; }

.deep { display: grid; gap: 32px; }
@media (min-width: 960px) { .deep { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.deep-dark { border-radius: var(--r-lg); background: var(--ink-card); border: 1px solid var(--line-ink); padding: 28px; display: grid; gap: 20px; }
.deep-dark .acc-i { background: var(--ink-raise); }
.deep-warm { border-radius: var(--r-lg); background: var(--cream-3); color: var(--fg-cream); padding: 28px; display: flex; flex-direction: column; gap: 16px;
  --fg: var(--fg-cream); --fg-2: #5E4231; --line: var(--line-cream); --ok-text: var(--teal-deep); --accent-text: var(--mango-deep); }
.deep-warm > p { color: #5E4231; }

/* accordion */
.acc { display: grid; gap: 12px; }
.acc-c { max-width: 820px; margin-inline: auto; }
.acc-i { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.acc-h { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 22px;
  background: transparent; border: 0; cursor: pointer; text-align: left; font-size: 16px; font-weight: 750; letter-spacing: -.015em; color: var(--fg);
  transition: background-color var(--t-state) var(--ease-io); }
.acc-h:hover { background: color-mix(in srgb, var(--fg) 4%, transparent); }
.acc-h .ico { color: var(--accent-text); transition: transform var(--t-state) var(--ease-io); }
.acc-i.is-open .acc-h .ico { transform: rotate(180deg); }
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-i.is-open .acc-p { grid-template-rows: 1fr; }
.acc-p > div { overflow: hidden; }
.acc-p p { padding: 0 22px 16px; color: var(--fg-2); font-size: 16px; max-width: 66ch; }
.acc-p ul, .acc-p ol { padding: 0 22px 16px 40px; color: var(--fg-2); font-size: 16px; list-style: disc; display: grid; gap: 6px; }
.acc-p ol { list-style: decimal; }
.acc-p code { font-family: var(--mono); font-size: 14px; }
.acc-p a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }
html:not(.js) .acc-p { grid-template-rows: 1fr; }

/* ----------------------------------------------------------- page heads -- */
.page-head { padding-block: 80px; }
@media (min-width: 768px) { .page-head { padding-block: 96px; } }
.page-head .lede { margin-top: 20px; }
.page-head-c { text-align: center; }
.page-head-c .lede { margin-inline: auto; }
.page-head-c .actions { justify-content: center; }

/* help / faq two-pane */
.search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px; border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: #FFFFFF; box-shadow: var(--sh-1); }
.search .ico { color: var(--fg-2); width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 16px; outline: none; color: var(--fg-cream); }
.search input::placeholder { color: #7A5E4C; }
.search:focus-within { border-color: var(--mango); box-shadow: 0 0 0 3px rgba(230, 107, 34, .22); }
.two-pane { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 1024px) { .two-pane { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; } }
.rail { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; align-content: start; }
@media (min-width: 1024px) { .rail { display: grid; position: sticky; top: calc(var(--header-h) + 24px); overflow: visible; } }
.rail a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600; color: var(--fg-2); white-space: nowrap; transition: background-color var(--t-state) var(--ease-io), color var(--t-state) var(--ease-io); }
.rail a:hover { background: #FFFFFF; color: var(--fg); }
.rail a[aria-current="true"] { background: #FFFFFF; color: var(--fg); box-shadow: 0 0 0 1px var(--line); }
.rail a b { font-size: 12px; font-weight: 700; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.qa-group + .qa-group { margin-top: 56px; }
.qa-group h2 { font-size: 28px; font-weight: 850; letter-spacing: -.03em; }
.qa-group .rule-line { width: 44px; height: 3px; border-radius: var(--r-pill); background: var(--mango); margin: 12px 0 24px; }
.empty { padding: 24px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); color: var(--fg-2); }

/* prose (legal) */
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; font-weight: 850; letter-spacing: -.025em; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li, .prose dd { color: var(--fg-2); font-size: 16px; max-width: 66ch; }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 12px; display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.prose li::marker { color: var(--mango); }
.prose dl { margin-top: 12px; display: grid; gap: 6px; }
.prose dt { font-weight: 800; margin-top: 12px; }
.prose code { font-family: var(--mono); font-size: 14px; background: var(--cream-3); padding: 1px 6px; border-radius: var(--r-xs); }
.prose a { color: var(--mango-deep); text-decoration: underline; text-underline-offset: 4px; }
.stamp { display: inline-block; margin-top: 24px; padding: 8px 14px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); font-size: 14px; color: var(--fg-2); }

/* about */
.story { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.story .body { margin-top: 16px; }
.story-art { display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: var(--r-xl); background: var(--mango); overflow: hidden; }
.story-art img { width: 58%; transform: rotate(-8deg); filter: drop-shadow(0 18px 24px rgba(28, 12, 0, .3)); }

/* auth */
.auth { padding: 80px 16px; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 420px; border-radius: var(--r-lg); overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--sh-3); }
.auth-body { padding: 32px; display: grid; gap: 18px; }
.auth-body > img { width: 44px; height: 44px; justify-self: center; }
.auth-body h1 { text-align: center; font-size: 24px; font-weight: 850; letter-spacing: -.03em; }
.auth-body .sub { text-align: center; font-size: 15px; color: var(--fg-2); margin-top: -8px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input { height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--cream-2); font-size: 16px; color: var(--fg-cream); }
.field input:focus { outline: none; border-color: var(--mango); box-shadow: 0 0 0 3px rgba(230, 107, 34, .22); }
.field input:disabled { background: var(--cream); color: var(--fg-cream-2); cursor: not-allowed; }
.auth-state { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--cream); font-size: 15px; color: var(--fg-cream); }
.auth-state .ico { width: 18px; height: 18px; color: var(--mango-deep); margin-top: 2px; }
.auth-foot { padding: 16px 24px; text-align: center; font-size: 15px; background: var(--cream); border-top: 1px solid var(--line); color: var(--fg-2); }
.auth-foot a { color: var(--mango-deep); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

/* -------------------------------------------------- breadcrumb + footer -- */
.crumbs { background: var(--ink); color: var(--fg-ink-2); font-size: 14px; border-bottom: 1px solid var(--line-ink); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 16px; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: #8A7666; }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--fg-ink); }
.crumbs [aria-current] { color: var(--fg-ink); font-weight: 650; }
.site-footer { background: var(--ink); color: var(--fg-ink-2); padding-top: 64px; }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } }
.foot-brand p { margin-top: 16px; font-size: 15px; max-width: 36ch; }
.foot-col h2 { font-size: 14px; font-weight: 800; color: var(--fg-ink); margin-bottom: 12px; letter-spacing: -.01em; }
.foot-col a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; gap: 8px; transition: color var(--t-state) var(--ease-io); }
.foot-col a:hover { color: var(--fg-ink); }
.foot-col .chip { --fg: var(--fg-ink); --fg-2: var(--fg-ink-2); --line-2: var(--line-ink-2); font-size: 12px; padding: 1px 7px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 56px; padding-block: 18px; border-top: 1px solid var(--line-ink); font-size: 14px; }
.legal ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.legal a { display: inline-flex; min-height: 36px; align-items: center; }
.legal a:hover { color: var(--fg-ink); }

/* phone width: every link and control is at least a 44px target */
@media (max-width: 720px) {
  .lnk, .foot-col a, .legal a, .crumbs a { min-height: 44px; min-width: 44px; }
  .url button { height: 44px; }
  .auth-foot a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------------------------------------------------------------- motion -- */
/* content is visible by default; the .js class opts a block into a reveal */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="row"] { opacity: 1; transform: none; }
.js [data-reveal="row"] > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-reveal="row"].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="row"].is-in > :nth-child(2) { transition-delay: .07s; }
.js [data-reveal="row"].is-in > :nth-child(3) { transition-delay: .14s; }
.js [data-reveal="row"].is-in > :nth-child(4) { transition-delay: .21s; }
/* the scene comes on like a monitor: a wipe up from its bottom edge */
.js [data-reveal="scene"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 16px); transition: clip-path .9s var(--ease); }
.js [data-reveal="scene"].is-in { clip-path: inset(0 0 0 0 round 16px); }

/* reduced motion: one-frame transitions, and every authored moment stops */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .016s !important; animation-name: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="row"] > *, .js [data-reveal="scene"] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
