/* ===================================================================
   mimic — «интернет без границ».
   Картография как смысл (границы / поток), хай-тек как ощущение
   (живой, интерактивный, точный продукт). Display: Space Grotesk ·
   Body: Onest · Data: JetBrains Mono.
   Холодная сетка = контроль/границы · тёплый flame = свободные данные.
   =================================================================== */

:root {
  --ink:    #080B14;
  --ink-2:  #0B0F1A;
  --line:   rgba(150, 168, 214, .10);
  --line-2: rgba(150, 168, 214, .20);
  --glass:  rgba(255, 255, 255, .035);

  --text:  #EAEDF7;
  --muted: #8B93AE;
  --dim:   #555D78;

  --flame:  #F59433;
  --ember:  #C8701A;
  --signal: #28E0A8;   /* работает / открыто */
  --danger: #FF5468;   /* заблокировано */

  --flame-grad: linear-gradient(100deg, var(--ember), var(--flame));
  --maxw: 1140px;
  --pad: clamp(18px, 5vw, 56px);
  --ease: cubic-bezier(.22, .8, .28, 1);
  --r: 16px;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body:    "Onest", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--flame); color: #160a02; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 3px; }
* { scrollbar-width: thin; scrollbar-color: var(--ember) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ember) 70%, transparent); border-radius: 9px; }

.flame { color: var(--flame); }

/* ─── Ambient field: cartographic graticule + aurora glow ───────────── */
.field { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(120% 90% at 50% -10%, #0D1424 0%, var(--ink) 55%); }
.field__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.field__glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; }
.field__glow--a { width: 60vw; height: 60vw; left: -10vw; top: -20vw;
  background: radial-gradient(circle, rgba(58, 96, 200, .22), transparent 70%); }
.field__glow--b { width: 55vw; height: 55vw; right: -15vw; top: 35vh;
  background: radial-gradient(circle, color-mix(in srgb, var(--flame) 18%, transparent), transparent 70%); }

/* scroll progress */
.scrollbar { position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--flame-grad); z-index: 100; box-shadow: 0 0 12px var(--flame); }

/* ─── Layout primitives ─────────────────────────────────────────────── */
.band { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 11vw, 140px) var(--pad) 0; }
.seclabel { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--flame); margin: 0 0 18px; }
.seclabel::before { content: "// "; color: var(--dim); }
.head { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.04; margin: 0 0 18px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; margin: 0; }
.note { font-family: var(--f-mono); font-size: .78rem; color: var(--dim);
  letter-spacing: .03em; margin: 26px 0 0; }

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-mono); font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  padding: 13px 22px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease), background .25s var(--ease); will-change: transform; }
.btn--solid { background: var(--flame-grad); color: #160a02; font-weight: 700;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--flame) 28%, transparent); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 36px color-mix(in srgb, var(--flame) 42%, transparent); }
.btn--ghost { background: var(--glass); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--flame); color: var(--flame); transform: translateY(-2px); }
.btn--lg { padding: 17px 30px; font-size: .9rem; }

/* ─── Nav (full-width bar, centered content) ────────────────────────── */
.nav { position: sticky; top: 0; z-index: 60; width: 100%;
  transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-stuck { background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 22px; max-width: var(--maxw);
  margin: 0 auto; padding: 13px var(--pad); }
.nav__brand { display: flex; align-items: center; gap: 9px; font-family: var(--f-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-family: var(--f-mono);
  font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
.nav__links a { position: relative; padding: 4px 0; transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--flame); transition: width .25s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__dl { font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  color: var(--flame); padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--flame) 40%, transparent);
  border-radius: 10px; transition: all .22s var(--ease); }
.nav__dl:hover { background: color-mix(in srgb, var(--flame) 12%, transparent); border-color: var(--flame); transform: translateY(-1px); }
@media (max-width: 860px) { .nav__links { display: none; } .nav__dl { margin-left: auto; } }
@media (max-width: 460px) { .nav__cta { display: none; } .nav__dl { margin-left: auto; } }

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 8vw, 96px) var(--pad) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono);
  font-size: .76rem; letter-spacing: .1em; color: var(--muted);
  border: 1px solid var(--line); background: var(--glass); padding: 7px 13px; border-radius: 99px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 60%, transparent); }
