/* getaftershock.com. No build step, no dependencies. Fonts are relative to this file. */

@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-Regular.b303de7e1426.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-Medium.11b90f6e7319.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-SemiBold.0cf1a69b4d7b.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Regular.6cc7ec98dc92.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Medium.bcd3cf43ff24.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #070b14;
  --bg-alt: #0a1020;
  --surface: #0e1524;
  --surface-2: #141d30;
  --line: #22304a;
  --line-soft: #18233a;
  --text: #e8ecf4;
  --muted: #9aa8bf;
  --faint: #66748c;
  --accent: #ff6a3d;
  --accent-soft: rgba(255, 106, 61, 0.14);
  --amber: #ffb547;
  --good: #34d399;
  --bad: #f87171;
  --radius: 14px;
  --wrap: 1160px;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
code, .mono { font-family: var(--mono); font-size: 0.88em; }
p code { background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 5px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #111; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }

/* ---------- Nav ---------- */
.site-head { position: sticky; top: 0; z-index: 50; }
.nav {
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav__brand img { display: block; height: 32px; width: auto; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* ---------- Buttons, pills, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #140a05; font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.5);
  transition: transform .15s ease, box-shadow .25s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px -8px rgba(255, 106, 61, 0.6); }
.btn:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--muted); box-shadow: none; }
.btn--small { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12px/1 var(--mono); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; white-space: nowrap;
}
.pill--live { color: var(--accent); border-color: rgba(255, 106, 61, 0.4); }
.pill--bad { color: var(--bad); border-color: rgba(248, 113, 113, 0.45); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; animation: blink 1.6s ease-in-out infinite; }
.eyebrow .dot { color: var(--accent); margin-right: 8px; }
@keyframes blink { 50% { opacity: 0.3; } }

