/* ═══════════════════════════════════════════════════════════════
   ADIOX TELEGRAM COPIER — standalone single-page site (telegramcopy.adiox.io)
   Dark theme, gold accent. Base shared with the tournaments site. Fonts: Manrope · Inter · IBM Plex Mono
═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #07080f; --bg-2: #0b0c17; --surface: #10121f; --surface-2: #161829; --surface-3: #1e2136;
  --line: rgba(255,255,255,0.08); --line-2: rgba(255,255,255,0.14);
  --ink: #f0f1fa; --ink-2: #b7bbd3; --ink-3: #8086a3;
  --gold: #f5b942; --gold-2: #fcd57a; --gold-deep: #b7791f;
  --violet: #a78bfa; --pink: #e879f9; --green: #34d399; --red: #f87171; --blue: #60a5fa;
  --brand: linear-gradient(120deg, #f5b942, #fb923c 55%, #e879f9);
  --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --f-display: "Manrope", system-ui, sans-serif; --f-body: "Inter", system-ui, sans-serif; --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --maxw: 1160px; --hh: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(245,185,66,0.4); color: #fff; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1a1205; font-weight: 700; }
.skip:focus { top: 10px; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.gold { color: var(--gold); }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 70px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
h3 { font-size: 19px; letter-spacing: -0.015em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink-2); max-width: 680px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); } .small { font-size: 13.5px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; font-family: var(--f-display); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .18s, box-shadow .18s, background-color .18s, border-color .18s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #f8c75b, #f5a623); color: #1a1205; box-shadow: 0 10px 30px rgba(245,185,66,0.3), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-gold:hover { box-shadow: 0 14px 40px rgba(245,185,66,0.45), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost { background: var(--surface-2); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-sm { min-height: 38px; padding: 8px 15px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-gold { color: var(--gold); border-color: rgba(245,185,66,.45); background: rgba(245,185,66,.08); }
.b-green { color: var(--green); border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.b-red { color: var(--red); border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.08); }
.b-violet { color: var(--violet); border-color: rgba(167,139,250,.45); background: rgba(167,139,250,.1); }
.b-blue { color: var(--blue); border-color: rgba(96,165,250,.4); background: rgba(96,165,250,.08); }

/* header */
.hdr { position: sticky; top: 0; z-index: 100; height: var(--hh); background: rgba(7,8,15,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 32px; width: auto; mix-blend-mode: screen; }
.logo span { font-family: var(--f-display); font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); padding-left: 12px; border-left: 1px solid var(--line-2); line-height: 1.2; white-space: nowrap; }
.logo span b { color: var(--gold); font-weight: 800; }
.hnav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.hnav::-webkit-scrollbar { display: none; }
.hnav a { padding: 8px 11px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .15s, background-color .15s; }
.hnav a:hover, .hnav a.on { color: var(--ink); background: rgba(255,255,255,.05); }
.hdr .btn { margin-left: auto; }

/* sections */
.sec { padding: clamp(64px, 8.5vw, 104px) 0; position: relative; }
.sec-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 40px; }
.head.c { margin-left: auto; margin-right: auto; text-align: center; }
.head.c .lead { margin: 0 auto; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 700px; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 320px at 22% 38%, rgba(245,185,66,.2), transparent 70%), radial-gradient(460px 300px at 78% 28%, rgba(232,121,249,.14), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 13.5px; color: var(--ink-3); }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }


/* cards */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.grid > *, .hero-grid > *, .anatomy > *, .sim > *, .row2 > *, .row3 > * { min-width: 0; }
.card { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.card h3 { margin: 14px 0 8px; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card .big { font-family: var(--f-mono); font-size: 30px; font-weight: 600; margin: 4px 0 6px; }
.ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--c, 245,185,66), .12); border: 1px solid rgba(var(--c, 245,185,66), .35); color: rgb(var(--c, 245,185,66)); }
.ic svg { width: 20px; height: 20px; }
.c-gold { --c: 245,185,66; } .c-green { --c: 52,211,153; } .c-violet { --c: 167,139,250; } .c-red { --c: 248,113,113; } .c-blue { --c: 96,165,250; } .c-pink { --c: 232,121,249; }
.checks { display: grid; gap: 9px; margin-top: 12px; }
.checks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 6px; background: rgba(245,185,66,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b942' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checks li b { color: var(--ink); }

/* tables */
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-display); font-size: 13.5px; font-weight: 700; background: var(--surface-2); white-space: nowrap; }
tbody th { font-weight: 600; color: var(--ink); }
td { color: var(--ink-2); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.code { font-family: var(--f-mono); font-size: 12px; color: var(--gold-2); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(245,185,66,.45); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 17px 54px 17px 20px; font-family: var(--f-display); font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-3); color: var(--gold); font-family: var(--f-mono); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; }