@media (prefers-reduced-motion: no-preference) { .dot { animation: pulse 2.4s var(--ease) infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero__h { font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(2.6rem, 8.5vw, 6rem); line-height: .98; margin: 22px 0 0; }
.hero__h span { display: block; }
.hero__flame { background: var(--flame-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 1.9vw, 1.35rem); color: var(--muted);
  max-width: 50ch; margin: 26px 0 0; }

/* probe — interactive "check your site" */
.probe { margin: 34px 0 0; max-width: 620px; }
.probe__bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px;
  background: var(--glass); border: 1px solid var(--line-2); border-radius: 14px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.probe__bar:focus-within { border-color: var(--flame);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--flame) 14%, transparent); }
.probe__bar:focus-within .probe__icon { color: var(--flame); }
.probe__icon { color: var(--dim); flex: none; transition: color .25s var(--ease); }
.probe__input { flex: 1; min-width: 0; background: none; border: 0; outline: none;
  color: var(--text); font-family: var(--f-mono); font-size: .98rem; }
.probe__input::placeholder { color: var(--dim); }
.probe__go { flex: none; position: relative; overflow: hidden; cursor: pointer;
  font-family: var(--f-mono); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  color: #160a02; background: var(--flame-grad); border: 0; border-radius: 10px; padding: 11px 20px;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--flame) 32%, transparent);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease); }
.probe__go::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); }
@media (prefers-reduced-motion: no-preference) {
  .probe__go::after { animation: sheen 3.4s var(--ease) 1.2s infinite; } }
@keyframes sheen { 0% { left: -60%; } 22%, 100% { left: 140%; } }
.probe__go:hover { transform: translateY(-1px); filter: brightness(1.06);
  box-shadow: 0 11px 28px color-mix(in srgb, var(--flame) 46%, transparent); }
.probe__go:active { transform: translateY(0); }
.probe__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.probe__chips button { font-family: var(--f-mono); font-size: .76rem; color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px;
  cursor: pointer; transition: all .2s var(--ease); }
.probe__chips button:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-1px); }

.probe__result { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--ink-2); overflow: hidden; }
.probe__result[hidden] { display: none; }
.probe__lane { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; font-size: .94rem; flex-wrap: wrap; }
.probe__site { font-family: var(--f-mono); color: var(--text); }
.probe__ms { color: var(--flame); font-size: .82em; }
.probe__verdict { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono);
  font-size: .82rem; color: var(--danger); }
.probe__verdict--ok { color: var(--signal); }
.ico { width: 16px; height: 16px; flex: none; border-radius: 50%; display: inline-block; position: relative; }
.ico--x { background: color-mix(in srgb, var(--danger) 18%, transparent); }
.ico--x::before, .ico--x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px;
  background: var(--danger); transform: translate(-50%,-50%) rotate(45deg); }
.ico--x::after { transform: translate(-50%,-50%) rotate(-45deg); }
.ico--check { background: color-mix(in srgb, var(--signal) 18%, transparent); }
.ico--check::before { content: ""; position: absolute; left: 5px; top: 4.5px; width: 4px; height: 7px;
  border: solid var(--signal); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg); }

/* the crossing line inside the result */
.probe__cross { position: relative; height: 46px; border-top: 1px dashed var(--line-2);
  border-bottom: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: center; }
.probe__border { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em;
  color: var(--dim); text-transform: uppercase; }
