/* Dark trading-terminal look with a green accent (single dark theme by design). */
:root {
  --bg: #07090c;
  --bg-2: #0d1115;
  --surface: #13181d;
  --surface-2: #1a2026;
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .14);
  --fg: #f3f6f4;
  --muted: #8a949c;
  --dim: #6b747c;
  --accent: #298aff;
  --accent-2: #66adff;
  --accent-ink: #02101f;
  --good: #298aff;
  --bad: #f05a5a;
  --warn: #f2b53b;
  --display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.good { color: var(--good); }
.bad { color: var(--bad); }
.eyebrow { font: 500 .75rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 13px 24px; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.sm { padding: 8px 16px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.top nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top nav a:not(.btn):hover, .tabs a.on { color: var(--fg); }
.tabs a.on { box-shadow: inset 0 -2px 0 var(--accent); }
.tabs a { padding: 18px 0; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); text-decoration: none; font: 650 1.2rem var(--display); }
.logo svg { width: 24px; height: 24px; color: var(--accent); }

/* Landing */
.hero { padding-block: 56px 64px; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.cta-row.center { justify-content: center; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); padding-block: 56px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.steps li::before { content: counter(s); font: 500 .8rem var(--mono); color: var(--accent); border: 1px solid var(--accent); border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; }
.steps span { color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; padding-block: 64px; }
.feat { min-width: 0; }
.feat p { color: var(--muted); }
.feat.accent h3 { color: var(--accent); }
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px auto; max-width: 640px; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 4px; text-align: left; font: inherit; color: inherit; }
button.price-card { cursor: pointer; }
button.price-card:hover { border-color: var(--accent); }
.price-card.best { border-color: var(--accent); }
.tag { position: absolute; top: -11px; left: 18px; background: var(--accent); color: var(--accent-ink); font: 600 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.p-label { font-weight: 600; }
.p-price { font: 650 1.9rem var(--display); }
.p-price small { font: 400 .9rem var(--body); color: var(--muted); }
.faq { padding-block: 56px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Result card (also used as landing mock) */
.mock, .card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-width: 0; }
.mock { box-shadow: 0 24px 60px -30px rgb(0 0 0 / .55); }
.mock-top, .res-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mock-verdict, .verdict { font: 650 1.6rem var(--display); }
.v-strong { color: var(--good); }
.v-weak { color: var(--warn); }
.v-avoid { color: var(--bad); }
.mock-sum { color: var(--muted); margin: 14px 0 18px; }
.ring { --p: 50; --c: var(--good); width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.ring span { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 500 1.35rem var(--mono); }
.ring.weak { --c: var(--warn); }
.ring.avoid { --c: var(--bad); }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.plan-grid > div { background: var(--surface); padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.plan-grid span { font-size: .78rem; color: var(--muted); }
.plan-grid b { font-weight: 500; font-size: 1.02rem; overflow-wrap: anywhere; }
.size-strip { margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 10px; padding: 10px 12px; font-size: .88rem; }
.size-strip b { font-weight: 500; }

/* App */
.app-main { padding-block: 32px 64px; min-height: 60vh; }
.auth { max-width: 420px; margin: 24px auto; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: .85rem; color: var(--muted); }
input, textarea, select { width: 100%; background: var(--bg-2); color: var(--fg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: 1rem var(--body); }
input:focus, textarea:focus { border-color: var(--accent); outline: none; }
.err { color: var(--bad); font-size: .9rem; min-height: 1.2em; }
.switch { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

.analyze-grid { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.drop { border: 1.5px dashed var(--line); border-radius: 16px; padding: 28px 18px; text-align: center; cursor: pointer; background: var(--bg-2); transition: border-color .15s; }
.drop.over, .drop:hover { border-color: var(--accent); }
.drop img { max-height: 220px; margin: 0 auto 10px; border-radius: 8px; object-fit: contain; }
.drop b { display: block; margin-bottom: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.free-note { font-size: .85rem; color: var(--muted); }
.free-note b { color: var(--accent); font-weight: 600; }

.result { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.res-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.chip { font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .05em; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.chip.bullish { color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, transparent); }
.chip.bearish { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.chip.demo { color: var(--warn); border-color: var(--warn); }
.sec h3 { font-family: var(--body); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.levels { display: flex; flex-direction: column; }
.lvl { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); align-items: baseline; }
.lvl:first-child { border-top: 0; }
.lvl .p { font: 500 1rem var(--mono); font-variant-numeric: tabular-nums; }
.lvl.resistance .p { color: var(--bad); }
.lvl.support .p { color: var(--good); }
.lvl small { display: block; color: var(--muted); }
.list { margin: 0; padding-left: 18px; color: var(--muted); }
.list b { color: var(--fg); font-weight: 600; }
.tp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dir { font: 600 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; }
.dir.long { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.dir.short { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }
.size-box { margin-top: 14px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 12px; padding: 14px; background: color-mix(in srgb, var(--accent) 7%, transparent); }
.size-box .big { font: 500 1.5rem var(--mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.size-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 10px; font-size: .9rem; }
.size-rows span { display: block; color: var(--muted); font-size: .78rem; }
.warn-line { color: var(--warn); font-size: .85rem; margin-top: 10px; }
.tip { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--fg); }
.disc { font-size: .78rem; color: var(--muted); }
.empty { border: 1px dashed var(--line); border-radius: 16px; padding: 40px 24px; text-align: center; color: var(--muted); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); margin: 0 auto 14px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.h-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; text-align: left; color: inherit; font: inherit; padding: 0; display: flex; flex-direction: column; }
.h-item:hover { border-color: var(--accent); }
.h-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-2); }
.h-body { padding: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.lessons { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.l-list { display: flex; flex-direction: column; gap: 4px; }
.l-btn { text-align: left; background: none; border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; color: var(--muted); font: inherit; cursor: pointer; display: flex; gap: 10px; align-items: center; }
.l-btn.on { border-color: var(--line); background: var(--surface); color: var(--fg); }
.l-btn .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; display: grid; place-items: center; font-size: .7rem; }
.l-btn.done .dot { background: var(--good); border-color: var(--good); color: var(--bg); }
.lesson { max-width: 68ch; min-width: 0; }
.lesson p { color: var(--muted); }
.quiz { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.quiz button { text-align: left; }
.quiz .right { border-color: var(--good); color: var(--good); }
.quiz .wrong { border-color: var(--bad); color: var(--bad); }

.acct { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }

.modal { position: fixed; inset: 0; z-index: 50; background: rgb(5 8 15 / .7); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); overflow-y: auto; }
.modal-box { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 28px; max-width: 760px; width: 100%; }
.x { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.7rem; cursor: pointer; }

.foot { border-top: 1px solid var(--line); padding-block: 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot-in > div { max-width: 360px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: .9rem; }
.legal { padding-block: 40px 64px; max-width: 760px; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 860px) {
  .hero-in, .analyze-grid, .lessons { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; gap: 28px; }
  .steps, .prices { grid-template-columns: 1fr; }
  .hero { padding-block: 32px 48px; }
  .tabs { gap: 14px !important; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* ================= Shared polish for app + legal pages ================= */
h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; }
.logo, .l-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 600 1.02rem var(--body); letter-spacing: -.01em; }
.l-logo-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(160deg, #122640, #0a1424); border: 1px solid rgb(41 138 255 / .25); color: var(--accent); }
.l-logo-ic svg { width: 18px; height: 18px; }
.top { top: calc(env(safe-area-inset-top, 0px) + 10px); margin: 10px auto 0; max-width: 1110px; width: calc(100% - 2 * max(16px, env(safe-area-inset-left, 0px))); border: 1px solid var(--line); border-radius: 999px; background: rgb(16 20 24 / .78); }
.top .wrap { padding-left: 10px; padding-right: 10px; }
.top-in { min-height: 56px; }
.btn { box-shadow: 0 0 0 1px rgb(41 138 255 / .4), 0 6px 24px -8px rgb(41 138 255 / .6); }
.btn.ghost { box-shadow: none; }
.card, .mock { background: var(--surface); border-color: var(--line); border-radius: 20px; }
.drop { background: var(--surface); border-color: var(--line-2); }
input, textarea, select { background: var(--surface); }
.size-box { background: rgb(41 138 255 / .06); border-color: rgb(41 138 255 / .3); }

/* ================= Landing ================= */
.is-landing { overflow-x: hidden; background: radial-gradient(1200px 600px at 85% -10%, rgb(41 138 255 / .14), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgb(56 76 160 / .14), transparent 60%), var(--bg); }
.wrap-l { max-width: 1110px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.good { color: var(--good); } .bad { color: var(--bad); } .warn { color: var(--warn); }

.l-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 30; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.l-nav-in { max-width: 1110px; margin: 12px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 10px; border-radius: 999px; border: 1px solid transparent; transition: background .25s, border-color .25s; }
.l-nav.scrolled .l-nav-in { background: rgb(16 20 24 / .8); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.l-links { display: flex; gap: 28px; }
.l-links a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.l-links a:hover { color: var(--fg); }

.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font: 600 .98rem var(--body); text-decoration: none; border-radius: 999px; padding: 12px 22px; border: 1px solid transparent; box-shadow: 0 8px 30px -10px rgb(41 138 255 / .7); transition: transform .15s, filter .15s; white-space: nowrap; }
.l-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.l-btn.sm { padding: 9px 18px; font-size: .9rem; }
.l-btn.lg { padding: 15px 26px; font-size: 1.02rem; }
.l-btn.ghost { background: rgb(255 255 255 / .05); color: var(--fg); border-color: var(--line-2); box-shadow: none; }

.hero-l { padding-block: 64px 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-txt { min-width: 0; }
.news { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .04); color: var(--fg); text-decoration: none; font-size: .85rem; max-width: 100%; }
.nb { background: rgb(41 138 255 / .16); color: var(--accent-2); font: 700 .68rem var(--mono); letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; }
.ar svg { width: 14px; height: 14px; color: var(--muted); display: block; }
.hero-l h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 22px 0 22px; }
.hero-l h1 em { font-style: normal; color: var(--accent); }
.lead-l { color: var(--muted); font-size: 1.12rem; line-height: 1.65; max-width: 34em; }
.lead-l b { font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-cta.c { justify-content: center; }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: .88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--accent); }
.hero-ph { position: relative; display: flex; justify-content: center; }

/* Phone */
.ph { position: relative; z-index: 1; width: 300px; max-width: 100%; aspect-ratio: 9 / 18.6; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2a3036, #0b0e11 40%, #1b2025); box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 40px 80px -30px rgb(0 0 0 / .9), 0 0 60px -20px rgb(41 138 255 / .35); }
.ph.tilt { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); }
.ph-scr { height: 100%; border-radius: 37px; background: linear-gradient(180deg, #0f1418, #0a0d10); overflow: hidden; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 11px; line-height: 1.45; }
.ph-bar { display: flex; justify-content: space-between; align-items: center; font: 600 11px var(--body); padding: 2px 8px 4px; }
.ph-isl { width: 86px; height: 24px; border-radius: 99px; background: #000; }
.ph-sig { font-size: 7px; letter-spacing: 1px; }
.glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgb(41 138 255 / .35), transparent); filter: blur(40px); z-index: 0; }
.glow.wide { inset: auto 10% -40% 10%; height: 80%; }

.pill-top { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 10px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.dot.live { box-shadow: 0 0 0 0 rgb(41 138 255 / .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgb(41 138 255 / 0); } 100% { box-shadow: 0 0 0 0 rgb(41 138 255 / 0); } }
.scan { position: relative; border-radius: 16px; background: #12181d; border: 1px solid var(--line); padding: 12px; }
.br { position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent); }
.br.tl { top: -5px; left: -5px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.br.tr { top: -5px; right: -5px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.br.bl { bottom: -5px; left: -5px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.br.br2 { bottom: -5px; right: -5px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.scan-head { display: flex; justify-content: space-between; align-items: center; }
.tag-live { color: var(--accent-2); font-size: 9px; border: 1px solid rgb(41 138 255 / .35); border-radius: 6px; padding: 1px 6px; }
.scan-price { font: 700 19px var(--body); letter-spacing: -.02em; margin: 6px 0 4px; }
.scan-price small { font-size: 10px; font-weight: 600; }
.scan-line { position: absolute; left: 10px; right: 10px; height: 2px; top: 30%; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); box-shadow: 0 0 14px var(--accent); animation: scanline 2.8s ease-in-out infinite; }
@keyframes scanline { 0%, 100% { top: 40%; } 50% { top: 88%; } }
.cndl { width: 100%; height: 110px; display: block; }
.steps-l { list-style: none; padding: 0; margin: 4px 4px 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.steps-l li { display: flex; align-items: center; gap: 8px; }
.steps-l svg { width: 14px; height: 14px; color: var(--accent); }
.steps-l .run { color: var(--fg); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin .9s linear infinite; }

.as { display: flex; align-items: center; gap: 8px; }
.as-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--body); color: #fff; flex: none; }
.as b { display: block; font-size: 12px; }
.as small { color: var(--muted); font-size: 9px; }
.ph-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 4px; }
.mini-chart { border-radius: 14px; background: #12181d; border: 1px solid var(--line); padding: 8px; }
.mini-chart .cndl { height: 92px; }
.vcard { display: flex; justify-content: space-between; align-items: center; border-radius: 16px; padding: 12px; background: linear-gradient(160deg, rgb(41 138 255 / .14), rgb(41 138 255 / .03)); border: 1px solid rgb(41 138 255 / .3); }
.vcard small, .sm-lbl, .szb small, .vbig small { font: 600 9px var(--mono); letter-spacing: .12em; color: var(--muted); }
.vcard b { display: block; font-size: 17px; letter-spacing: -.02em; margin: 2px 0 6px; }
.chip-l { font: 600 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; background: rgb(41 138 255 / .15); }
.ring-l { --p: 50; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgb(255 255 255 / .08) 0); flex: none; }
.ring-l span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #0f1418; font: 600 15px var(--mono); }
.txt { border-radius: 14px; background: #12181d; border: 1px solid var(--line); padding: 10px; color: #c9d1d6; }
.ph-disc { margin: auto 0 4px; text-align: center; font-size: 8.5px; color: var(--dim); }
.ins { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ins div { border-radius: 12px; background: #12181d; border: 1px solid var(--line); padding: 8px 10px; }
.ins small { color: var(--muted); font-size: 9px; display: block; }
.ins b { font-size: 13px; }
.ladder { position: relative; border-radius: 14px; background: #12181d; border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.rung { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 10px; }
.rung i { border-top: 1px dashed var(--line-2); }
.rung b { font: 600 10px var(--mono); padding: 2px 7px; border-radius: 6px; }
.rung.r b { background: rgb(240 90 90 / .15); color: var(--bad); }
.rung.s b { background: rgb(41 138 255 / .15); color: var(--good); }
.rung.now b { background: rgb(255 255 255 / .1); }
.rung.now span { color: var(--fg); font-weight: 600; }
.rung span { color: var(--muted); }
.pat { border-radius: 12px; background: #12181d; border: 1px solid var(--line); padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; }
.pat b { font-size: 12px; }
.pat span { color: #b7c0c6; }
.pat.warn { border-color: rgb(242 181 59 / .3); background: rgb(242 181 59 / .06); }
.tp { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.tp div { background: #12181d; padding: 8px 10px; }
.tp small { display: block; color: var(--muted); font-size: 9px; }
.tp b { font: 600 11.5px var(--mono); }
.rr { display: flex; justify-content: space-between; padding: 2px 4px; color: var(--muted); }
.rr b { font: 600 11px var(--mono); color: var(--fg); }
.szb { border-radius: 14px; padding: 12px; background: rgb(41 138 255 / .08); border: 1px solid rgb(41 138 255 / .35); }
.szb b { display: block; font: 700 20px var(--mono); margin: 4px 0 8px; color: var(--accent-2); }
.szr { display: flex; justify-content: space-between; color: var(--muted); font-size: 9.5px; gap: 6px; }
.szr em { font-style: normal; color: var(--fg); font-weight: 600; display: block; }

/* Markets strip */
.strip { display: flex; align-items: center; gap: 16px; border-block: 1px solid var(--line); background: rgb(255 255 255 / .015); padding: 12px max(16px, env(safe-area-inset-left, 0px)); overflow: hidden; }
.strip-lbl { display: inline-flex; align-items: center; gap: 8px; font: 600 .72rem var(--mono); letter-spacing: .14em; color: var(--muted); flex: none; }
.mq { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-in { display: flex; gap: 10px; width: max-content; animation: mq 50s linear infinite; }
.mq.rev .mq-in { animation-direction: reverse; }
@keyframes mq { to { transform: translateX(-50%); } }
.mk { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .05); border: 1px solid var(--line); color: #c9d1d6; font-size: .84rem; white-space: nowrap; }

/* Sections */
.sec-l { position: relative; padding-block: 110px 40px; }
.center-l { text-align: center; }
.eb { font: 600 .74rem var(--mono); letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
.eb.green { color: var(--accent); }
.sec-l h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; margin: 0 auto 18px; max-width: 16ch; }
.sec-l h2.left { margin-left: 0; max-width: 22ch; }
.dim { color: #7c858c; }
.sub { color: var(--muted); font-size: 1.06rem; max-width: 36em; margin: 0 auto; }
.sub.left { margin: 0; }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 70px; }
.feat-steps { position: relative; border-left: 1px solid var(--line); padding-left: 44px; display: flex; flex-direction: column; }
.fs { position: relative; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .38; transition: opacity .35s; }
.fs.on { opacity: 1; }
.fs-n { position: absolute; left: -59px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 .8rem var(--mono); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); transition: .3s; }
.fs.on .fs-n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 20px rgb(41 138 255 / .6); }
.fs h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.035em; font-weight: 800; margin: 0 0 14px; }
.fs p { color: var(--muted); font-size: 1.05rem; max-width: 30em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags span { padding: 7px 13px; border-radius: 999px; background: rgb(255 255 255 / .05); border: 1px solid var(--line); font-size: .85rem; color: #c9d1d6; }
.fs-ph { display: none; }
.feat-sticky { position: relative; }
.sticky-in { position: sticky; top: calc(50vh - 300px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ph-stack { position: relative; width: 300px; aspect-ratio: 9 / 18.6; }
.pst { position: absolute; inset: 0; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .45s, transform .45s; }
.pst.on { opacity: 1; transform: none; }
.dots { display: flex; gap: 6px; }
.dots i { width: 22px; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .12); transition: .3s; }
.dots i.on { width: 32px; background: var(--accent); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.bx { border-radius: 24px; background: linear-gradient(180deg, #151a1f, #101418); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; min-width: 0; }
.bx.wide { grid-column: 1 / -1; }
.bx-vis { min-height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.bx h4 { margin: 0 0 4px; font-size: 1.12rem; letter-spacing: -.02em; }
.bx p { margin: 0; color: var(--muted); font-size: .93rem; }
.vbig { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vbig b { font-size: 2.2rem; letter-spacing: -.04em; }
.ladder.sm { width: 100%; max-width: 280px; }
.rng { align-self: flex-start; font-size: 10px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 8px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 280px; }
.calc div { border-radius: 12px; background: #0d1115; border: 1px solid var(--line); padding: 10px 12px; }
.calc small { display: block; color: var(--muted); font-size: .72rem; }
.calc b { font-family: var(--mono); font-weight: 600; }
.calc .eq { grid-column: 1 / -1; text-align: center; font-size: 1.1rem; border-color: rgb(41 138 255 / .35); background: rgb(41 138 255 / .07); }
.shot-card { position: relative; width: 82%; border-radius: 14px; border: 1px solid var(--line-2); background: #0d1115; padding: 10px; transform: rotate(-4deg); box-shadow: 0 20px 40px -20px #000; }
.shot-card .cndl { height: 70px; }
.shot-tag { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%) rotate(4deg); background: #1d2329; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; font-size: .74rem; white-space: nowrap; }
.pat-mini, .hist-mini { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pat-mini span { padding: 7px 12px; border-radius: 10px; background: #0d1115; border: 1px solid var(--line); font-size: .85rem; }
.pat-mini span:first-child { border-color: rgb(41 138 255 / .4); color: var(--accent-2); }
.hist-mini { flex-direction: column; width: 100%; max-width: 260px; }
.hist-mini span { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #0d1115; border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.hist-mini b { color: var(--fg); }
.hist-mini em { font-style: normal; font-family: var(--mono); font-weight: 600; }
.bx-vis.mqs { flex-direction: column; gap: 10px; min-height: 110px; }
.bx-vis.mqs .mq { width: 100%; flex: none; }

/* Academy */
.acad { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; margin-top: 60px; }
.acad-ph { position: sticky; top: 100px; display: flex; justify-content: center; }
.ac-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 0; }
.ac-top b { font-size: 18px; letter-spacing: -.02em; }
.xp { font-size: 10px; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 8px; color: var(--muted); }
.ac-path { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; }
.ac-path small { color: var(--muted); margin-bottom: 14px; }
.ac-path small.g { color: var(--accent-2); }
.nd { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.nd svg { width: 22px; height: 22px; }
.nd.done { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 24px -4px rgb(41 138 255 / .7); }
.nd.next { border: 2px solid var(--accent); color: var(--accent); box-shadow: 0 0 0 6px rgb(41 138 255 / .12); }
.nd.lock { background: #1b2126; color: var(--muted); }
.units { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.units::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; border-left: 2px dotted rgb(255 255 255 / .12); }
.units li { display: flex; gap: 18px; align-items: center; position: relative; }
.un { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #161b20; border: 1px solid var(--line-2); color: var(--muted); font: 600 .85rem var(--mono); }
.units li.next .un { background: transparent; border: 2px solid var(--accent); color: var(--accent); box-shadow: 0 0 22px -4px rgb(41 138 255 / .7); }
.ucard { flex: 1; min-width: 0; border-radius: 18px; background: linear-gradient(180deg, #151a1f, #101418); border: 1px solid var(--line); padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.ucard small { font: 600 .7rem var(--mono); letter-spacing: .14em; color: var(--muted); }
.ucard small em { font-style: normal; background: var(--accent); color: var(--accent-ink); padding: 2px 7px; border-radius: 6px; margin-left: 6px; }
.ucard b { font-size: 1.08rem; letter-spacing: -.02em; }
.ucard span { color: var(--muted); font-size: .9rem; }
.units li:not(.next) .ucard { opacity: .8; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.stats div { border-radius: 20px; border: 1px solid var(--line); background: #101418; padding: 26px 16px; }
.stats b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; font-weight: 800; }
.stats span { color: var(--muted); font-size: .92rem; }

.prices-l { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 46px auto 0; max-width: 680px; text-align: left; }
.l-price { position: relative; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, #151a1f, #101418); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.l-price.best { border-color: rgb(41 138 255 / .55); box-shadow: 0 0 60px -25px rgb(41 138 255 / .6); }
.l-badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font: 700 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.lp-name { font-weight: 600; color: var(--muted); }
.lp-amt { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; }
.lp-amt small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.l-price p { color: var(--muted); margin: 0 0 14px; }
.l-price .l-btn { margin-top: auto; }

.faq-l { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.qa details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 1.05rem; }
.qa summary::-webkit-details-marker { display: none; }
.pl { color: var(--muted); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.qa details[open] .pl { transform: rotate(45deg); }
.qa p { color: var(--muted); margin: 12px 0 0; }
.final { padding-block: 130px 140px; overflow: hidden; }

.l-foot { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: .88rem; }
.l-foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.l-foot-in > div { max-width: 360px; }
.l-foot p { margin: 12px 0 0; }
.l-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.l-foot a:not(.l-logo) { color: var(--muted); }

@media (max-width: 900px) {
  .l-links { display: none; }
  .hero-grid, .feat-grid, .acad, .faq-l { grid-template-columns: 1fr; }
  .hero-l { padding-top: 40px; }
  .ph.tilt { transform: none; }
  .feat-sticky { display: none; }
  .feat-steps { border-left: 0; padding-left: 0; gap: 70px; }
  .fs { min-height: 0; opacity: 1; }
  .fs-n { position: static; transform: none; margin-bottom: 14px; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .fs-ph { display: flex; justify-content: center; margin-top: 30px; }
  .bento, .prices-l { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .acad-ph { position: static; }
  .sec-l { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-in, .scan-line, .dot.live, .spin { animation: none; }
}

/* ================= Landing v2 details ================= */
/* Hero background: grid lines + green wash */
.hero-l { position: relative; }
.hero-bg { position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 420px at 78% 30%, rgb(41 138 255 / .22), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M0 .5H64M.5 0V64' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-dasharray='3 4'/%3E%3C/svg%3E") 0 0 / 64px 64px;
  mask-image: linear-gradient(180deg, #000 55%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); }

/* Phone hardware details */
.ph-btn { position: absolute; width: 3px; border-radius: 2px; background: #2a3036; }
.ph-btn.a { left: -3px; top: 18%; height: 7%; } .ph-btn.b { left: -3px; top: 28%; height: 11%; } .ph-btn.c { right: -3px; top: 24%; height: 14%; }
.ph-scr { position: relative; }
.ph-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; overflow: hidden; mask-image: linear-gradient(180deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); }
.ph-sig { display: inline-flex; align-items: flex-end; gap: 1.5px; font-size: 0; }
.ph-sig i { width: 2.5px; background: #fff; border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 4px; } .ph-sig i:nth-child(2) { height: 5.5px; } .ph-sig i:nth-child(3) { height: 7px; } .ph-sig i:nth-child(4) { height: 8.5px; }
.ph-sig b { width: 18px; height: 8.5px; margin-left: 4px; border-radius: 2.5px; background: var(--accent); box-shadow: 0 0 0 1px rgb(255 255 255 / .5); }
.ph-head2 { display: grid; grid-template-columns: 26px 1fr 26px; align-items: center; justify-items: center; }
.bk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); }
.bk svg { width: 13px; height: 13px; }
.bk.ghost { background: none; }
.tabbar { display: flex; justify-content: space-around; padding: 8px 4px 6px; margin: 0 -6px -4px; border-radius: 22px; background: rgb(255 255 255 / .05); border: 1px solid var(--line); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 8.5px; color: var(--muted); padding: 4px 12px; border-radius: 14px; }
.tabbar svg { width: 13px; height: 13px; }
.tabbar .on { background: rgb(41 138 255 / .16); color: var(--accent-2); }
.ph-disc { margin: 6px 0 2px; }

/* Hero phone animation */
.dots3 { display: inline-flex; gap: 2px; }
.dots3 i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
.dots3 i:nth-child(2) { animation-delay: .2s; } .dots3 i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.steps-l.seq li { opacity: .45; animation: stepon 6s infinite; }
.steps-l.seq li:nth-child(2) { animation-delay: 1.5s; } .steps-l.seq li:nth-child(3) { animation-delay: 3s; }
.rd { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; position: relative; }
.steps-l.seq li .rd::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--accent); transform: scale(0); animation: rdon 6s infinite; animation-delay: inherit; }
.steps-l.seq li:nth-child(2) .rd::after { animation-delay: 1.5s; } .steps-l.seq li:nth-child(3) .rd::after { animation-delay: 3s; }
@keyframes stepon { 0%, 8% { opacity: .45; color: var(--muted); } 14%, 80% { opacity: 1; color: var(--fg); } 92%, 100% { opacity: .45; } }
@keyframes rdon { 0%, 8% { transform: scale(0); } 14%, 80% { transform: scale(1); } 92%, 100% { transform: scale(0); } }
.pat-pop { position: absolute; left: 50%; top: 52%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgb(8 12 10 / .85); border: 1px solid rgb(41 138 255 / .5); color: var(--accent-2); font-size: 9.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 20px -6px rgb(41 138 255 / .6); animation: pop 6s infinite; }
.pat-pop svg { width: 11px; height: 11px; }
@keyframes pop { 0%, 40% { opacity: 0; transform: translate(-50%, 6px) scale(.95); } 48%, 85% { opacity: 1; transform: translate(-50%, 0) scale(1); } 95%, 100% { opacity: 0; } }
.tag-live { display: inline-flex; align-items: center; gap: 4px; }
.tag-live .dot { width: 5px; height: 5px; }

/* Floating asset chips */
.fl { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgb(20 25 30 / .85); border: 1px solid var(--line-2); font: 600 .78rem var(--body); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px -12px #000; animation: float 6s ease-in-out infinite; }
.fl .as-ic { width: 22px; height: 22px; font-size: 10px; }
.f1 { left: 2%; top: 16%; } .f2 { right: -2%; top: 34%; animation-delay: -2s; } .f3 { left: -2%; top: 62%; animation-delay: -4s; } .f4 { right: 4%; top: 78%; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Charts inside phones */
.chf { width: 100%; height: auto; display: block; }
.mini-chart { padding: 6px 4px 2px 6px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 11px; background: rgb(255 255 255 / .05); border: 1px solid var(--line); }
.seg span { text-align: center; padding: 5px 0; border-radius: 8px; font-size: 9.5px; color: var(--muted); font-weight: 500; }
.seg .on { background: rgb(255 255 255 / .1); color: var(--fg); }
.sm-lbl { display: flex; align-items: center; gap: 5px; }
.sm-lbl svg { width: 10px; height: 10px; color: var(--accent); }
.chip-l { display: inline-flex; align-items: center; gap: 4px; }
.chip-l svg { width: 10px; height: 10px; }
.ins div { position: relative; }
.ins small { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.ii { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; }
.ii svg { width: 10px; height: 10px; }
.ii.good { background: rgb(41 138 255 / .15); color: var(--good); }
.ii.warn { background: rgb(242 181 59 / .15); color: var(--warn); }
.sg { position: absolute; right: 9px; bottom: 10px; display: flex; align-items: flex-end; gap: 2px; }
.sg i { width: 3px; border-radius: 1px; background: rgb(255 255 255 / .12); }
.sg i:nth-child(1) { height: 4px; } .sg i:nth-child(2) { height: 7px; } .sg i:nth-child(3) { height: 10px; }
.sg.good i.f { background: var(--good); } .sg.warn i.f { background: var(--warn); }
.pdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--good); margin-right: 6px; vertical-align: middle; }
.as-ic.sm { width: 18px; height: 18px; font-size: 8px; }
.mk { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; }

/* Light rays + progress line in feature steps */
.rays { position: absolute; inset: -10% -30%; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgb(41 138 255 / .07) 14px 16px, transparent 16px 34px);
  mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
.ph-stack, .dots { position: relative; z-index: 1; }
.ph-stack::before { content: ""; position: absolute; inset: 15% -20%; background: radial-gradient(closest-side, rgb(41 138 255 / .3), transparent); filter: blur(30px); z-index: -1; }
.prog { position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; overflow: hidden; }
.prog i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent-2), var(--accent)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px var(--accent); }

/* Scroll reveal (only when JS is running, so content is always visible otherwise) */
.js .rv { opacity: 0; filter: blur(10px); transform: translateY(14px); transition: opacity .8s ease, filter .8s ease, transform .8s ease; }
.js .rv.in { opacity: 1; filter: none; transform: none; }

/* Bento expand buttons */
.bx { position: relative; }
.plus { position: absolute; right: 18px; bottom: 18px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: rgb(255 255 255 / .05); color: var(--fg); font-size: 1.1rem; cursor: pointer; transition: transform .25s, background .2s; }
.plus:hover { background: rgb(255 255 255 / .1); }
.bx.open .plus { transform: rotate(45deg); }
.bx h4, .bx p { padding-right: 44px; }
.bx .more { display: none; color: #c9d1d6; margin-bottom: 6px; }
.bx.open .more { display: block; }

/* Academy thumbnails + floating chip */
.ucard { flex-direction: row; align-items: center; gap: 16px; padding: 10px 18px 10px 10px; }
.ut { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.th { width: 92px; height: 64px; flex: none; border-radius: 12px; display: grid; place-items: center; padding: 6px; background: radial-gradient(circle at 50% 30%, rgb(41 138 255 / .18), transparent 70%), #0b0f12; border: 1px solid var(--line); overflow: hidden; }
.th svg { width: 100%; height: 100%; }
.acad-ph { position: sticky; }
.xpop { position: absolute; left: -60px; top: 14%; z-index: 3; display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgb(20 25 30 / .9); border: 1px solid rgb(41 138 255 / .4); color: var(--accent-2); font: 600 .78rem var(--body); animation: float 5s ease-in-out infinite; }
.ac-path { position: relative; }

@media (max-width: 900px) {
  .fl { display: none; }
  .xpop { left: 0; }
  .th { width: 64px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .fl, .xpop, .dots3 i, .pat-pop, .steps-l.seq li, .rd::after { animation: none !important; }
  .pat-pop { opacity: 1; }
  .js .rv { opacity: 1; filter: none; transform: none; }
}
.res-pop { display: flex; flex-direction: column; gap: 8px; animation: respop 6s infinite; }
@keyframes respop { 0%, 55% { opacity: .15; transform: translateY(8px); } 62%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: .15; } }
.hero-l h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
@media (prefers-reduced-motion: reduce) { .res-pop { animation: none; } }

/* ================= Result screen v2 (signal card, insights, overlay) ================= */
.result { gap: 22px; }
.r-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.r-name { font-size: 1.35rem; letter-spacing: -.02em; display: block; }
.sec h3 { display: flex; align-items: center; gap: 7px; }
.sec h3 svg { width: 14px; height: 14px; color: var(--accent); }
.dim { color: var(--muted); }

.chartbox { border-radius: 16px; border: 1px solid var(--line); background: #0b0f13; padding: 8px; }
.ov-wrap { position: relative; border-radius: 10px; overflow: hidden; }
.ov-wrap img { width: 100%; display: block; }
.ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ov-ln { stroke-width: 1.8; transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: draw .9s ease forwards; animation-delay: var(--d, 0s); }
.ov-ln.res { stroke: #f05a5a; stroke-dasharray: 7 5; filter: drop-shadow(0 0 2px rgb(240 90 90 / .6)); }
.ov-ln.sup { stroke: var(--accent); stroke-dasharray: 7 5; filter: drop-shadow(0 0 2px rgb(41 138 255 / .6)); }
.ov-ln.stop { stroke: #ff3b3b; stroke-width: 2.2; }
.ov-ln.tp { stroke: #66adff; stroke-width: 2.2; }
.ov-band { fill: rgb(41 138 255 / .16); animation: fadein .8s ease .6s both; }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes fadein { from { opacity: 0; } }
.ov-lbs { position: absolute; inset: 0; pointer-events: none; }
.ov-lb { position: absolute; transform: translateY(-50%); font: 600 10.5px var(--mono); padding: 2px 6px; border-radius: 5px; white-space: nowrap; color: #fff; animation: fadein .6s ease .5s both; }
.ov-lb.res, .ov-lb.stop { background: rgb(220 60 60 / .9); }
.ov-lb.sup, .ov-lb.tp, .ov-lb.entry { background: rgb(30 115 235 / .92); }
.chartbox.nolines .ov, .chartbox.nolines .ov-lbs { display: none; }
.ov-tg { display: flex; align-items: center; gap: 8px; margin: 10px 4px 2px; font-size: .85rem; color: var(--muted); cursor: pointer; }
.ov-tg input { width: auto; accent-color: var(--accent); }

.sigcard { position: relative; overflow: hidden; border-radius: 20px; padding: 18px 20px; border: 1px solid var(--line-2); }
.sigcard::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .9; }
.sigcard > * { position: relative; z-index: 1; }
.s-long::before { background: radial-gradient(120% 140% at 85% 0%, rgb(41 138 255 / .35), rgb(41 138 255 / .05) 60%, transparent); }
.s-short::before { background: radial-gradient(120% 140% at 85% 0%, rgb(240 90 90 / .35), rgb(240 90 90 / .05) 60%, transparent); }
.s-hold::before { background: radial-gradient(120% 140% at 85% 0%, rgb(242 181 59 / .35), rgb(242 181 59 / .05) 60%, transparent); }
.sig-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.sig-pill { display: inline-flex; align-items: center; gap: 6px; font: 600 .7rem var(--mono); letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; background: rgb(0 0 0 / .25); }
.sig-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-long .sig-pill { color: var(--accent-2); } .s-short .sig-pill { color: #ff8a8a; } .s-hold .sig-pill { color: var(--warn); }
.sig-score { font-size: .85rem; }
.sig-score b { font-family: var(--mono); font-size: 1rem; }
.sig-main { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 6px; }
.sig-word { font-size: clamp(2.4rem, 6vw, 3rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.sig-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none; box-shadow: 0 10px 30px -10px currentColor; }
.sig-ic svg { width: 24px; height: 24px; }
.s-long .sig-ic { background: var(--accent); color: #fff; } .s-short .sig-ic { background: var(--bad); color: #fff; } .s-hold .sig-ic { background: var(--warn); color: #241600; }
.sig-why { margin: 0; color: #d7dde2; }
.sig-src { margin: 10px 0 0; font-size: .78rem; color: var(--muted); }

.ins-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ins-c { position: relative; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 12px 14px; }
.ins-c small { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .8rem; margin-bottom: 6px; }
.ins-c b { font-size: 1.15rem; }
.ii { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; flex: none; }
.ii svg { width: 13px; height: 13px; }
.ii.good { background: rgb(41 138 255 / .15); color: var(--good); }
.ii.warn { background: rgb(242 181 59 / .15); color: var(--warn); }
.ii.bad { background: rgb(240 90 90 / .15); color: var(--bad); }
.ii.dim { background: rgb(255 255 255 / .06); color: var(--muted); }
b.dim { color: var(--muted); }
.sg3 { position: absolute; right: 12px; bottom: 14px; display: flex; align-items: flex-end; gap: 3px; }
.sg3 i { width: 4px; border-radius: 2px; background: rgb(255 255 255 / .12); }
.sg3 i:nth-child(1) { height: 6px; } .sg3 i:nth-child(2) { height: 10px; } .sg3 i:nth-child(3) { height: 14px; }
.sg3.good i.f { background: var(--good); } .sg3.warn i.f { background: var(--warn); } .sg3.bad i.f { background: var(--bad); }

.ladder2 { position: relative; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); padding: 14px 16px 12px 30px; display: flex; flex-direction: column; gap: 12px; }
.ladder2::before { content: ""; position: absolute; left: 17px; top: 22px; bottom: 44px; border-left: 1px solid var(--line-2); }
.rg { position: relative; display: grid; grid-template-columns: minmax(0, auto) 1fr auto; align-items: center; gap: 10px; }
.rg .dt { position: absolute; left: -17px; width: 8px; height: 8px; border-radius: 50%; }
.rg.r .dt { background: var(--bad); } .rg.s .dt { background: var(--accent); } .rg.now .dt { background: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / .15); }
.rg-t { min-width: 0; }
.rg-t b { font-size: .92rem; }
.rg-t small { display: block; color: var(--muted); font-size: .76rem; }
.rg .ln { border-top: 1px dashed var(--line-2); min-width: 20px; }
.rg.r .ln { border-color: rgb(240 90 90 / .45); } .rg.s .ln { border-color: rgb(41 138 255 / .45); }
.px { font: 600 .9rem var(--mono); padding: 3px 9px; border-radius: 7px; }
.rg.r .px { background: rgb(240 90 90 / .14); color: var(--bad); }
.rg.s .px { background: rgb(41 138 255 / .14); color: var(--good); }
.rg.now .px { background: rgb(255 255 255 / .1); }
.rng2 { align-self: flex-start; margin-left: -14px; font-size: .75rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 9px; }
.sumtxt { margin: 0; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 14px 16px; color: #d7dde2; }

.acc { border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.acc details + details { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 14px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary b { flex: 1; font-weight: 600; font-size: .95rem; }
.acc summary > svg { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.acc details[open] summary > svg { transform: rotate(180deg); }
.acc p { margin: 0; padding: 0 14px 14px 46px; color: #c9d1d6; }

.saved { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.saved-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.del-btn { color: var(--bad) !important; border-color: rgb(240 90 90 / .35) !important; }
@media (prefers-reduced-motion: reduce) { .ov-ln { animation: none; transform: none; } .ov-band, .ov-lb { animation: none; } }
@media (max-width: 640px) {
  .ov-lb { font-size: 8.5px; padding: 1px 4px; }
  .top { border-radius: 22px; }
  .top-in { padding-block: 4px; }
  .tabs { width: 100%; justify-content: space-between; }
  .tabs a { padding: 8px 0 10px; }
  .sig-top { flex-direction: column; align-items: flex-start; }
}

/* ================= Landing: long scrolling phone screen ================= */
.ph-view { flex: 1; min-height: 0; overflow: hidden; position: relative; mask-image: linear-gradient(180deg, transparent, #000 3%, #000 90%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 3%, #000 90%, transparent); }
.ph-roll { display: flex; flex-direction: column; gap: 9px; padding-top: 6px; transition: transform .9s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.ls-sec { display: flex; flex-direction: column; gap: 9px; }
.ph-head2 { padding: 2px 0 6px; }
.sticky-ph { width: 300px; }
.sticky-ph .ph { width: 300px; }
.sgc { position: relative; overflow: hidden; border-radius: 16px; padding: 12px; border: 1px solid rgb(255 255 255 / .12); }
.sgc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 140% at 90% 0%, rgb(41 138 255 / .38), rgb(41 138 255 / .05) 60%, transparent); }
.sgc > * { position: relative; }
.sgc-top { display: flex; justify-content: space-between; align-items: center; }
.sgc-pill { display: inline-flex; align-items: center; gap: 5px; font: 600 8px var(--mono); letter-spacing: .12em; color: var(--accent-2); background: rgb(0 0 0 / .3); padding: 3px 8px; border-radius: 99px; }
.sgc-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sgc-sc { font-size: 9px; color: var(--accent-2); }
.sgc-sc b { font-family: var(--mono); font-size: 11px; }
.sgc-main { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 2px; }
.sgc-w { font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
.sgc-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px var(--accent); animation: pulseic 2.4s ease-in-out infinite; }
.sgc-ic svg { width: 17px; height: 17px; }
@keyframes pulseic { 50% { box-shadow: 0 0 0 7px rgb(41 138 255 / .15), 0 6px 18px -6px var(--accent); } }
.sgc p { margin: 0; color: #d5dbe0; font-size: 10.5px; }
.sgc small { display: block; margin-top: 6px; color: var(--muted); font-size: 8.5px; }
.ladder.vline { padding-left: 22px; }
.ladder.vline::before { content: ""; position: absolute; left: 12px; top: 16px; bottom: 34px; border-left: 1px solid var(--line-2); }
.ladder.vline .rung { position: relative; }
.ladder.vline .rung::before { content: ""; position: absolute; left: -13px; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.ladder.vline .rung.r::before { background: var(--bad); } .ladder.vline .rung.s::before { background: var(--accent); } .ladder.vline .rung.now::before { background: #fff; }
.acc-m { border-radius: 12px; background: #12181d; border: 1px solid var(--line); overflow: hidden; }
.am + .am { border-top: 1px solid var(--line); }
.am-h { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.am-h b { flex: 1; font-size: 11px; }
.am-h > svg { width: 12px; height: 12px; color: var(--muted); }
.am.open .am-h > svg { transform: rotate(180deg); }
.am p { margin: 0; padding: 0 10px 9px 34px; color: #b7c0c6; font-size: 10px; }
.savebtn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 12px; background: rgb(41 138 255 / .1); border: 1px solid rgb(41 138 255 / .3); color: var(--accent-2); font-size: 10.5px; font-weight: 600; }
.savebtn svg { width: 12px; height: 12px; }
/* Level lines draw themselves on the phone chart */
.lv-chart .chf line[stroke-dasharray="3 3"] { stroke-dasharray: 3 3; animation: lvdraw 6s ease-in-out infinite; }
@keyframes lvdraw { 0% { opacity: 0; } 12%, 85% { opacity: .9; } 100% { opacity: 0; } }
/* Bento signal card cycling Long / Short / Hold */
.vcyc { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vcyc small { font: 600 9px var(--mono); letter-spacing: .12em; color: var(--muted); }
.vc-w, .vc-ic { display: grid; place-items: center; }
.vc-w > span, .vc-ic > i { grid-area: 1 / 1; opacity: 0; animation: cyc 7.5s infinite; }
.vc-w > span { font-size: 2.4rem; font-weight: 300; letter-spacing: -.03em; }
.vc-ic > i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.vc-ic > i svg { width: 20px; height: 20px; }
.vc-ic .c1 { background: var(--accent); } .vc-ic .c2 { background: var(--bad); } .vc-ic .c3 { background: var(--warn); color: #241600; }
.vc-w .c2, .vc-ic .c2 { animation-delay: 2.5s; } .vc-w .c3, .vc-ic .c3 { animation-delay: 5s; }
@keyframes cyc { 0% { opacity: 0; transform: translateY(6px); } 5%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .vc-w > span, .vc-ic > i { animation: none; } .vc-w .c1, .vc-ic .c1 { opacity: 1; }
  .ph-roll { transition: none; } .sgc-ic, .lv-chart .chf line { animation: none; }
}

/* Daily analysis pages */
.an { padding-block: 40px 64px; }
.an-post { max-width: 860px; }
.an-post p, .an-post li { color: #c9d1d8; }
.an h2 { font-size: 1.25rem; margin-top: 1.6em; }
.an-img { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); margin: 20px 0; }
.an-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.an-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--fg); text-decoration: none; }
.an-card img { display: block; width: 100%; height: auto; }
.an-card-b { padding: 14px 16px; }
.an-card h3 { font-size: 1rem; margin: 8px 0 2px; }
.an-pill { display: inline-block; font: 600 .8rem var(--mono); padding: 3px 10px; border-radius: 999px; background: var(--surface-2); }
.v-strong { color: #2fd08a; } .v-weak { color: var(--warn); } .v-avoid { color: var(--bad); }
.an-plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px 16px; margin: 24px 0; }
.an-t { width: 100%; border-collapse: collapse; font-family: var(--mono); }
.an-t th, .an-t td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.an-t th { color: var(--muted); font-weight: 500; width: 40%; }
.an-trigger { border-left: 3px solid var(--accent); padding-left: 12px; }
.an-tip { background: var(--surface); border-radius: var(--r); padding: 14px 18px; }
.an-cta { text-align: center; background: linear-gradient(180deg, rgb(41 138 255 / .12), transparent); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 20px; margin: 36px 0 20px; }

/* Hero phone cycle: scan → plan → risk */
.hero-cyc .ph-body { position: relative; }
.hero-cyc .hs { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 9px; opacity: 0; pointer-events: none; }
.hero-cyc .hs.on { opacity: 1; pointer-events: auto; position: relative; }
.hero-cyc.turn { animation: phturn .9s ease-in-out; }
@keyframes phturn { 0% { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); } 50% { transform: perspective(1400px) rotateY(80deg) rotateX(4deg); } 100% { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); } }
.hs-dots { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hs-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); cursor: pointer; transition: width .3s, background .3s; }
.hs-dots i.on { width: 20px; border-radius: 4px; background: var(--accent); }
.pill-top.good-p { color: #2fd08a; }
.pill-top svg { width: 12px; height: 12px; }
.hp-rows { display: grid; gap: 5px; }
.hp-rows div { display: grid; grid-template-columns: 1fr auto 54px; align-items: center; gap: 8px; background: rgb(255 255 255 / .04); border: 1px solid var(--line); border-radius: 9px; padding: 6px 9px; }
.hp-rows span { color: var(--muted); }
.hp-rows b { font-family: var(--mono); font-size: 11.5px; }
.hp-rows em { font-style: normal; color: var(--muted); font-size: 9.5px; text-align: right; font-family: var(--mono); }
.hp-rows .good, .hp-risk .good { color: #2fd08a; }
.hp-wait { border-left: 2px solid var(--accent); padding: 4px 0 4px 9px; color: var(--muted); }
.hp-wait b { color: var(--fg); }
.hp-risk { margin: 0; padding-left: 16px; color: #c9d1d8; display: grid; gap: 3px; }
@media (max-width: 900px) { .hero-cyc.turn { animation: none; } }

/* Plan outcomes */
.o-badge { display: inline-block; font: 600 .75rem var(--body); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.o-win { color: #2fd08a; border-color: rgb(47 208 138 / .4); background: rgb(47 208 138 / .08); }
.o-loss { color: var(--bad); border-color: rgb(240 90 90 / .4); background: rgb(240 90 90 / .08); }
.o-act { color: var(--accent-2); border-color: rgb(41 138 255 / .4); background: rgb(41 138 255 / .08); }
.o-wait, .o-neu { color: var(--muted); }
.tr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; }
.tr-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 4px; }
.tr-box b { font: 700 1.6rem var(--display); }
.tr-box span { color: var(--muted); font-size: .85rem; }
.tr-wrap { overflow-x: auto; }
.tr-t th { width: auto; }
.tr-t td, .tr-t th { padding-right: 14px; white-space: nowrap; }
.my-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 20px; }
.my-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.my-stats b { font: 700 1.3rem var(--display); }
.my-stats span { color: var(--muted); font-size: .8rem; }
.h-out { margin-top: 6px; }
.out-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; margin-bottom: 14px; }

/* Comparison tables (best-of and vs pages) */
.cmp-t { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
.cmp-t th, .cmp-t td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmp-t thead th { color: var(--text, inherit); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.cmp-t tbody th { color: var(--text, inherit); font-weight: 600; white-space: nowrap; }
.cmp-t a { color: inherit; }

/* ---------- Pro ---------- */
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.thumb { position: relative; width: 96px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .65); color: #fff; cursor: pointer; line-height: 1; }
.thumb.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: 600 .75rem var(--body); color: var(--accent); cursor: pointer; border-style: dashed; }
.thumb.add span { font: 500 .65rem var(--mono); color: var(--muted); }
.pro-tease { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px dashed color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 14px; padding: 14px 16px; }
.pro-tease ul, .pw-pro ul, .lp-feat { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: .88rem; }
.pw-pro { background: var(--surface-2); border-radius: 12px; padding: 12px 16px; }
.guard { border-radius: 14px; padding: 12px 16px; border: 1px solid; }
.guard p { margin: 4px 0 0; font-size: .9rem; }
.guard.caution { border-color: color-mix(in srgb, var(--warn) 55%, transparent); background: color-mix(in srgb, var(--warn) 9%, transparent); }
.guard.caution b { color: var(--warn); }
.guard.stop { border-color: color-mix(in srgb, var(--bad) 55%, transparent); background: color-mix(in srgb, var(--bad) 9%, transparent); }
.guard.stop b { color: var(--bad); }
.ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ev li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: .9rem; }
.ev .mono { color: var(--muted); min-width: 92px; }
.scen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .scen { grid-template-columns: 1fr; } }
.sc { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.sc p { margin: 8px 0 0; font-size: .88rem; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; }
.sc.good .sc-top b, .sc.good .sc-top .mono { color: var(--good); }
.sc.warn .sc-top b, .sc.warn .sc-top .mono { color: var(--warn); }
.sc.bad .sc-top b, .sc.bad .sc-top .mono { color: var(--bad); }
.sc-bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: currentColor; }
.sc.good .sc-bar i { background: var(--good); } .sc.warn .sc-bar i { background: var(--warn); } .sc.bad .sc-bar i { background: var(--bad); }
.chip.good { color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, transparent); }
.chip.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.chip.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.tag.pro, .l-badge.pro { background: linear-gradient(90deg, #298aff, #8b5cf6); color: #fff; }
.price-card.pro { border-color: color-mix(in srgb, #8b5cf6 55%, transparent); }
.l-price.pro { border-color: rgb(139 92 246 / .45); }
