/* CryptoMeter 2.0 landing. MIKODES design tokens (LAUNCH-ENGINE/design/MIKODES-DESIGN.md). */
:root {
  color-scheme: light;
  --bg: #F4F5F3;
  --bg2: #FFFFFF;
  --bg3: #ECEEEA;
  --ink: #171E19;
  --ink2: #2B332E;
  --muted: #5C6660;
  --line: rgba(23, 30, 25, .10);
  --line2: rgba(23, 30, 25, .16);
  --accent: #7C5BFF;
  --accent-ink: #5334E0;
  --accent-soft: rgba(124, 91, 255, .10);
  --amber: #FFE17C;
  --ok: #157A4B;
  --ok-soft: rgba(31, 157, 99, .12);
  --bad: #C0322F;
  --bad-soft: rgba(217, 63, 63, .11);
  --warn: #8A5A00;
  --warn-soft: rgba(230, 160, 0, .16);
  --neutral: #59625C;
  --neutral-soft: rgba(23, 30, 25, .07);
  --shadow: 0 1px 2px rgba(23, 30, 25, .05), 0 12px 32px -12px rgba(23, 30, 25, .18);
  --shadow-lg: 0 2px 4px rgba(23, 30, 25, .04), 0 40px 80px -30px rgba(40, 30, 90, .35);
  --r: 18px;
  --r-sm: 12px;
  --max: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171E19;
  --bg2: #1D2620;
  --bg3: #232D26;
  --ink: #F3F6F4;
  --ink2: #D9E0DB;
  --muted: #9AA69F;
  --line: rgba(255, 255, 255, .10);
  --line2: rgba(255, 255, 255, .16);
  --accent-ink: #B3A2FF;
  --accent-soft: rgba(124, 91, 255, .18);
  --ok: #5BDC9D;
  --ok-soft: rgba(91, 220, 157, .13);
  --bad: #FF8A84;
  --bad-soft: rgba(255, 110, 100, .14);
  --warn: #FFD35C;
  --warn-soft: rgba(255, 211, 92, .13);
  --neutral: #B4BEB8;
  --neutral-soft: rgba(255, 255, 255, .08);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -30px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font); font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code, kbd, pre { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand img { width: 30px; height: 30px; }
.brand small { font-weight: 600; font-size: 11px; color: var(--muted); border: 1px solid var(--line2); border-radius: 99px; padding: 1px 7px; letter-spacing: 0; }
.nav-links { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 11px; border-radius: 10px; }
.nav-links a:hover { background: var(--neutral-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 11px;
  border: 1px solid var(--line2); background: var(--bg2); color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.theme-ico-dark { display: none; }
[data-theme="dark"] .theme-ico-dark { display: block; }
[data-theme="dark"] .theme-ico-light { display: none; }
@media (max-width: 960px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }
@media (max-width: 420px) { .nav .btn-sm .long { display: none; } .brand small { display: none; } }

/* ---------- Buttons & chips ---------- */
.btn {
  --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15.5px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 10px 30px -12px rgba(23, 30, 25, .6); }
[data-theme="dark"] .btn-primary { background: #F3F6F4; color: #171E19; }
.btn-primary .price { background: var(--amber); color: #171E19; border-radius: 8px; padding: 2px 8px; font-size: 14px; }
.btn-ghost { background: var(--bg2); color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 18px; height: 18px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line2); background: var(--bg2); color: var(--ink2); white-space: nowrap;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.v { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 12.5px; line-height: 1; padding: 5px 9px 5px 7px; border-radius: 99px; white-space: nowrap; }
.v svg { width: 13px; height: 13px; flex: none; }
.v-ok { color: var(--ok); background: var(--ok-soft); }
.v-bad { color: var(--bad); background: var(--bad-soft); }
.v-warn { color: var(--warn); background: var(--warn-soft); }
.v-neu { color: var(--neutral); background: var(--neutral-soft); }
.v-acc { color: var(--accent-ink); background: var(--accent-soft); }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head.center .eyebrow::before { display: none; }
h2 { font-size: clamp(32px, 4.6vw, 54px); }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); margin-top: 18px; line-height: 1.55; }
.muted { color: var(--muted); }
.alt { background: var(--bg2); border-block: 1px solid var(--line); }
@media (max-width: 700px) { section { padding: 72px 0; } .sec-head { margin-bottom: 32px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 12% 8%, rgba(124, 91, 255, .20), transparent 70%),
    radial-gradient(520px 360px at 92% 30%, rgba(255, 225, 124, .30), transparent 70%);
}
[data-theme="dark"] .hero::before {
  background:
    radial-gradient(600px 380px at 12% 8%, rgba(124, 91, 255, .28), transparent 70%),
    radial-gradient(520px 360px at 92% 30%, rgba(255, 225, 124, .10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(var(--line2) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); letter-spacing: -.045em; line-height: .98; margin-top: 22px; }
.hero h1 .hl { background: linear-gradient(100deg, var(--accent) 10%, #B06CFF 55%, #E7A93A 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); overflow: hidden; }
.steps4 li { list-style: none; padding: 18px 20px; border-right: 1px solid var(--line); }
.steps4 li:last-child { border-right: 0; }
.steps4 b { display: block; font-size: 15px; }
.steps4 span { font-size: 13.5px; color: var(--muted); }
.steps4 i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 760px) { .steps4 { grid-template-columns: 1fr 1fr; } .steps4 li:nth-child(2) { border-right: 0; } .steps4 li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Decision trace (illustration) */
.trace { background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.trace-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.trace-title { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.trace-title .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(124, 91, 255, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(124, 91, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 91, 255, 0); } }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg3); border-radius: 11px; border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { font: 600 12.5px/1 var(--font); color: var(--muted); background: transparent; border: 0; padding: 8px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.seg button[aria-selected="true"] { background: var(--bg2); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.trace-body { padding: 8px 16px 16px; }
.trace-scenarios { padding: 12px 16px 0; }
.t-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 0; position: relative; }
.t-step:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 40px; bottom: -4px; width: 1px; background: var(--line2); }
.t-n { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font: 700 12px/1 var(--mono); background: var(--bg3); color: var(--muted); border: 1px solid var(--line); }
.t-k { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.t-v { font-size: 14.5px; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; overflow-wrap: anywhere; }
.t-v code { background: var(--bg3); border: 1px solid var(--line); padding: 2px 7px; border-radius: 7px; font-size: 12.5px; }
.t-status { font: 800 20px/1 var(--mono); letter-spacing: -.02em; }
.t-status.s403 { color: var(--bad); }
.t-status.s200 { color: var(--ok); }
.trace-foot { padding: 12px 16px; border-top: 1px dashed var(--line2); font-size: 12.5px; color: var(--muted); }
.trace [data-anim] { animation: tin .45s both; }
.trace [data-anim="1"] { animation-delay: .05s; } .trace [data-anim="2"] { animation-delay: .17s; } .trace [data-anim="3"] { animation-delay: .29s; } .trace [data-anim="4"] { animation-delay: .41s; }
@keyframes tin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Device frames ---------- */
.shot-stage { position: relative; margin-top: 64px; }
.browser { background: var(--bg2); border: 1px solid var(--line2); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg3); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.url { flex: 1; min-width: 0; font: 500 12.5px/1 var(--mono); color: var(--muted); background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.label-test { flex: none; font-size: 11.5px; font-weight: 700; color: var(--warn); background: var(--warn-soft); border-radius: 99px; padding: 4px 9px; }
.browser img { width: 100%; background: #F0F0F1; }
.phone {
  position: absolute; right: -8px; bottom: -48px; width: clamp(150px, 20vw, 236px); aspect-ratio: 390/780;
  border-radius: 36px; padding: 8px; background: #0F1411; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 32%; height: 17px; border-radius: 99px; background: #000; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.caption { font-size: 13px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.caption svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
@media (max-width: 760px) { .phone { display: none; } .shot-stage { margin-top: 44px; } }

/* ---------- Problem cards ---------- */
.problems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.alt .card { background: var(--bg); }
.problems .card h3 { font-size: 18px; letter-spacing: -.015em; margin: 14px 0 8px; }
.problems .card p { font-size: 14.5px; color: var(--muted); }
.problems .src { display: inline-block; margin-top: 12px; font-size: 12.5px; }
.ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.ico svg { width: 22px; height: 22px; }
@media (max-width: 1000px) { .problems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .problems { grid-template-columns: 1fr; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.b { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; padding: 26px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.b:hover { border-color: var(--line2); transform: translateY(-2px); text-decoration: none; }
.b .num { font: 700 12px/1 var(--mono); color: var(--accent-ink); }
.b h3 { font-size: 23px; }
.b p { color: var(--muted); font-size: 15px; }
.b-1 { grid-column: span 3; } .b-2 { grid-column: span 3; } .b-3 { grid-column: span 2; } .b-4 { grid-column: span 2; } .b-5 { grid-column: span 2; }
.b .viz { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.pol { width: 100%; display: grid; gap: 7px; }
.pol div { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; background: var(--bg3); border-radius: 10px; padding: 8px 10px; }
.ratio { width: 100%; display: grid; gap: 9px; }
.ratio .r { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.ratio .bar { height: 8px; border-radius: 9px; background: var(--bg3); overflow: hidden; }
.ratio .bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--accent), #B06CFF); }
.ratio .note { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.files code { font-size: 12px; padding: 5px 8px; border-radius: 8px; background: var(--bg3); border: 1px solid var(--line); }
.x402 { font: 800 44px/1 var(--mono); letter-spacing: -.04em; color: var(--accent-ink); }
@media (max-width: 1000px) { .b-1, .b-2 { grid-column: span 6; } .b-3, .b-4 { grid-column: span 3; } .b-5 { grid-column: span 6; } }
@media (max-width: 640px) { .b-3, .b-4 { grid-column: span 6; } .b { padding: 22px; } }

/* ---------- Pillar rows ---------- */
.pillar { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.pillar:first-of-type { border-top: 0; padding-top: 0; }
.pillar.flip .p-text { order: 2; }
.p-kicker { display: flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--mono); color: var(--accent-ink); text-transform: uppercase; letter-spacing: .06em; }
.p-kicker .opt { font-family: var(--font); text-transform: none; letter-spacing: 0; }
.pillar h3 { font-size: clamp(26px, 3vw, 38px); margin: 14px 0 14px; }
.pillar .p-text > p { color: var(--muted); font-size: 16.5px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D63' 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/12px no-repeat; }
.honest { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); background: var(--warn-soft); border-radius: 12px; padding: 12px 14px; }
.honest svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--warn); }
.verdicts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stack-shots { display: grid; gap: 14px; }
.frame { background: var(--bg2); border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.frame figcaption, .fig-cap { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.frame img { width: 100%; background: #F0F0F1; }
figure { margin: 0; }
@media (max-width: 980px) { .pillar { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; } .pillar.flip .p-text { order: 0; } }

/* ---------- Workflow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.flow .card { position: relative; }
.flow .card::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 700 13px/1 var(--mono); color: var(--accent-ink); }
.flow h3 { font-size: 18px; margin: 14px 0 8px; }
.flow p { font-size: 14.5px; color: var(--muted); }
.flow-shot { margin-top: 24px; }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Admin tour ---------- */
.tour-tabs { display: flex; justify-content: center; margin-bottom: 22px; }
.tour-tabs .seg { flex-wrap: nowrap; }
.tour-tabs .seg button { font-size: 14px; padding: 10px 14px; }
.tour-panel[hidden] { display: none; }
.tour-panel .browser img { max-height: 780px; object-fit: cover; object-position: top; }
.tour-panel p.desc { text-align: center; max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 15px; }
.notice { display: flex; gap: 12px; align-items: flex-start; max-width: 820px; margin: 0 auto 28px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg2); font-size: 14.5px; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--accent-ink); margin-top: 1px; }
@media (max-width: 760px) { .tour-tabs { justify-content: flex-start; } .tour-tabs .seg { width: 100%; } }

/* ---------- Security / lists ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 .card h3, .grid2 .card h3 { font-size: 17px; margin: 14px 0 8px; letter-spacing: -.01em; }
.grid3 .card p, .grid2 .card p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.outbound { margin-top: 24px; }
.outbound summary { cursor: pointer; font-weight: 700; }
.outbound ul { margin: 12px 0 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.outbound code { overflow-wrap: anywhere; }

.limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.limits li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.limits li svg { width: 20px; height: 20px; color: var(--warn); margin-top: 2px; }
.limits b { display: block; }
.limits span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .limits { grid-template-columns: 1fr; } }

/* Stack + requirements */
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 600; color: var(--muted); padding-right: 16px; }
.spec td { overflow-wrap: anywhere; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Included */
.inc { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.inc li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.inc svg { width: 20px; height: 20px; margin-top: 2px; }
.inc.yes svg { color: var(--ok); }
.inc.no svg { color: var(--muted); }
.inc span { color: var(--muted); font-size: 14px; display: block; }

/* Changelog */
.log { border-left: 2px solid var(--line2); padding-left: 24px; position: relative; }
.log::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.log h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.log ul { margin: 16px 0 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; }
.log ul b { font-weight: 700; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 2px; font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--font); color: var(--muted); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 2px 22px; color: var(--muted); font-size: 15.5px; display: grid; gap: 10px; }

/* Buy band */
.buy { position: relative; border-radius: 28px; padding: clamp(32px, 6vw, 64px); background: #171E19; color: #F3F6F4; overflow: hidden; isolation: isolate; }
.buy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 90% 0%, rgba(124, 91, 255, .45), transparent 70%), radial-gradient(420px 260px at 0% 100%, rgba(255, 225, 124, .18), transparent 70%); }
.buy h2 { color: #fff; }
.buy .lead { color: #B9C4BD; }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.buy .btn-primary { background: #F3F6F4; color: #171E19; }
.buy .btn-ghost { background: transparent; color: #F3F6F4; border-color: rgba(255, 255, 255, .25); }
.price-big { font-size: clamp(56px, 8vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price-big small { font-size: 18px; font-weight: 600; letter-spacing: 0; color: #B9C4BD; }
.buy .fine { font-size: 13px; color: #9AA69F; margin-top: 14px; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; } }

/* Footer */
footer { padding: 48px 0 64px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--ink2); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.legal { margin-top: 20px; font-size: 12.5px; max-width: 880px; }

/* Scroll reveal (progressive) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise both linear; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) { .trace [data-anim], .trace-title .pulse { animation: none; } .btn, .b { transition: none; } }

/* ---------- Fixes after QA ---------- */
.b .viz.ratio, .b .viz.pol { display: grid; width: 100%; }
.frame > a, .browser > a { display: block; cursor: zoom-in; }
@media (max-width: 640px) {
  .grid3 .card { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 20px; }
  .grid3 .card .ico { grid-row: span 2; }
  .grid3 .card h3 { margin-top: 0; }
  .trace .seg button { padding: 8px 8px; font-size: 12px; }
  .problems .card { padding: 20px; }
}