.probe__packet { position: absolute; left: 8%; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--flame); box-shadow: 0 0 12px var(--flame); transform: translateY(-50%); opacity: 0; }
.probe__result.is-on .probe__packet { animation: packet 1.1s var(--ease) .15s forwards; }
@keyframes packet { 0% { left: 6%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 92%; opacity: 0; } }
.probe__result.is-on .probe__lane--blocked { animation: fadein .4s var(--ease) backwards; }
.probe__result.is-on .probe__lane--open { animation: fadein .5s var(--ease) .9s backwards; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }

/* hero downloads */
.hero__dl { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.dl { display: inline-flex; flex-direction: column; gap: 2px; padding: 11px 18px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--line); transition: all .22s var(--ease); }
.dl:hover { transform: translateY(-2px); border-color: var(--flame);
  background: color-mix(in srgb, var(--flame) 9%, transparent); }
.dl__os { font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.dl__meta { font-family: var(--f-mono); font-size: .68rem; color: var(--muted); letter-spacing: .03em; }
.hero__note { font-family: var(--f-mono); font-size: .76rem; color: var(--dim); margin: 16px 0 0; letter-spacing: .03em; }

/* ─── Telemetry strip ───────────────────────────────────────────────── */
.telemetry { max-width: var(--maxw); margin: clamp(48px, 8vw, 88px) auto 0; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tm { background: var(--ink-2); padding: 26px 22px; display: flex; flex-direction: column; gap: 4px; }
.tm__v { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tm__v--ok { color: var(--signal); }
.tm__k { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 720px) { .telemetry { grid-template-columns: repeat(2, 1fr); } }

/* ─── How: cartographic crossing ────────────────────────────────────── */
.cross { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: stretch; gap: 0;
  margin: 36px 0 8px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--ink-2); }
.cross__side { padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.cross__side--world { text-align: right; align-items: flex-end; }
.cross__tag { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.cross__desc { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); letter-spacing: .03em; }
.cross__line { position: relative; min-height: 120px;
  border-left: 1px dashed var(--line-2); border-right: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cross__border { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .22em; color: var(--muted);
  text-transform: uppercase; transform: rotate(-90deg); white-space: nowrap; }
.cross__flow { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--flame); box-shadow: 0 0 14px 2px var(--flame); transform: translateY(-50%); }
@media (prefers-reduced-motion: no-preference) {
  .cross.is-visible .cross__flow { animation: flow 2.6s linear infinite; } }
@keyframes flow { 0% { left: -4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 104%; opacity: 0; } }
@media (max-width: 640px) { .cross { grid-template-columns: 1fr; }
  .cross__side--world { text-align: left; align-items: flex-start; }
  .cross__line { min-height: 70px; border: 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); }
  .cross__border { transform: none; } }

/* ─── Steps ─────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.step { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px;
  transition: border-color .25s var(--ease), transform .25s var(--ease); }
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step__n { font-family: var(--f-mono); font-size: .76rem; color: var(--flame); letter-spacing: .1em; }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.18rem; margin: 12px 0 8px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ─── Features grid ─────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px;
  position: relative; transition: border-color .25s var(--ease), transform .25s var(--ease); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, transparent, color-mix(in srgb, var(--flame) 40%, transparent), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s var(--ease); }
.card:hover { transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.14rem; margin: 0 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid { grid-template-columns: 1fr; } }

/* ─── Pricing ───────────────────────────────────────────────────────── */
.toggle { display: inline-flex; gap: 4px; margin: 26px 0 0; padding: 4px; border-radius: 99px;
  background: var(--glass); border: 1px solid var(--line); }
.toggle__opt { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); cursor: pointer;
  background: transparent; border: 0; border-radius: 99px; padding: 9px 18px; transition: all .25s var(--ease);
  display: inline-flex; align-items: center; gap: 7px; }
.toggle__opt.is-active { background: var(--flame-grad); color: #160a02; font-weight: 700; }
.toggle__save { font-size: .68rem; opacity: .85; }

/* Payment-method chips — card / Stars / TON (crypto discount highlighted) */
.payways { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  list-style: none; margin: 16px 0 0; padding: 0; }
.payway { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .02em; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 15px; background: var(--glass); }
.payway--ton { color: var(--flame); border-color: color-mix(in srgb, var(--flame) 45%, transparent);
  background: color-mix(in srgb, var(--flame) 10%, transparent); }
.payway--ton b { color: var(--flame); font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--glass);
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px;
  transition: transform .25s var(--ease), border-color .25s var(--ease); }
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan--featured { border-color: color-mix(in srgb, var(--flame) 55%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--flame) 10%, transparent), transparent 42%), var(--ink-2);
  box-shadow: 0 22px 60px rgba(245, 148, 51, .14); }
