/* PaperTrade marketing site. No JavaScript: every animation is CSS and respects prefers-reduced-motion. */
:root {
  --bg: #0B0D10;
  --bg-2: #0E1116;
  --surface: #12151A;
  --surface-2: #181C22;
  --border: #232831;
  --border-strong: #2F3540;
  --text: #E8EBEF;
  --muted: #8B93A1;
  --dim: #5E6673;
  --prose: #C4CAD3;
  --accent: #1FD18B;
  --accent-2: #2EE6A0;
  --on-accent: #04140C;
  --accent-soft: rgba(31, 209, 139, 0.12);
  --accent-line: rgba(31, 209, 139, 0.28);
  --glow-a: rgba(31, 209, 139, 0.18);
  --glow-b: rgba(76, 154, 255, 0.12);
  --header: rgba(11, 13, 16, 0.92);
  --up: #22C55E;
  --down: #F0525A;
  --up-soft: rgba(34, 197, 94, 0.14);
  --down-soft: rgba(240, 82, 90, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --logo-line: #E8EBEF;
  --logo-face: #0B0D10;
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F5F6F8;
    --bg-2: #EEF0F3;
    --surface: #FFFFFF;
    --surface-2: #F0F2F5;
    --border: #E3E6EB;
    --border-strong: #CDD2DA;
    --text: #0F1216;
    --muted: #5B6472;
    --dim: #7E8794;
    --prose: #2D3440;
    --accent: #0B8F58;
    --accent-2: #12A86A;
    --on-accent: #FFFFFF;
    --accent-soft: rgba(11, 143, 88, 0.10);
    --accent-line: rgba(11, 143, 88, 0.28);
    --glow-a: rgba(18, 168, 106, 0.16);
    --glow-b: rgba(37, 99, 235, 0.10);
    --header: rgba(245, 246, 248, 0.92);
    --up: #15803D;
    --down: #D3303C;
    --up-soft: rgba(21, 128, 61, 0.12);
    --down-soft: rgba(211, 48, 60, 0.12);
    --shadow: 0 24px 60px rgba(15, 18, 22, 0.14);
    --logo-line: #111111;
    --logo-face: #FFFFFF;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
html, body { overflow-x: clip; }
body { font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.center p.sub, p.sub.center { margin-left: auto; margin-right: auto; }
.spaced { margin-top: 22px; }
.accent-text { background: linear-gradient(100deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--header); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); }
.top-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; }
.lg-line { stroke: var(--logo-line); }
.lg-light { fill: var(--logo-face); }
.lg-dark { fill: var(--logo-line); }
.nav-desktop { display: flex; gap: 22px; flex: 1; }
.nav-desktop a, .link-quiet { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"], .link-quiet:hover { color: var(--text); text-decoration: none; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.nav-mobile { display: none; position: relative; margin-left: auto; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: 0; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-content: center; gap: 4px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-mobile[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile[open] summary span:nth-child(2) { opacity: 0; }
.nav-mobile[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile nav { position: absolute; right: 0; top: 52px; width: min(300px, 86vw); display: flex; flex-direction: column; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); animation: drop .18s ease-out; }
.nav-mobile nav a { color: var(--text); padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.nav-mobile nav a:hover { background: var(--surface-2); text-decoration: none; }
.nav-mobile nav .btn { margin-top: 6px; text-align: center; color: var(--on-accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--accent); transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.btn:hover { text-decoration: none; filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 28px var(--glow-a); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--muted); box-shadow: none; filter: none; }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(600px 360px at 18% 30%, var(--glow-a), transparent 70%),
    radial-gradient(560px 380px at 82% 20%, var(--glow-b), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-line); animation: pulse 1.8s ease-out infinite; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; margin: 22px 0 18px; letter-spacing: -0.035em; font-weight: 800; }
.hero p.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks svg { color: var(--accent); }

/* hero product mock (pure HTML/CSS illustration) */
.mock { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: visible; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--dim); background: var(--surface-2); border-radius: 6px; padding: 2px 10px; }
.mock-body { display: grid; grid-template-columns: 1.05fr 1.5fr 1fr; min-height: 300px; font-size: 12px; }
.mock-list { border-right: 1px solid var(--border); }
.mrow { display: grid; grid-template-columns: 1fr auto; padding: 9px 12px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.mrow b { font-weight: 600; font-size: 12px; }
.mrow span { font-weight: 600; text-align: right; }
.mrow em { grid-column: 2; font-style: normal; text-align: right; font-size: 11px; }
.mrow.up span, .mrow.up em { color: var(--up); }
.mrow.down span, .mrow.down em { color: var(--down); }
.mrow.up { animation: flash-up 5s ease-out infinite; }
.mrow.down { animation: flash-down 5s ease-out infinite; }
.f2 { animation-delay: 1.1s !important; } .f3 { animation-delay: 2.3s !important; } .f4 { animation-delay: 3.1s !important; }
.f5 { animation-delay: .6s !important; } .f6 { animation-delay: 3.8s !important; }
.mock-chart { padding: 12px 12px 8px; display: flex; flex-direction: column; }
.mock-chart-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.mock-chart-head b { font-size: 12px; }
.mock-price { font-weight: 800; font-size: 18px; }
.mock-chart-head em { font-style: normal; color: var(--up); font-weight: 600; }
.chart-svg { width: 100%; flex: 1; min-height: 170px; margin-top: 8px; }
.grid-lines line { stroke: var(--border); stroke-width: 1; }
.c-up { fill: var(--up); opacity: .85; } .c-dn { fill: var(--down); opacity: .85; }
.candles rect { transform-origin: bottom; transform-box: fill-box; animation: grow .7s cubic-bezier(.2,.8,.2,1) both; }
.candles rect:nth-child(2n) { animation-delay: .08s; } .candles rect:nth-child(3n) { animation-delay: .16s; } .candles rect:nth-child(4n) { animation-delay: .24s; }
.trend { fill: none; stroke: var(--accent-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .5s ease-out forwards; filter: drop-shadow(0 4px 10px var(--glow-a)); }
.mock-ticket { border-left: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; gap: 3px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.seg span { text-align: center; padding: 5px 0; border-radius: 6px; color: var(--muted); font-weight: 600; }
.seg .on { background: var(--up); color: #fff; }
.seg-sm .on { background: var(--border-strong); color: var(--text); }
.field { border: 1px solid var(--border); border-radius: 8px; padding: 5px 9px; background: var(--surface-2); }
.field small { display: block; color: var(--dim); font-size: 10px; }
.kv { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-variant-numeric: tabular-nums; }
.kv b { color: var(--text); font-weight: 600; }
.buy-btn { margin-top: auto; text-align: center; background: var(--up); color: #fff; font-weight: 700; padding: 9px; border-radius: 8px; animation: press 5s ease-in-out infinite; }
.toast { position: absolute; right: -18px; bottom: 34px; display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; opacity: 0; animation: toast 5s ease-in-out infinite; }
.toast b { display: block; font-size: 13px; }
.toast small { color: var(--muted); }
.toast-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--up-soft); color: var(--up); font-weight: 800; }
.mock figcaption { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-size: 12px; color: var(--dim); }

/* ---------- ticker tape ---------- */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 44px; padding: 13px 0; animation: marquee 40s linear infinite; }
.ticker span { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ticker b { color: var(--text); font-weight: 600; margin: 0 4px; }
.ticker em { font-style: normal; font-weight: 600; color: var(--muted); }
.ticker em.up { color: var(--up); } .ticker em.down { color: var(--down); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- sections ---------- */
section { padding: 88px 0; scroll-margin-top: 76px; }
section h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.025em; font-weight: 800; max-width: 760px; }
section p.sub { color: var(--muted); font-size: 17px; margin: 0 0 40px; max-width: 640px; }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.center h2, h2.center { margin-left: auto; margin-right: auto; text-align: center; }
p.kicker.center { text-align: center; }

.facts { padding: 56px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.fact b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(100deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { color: var(--muted); font-size: 14px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 14px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.feature { position: relative; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: 0 18px 40px var(--glow-a); }
.ficon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); transition: transform .3s ease; }
.feature:hover .ficon { transform: rotate(-6deg) scale(1.06); }
.audience .card h3 { margin-top: 0; }

/* showcase splits */
.showcase { padding-top: 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 24px; }
.split.reverse .split-copy { order: 2; }
.split-copy .sub { margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 10px; font-variant-numeric: tabular-nums; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.panel-head span { color: var(--dim); font-size: 13px; }
.review { border: 1px solid var(--up); border-left-width: 4px; border-radius: 12px; padding: 14px 16px; display: grid; gap: 9px; }
.review-title { color: var(--up); font-weight: 700; font-size: 17px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.kv.total { padding-top: 9px; border-top: 1px solid var(--border); }
.kv.total b { font-weight: 800; }
.panel-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 6px; }
.ghost-btn, .confirm-btn { text-align: center; padding: 11px; border-radius: 10px; font-weight: 700; }
.ghost-btn { border: 1px solid var(--border-strong); }
.confirm-btn { background: var(--up); color: #fff; animation: press 4s ease-in-out infinite; }
.note-hero { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0 12px; border-bottom: 1px solid var(--border); }
.note-hero span { color: var(--muted); }
.note-hero b { font-size: 26px; color: var(--down); letter-spacing: -0.02em; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); position: relative; }
.steps .card { position: relative; }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; box-shadow: 0 0 0 6px var(--accent-soft); }

/* pricing */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); max-width: 820px; }
.pricing-teaser .plans { margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { margin-top: 0; }
.plan.featured { border-color: var(--accent); box-shadow: 0 18px 44px var(--glow-a); }
.plan .badge { position: absolute; top: -12px; right: 18px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.card .price { font-size: 44px; font-weight: 800; margin: 4px 0 0; color: var(--text); letter-spacing: -0.03em; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-note { margin: 6px 0 18px !important; }
.plan ul { padding-left: 18px; color: var(--muted); }
.plan .btn { width: 100%; text-align: center; margin-top: auto; }

.plans.plans-3 { max-width: 1040px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--surface-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 26%; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:last-child { color: var(--text); font-weight: 600; }

/* faq */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0; margin-bottom: 10px; transition: border-color .2s ease; }
details[open] { border-color: var(--border-strong); }
summary { cursor: pointer; font-weight: 600; padding: 16px 48px 16px 18px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
.faq summary::after, .prose summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--muted); margin: 0; padding: 0 18px 16px; }
details[open] p { animation: drop .2s ease-out; }

/* final CTA */
.final-cta { padding-top: 40px; }
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 64px 24px; border-radius: 24px; border: 1px solid var(--accent-line);
  background: radial-gradient(500px 240px at 50% 0%, var(--glow-a), transparent 70%), var(--surface); }
.cta-band h2 { margin: 18px auto 10px; }
.cta-band p { color: var(--muted); margin: 0 auto 28px; max-width: 520px; }
.cta-band .cta { justify-content: center; }
.cta-mark { display: block; margin: 0 auto; animation: float 4s ease-in-out infinite; }

/* prose pages */
.prose { max-width: 780px; padding: 56px 24px 72px; }
.prose h1 { font-size: 38px; margin: 0 0 6px; letter-spacing: -0.02em; }
.prose h2 { font-size: 21px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--prose); }
.prose .updated { color: var(--dim); font-size: 14px; margin-bottom: 28px; }
.note { color: var(--dim); font-size: 13px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-list strong { display: inline-block; min-width: 150px; color: var(--text); }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 48px 0 28px; margin-top: 56px; background: var(--bg-2); }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 2fr 1fr 1fr 1fr; }
.foot h4 { margin: 4px 0 10px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.foot-grid a:not(.brand) { display: block; color: var(--dim); font-size: 14px; padding: 4px 0; }
.foot-grid a:not(.brand):hover { color: var(--text); text-decoration: none; }
.disclaimer { color: var(--dim); font-size: 12px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---------- motion ---------- */
.fade-up { animation: fade-up .7s cubic-bezier(.2,.8,.2,1) both; }
.fade-in { animation: fade-in 1s ease-out both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(3%, 4%, 0) scale(1.08); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-line); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes flash-up { 0%, 78%, 100% { background: transparent; } 82% { background: var(--up-soft); } }
@keyframes flash-down { 0%, 78%, 100% { background: transparent; } 82% { background: var(--down-soft); } }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: .85; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes press { 0%, 52%, 64%, 100% { transform: scale(1); filter: none; } 56% { transform: scale(.96); filter: brightness(1.15); } }
@keyframes toast { 0%, 56% { opacity: 0; transform: translateY(10px); } 62%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .trend { stroke-dashoffset: 0; }
  .toast { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .cta, .checks { justify-content: center; }
  .mock { max-width: 760px; margin: 0 auto; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .toast { right: 12px; }
}
@media (max-width: 860px) {
  .nav-desktop, .top-actions { display: none; }
  .nav-mobile { display: block; }
  .split, .faq { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-copy { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 48px 0 64px; }
  .mock-body { grid-template-columns: 1fr 1.3fr; }
  .mock-ticket { display: none; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact { padding: 14px; }
  .fact b { font-size: 24px; }
  .fact span { font-size: 13px; line-height: 1.45; display: block; }
  .hero h1 { font-size: clamp(32px, 9.5vw, 40px); }
  .cta .btn { width: 100%; }
  .checks { gap: 8px 16px; font-size: 13px; }
  section h2 { font-size: clamp(26px, 7.4vw, 32px); }
  section p.sub { font-size: 16px; }
  .card { padding: 20px; }
  .panel { padding: 16px; }
  .cta-band { padding: 44px 18px; border-radius: 18px; }
  .toast { left: 12px; right: 12px; bottom: 18px; }
  .split { padding: 24px 18px; }
}
@media (max-width: 359px) {
  .facts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-list .mrow:nth-child(n+4) { display: none; }
  .mock-list { border-right: 0; border-bottom: 1px solid var(--border); }
}

/* ---------- verified P&L page (rendered by the API at /verified/<id>) ---------- */
.vf-main { max-width: 920px; padding-top: 36px; padding-bottom: 64px; }
.vf-main section { padding: 0; scroll-margin-top: 0; }
.vf-main section.vf-card { padding: 22px; }
.vf-main section.vf-hero { padding: 28px 0 32px; }
.vf-main section.vf-cta { padding: 36px 20px; }
.vf-top-spacer { flex: 1; }
.vf .up { color: var(--up); } .vf .down { color: var(--down); } .vf .flat { color: var(--muted); }
.vf-hero { text-align: center; padding: 28px 0 32px; }
.vf-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.vf-hero h1 { font-size: clamp(28px, 5vw, 40px); margin: 16px 0 6px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.vf-meta { color: var(--muted); margin: 0; }
.vf-paper { color: var(--dim); font-size: 13px; margin: 6px 0 0; }
.vf-headline { font-size: clamp(48px, 10vw, 76px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: 26px; font-variant-numeric: tabular-nums; }
.vf-headline small { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.vf-sub { font-size: 20px; font-weight: 700; margin-top: 10px; font-variant-numeric: tabular-nums; }
.vf-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-top: 16px; }
.vf-card h2 { font-size: 18px; margin: 0 0 4px; letter-spacing: -0.01em; }
.vf-note { color: var(--dim); font-size: 13px; margin: 0 0 14px; }
.vf-empty { color: var(--muted); margin: 8px 0; }
.vf-equity { display: block; width: 100%; height: 220px; }
.vf-line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vf-equity.up .vf-line { stroke: var(--up); } .vf-equity.down .vf-line { stroke: var(--down); }
.vf-equity.up .vf-stop-a { stop-color: var(--up); stop-opacity: .22; } .vf-equity.down .vf-stop-a { stop-color: var(--down); stop-opacity: .22; }
.vf-stop-b { stop-color: var(--surface); stop-opacity: 0; }
.vf-base { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.vf-heat-wrap { overflow-x: auto; padding-bottom: 4px; direction: rtl; } /* starts scrolled to the latest weeks */
.vf-heat-wrap > svg { direction: ltr; }
.vf-heat { display: block; min-width: 640px; width: 100%; height: auto; }
.vf-axis { fill: var(--dim); font-size: 10px; font-family: inherit; }
.vf-heat rect, .vf-legend i { stroke: var(--bg); stroke-width: 0; }
.vf-c0 { fill: var(--surface-2); opacity: .55; } .vf-cz { fill: var(--muted); opacity: .45; }
.vf-cp1 { fill: color-mix(in srgb, var(--up) 30%, var(--surface-2)); } .vf-cp2 { fill: color-mix(in srgb, var(--up) 52%, var(--surface-2)); }
.vf-cp3 { fill: color-mix(in srgb, var(--up) 76%, var(--surface-2)); } .vf-cp4 { fill: var(--up); }
.vf-cn1 { fill: color-mix(in srgb, var(--down) 30%, var(--surface-2)); } .vf-cn2 { fill: color-mix(in srgb, var(--down) 52%, var(--surface-2)); }
.vf-cn3 { fill: color-mix(in srgb, var(--down) 76%, var(--surface-2)); } .vf-cn4 { fill: var(--down); }
.vf-heat rect:hover { stroke: var(--text); stroke-width: 1.5; }
.vf-legend { display: flex; align-items: center; gap: 4px; justify-content: flex-end; color: var(--dim); font-size: 12px; margin-top: 10px; }
.vf-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.vf-legend .vf-cn4 { background: var(--down); } .vf-legend .vf-cn2 { background: color-mix(in srgb, var(--down) 52%, var(--surface-2)); }
.vf-legend .vf-cz { background: var(--muted); opacity: .45; }
.vf-legend .vf-cp2 { background: color-mix(in srgb, var(--up) 52%, var(--surface-2)); } .vf-legend .vf-cp4 { background: var(--up); }
.vf-legend span { margin: 0 4px; }
.vf-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-top: 16px; }
.vf-month { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.vf-month b { font-size: 16px; }
.vf-mname { color: var(--muted); font-size: 12px; }
.vf-month.up b, .vf-month.up .vf-mamt { color: var(--up); } .vf-month.down b, .vf-month.down .vf-mamt { color: var(--down); }
.vf-mamt { font-size: 12px; }
.vf-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; margin-top: 10px; }
.vf-stat { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.vf-stat span { color: var(--muted); font-size: 13px; }
.vf-stat b { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.vf-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.vf-table th { text-align: left; color: var(--dim); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 8px 6px; border-bottom: 1px solid var(--border); }
.vf-table td { padding: 10px 6px; border-bottom: 1px solid var(--border); }
.vf-table .num { text-align: right; }
.vf-verify { margin-top: 32px; color: var(--muted); font-size: 14px; }
.vf-verify b { color: var(--text); }
.vf-disclaimer { border-left: 3px solid var(--border-strong); padding-left: 12px; }
.vf-gen { color: var(--dim); font-size: 12px; }
.vf-cta { text-align: center; margin-top: 36px; padding: 36px 20px; border-radius: 18px; border: 1px solid var(--accent-line); background: radial-gradient(420px 200px at 50% 0%, var(--glow-a), transparent 70%), var(--surface); }
.vf-cta h2 { margin: 0 auto 8px; text-align: center; }
.vf-cta p { color: var(--muted); margin: 0 0 20px; }
@media (max-width: 640px) {
  .vf-main section.vf-card { padding: 16px; }
  .vf-equity { height: 170px; }
  .vf-stat b { font-size: 18px; }
  .vf-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vf-stat { padding: 10px 12px; }
  .vf-months { grid-template-columns: repeat(3, 1fr); }
}