/* cta + footer */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; padding: clamp(36px, 5vw, 56px); border-radius: var(--r-xl); border: 1px solid rgba(245,185,66,.3);
  background: linear-gradient(135deg, rgba(245,185,66,.2), rgba(232,121,249,.1) 60%, rgba(96,165,250,.06)), var(--surface); }
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--ink-2); max-width: 560px; }
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 30px; font-size: 13.5px; color: var(--ink-3); }
.ftr-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; align-items: center; margin-bottom: 22px; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr nav a { color: var(--ink-2); } .ftr nav a:hover { color: var(--ink); }
.ftr .risk { font-size: 12.5px; line-height: 1.7; border-top: 1px solid var(--line); padding-top: 20px; }
.ftr .risk a { color: var(--ink-2); text-decoration: underline; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* ─── Live data (portal API) ─── */
.live-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.live-stats span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); }
.live-stats b { font-family: var(--f-mono); color: var(--ink); }
.live-stats .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.skel { min-height: 420px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite linear; border-color: var(--line); }
@keyframes shimmer { to { background-position: -150% 0; } }
.state { padding: 32px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--ink-2); }
.state b { display: block; color: var(--ink); font-family: var(--f-display); font-size: 17px; margin-bottom: 6px; }
.state .actions { justify-content: center; margin-top: 14px; }
.updated { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }




