/* ============================================================================
   RootBlocks marketing site. Design system ported from the ratified mock.
   Reveal animations are gated behind a `.js` class on <html> (set by an inline
   head script) so no-JS fetchers, link-preview bots and reader modes get fully
   visible content; only JS users see the progressive reveal.
   ============================================================================ */

:root {
  --bg: #fff; --tx: #1d1d1f; --mut: #6e6e73; --sec: #f5f5f7; --line: #d2d2d7; --line2: #e8e8ed;
  --grn: #2f9e44; --grn-d: #237428; --grn-soft: #eaf6ec; --amber: #b5820e; --amber-soft: #fbf3e0;
  --red: #c92a2a; --red-soft: #fdecec;
  --cbg: #0b0b0d; --ccard: #151518; --ccard2: #1c1c1f; --ctx: #f5f5f7; --cmut: #9a9aa1; --cline: #26262b;
  --r: 14px; --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Never let motion-averse users depend on the JS reveal for visibility. */
  .js .rv, .js .fnode, .js .fline, .js .fstamp { opacity: 1 !important; transform: none !important; }
  .js .link { opacity: 1 !important; transform: none !important; }
  .js .trail:not(.go) .bseal.big i { background: currentColor !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; letter-spacing: -0.011em;
}
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mut { color: var(--mut); } .grn { color: var(--grn); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.028em; line-height: 1.08; font-weight: 800; }
h1 { font-size: clamp(42px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
p { margin: 0; }
section { padding: 110px 0; }
section[id], [id="early-access"] { scroll-margin-top: 76px; }
.band { background: var(--sec); }
.lead { font-size: clamp(17px, 1.8vw, 21px); color: var(--mut); line-height: 1.55; }
.center { text-align: center; }
.kicker { max-width: 820px; margin: 0 auto 56px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grn-d); }
.reserving { margin-top: 12px; display: inline-block; font-size: 13px; font-weight: 600; color: var(--grn-d); background: #f0f9f1; border: 1px solid #cfe9d4; border-radius: 8px; padding: 6px 12px; }

/* visually hidden, still read by assistive tech */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* skip link (a11y) */
.skip { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* focus visibility (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--grn); outline-offset: 2px; border-radius: 4px;
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 980px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: 0.18s; font-family: inherit; }
.btn.p { background: #000; color: #fff; }
.btn.p:hover { transform: translateY(-1px); opacity: 0.88; }
.btn.g { background: #fff; border-color: var(--line); color: var(--tx); }
.btn.g:hover { border-color: var(--tx); }
.btn.grn { background: var(--grn-d); color: #fff; }
.btn.grn:hover { background: #1b5c20; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 980px; padding: 7px 16px; font-size: 13.5px; color: var(--mut); background: #fff; }
.dotg { width: 7px; height: 7px; border-radius: 50%; background: var(--grn); display: inline-block; }

/* ===== block seal ===== */
.bseal { display: inline-grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; width: 14px; height: 14px; vertical-align: -2px; --bs-off: #d8d8dd; }
.bseal i { background: var(--bs-off); border-radius: 2px; transition: background 0.5s; }
.bseal.f1 i:nth-child(3) { background: currentColor; }
.bseal.f2 i:nth-child(3), .bseal.f2 i:nth-child(4) { background: currentColor; }
.bseal.f3 i:nth-child(3), .bseal.f3 i:nth-child(4), .bseal.f3 i:nth-child(1) { background: currentColor; }
.bseal.f4 i { background: currentColor; }
.appwin .bseal { --bs-off: #3f3f45; width: 11px; height: 11px; gap: 1.5px; vertical-align: -1px; }
.bseal.big { width: 52px; height: 52px; gap: 4px; margin: 0 auto 18px; display: grid; }
.bseal.big i { border-radius: 4px; }
.bseal.big i:nth-child(3) { transition-delay: 0.15s; }
.bseal.big i:nth-child(4) { transition-delay: 0.35s; }
.bseal.big i:nth-child(1) { transition-delay: 0.55s; }
.bseal.big i:nth-child(2) { transition-delay: 0.75s; }
/* Only force the "off" state (unfilled) when JS drives the reveal; no-JS shows filled. */
.js .trail:not(.go) .bseal.big i { background: var(--bs-off) !important; }

/* nav */
header.site { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line2); }
nav.site { display: flex; align-items: center; gap: 26px; height: 60px; }
nav.site .logo img { height: 30px; display: block; }
nav.site .links { display: flex; gap: 22px; font-size: 14px; color: #424245; align-items: center; }
nav.site .links a:hover { color: #000; }
nav.site .sp { flex: 1; }
.langswitch { position: relative; font-size: 13px; }
.langswitch summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--mut); border: 1px solid var(--line); border-radius: 980px; padding: 5px 12px; }
.langswitch summary::-webkit-details-marker { display: none; }
.langswitch summary:hover, .langswitch[open] summary { border-color: var(--tx); color: var(--tx); }
.langswitch .langmenu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; min-width: 160px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); padding: 6px; display: flex; flex-direction: column; gap: 2px;
}
.langswitch .langmenu a { padding: 8px 10px; border-radius: 8px; font-weight: 500; color: var(--tx); }
.langswitch .langmenu a:hover { background: var(--sec); }
.langswitch .langmenu a[aria-current="true"] { color: var(--grn-d); font-weight: 700; }
/* In the footer there is no room below, so the menu opens upward and hangs off
   the left edge of its column instead of the right edge of the viewport. */
.langswitch[data-drop="up"] .langmenu { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }
.langswitch[data-drop="up"] summary { display: inline-block; }
.langswitch-mobile .langmenu {
  flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 4px 0 0; border: 0; background: none; box-shadow: none;
}
.langswitch-mobile .langmenu a {
  font-size: 14px; border: 1px solid var(--line); border-radius: 980px; padding: 6px 12px;
}
.langswitch-mobile .langmenu a[aria-current="true"] { border-color: var(--grn-d); }
.navburger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--tx); }
.navburger svg { display: block; }
.mobilemenu { display: none; }
@media (max-width: 820px) {
  nav.site .links.desktop { display: none; }
  nav.site .btn.desktop { display: none; }
  .navburger { display: inline-flex; }
  .mobilemenu[data-open="true"] { display: block; border-bottom: 1px solid var(--line2); background: #fff; }
  .mobilemenu nav { display: flex; flex-direction: column; padding: 8px 24px 18px; gap: 4px; }
  .mobilemenu a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line2); }
  .mobilemenu .btn { margin-top: 12px; justify-content: center; }
}

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; } .d5 { transition-delay: 0.4s; }

/* ===== HERO ===== */
#hero { padding: 96px 0 90px; text-align: center; position: relative; overflow: hidden; }
#hero .badge { margin-bottom: 26px; }
#hero h1 { max-width: 1040px; margin: 0 auto; font-size: clamp(34px, 5.4vw, 64px); }
/* Each headline line stays whole on desktop ("build" never dangles alone). */
@media (min-width: 700px) { #hero .h1line { white-space: nowrap; } }
#hero .subhead { max-width: 760px; margin: 22px auto 0; font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
#hero .lead { max-width: 660px; margin: 20px auto 0; }
#hero .ctas { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
#hero .trust { margin-top: 30px; font-size: 14px; color: var(--mut); }
#hero .trust b { color: var(--tx); font-weight: 600; }

/* ===== Mobile refinements (phones / folded foldables) ===== */
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  #hero { padding: 48px 0 52px; }
  #hero .badge { margin-bottom: 18px; }
  #hero h1 { font-size: clamp(26px, 7.4vw, 38px); }
  #hero .subhead { font-size: 18px; margin-top: 16px; }
  #hero .lead { margin-top: 16px; }
  #hero .ctas { margin-top: 24px; gap: 10px; }
  #hero .ctas .btn { width: 100%; }
  #hero .flow { margin-top: 40px; }
  .pill { font-size: 12px; padding: 6px 12px; line-height: 1.35; }
  h2 { font-size: clamp(25px, 6.6vw, 34px); }
}

.flow { max-width: 880px; margin: 64px auto 0; display: flex; align-items: stretch; gap: 0; justify-content: center; }
.fnode { flex: 1; max-width: 250px; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); padding: 22px 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); position: relative; }
.js .fnode { opacity: 0; transform: translateY(14px) scale(0.97); }
.fnode .t { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mut); margin-bottom: 6px; }
.fnode .v { font-weight: 700; font-size: 16.5px; letter-spacing: -0.02em; }
.fnode .s { font-size: 13px; color: var(--mut); margin-top: 5px; }
.fline { width: 56px; align-self: center; height: 2px; background: var(--line); position: relative; }
.js .fline { transform: scaleX(0); transform-origin: left; }
.fline::after { content: ""; position: absolute; right: -1px; top: -3.5px; border-left: 8px solid var(--line); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.play .fnode { animation: npop 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.play .fline { animation: lgrow 0.4s ease forwards; }
.play .fnode:nth-child(1) { animation-delay: 0.15s; }
.play .fline:nth-child(2) { animation-delay: 0.65s; }
.play .fnode:nth-child(3) { animation-delay: 1s; }
.play .fline:nth-child(4) { animation-delay: 1.5s; }
.play .fnode:nth-child(5) { animation-delay: 1.85s; }
@keyframes npop { to { opacity: 1; transform: none; } }
@keyframes lgrow { to { transform: scaleX(1); } }
.fstamp { position: absolute; right: -14px; top: -16px; background: var(--grn-d); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 10px; border-radius: 8px; box-shadow: 0 4px 14px rgba(47, 158, 68, 0.35); }
.js .fstamp { transform: rotate(6deg) scale(0); }
.play .fstamp { animation: stamp 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) 2.5s forwards; }
@keyframes stamp { to { transform: rotate(6deg) scale(1); } }
.fnode.receipt { border-color: var(--grn); background: linear-gradient(180deg, #fff, #f4fbf5); }
.evlink { text-decoration: underline dotted; text-underline-offset: 3px; }
.evlink:hover { color: var(--grn-d); }
@media (max-width: 760px) {
  .flow { flex-direction: column; align-items: center; gap: 10px; }
  .fline { width: 34px; margin: 8px 0; }
  .js .fline { transform: rotate(90deg) scaleX(0); }
  .fnode { max-width: 340px; width: 100%; }
}

/* ===== PROBLEM ===== */
#problem .big { max-width: 860px; margin: 0 auto; text-align: center; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 960px; margin: 52px auto 0; }
@media (max-width: 820px) { .pstats { grid-template-columns: 1fr; } }
.pstat { background: #fff; border: 1px solid var(--line2); border-radius: var(--r); padding: 28px 24px; text-align: center; }
.pstat .n { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.035em; }
.pstat .l { font-size: 14.5px; color: var(--tx); margin-top: 8px; line-height: 1.45; }
.pstat .src { font-size: 12px; color: var(--mut); margin-top: 8px; }
.pstat .src a { text-decoration: underline; text-underline-offset: 2px; }
#problem .body { max-width: 720px; margin: 30px auto 0; text-align: center; }
#problem .punch { max-width: 760px; margin: 52px auto 0; text-align: center; font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
/* The three linked facts on a full-width rising curve: the trend, told with
   verifiable points. Cards are translucent so the chart reads through them. */
.trendstage { position: relative; max-width: 1280px; margin: 56px auto 0; padding: 96px 32px 34px; }
.trendstage .pstats { margin: 0; max-width: none; gap: 34px; }
.trendline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trendstage .pstat {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 34px rgba(29, 29, 31, 0.07);
}
@media (min-width: 821px) {
  .pstats.rise .pstat:nth-child(1) { transform: translateY(52px); }
  .pstats.rise .pstat:nth-child(2) { transform: translateY(26px); }
}
@media (max-width: 820px) {
  .trendline { display: none; }
  .trendstage { padding: 0 24px; margin-top: 44px; }
  .trendstage .pstat { background: #fff; }
}
.trendcap { max-width: 640px; margin: 60px auto 0; text-align: center; font-size: 13.5px; color: var(--mut); }
@media (max-width: 820px) { .trendcap { margin-top: 24px; } }

/* ===== HOW (single trail) ===== */
#how .rundef { max-width: 720px; margin: 0 auto 40px; text-align: center; font-size: 15.5px; color: var(--mut); border: 1px dashed var(--line); border-radius: var(--r); padding: 16px 22px; background: #fff; }
#how .rundef b { color: var(--tx); }
.trail { display: flex; align-items: stretch; justify-content: center; max-width: 1140px; margin: 0 auto; }
.tarr { align-self: center; padding: 0 8px; color: var(--line); font-size: 22px; font-weight: 300; }
.seal { flex: 1; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); padding: 26px 20px; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); color: var(--tx); }
.seal .bseal { color: var(--grn); }
.seal h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.seal p { font-size: 13.5px; color: var(--mut); }
.seal .via { margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--grn-d); letter-spacing: 0.02em; }
@media (max-width: 860px) { .trail { flex-direction: column; gap: 6px; } .tarr { transform: rotate(90deg); padding: 6px 0; text-align: center; } }
.ledgerline { max-width: 780px; margin: 44px auto 0; text-align: center; font-size: 15px; color: var(--mut); }
.evlink2 { color: var(--grn-d); font-weight: 600; font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; white-space: nowrap; }
.evlink2:hover { text-decoration: underline; }
.rule { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -0.02em; }

/* ===== PATH (4 blocks) ===== */
.lvl { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line2); }
.lvl:first-of-type { border-top: none; padding-top: 12px; }
.lvl.flip { grid-template-columns: 1.1fr 1fr; }
.lvl.flip .txt { order: 2; } .lvl.flip .mock { order: 1; }
@media (max-width: 920px) { .lvl, .lvl.flip { grid-template-columns: 1fr; } .lvl.flip .txt { order: 1; } .lvl.flip .mock { order: 2; } }
.lvl .lk { font-size: 13.5px; font-weight: 700; color: var(--grn-d); letter-spacing: 0.03em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.lvl h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; }
.lvl .sub { margin-top: 14px; color: var(--mut); font-size: 16.5px; }
.lvl ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.lvl li { padding-left: 26px; position: relative; font-size: 15.5px; }
.lvl li::before { content: "\2713"; position: absolute; left: 0; color: var(--grn); font-weight: 700; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.chip { border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; font-size: 12.5px; color: var(--mut); background: #fff; }
.chip b { color: var(--tx); font-weight: 600; }
.anchorline { margin-top: 20px; font-size: 13.5px; color: var(--grn-d); font-weight: 600; }
.fine { margin-top: 14px; font-size: 13px; color: var(--mut); line-height: 1.5; }

/* dark app-window mocks */
.appwin { background: var(--cbg); border: 1px solid #2a2a2f; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); color: var(--ctx); font-size: 13px; }
.appwin .bar { display: flex; align-items: center; gap: 8px; background: #131316; border-bottom: 1px solid var(--cline); padding: 10px 14px; }
.appwin .bar .dots { display: flex; gap: 6px; }
.appwin .bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3e; display: block; }
.appwin .bar .ttl { font-size: 12px; color: var(--cmut); margin-left: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.appwin .bd { padding: 18px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.75; }
.caption { font-size: 12.5px; color: var(--mut); margin-top: 12px; }
.statrow { display: flex; gap: 14px; margin: 4px 0 16px; flex-wrap: wrap; }
.stat { flex: 1; min-width: 110px; background: var(--ccard); border: 1px solid var(--cline); border-radius: 10px; padding: 12px 14px; }
.stat .n { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.stat .l { font-size: 11.5px; color: var(--cmut); margin-top: 2px; }
.rowline { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-top: 1px solid var(--cline); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; gap: 8px; }
.tag { font-size: 11px; padding: 2.5px 9px; border-radius: 980px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.tag.ob { background: #2a2417; color: #e3b341; } .tag.pv { background: #15281a; color: #4cc366; } .tag.tr { background: #0f3317; color: #63e07f; } .tag.warn { color: #ff9f43; background: #2e2113; }
.barchart div { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.barchart .b { height: 9px; background: var(--grn); border-radius: 4px; }
.g { color: #63e07f; } .y { color: #e3b341; } .dim { color: var(--cmut); }

/* ===== CONSOLE SHOWCASE (centerpiece) ===== */
#console { }
.showgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1060px; margin: 0 auto; }
@media (max-width: 860px) { .showgrid { grid-template-columns: 1fr; } }
.showvideo { max-width: 1060px; margin: 28px auto 0; }
.media { border: 1px solid var(--cline); border-radius: 16px; overflow: hidden; background: var(--cbg); }
.media img, .media video { display: block; width: 100%; height: auto; }
.mediaslot { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 260px; padding: 28px; color: var(--cmut); background: linear-gradient(180deg, #121216, #0b0b0d); border: 1px dashed var(--cline); border-radius: 16px; font-size: 13.5px; }
.mediaslot .in { max-width: 340px; }
.mediaslot .bseal { color: var(--grn); margin: 0 auto 12px; }
.showcap { font-size: 12.5px; color: var(--mut); margin-top: 10px; }
.desktopnote { max-width: 720px; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--mut); }

/* ===== TRACE ===== */
#trace .chainwrap { max-width: 1060px; margin: 0 auto; }
.chain { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; position: relative; }
@media (max-width: 980px) { .chain { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .chain { grid-template-columns: repeat(2, 1fr); } }
.link { background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 16px 13px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: all 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .link { opacity: 0; transform: translateY(18px); }
.chain.in .link { opacity: 1; transform: none; }
.chain.in .link:nth-child(1) { transition-delay: 0.05s; } .chain.in .link:nth-child(2) { transition-delay: 0.17s; } .chain.in .link:nth-child(3) { transition-delay: 0.29s; } .chain.in .link:nth-child(4) { transition-delay: 0.41s; } .chain.in .link:nth-child(5) { transition-delay: 0.53s; } .chain.in .link:nth-child(6) { transition-delay: 0.65s; } .chain.in .link:nth-child(7) { transition-delay: 0.77s; }
.link .no { font-size: 11px; font-weight: 700; color: var(--grn); letter-spacing: 0.04em; }
.link .role { font-size: 10.5px; color: var(--mut); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 1px; }
.link .v { font-weight: 700; font-size: 14px; margin-top: 7px; letter-spacing: -0.01em; }
.link .s { font-size: 12px; color: var(--mut); margin-top: 4px; line-height: 1.45; }
.link.receipt { border-color: var(--grn); background: linear-gradient(180deg, #fff, #f4fbf5); }
#trace.broken .link[data-l="2"] { border: 1.5px dashed var(--red); background: var(--red-soft); opacity: 0.55; }
.verdictrow { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.sealbadge { display: inline-flex; align-items: center; gap: 10px; border-radius: 980px; padding: 10px 22px; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; transition: 0.3s; }
.sealbadge.traced { background: var(--grn-soft); color: var(--grn-d); border: 1px solid #bfe3c6; }
.sealbadge.proven { background: var(--amber-soft); color: var(--amber); border: 1px solid #ecd9a8; }
.sealbadge .bseal { --bs-off: #cfd8d1; width: 16px; height: 16px; }
.breakbtn { border: 1px solid var(--line); background: #fff; border-radius: 980px; padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.18s; font-family: inherit; }
.breakbtn:hover { border-color: var(--tx); }
.verdictcap { margin-top: 16px; text-align: center; font-size: 14px; color: var(--mut); min-height: 22px; }
.fwcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1020px; margin: 72px auto 0; }
@media (max-width: 860px) { .fwcards { grid-template-columns: 1fr; } }
.fwcard { background: #fff; border: 1px solid var(--line2); border-radius: var(--r); padding: 26px; }
.fwcard h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.fwcard p { font-size: 14.5px; color: var(--mut); }
.sliceops { max-width: 720px; margin: 52px auto 0; text-align: center; }
.sliceops p { font-size: clamp(17px, 2vw, 21px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.4; }
.sliceops .lnk { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--grn-d); }
.sliceops .lnk:hover { text-decoration: underline; }

/* ===== SPECS (dark) ===== */
#specs { background: var(--cbg); color: var(--ctx); }
#specs .eyebrow { color: #63e07f; }
#specs .lead { color: var(--cmut); }
#specs h2 { color: var(--ctx); }
.specgrid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; max-width: 1060px; margin: 0 auto; }
@media (max-width: 920px) { .specgrid { grid-template-columns: 1fr; } }
.spanel { background: var(--ccard); border: 1px solid var(--cline); border-radius: var(--r); padding: 24px; }
.spanel h3, .spanel .spanelh { font-size: 16px; font-weight: 700; margin: 0 0 14px; color: var(--ctx); letter-spacing: -0.01em; line-height: 1.2; }
.specteaser { max-width: 760px; margin: 0 auto; }
.spanel .mono { color: #d7d7dc; white-space: pre-wrap; word-break: break-word; }
.k { color: #63e07f; } .st { color: #e3b341; } .cm { color: #6b6b72; }
.gloss { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--cmut); }
.gloss b { color: var(--ctx); font-family: ui-monospace, Menlo, monospace; font-weight: 600; font-size: 12.5px; }
.verifyline { margin-top: 16px; padding: 12px 14px; background: #0f1a12; border: 1px solid #1e3a26; border-radius: 10px; }
.verifyline .cmd { color: #63e07f; }
.dlrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.dlrow a { font-size: 13px; font-weight: 600; color: #63e07f; border: 1px solid #1e3a26; border-radius: 8px; padding: 8px 14px; }
.dlrow a:hover { background: #0f1a12; }
.handline { font-size: 13.5px; color: var(--cmut); margin-top: 10px; font-style: italic; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; font-size: 13.5px; }
.twocol .h { font-weight: 700; color: var(--ctx); padding-bottom: 4px; border-bottom: 1px solid var(--cline); }
.twocol .leaves { color: #e3b341; } .twocol .never { color: #63e07f; }
.fmode { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--cmut); }
.fmode b { color: var(--ctx); }
.maprow { margin-top: 14px; padding: 12px 14px; background: var(--ccard2); border: 1px solid var(--cline); border-radius: 10px; font-size: 13px; color: var(--cmut); }
.maprow b { color: #63e07f; font-family: ui-monospace, Menlo, monospace; font-weight: 600; }

/* ===== PRICING ===== */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 980px; padding: 4px; gap: 4px; margin: 0 auto 44px; }
.seg button { border: 0; background: transparent; border-radius: 980px; padding: 8px 20px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--mut); font-family: inherit; transition: 0.15s; }
.seg button.on { background: #000; color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1120px; margin: 0 auto; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line2); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 0; }
.plan.hot { border: 2px solid var(--grn); box-shadow: 0 18px 44px rgba(47, 158, 68, 0.12); position: relative; }
.plan .lk { font-size: 12.5px; font-weight: 700; color: var(--grn-d); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.plan .tag { font-size: 13.5px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.plan .cap { font-size: 12.5px; font-weight: 600; color: var(--grn-d); margin-top: 4px; }
.plan .prc { font-size: clamp(30px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.plan .per { font-size: 13.5px; color: var(--mut); font-weight: 500; }
.plan .inc { font-size: 13px; color: var(--mut); margin-top: 4px; line-height: 1.5; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--grn); font-weight: 700; }
.plan .btn { margin-top: 22px; justify-content: center; padding: 11px 18px; font-size: 14.5px; }
.plan .foot { margin-top: 12px; font-size: 12px; color: var(--mut); text-align: center; line-height: 1.5; }
.plan .sp { flex: 1; }

/* simulator */
.sim { max-width: 860px; margin: 48px auto 0; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); padding: 32px 36px; }
.sim h3 { font-size: 17px; font-weight: 700; margin-bottom: 22px; text-align: center; }
.simrow { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
.simrow label { flex: 0 0 260px; font-size: 14.5px; font-weight: 600; }
.simrow label b { color: var(--grn-d); font-variant-numeric: tabular-nums; }
.simrow input[type="range"] { flex: 1; accent-color: var(--grn); min-width: 180px; }
.simout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; border-top: 1px solid var(--line2); padding-top: 24px; text-align: center; }
@media (max-width: 700px) { .simout { grid-template-columns: 1fr; } .simrow label { flex-basis: auto; } }
.simout .n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; display: block; font-variant-numeric: tabular-nums; }
.simout .l { font-size: 12.5px; color: var(--mut); margin-top: 5px; display: block; line-height: 1.5; }
.simdelta { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 13.5px; color: var(--grn-d); font-weight: 600; }
.exnote { max-width: 760px; margin: 20px auto 0; text-align: center; font-size: 12.5px; color: var(--mut); }
.prnote { max-width: 860px; margin: 36px auto 0; text-align: center; font-size: 13.5px; color: var(--mut); line-height: 1.6; }
.footnote { max-width: 760px; margin: 12px auto 0; text-align: center; font-size: 12px; color: var(--mut); }
.tblintro { max-width: 820px; margin: 96px auto 40px; text-align: center; }
.tblintro h3 { font-size: clamp(24px, 3vw, 34px); }
.tblintro p { margin-top: 12px; color: var(--mut); font-size: 16.5px; }
.tblscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 1020px; margin: 0 auto; }
table.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; }
.cmp thead th { background: #fff; padding: 14px 12px; text-align: center; font-size: 13px; border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.cmp thead th:first-child { text-align: left; width: 34%; }
.cmp thead th .hc { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.cmp thead th .bseal { color: var(--grn); }
.cmp td { padding: 10px 14px; border-bottom: 1px solid var(--line2); text-align: center; color: var(--mut); }
.cmp td:first-child { text-align: left; color: var(--tx); }
.cmp th[scope="row"] { padding: 10px 14px; border-bottom: 1px solid var(--line2); text-align: left; color: var(--tx); font-weight: 500; font-size: 14px; }
.cmp tr.grp td { background: var(--sec); font-weight: 700; color: var(--tx); font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase; }
.cmp .ok { color: var(--grn); font-weight: 700; }
.cmp .dash { color: #c7c7cc; }

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line2); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 16px 30px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--mut); font-weight: 400; transition: 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px; color: var(--mut); font-size: 15px; line-height: 1.6; }
.faq .a a { text-decoration: underline; }

/* ===== LEAD FORM ===== */
.leadwrap { max-width: 560px; margin: 0 auto; }
.leadform { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); padding: 28px; text-align: left; }
.band .leadform, #cta .leadform { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.06); }
.leadhead h3 { font-size: 19px; font-weight: 700; }
.leadhead p { color: var(--mut); font-size: 14px; margin-top: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--tx); }
.field input, .field select, .field textarea { font-family: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--tx); width: 100%; }
.field textarea { min-height: 82px; resize: vertical; }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.leadform .btn { justify-content: center; }
.leadform .msg { font-size: 13.5px; }
.leadform .msg.ok { color: var(--grn-d); }
.leadform .msg.err { color: var(--red); }
.leadprivacy { font-size: 12px; color: var(--mut); }
.leadturnstile { min-height: 65px; }
.leadcheck { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--mut); cursor: pointer; user-select: none; }
.leadcheck input { width: 16px; height: 16px; accent-color: var(--grn-d); flex-shrink: 0; }
/* Submitted-state confirmation card (replaces the tiny "Thanks" line). */
.leadsuccess { text-align: center; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); padding: 42px 28px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.06); }
.band .leadsuccess, #cta .leadsuccess { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.06); }
.lsicon { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: var(--grn-d); color: #fff; font-size: 27px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.leadsuccess h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.leadsuccess p { color: var(--mut); font-size: 15px; line-height: 1.55; margin: 10px auto 0; max-width: 390px; }
.leadsuccess .lsnote { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--grn-d); }
.leadsuccess b { color: var(--tx); }

/* ===== SECONDARY PAGES (evidence / compliance / agenda) ===== */
.agendah1 { font-size: clamp(34px, 5vw, 56px); }
#agenda, #compliance { padding-top: 90px; }
/* auto-fit + centered so a single card is centered, two cards sit side by side. */
.agrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); gap: 20px; max-width: 860px; margin: 0 auto; justify-content: center; }
@media (max-width: 720px) { .agrid { grid-template-columns: minmax(0, 380px); } }
.acard { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); padding: 28px 26px; cursor: pointer; font-family: inherit; transition: 0.18s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.acard:hover { border-color: var(--grn-d); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08); }
.aeyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grn-d); }
.atitle { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--tx); }
.abody { font-size: 14.5px; color: var(--mut); line-height: 1.5; }
.acta { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--grn-d); }
.afallback { margin-top: 34px; text-align: center; font-size: 13px; color: var(--mut); }
.fwcard .fwh { font-size: 17px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.25; }
.fwcards.fw2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
@media (max-width: 720px) { .fwcards.fw2 { grid-template-columns: 1fr; } }
.packlist { list-style: none; margin: 0 auto; padding: 0; max-width: 620px; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }
.packlist li { padding-left: 26px; position: relative; }
.packlist li::before { content: "\2713"; position: absolute; left: 0; color: var(--grn-d); font-weight: 700; }
.orbook { margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--grn-d); }
.orbook a:hover { text-decoration: underline; }

/* ===== COMMAND K ===== */
.kbar-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(11, 11, 13, 0.45); backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center; padding: 14vh 20px 0; }
.kbar { width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); overflow: hidden; }
.kbar-input { width: 100%; border: 0; border-bottom: 1px solid var(--line2); padding: 16px 18px; font-size: 16px; font-family: inherit; outline: none; }
.kbar-list { list-style: none; margin: 0; padding: 8px; max-height: 320px; overflow-y: auto; }
.kbar-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 11px 12px; font-size: 15px; font-family: inherit; color: var(--tx); cursor: pointer; }
.kbar-item.on { background: var(--sec); }
.kbar-empty { padding: 14px 12px; font-size: 14px; color: var(--mut); }
.kbar-hint { padding: 10px 18px; border-top: 1px solid var(--line2); font-size: 12px; color: var(--mut); }

/* ===== LEGAL PAGES ===== */
#legal { padding-top: 90px; }
.legal { max-width: 760px; margin: 0 auto; }
.legal .updated { font-size: 13px; color: var(--mut); margin-top: 14px; }
.legal .intro { margin-top: 22px; font-size: 16.5px; color: var(--mut); line-height: 1.6; }
.legal section { padding: 0; margin-top: 40px; }
.legal h2 { font-size: 21px; letter-spacing: -0.015em; }
.legal p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: #3a3a3e; }

/* ===== CTA / FOOTER ===== */
#cta { text-align: center; }
#cta h2 { max-width: 760px; margin: 0 auto; }
#cta .lead { max-width: 560px; margin: 20px auto 0; }
#cta .ctas { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
#cta .tag3 { margin-top: 26px; font-size: 14px; color: var(--mut); }
footer.site { border-top: 1px solid var(--line2); padding: 48px 0 44px; font-size: 13px; color: var(--mut); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site img { height: 22px; opacity: 0.85; }
footer.site .ftag { margin-top: 12px; max-width: 260px; }
footer.site h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tx); margin-bottom: 12px; font-weight: 700; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
footer.site a:hover { color: var(--tx); }
footer.site .rights { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