.plan__badge { position: absolute; top: -11px; left: 22px; font-family: var(--f-mono); font-size: .62rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #160a02;
  background: var(--flame-grad); padding: 4px 10px; border-radius: 7px; }
.plan__name { font-family: var(--f-display); font-weight: 600; font-size: 1.28rem; margin: 0 0 12px; letter-spacing: -.01em; }
.plan__price { display: flex; flex-direction: column; gap: 3px; margin-bottom: 18px; }
.plan__rub { font-family: var(--f-display); font-weight: 700; font-size: 2.05rem; line-height: 1; letter-spacing: -.02em; }
.plan--featured .plan__rub { color: var(--flame); }
.plan__per { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.plan__feat { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan__feat li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.plan__feat li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 5px; height: 9px;
  border: solid var(--signal); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg); }
.plan__feat b { color: var(--text); font-weight: 600; }
.plan__cta { width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } }

/* ─── FAQ ───────────────────────────────────────────────────────────── */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 20px 4px;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: var(--text); transition: color .2s var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-family: var(--f-mono); font-weight: 400;
  font-size: 1.5rem; line-height: 1; color: var(--flame); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--flame); }
.faq__item p { margin: 0 4px 22px; max-width: 72ch; color: var(--muted); font-size: .96rem; line-height: 1.65; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] p { animation: fadein .3s var(--ease) backwards; } }

/* ─── Final CTA ─────────────────────────────────────────────────────── */
.final { max-width: 760px; margin: clamp(80px, 12vw, 160px) auto 0; padding: clamp(48px, 7vw, 80px) var(--pad);
  text-align: center; border: 1px solid var(--line); border-radius: 28px; background:
  radial-gradient(120% 130% at 50% 0%, color-mix(in srgb, var(--flame) 9%, transparent), transparent 55%), var(--ink-2); }
.final img { margin: 0 auto 22px; filter: drop-shadow(0 14px 34px rgba(245, 148, 51, .4)); }
.final .head { margin-inline: auto; max-width: 16ch; }
.final .lead { margin: 0 auto 28px; }
.final__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.final__dl { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.final__dl .dl { align-items: center; }

/* Mobile: keep the card off the screen edges + let CTAs stack full-width nicely */
@media (max-width: 560px) {
  .final { margin-inline: var(--pad); border-radius: 20px; padding: 40px 22px; }
  .final__cta { flex-direction: column; align-items: stretch; }
  .final__cta .btn { width: 100%; }
}

/* ─── Footer ────────────────────────────────────────────────────────── */
.foot { max-width: var(--maxw); margin: clamp(72px, 10vw, 120px) auto 0; padding: 30px var(--pad);
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 700; }
.foot__nav { display: flex; gap: 22px; margin-left: auto; font-family: var(--f-mono); font-size: .78rem;
  letter-spacing: .04em; color: var(--muted); }
.foot__nav a:hover { color: var(--flame); }
.foot__note { width: 100%; color: var(--dim); font-family: var(--f-mono); font-size: .72rem; margin: 6px 0 0; letter-spacing: .03em; }

/* ─── Motion: load + reveal ─────────────────────────────────────────── */
.load { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .load, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .scrollbar, .dot, .cross__flow, .probe__packet { animation: none !important; }
}

/* ── Updates page — hero + vertical timeline ─────────────────────────────── */
.uhero { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 9vw, 110px) var(--pad) 0; }
.uhero__h { font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(2.4rem, 7.5vw, 5rem); line-height: 1; margin: 18px 0 0; }
.uhero__h span { display: block; }
.uhero__sub { font-size: clamp(1.02rem, 1.7vw, 1.25rem); color: var(--muted);
  max-width: 54ch; margin: 22px 0 0; line-height: 1.5; }