/* ═══ Telegram copier theme: Telegram blue on the Adiox dark base ═══ */
:root { --tg: #2aabee; --tg-2: #7dd3fc; --tg-deep: #1d8fce; --tg-grad: linear-gradient(120deg, #2aabee, #7c9cff 55%, #f5b942); }
.grad { background: var(--tg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { color: var(--tg-2); }
.btn-tg { background: linear-gradient(135deg, #38b6f2, #1d8fce); color: #fff; box-shadow: 0 10px 30px rgba(42,171,238,.32), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-tg:hover { box-shadow: 0 14px 40px rgba(42,171,238,.48), inset 0 1px 0 rgba(255,255,255,.3); }
.logo span b { color: var(--tg); }
.b-tg { color: var(--tg-2); border-color: rgba(42,171,238,.5); background: rgba(42,171,238,.1); }
.caption { margin-top: 12px; font-size: 12px; color: var(--ink-3); text-align: center; }
.hero::before { background: radial-gradient(520px 320px at 20% 35%, rgba(42,171,238,.22), transparent 70%), radial-gradient(460px 300px at 82% 30%, rgba(124,156,255,.16), transparent 70%); }
.hero { padding-bottom: 40px; }
.hero-c { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-c .lead { margin-left: auto; margin-right: auto; }
.hero-c .actions, .hero-c .facts { justify-content: center; }

/* ═══ The animation: Telegram channel → copier → trading account ═══ */
.flowstage { margin-top: 34px; }
.pipe3 { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
.panel { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 70px rgba(0,0,0,.45); overflow: hidden; transition: border-color .35s, box-shadow .35s; }
.panel.on { border-color: rgba(42,171,238,.6); box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(42,171,238,.25), 0 0 40px rgba(42,171,238,.18); }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.panel-h .av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 13px; color: #fff; }
.panel-h b { display: block; font-family: var(--f-display); font-size: 14px; line-height: 1.2; }
.panel-h small { display: block; font-size: 11.5px; color: var(--ink-3); }
.panel-b { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 250px; }
.step-tag { position: absolute; top: 12px; right: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-3); }

/* Telegram chat */
.p-tg .av { background: linear-gradient(135deg, #38b6f2, #1d8fce); }
.p-tg .panel-b { background: radial-gradient(240px 160px at 85% 10%, rgba(42,171,238,.08), transparent 70%); }
.msg { align-self: flex-start; max-width: 100%; padding: 9px 12px 7px; border-radius: 4px 14px 14px 14px; background: #1c2b3d; border: 1px solid rgba(42,171,238,.25); font-family: var(--f-mono); font-size: 12.5px; line-height: 1.55; color: #e2f2ff;
  opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s, transform .35s; }
.msg.show { opacity: 1; transform: none; }
.msg .t { display: block; text-align: right; font-family: var(--f-body); font-size: 10.5px; color: #7f9ab3; margin-top: 2px; }
.msg .buy { color: #4ade80; font-weight: 600; }
.msg.reply { border-left: 3px solid var(--tg); }
.msg.reply .q { display: block; font-size: 10.5px; color: var(--tg-2); font-family: var(--f-body); margin-bottom: 2px; }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #1c2b3d; }
.typing.show { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #7f9ab3; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* Copier engine */
.p-cp .av { background: linear-gradient(135deg, #f5b942, #b7791f); color: #1a1205; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fld-c { padding: 7px 9px; border-radius: 9px; background: rgba(255,255,255,.03); border: 1px solid var(--line); opacity: .25; transform: scale(.97); transition: opacity .3s, transform .3s, border-color .3s, background-color .3s; min-width: 0; }
.fld-c.show { opacity: 1; transform: none; border-color: rgba(42,171,238,.45); background: rgba(42,171,238,.07); }
.fld-c span { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fld-c b { font-family: var(--f-mono); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.fld-c b small { font-weight: 400; color: var(--tg-2); }
.rule-line { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 9px; background: rgba(245,185,66,.06); border: 1px dashed rgba(245,185,66,.35); font-size: 12px; color: var(--ink-2); opacity: .25; transition: opacity .3s; }
.rule-line.show { opacity: 1; }
.rule-line b { font-family: var(--f-mono); color: var(--gold-2); font-weight: 600; }
.scan { position: relative; height: 3px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.scan i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--tg), var(--gold)); border-radius: inherit; }
.scan.run i { animation: scan 1.2s ease forwards; }
@keyframes scan { to { width: 100%; } }

/* Trading account */
.p-mt .av { background: linear-gradient(135deg, #34d399, #047857); }
.acct-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-3); }
.acct-line b { font-family: var(--f-mono); color: var(--ink); font-weight: 600; }
.pos { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 10px; background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.35);
  font-family: var(--f-mono); font-size: 12px; opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .35s, border-color .3s; }
.pos.show { opacity: 1; transform: none; }
.pos .side { color: #4ade80; font-weight: 600; }
.pos .lv { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos .pl { color: #4ade80; }
.pos .sl { transition: color .3s; }
.pos.be .sl { color: var(--gold-2); }
.pos.be { border-color: rgba(245,185,66,.45); }
.pos.closed { opacity: .6; border-color: rgba(125,211,252,.35); background: rgba(42,171,238,.06); }
.pos.closed .pl { color: var(--tg-2); }
/* Paused: freeze every running CSS animation in the stage too. */
.pipe3.paused *, .pipe3.paused *::before, .pipe3.paused *::after { animation-play-state: paused !important; }
.toast { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 12px; color: #a7f3d0; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.4); opacity: 0; transition: opacity .3s; }
.toast.show { opacity: 1; }
.toast.gold { color: var(--gold-2); background: rgba(245,185,66,.1); border-color: rgba(245,185,66,.4); }

/* connectors with a travelling signal */
.wire { position: relative; align-self: center; height: 2px; margin: 0 6px; background: linear-gradient(90deg, rgba(42,171,238,.25), rgba(245,185,66,.25)); border-radius: 99px; }
.wire::after { content: "›"; position: absolute; right: -4px; top: 50%; transform: translateY(-52%); font-size: 18px; color: rgba(255,255,255,.35); }
.wire i { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--tg); box-shadow: 0 0 0 4px rgba(42,171,238,.2), 0 0 18px rgba(42,171,238,.8); opacity: 0; }
.wire.run i { animation: travel .9s ease-in-out forwards; }
.wire.w2 i { background: var(--gold); box-shadow: 0 0 0 4px rgba(245,185,66,.2), 0 0 18px rgba(245,185,66,.8); }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }

/* steps under the animation */
.stagebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.stages { display: flex; flex-wrap: wrap; gap: 6px; counter-reset: st; }
.stages li { counter-increment: st; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; font-size: 13px; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); transition: color .3s, border-color .3s, background-color .3s; }
.stages li::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; background: rgba(255,255,255,.05); }
.stages li.on { color: var(--ink); border-color: rgba(42,171,238,.55); background: rgba(42,171,238,.1); }
.stages li.on::before { background: var(--tg); color: #04213a; }
.stages li.done { color: var(--ink-2); }
.anim-ctl { display: inline-flex; gap: 8px; align-items: center; }
.anim-ctl button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); }
.anim-ctl button:hover { color: var(--ink); }
.anim-say { margin-top: 10px; font-size: 14px; color: var(--ink-2); text-align: center; min-height: 1.6em; }
.anim-say b { color: var(--ink); }

/* ─── Content sections ─── */
.tldr { margin-top: 26px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.tldr b { color: var(--ink); }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.glance div { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.glance dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.glance dd { font-size: 13.5px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.steps6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 11px; font-family: var(--f-mono); font-weight: 600; color: var(--tg-2); background: rgba(42,171,238,.1); border: 1px solid rgba(42,171,238,.4); }
.step h3 { margin-bottom: 8px; font-size: 17px; }
.step p { font-size: 14px; color: var(--ink-2); }
.understands { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sample { border-radius: var(--r-lg); background: #0f1b2a; border: 1px solid rgba(42,171,238,.3); padding: 16px; font-family: var(--f-mono); font-size: 13px; line-height: 1.7; color: #e2f2ff; white-space: pre-wrap; }
.sample + .sample { margin-top: 10px; }
.sample small { display: block; font-family: var(--f-body); font-size: 11.5px; color: var(--tg-2); margin-bottom: 6px; letter-spacing: .02em; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.langs span { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); }
.risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.risk-grid div { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.risk-grid dt { font-family: var(--f-display); font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.risk-grid dd { font-size: 14px; color: var(--ink-2); }
.monitor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.monitor div { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.monitor b { display: block; font-family: var(--f-display); font-size: 17px; margin-bottom: 4px; }
.monitor .r b { color: var(--green); } .monitor .c b { color: var(--tg-2); } .monitor .n b { color: var(--gold-2); }
.monitor span { font-size: 14px; color: var(--ink-2); }
.trial { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.trial .card.hl { border-color: rgba(42,171,238,.45); background: linear-gradient(160deg, rgba(42,171,238,.12), transparent 60%), var(--surface); }
.cmp table { min-width: 560px; }
.cmp thead th:not(:first-child) { color: var(--tg-2); }
.faq details[open] { border-color: rgba(42,171,238,.5); }
.faq summary::after { color: var(--tg-2); }
.cta { border-color: rgba(42,171,238,.35); background: linear-gradient(135deg, rgba(42,171,238,.18), rgba(124,156,255,.1) 60%, rgba(245,185,66,.06)), var(--surface); }

/* Reduced motion: no travelling dots or typing; the panels show the finished state. */
@media (prefers-reduced-motion: reduce) {
  .wire i, .typing { display: none !important; }
  .msg, .fld-c, .rule-line, .pos, .toast { transition: none; }
}

/* responsive */
@media (max-width: 1000px) {
  .pipe3 { grid-template-columns: minmax(0, 1fr); }
  .wire { width: 2px; height: 36px; justify-self: center; margin: 4px 0; background: linear-gradient(180deg, rgba(42,171,238,.3), rgba(245,185,66,.3)); }
  .wire::after { content: "⌄"; right: auto; left: 50%; top: auto; bottom: -12px; transform: translateX(-50%); }
  .wire i { left: 50%; top: 0; margin: 0 0 0 -6px; }
  .wire.run i { animation: travelv .9s ease-in-out forwards; }
  @keyframes travelv { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }
  .panel-b { min-height: 0; }
  .understands, .trial, .cta { grid-template-columns: 1fr; }
  .steps6, .risk-grid, .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) { .hnav { display: none; } }
@media (max-width: 440px) { .logo span { display: none; } }
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .steps6, .risk-grid, .monitor, .g2, .g3 { grid-template-columns: 1fr; }
  .glance { grid-template-columns: 1fr 1fr; }
  .card { padding: 20px; }
  .actions .btn { flex: 1 1 auto; }
  .stagebar { flex-direction: column; align-items: stretch; }
  .anim-ctl { justify-content: center; }
}