.chip { display: inline-block; font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.chip--soon { color: var(--faint); border-style: dashed; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; font-weight: 600; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 600; max-width: 22ch; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
.accent { color: var(--accent); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); margin-top: 22px; max-width: 34em; }
.sub { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 46em; }
.eyebrow, .kicker { font: 500 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; }
.fineprint { font-size: 14px; color: var(--faint); margin-top: 18px; }
.illus { font: 400 11px/1 var(--mono); color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Layout ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.grid2--tight { margin-top: 32px; gap: 28px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.card--pad { padding: 28px; }
.card--pad h3 { margin-bottom: 10px; }
.card--pad p { color: var(--muted); font-size: 16px; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 0; color: var(--muted); }

.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon svg circle { fill: var(--accent); stroke: none; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 112px) clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255, 106, 61, 0.16), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__viz { padding-bottom: 14px; }
.hero__viz .illus { position: absolute; right: 18px; bottom: 14px; }

.chart { display: block; width: 100%; height: auto; }
#hero-chart { aspect-ratio: 560 / 260; padding: 10px 6px 0; }
.chart__grid line { stroke: var(--line-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trace { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trace--prod { stroke: #8391a8; }
.trace--ghost { stroke: #5b6880; stroke-dasharray: 4 5; }
.trace--replay { stroke: var(--accent); stroke-width: 2.6; filter: drop-shadow(0 0 6px rgba(255, 106, 61, 0.55)); }
.trace__head { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); opacity: 0; }
.area { fill: rgba(131, 145, 168, 0.12); }

.legend { display: flex; flex-wrap: wrap; gap: 18px; padding: 8px 18px 0; font-size: 13px; color: var(--muted); }
.sw { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.sw--prod { background: #8391a8; }
.sw--replay { background: var(--accent); }
.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 18px 24px; border-top: 1px solid var(--line-soft); margin-top: 14px; }
.statrow b { display: block; font: 600 24px/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.statrow span { font-size: 13px; color: var(--muted); }
.statrow--tight { padding: 14px 0 0; margin-top: 10px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) .2s;
}
.steps.in::before { transform: scaleX(1); }
.step { position: relative; }
.step__n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--bg-alt); border: 2px solid var(--accent); color: var(--accent); font: 600 18px/1 var(--mono); margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
.steps .step { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.steps.in .step { opacity: 1; transform: none; }
.steps.in .step:nth-child(2) { transition-delay: .35s; }
.steps.in .step:nth-child(3) { transition-delay: .7s; }
.steps.in .step:nth-child(4) { transition-delay: 1.05s; }

/* ---------- Replay explainer ---------- */
.replay { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; margin-top: 52px; align-items: start; }
.replay > * { min-width: 0; }
.replay__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: sticky; top: 96px; }
.replay__steps button {
  width: 100%; text-align: left; display: flex; gap: 14px; align-items: flex-start; position: relative; overflow: hidden;
  background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 14px 16px; color: var(--muted); cursor: pointer; font: inherit;
  transition: background .25s, border-color .25s, color .25s;
}
.replay__steps button:hover { background: var(--surface); }
.replay__steps button[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--text); }
.replay__steps b { display: block; font-weight: 600; font-size: 17px; }
.replay__steps small { display: block; font-size: 14px; color: var(--faint); margin-top: 2px; }
.replay__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font: 500 14px/1 var(--mono); transition: all .25s; }
[aria-selected="true"] .replay__n { border-color: var(--accent); background: var(--accent); color: #140a05; }
.replay__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
[aria-selected="true"] .replay__bar { animation: progress var(--step-ms, 7000ms) linear forwards; }
.replay.is-paused [aria-selected="true"] .replay__bar { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

.replay__stage { min-height: 520px; display: flex; flex-direction: column; }
.panel { padding: 18px 20px 0; flex: 1; display: flex; flex-direction: column; }
.panel[hidden] { display: none; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 14px; }
.panel__cap { color: var(--muted); font-size: 15px; margin-top: auto; padding-top: 16px; }
.replay__foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 14px; }
.iconbtn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.iconbtn:hover { color: var(--text); border-color: var(--muted); }
.ico-pause { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.ico-play { width: 0; height: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; margin-left: 2px; }

/* Step 1: log stream */
.logs { height: 300px; overflow: hidden; border-radius: 10px; background: #060a12; border: 1px solid var(--line-soft); position: relative; }
.logs::before, .logs::after { content: ""; position: absolute; left: 0; right: 0; height: 48px; z-index: 1; pointer-events: none; }
.logs::before { top: 0; background: linear-gradient(#060a12, transparent); }
.logs::after { bottom: 0; background: linear-gradient(transparent, #060a12); }
.logs__inner { font: 400 12.5px/1.9 var(--mono); color: #7d8aa1; padding: 8px 14px; white-space: nowrap; }
.is-active .logs__inner { animation: scroll 16s linear infinite; }
@keyframes scroll { to { transform: translateY(-50%); } }
.logs__inner .r { color: var(--text); }
.logs__inner .s2 { color: var(--good); }
.logs__inner .s5 { color: var(--bad); }
.logs__inner .h { color: var(--amber); }

/* Step 2: mine */
#mine-chart { aspect-ratio: 560 / 190; background: #060a12; border: 1px solid var(--line-soft); border-radius: 10px; }
.marker { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; opacity: 0; }
.journeys { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.journeys li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 44px; align-items: center; gap: 14px; font-size: 14px; opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; }
.journeys__name { font-family: var(--mono); font-size: 13px; }
.journeys__bar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.journeys__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--amber)); border-radius: 4px; transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.journeys b { text-align: right; font-variant-numeric: tabular-nums; }
.is-active .journeys li { opacity: 1; transform: none; }
.is-active .journeys li i { width: var(--w); }
.is-active .journeys li:nth-child(1) { transition-delay: 1.6s; } .is-active .journeys li:nth-child(1) i { transition-delay: 1.8s; }
.is-active .journeys li:nth-child(2) { transition-delay: 2.0s; } .is-active .journeys li:nth-child(2) i { transition-delay: 2.2s; }
.is-active .journeys li:nth-child(3) { transition-delay: 2.4s; } .is-active .journeys li:nth-child(3) i { transition-delay: 2.6s; }

/* Step 3: code */
.code { margin: 0; background: #060a12; border: 1px solid var(--line-soft); border-radius: 10px; padding: 16px 18px; font: 400 13.5px/1.75 var(--mono); color: var(--text); overflow-x: auto; }
.code .ln { display: inline-block; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.is-active .code .ln { opacity: 1; transform: none; }
.code .k { color: #7cc4ff; } .code .c { color: var(--faint); } .code .n { color: var(--amber); } .code .s { color: var(--good); }

/* Step 4: replay chart */
#replay-chart { aspect-ratio: 560 / 190; background: #060a12; border: 1px solid var(--line-soft); border-radius: 10px; }
.statrow--tight b { font-size: 26px; }

/* Step 5: verify */
.verify { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
.map { width: 100%; height: auto; background: #060a12; border: 1px solid var(--line-soft); border-radius: 10px; }
.map__edge { stroke: var(--line); stroke-width: 2; }
.map__flow { stroke: var(--good); stroke-width: 2.5; stroke-dasharray: 4 10; fill: none; animation: flow 0.9s linear infinite; }
.map__flow--hot { stroke: var(--accent); }
@keyframes flow { to { stroke-dashoffset: -14; } }
.map__node rect { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; }
.map__node text { fill: var(--text); font: 500 13px var(--mono); text-anchor: middle; }
.map__ring { fill: none; stroke: var(--bad); stroke-width: 2; opacity: 0; transform-origin: 310px 100px; }
.is-active .map__node--hot rect { animation: hot 0.6s ease 1.2s forwards; }
.is-active .map__ring { animation: ring 1.6s ease-out 1.4s infinite; }
@keyframes hot { to { stroke: var(--bad); fill: rgba(248, 113, 113, 0.15); } }
@keyframes ring { 0% { opacity: .8; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.35); } }
.map__note { fill: var(--bad); font: 500 12px var(--mono); text-anchor: end; opacity: 0; }
.map__note--q { fill: var(--muted); }
.is-active .map__note { animation: fadein .5s ease 1.8s forwards; }
@keyframes fadein { to { opacity: 1; } }

.alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.alerts li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.alerts b { display: block; font: 500 14px var(--mono); }
.alerts small { display: block; color: var(--muted); font-size: 13px; }
.alerts__i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.alerts__i svg { width: 14px; height: 14px; fill: none; stroke: #0b0f19; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.alerts .ok .alerts__i { background: var(--good); }
.alerts .warn .alerts__i { background: var(--amber); }
.alerts .bad .alerts__i { background: var(--bad); }
.alerts .bad { border-color: rgba(248, 113, 113, 0.5); }
.is-active .alerts li { opacity: 1; transform: none; }
.is-active .alerts li:nth-child(1) { transition-delay: 2.2s; }
.is-active .alerts li:nth-child(2) { transition-delay: 2.9s; }
.is-active .alerts li:nth-child(3) { transition-delay: 3.6s; }

/* ---------- Coverage timeline ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.split--flip { grid-template-columns: 1.05fr 1fr; }
.timeline { padding-bottom: 14px; }
.timeline svg { display: block; width: calc(100% - 28px); height: auto; aspect-ratio: 520 / 250; margin: 10px 14px 6px; overflow: visible; }
.timeline .illus { padding: 0 18px; }
.tl__grid line { stroke: var(--line); }
.tl__grid text, .tl__slolbl { fill: var(--faint); font: 400 12px var(--mono); }
.tl__err { fill: none; stroke: var(--accent); stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.tl__slo { stroke: var(--amber); stroke-dasharray: 5 5; opacity: .6; }
.tl__m line { stroke-dasharray: 3 4; }
.tl__m text { font: 500 13px var(--mono); }
.tl__m--ok line { stroke: var(--good); } .tl__m--ok circle { fill: var(--good); } .tl__m--ok text { fill: var(--good); }
.tl__m--warn line { stroke: var(--amber); } .tl__m--warn circle { fill: var(--amber); } .tl__m--warn text { fill: var(--amber); }
.tl__m--bad text { fill: var(--bad); }
.tl__m { opacity: 0; transition: opacity .5s; }
.timeline.in .tl__err { animation: draw 2.6s ease-out .2s forwards; }
.timeline.in .tl__m--ok { opacity: 1; transition-delay: .9s; }
.timeline.in .tl__m--warn { opacity: 1; transition-delay: 1.9s; }
.timeline.in .tl__m--bad { opacity: 1; transition-delay: 2.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translate(2px, -2px); }
.ticks--plain li::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--faint); transform: none; top: 0.6em; left: 4px; }

/* ---------- Security diagram ---------- */
.netdiag svg { display: block; width: calc(100% - 28px); height: auto; aspect-ratio: 460 / 300; margin: 14px; }
.nd__zone { fill: rgba(255, 255, 255, 0.015); stroke: var(--line); stroke-dasharray: 5 5; }
.nd__zone--cloud { stroke: var(--accent); stroke-dasharray: none; fill: var(--accent-soft); }
.nd__zlbl { fill: var(--muted); font: 500 13px var(--mono); }
.nd__box rect { fill: var(--surface-2); stroke: var(--line); }
.nd__box text { fill: var(--text); font: 500 13px var(--sans); text-anchor: middle; }
.nd__box--agent rect { stroke: var(--accent); }
.nd__link { stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 3 4; }
.nd__out { stroke: var(--accent); stroke-width: 2; }
.nd__pkt { fill: var(--amber); filter: drop-shadow(0 0 4px var(--amber)); }
.nd__small { fill: var(--faint); font: 400 11px var(--mono); }
.nd__small--acc { fill: var(--accent); }

/* ---------- Engine ---------- */
.grid3--feat { gap: 36px 40px; }
.feat { border-top: 1px solid var(--line); padding-top: 22px; }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 16px; }
.integrations { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 56px; }
.integrations__lbl { font: 500 13px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }

/* ---------- Partners ---------- */
.section--cta { background: radial-gradient(1200px 500px at 85% 0%, rgba(255, 106, 61, 0.12), transparent 60%), var(--bg-alt); border-top: 1px solid var(--line-soft); }
.partners { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.partners h3 { margin-bottom: 4px; }
.partners__box { border-color: rgba(255, 106, 61, 0.45); box-shadow: 0 30px 80px -40px rgba(255, 106, 61, 0.45); }
.partners__box p { margin-bottom: 22px; }
.partners__box .fineprint { margin: 14px 0 0; text-align: center; }
.founder a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq > * { max-width: 860px; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 24px var(--mono); color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 70ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--faint); font-size: 14px; }
.footer__inner img { height: 28px; width: auto; }
.footer nav { margin-left: auto; display: flex; gap: 20px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--text); }

/* ---------- Release ledger ---------- */
.ledger { padding-bottom: 14px; }
.ledger svg { display: block; width: calc(100% - 28px); height: auto; aspect-ratio: 520 / 240; margin: 10px 14px 4px; overflow: visible; }
.lg__axis line { stroke: var(--line); }
.lg__axis text { fill: var(--faint); font: 400 12px var(--mono); }
.lg__band { fill: rgba(131, 145, 168, 0.13); opacity: 0; transition: opacity .8s ease .3s; }
.lg__line { fill: none; stroke: #8391a8; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.lg__pt { fill: var(--surface); stroke: #8391a8; stroke-width: 2; opacity: 0; transition: opacity .3s; }
.lg__pt--bad { stroke: var(--bad); fill: var(--bad); }
.lg__note { stroke: var(--amber); stroke-dasharray: 3 4; opacity: 0; transition: opacity .5s ease 2.2s; }
.lg__notelbl { fill: var(--amber); font: 500 12px var(--mono); opacity: 0; transition: opacity .5s ease 2.3s; }
.lg__flag line { stroke: var(--bad); }
.lg__flag text { fill: var(--bad); font: 500 12.5px var(--mono); }
.lg__flag { opacity: 0; transform: translateY(6px); transition: opacity .5s ease 2.9s, transform .5s ease 2.9s; }
.ledger.in .lg__band { opacity: 1; }
.ledger.in .lg__line { animation: draw 2.2s ease-out .3s forwards; }
.ledger.in .lg__pt, .ledger.in .lg__note, .ledger.in .lg__notelbl { opacity: 1; }
.ledger.in .lg__flag { opacity: 1; transform: none; }
.ledger.in .lg__pt--bad { animation: pulse 1.6s ease-out 3s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { stroke-width: 2; } 50% { stroke-width: 7; stroke-opacity: .35; } 100% { stroke-width: 2; } }
.lg__sources { list-style: none; margin: 8px 18px 14px; padding: 12px 0 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 36px; font-size: 13px; }
.lg__sources li { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.lg__sources li span:last-child { color: var(--text); }
.lg__sources li.gap span:last-child { color: var(--bad); }
.ledger.in .lg__sources li { opacity: 1; transform: none; }
.ledger.in .lg__sources li:nth-child(1) { transition-delay: 3.3s; }
.ledger.in .lg__sources li:nth-child(2) { transition-delay: 3.5s; }
.ledger.in .lg__sources li:nth-child(3) { transition-delay: 3.7s; }
.ledger.in .lg__sources li:nth-child(4) { transition-delay: 4.1s; }
.ledger .illus { padding: 0 18px; }

/* ---------- Inquiry form ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.form label small { color: var(--faint); font-weight: 400; }
.form input, .form textarea {
  width: 100%; font: 400 15px/1.5 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 9px; padding: 10px 12px; transition: border-color .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .btn { margin-top: 4px; border: 0; cursor: pointer; font-family: inherit; }
.form__privacy { margin-top: 2px; font-size: 13px; }
.form__privacy a { color: var(--muted); }
.form__alt { text-align: center; margin-top: 14px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 9px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px !important; }
.notice--ok { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: var(--good); }
.notice--bad { background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.45); color: var(--bad); }
.founder { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 32px; font-size: 15px; color: var(--muted); max-width: 46em; }
.founder p { margin: 0; }

/* ---------- Text pages and errors ---------- */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.prose__body { margin-top: 32px; color: var(--muted); }
.prose__body h2 { font-size: 22px; color: var(--text); margin: 36px 0 10px; max-width: none; }
.prose__body p, .prose__body ul { margin: 0 0 14px; }
.prose__body li { margin-bottom: 6px; }
.prose__body a { color: var(--text); text-decoration-color: var(--accent); }
.prose__body b, .prose__body strong { color: var(--text); }
.errorpage h1 { font-size: clamp(32px, 4vw, 48px); }
.errorpage a { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.grid3 .reveal:nth-child(2), .grid2 .reveal:nth-child(2) { transition-delay: .1s; }
.grid3 .reveal:nth-child(3), .grid2 .reveal:nth-child(3) { transition-delay: .2s; }
.grid3 .reveal:nth-child(4), .grid2 .reveal:nth-child(4) { transition-delay: .3s; }
.grid3 .reveal:nth-child(5) { transition-delay: .4s; }
.grid3 .reveal:nth-child(6) { transition-delay: .5s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .hero__grid, .split, .split--flip, .partners { grid-template-columns: 1fr; gap: 40px; }
  .split--flip > figure { order: 2; }
  .replay { grid-template-columns: minmax(0, 1fr); }
  .replay__steps { position: static; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .replay__steps button { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 6px; }
  .replay__steps small { display: none; }
  .replay__steps b { font-size: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .steps::before { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .form__row, .lg__sources { grid-template-columns: 1fr; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .verify { grid-template-columns: 1fr; }
  .journeys li { grid-template-columns: 1fr 64px 40px; gap: 10px; }
  .journeys__name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .statrow b { font-size: 20px; }
  .replay__stage { min-height: 0; }
  .logs { height: 220px; }
  .replay__n { width: 26px; height: 26px; font-size: 12px; }
  .replay__steps b { font-size: 12px; }
  .nav .btn--small { padding: 8px 12px; font-size: 13px; }
  .nav__brand img { height: 28px; }
  .footer nav { margin-left: 0; }
}

/* ---------- Reduced motion: show end states, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .reveal, .steps .step { opacity: 1; transform: none; }
  .steps::before { transform: scaleX(1); }
  .is-active .logs__inner { animation: none; }
  .lg__line { stroke-dashoffset: 0; }
}