.uhero__stats { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 34px; }
.ustat { display: flex; flex-direction: column; gap: 4px; }
.ustat__v { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; }
.ustat__k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }

.tl { list-style: none; margin: 8px 0 0; padding: 0; position: relative;
  border-left: 1px solid var(--line-2); }
/* flame fill that "draws" the rail as you scroll the timeline (progressive
   enhancement — see the @supports block below; stays at scaleY(0) otherwise) */
.tl::after { content: ""; position: absolute; left: -1.5px; top: 0; width: 2px; height: 100%;
  border-radius: 2px; background: linear-gradient(180deg, var(--flame), var(--ember));
  transform: scaleY(0); transform-origin: top center; }
.tl__item { position: relative; padding: 0 0 clamp(22px, 3vw, 38px) 34px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before { content: ""; position: absolute; left: -6px; top: 3px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--flame); }
.tl__item--now::before { background: var(--flame); }
@media (prefers-reduced-motion: no-preference) {
  .tl__item--now::before { animation: pulse-f 2.4s var(--ease) infinite; } }
@keyframes pulse-f { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--flame) 50%, transparent); }
  70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.tl__when { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--dim); }
.tl__card { margin-top: 8px; }
.tl__tag { display: inline-block; font-family: var(--f-mono); font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: #160a02; background: var(--flame-grad);
  padding: 3px 9px; border-radius: 6px; margin-bottom: 10px; }
.tl__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: -.01em; margin: 0 0 8px; line-height: 1.18; }
.tl__item--now .tl__title { color: var(--flame); }
.tl__body { font-size: .96rem; color: var(--muted); line-height: 1.55; max-width: 60ch; margin: 0; }

/* Scroll-driven enhancement (Chrome/Edge 115+, Safari 26+). The rail fills as the
   section scrolls past and each stage fades up as it enters the viewport. Browsers
   without scroll-driven animations (Firefox) get an equivalent IntersectionObserver
   fallback driven by app.js (.tl--js, below). Reduced-motion: static rail, all
   cards visible. */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .tl { view-timeline: --tl-rail block; }
    .tl::after {
      animation: tl-rail auto linear;
      animation-timeline: --tl-rail;
      animation-range: entry 70% exit 30%;
    }
    @keyframes tl-rail { from { transform: scaleY(0); } to { transform: scaleY(1); } }

    .tl__item {
      animation: tl-enter auto linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 48%;
    }
    @keyframes tl-enter {
      from { opacity: 0; transform: translateY(26px); }
      to   { opacity: 1; transform: none; }
    }
    /* the dot pops in as its card arrives (hollow style preserved) */
    .tl__item:not(.tl__item--now)::before {
      animation: tl-dot auto linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 40%;
    }
    @keyframes tl-dot {
      from { transform: scale(.35); opacity: .4; }
      to   { transform: scale(1); opacity: 1; }
    }
  }

  /* JS fallback (added by app.js only when scroll-driven is unsupported, e.g.
     Firefox): rail fill follows a --tl-p scroll var, cards reveal on .is-in.
     Placed after the @supports block so it wins by source order at equal
     specificity; never applied in browsers that took the native path. */
  .tl--js::after { transform: scaleY(var(--tl-p, 0)); transition: transform .15s linear; }
  .tl--js .tl__item { opacity: 0; transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .tl--js .tl__item.is-in { opacity: 1; transform: none; }
}
