
/* Layout: trading-terminal frame. Ticker strip, sticky bar, hero with live chart,
   hairline-ruled feature grid, market board, three account tiers, footer with risk notice. */
:root {
  --bg: #131318;
  --bg-2: #1b1a20;
  --panel: #201f26;
  --line: #292831;
  --line-2: #3a3945;
  --fg: #e4e1e9;
  --fg-2: #ccc3d7;
  --fg-3: #a9a1b5;
  --primary: #6d28d9;
  --secondary: #891933;
  --tertiary: #ffb2b9;
  --text-pink: #d9587d;
  --cta-end: #c53e68;
  --accent: #d3bbff;
  --accent-ink: #ffffff;
  --accent-2: #ffb2b9;
  --highlight: #4cd7f6;
  --up: #34d399;
  --down: #fb7185;
  --gradient-primary: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--cta-end) 100%);
  --gradient-highlight: linear-gradient(90deg, var(--accent) 0%, var(--text-pink) 50%, var(--highlight) 100%);
  --shadow-card: 0 20px 50px -24px rgba(0, 0, 0, .55);
  --radius-card: 16px;
  --radius-control: 12px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f4fa; --bg-2: #eeebf4; --panel: #ffffff; --line: #e1dce9; --line-2: #c9c1d4;
    --fg: #211b2a; --fg-2: #51485c; --fg-3: #766d81;
    --primary: #6d28d9; --secondary: #891933; --tertiary: #ffb2b9; --text-pink: #9d174d; --cta-end: #c53e68; --accent: #5b21b6; --accent-ink: #ffffff; --accent-2: #9d174d; --highlight: #087e9c;
    --up: #087e5b; --down: #c2415b;
    --gradient-primary: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--cta-end) 100%);
    --gradient-highlight: linear-gradient(90deg, #5b21b6 0%, var(--text-pink) 50%, var(--highlight) 100%);
    --shadow-card: 0 18px 40px -24px rgba(34, 20, 55, .24);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f4fa; --bg-2: #eeebf4; --panel: #ffffff; --line: #e1dce9; --line-2: #c9c1d4;
  --fg: #211b2a; --fg-2: #51485c; --fg-3: #766d81;
  --primary: #6d28d9; --secondary: #891933; --tertiary: #ffb2b9; --text-pink: #9d174d; --cta-end: #c53e68; --accent: #5b21b6; --accent-ink: #ffffff; --accent-2: #9d174d; --highlight: #087e9c;
  --up: #087e5b; --down: #c2415b;
  --gradient-primary: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--cta-end) 100%);
  --gradient-highlight: linear-gradient(90deg, #5b21b6 0%, var(--text-pink) 50%, var(--highlight) 100%);
  --shadow-card: 0 18px 40px -24px rgba(34, 20, 55, .24);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.label {
  font-family: var(--font-data); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; }
p { margin: 0; }

/* ticker */
.ticker { background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: slide 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-item { display: flex; gap: 10px; align-items: baseline; padding: 9px 22px; border-right: 1px solid var(--line); font-family: var(--font-data); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tick-item b { font-weight: 500; color: var(--fg-2); }
.up { color: var(--up); } .down { color: var(--down); }
@keyframes slide { to { transform: translateX(-50%); } }

/* header */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-data); font-weight: 500; letter-spacing: .28em; font-size: 15px; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 28px; font-size: 14.5px; color: var(--fg-2); }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--fg); border-bottom-color: var(--accent); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius-control); display: inline-grid; place-items: center; cursor: pointer; color: var(--fg-2); }
.icon-btn:hover { color: var(--fg); border-color: var(--fg-3); }
.icon-btn svg { width: 18px; height: 18px; }
#menuBtn { display: none; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav .wrap { display: grid; padding-block: 8px 16px; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: var(--radius-control); font-weight: 600; font-size: 14.5px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--primary) 75%, transparent); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-ghost { border-color: var(--line-2); background: color-mix(in srgb, var(--panel) 35%, transparent); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 38px; padding: 0 16px; }

/* hero */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; background: radial-gradient(ellipse at 82% 24%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 44%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.04; margin-block: 18px 22px; }
.hero h1 em { font-style: normal; background: var(--gradient-highlight); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--fg-2); font-size: 1.125rem; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats strong { font-family: var(--font-data); font-weight: 500; font-size: 1.35rem; }

.terminal { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-card); min-width: 0; box-shadow: var(--shadow-card); }
.term-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.term-pair { display: grid; gap: 2px; }
.term-pair .sym { font-family: var(--font-data); font-size: 13px; letter-spacing: .08em; color: var(--fg-2); }
.term-price { font-family: var(--font-data); font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.term-price small { font-size: 1.15rem; opacity: .75; }
.term-chg { font-family: var(--font-data); font-size: 13px; }
.tfs { display: flex; gap: 4px; }
.tf { background: transparent; border: 1px solid var(--line); color: var(--fg-3); font-family: var(--font-data); font-size: 12px; padding: 5px 10px; border-radius: var(--radius-control); cursor: pointer; }
.tf:hover { color: var(--fg); }
.tf[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.chart-box { padding: 6px 4px 0 10px; }
#chart { display: block; width: 100%; height: 300px; }
.term-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
.q { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: var(--radius-control); border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.q span:first-child { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.q.sell { color: var(--down); } .q.buy { color: var(--up); }
.q:hover { background: var(--bg-2); }
.term-note { padding: 0 18px 14px; font-size: 12.5px; color: var(--fg-3); }

/* sections */
section { border-bottom: 1px solid var(--line); }
.sec { padding-block: 88px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 52px; }
.sec-head p { color: var(--fg-2); max-width: 56ch; }
.sec-head .label { display: block; margin-bottom: 14px; color: var(--accent); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { padding: 26px 24px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); min-width: 0; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.feature svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 22px; }
.feature h3 { font-size: 1.35rem; margin-bottom: 8px; }
.feature p { color: var(--fg-2); font-size: .975rem; }

.board-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); }
table.board { width: 100%; min-width: 620px; border-collapse: collapse; font-family: var(--font-data); font-size: 14px; font-variant-numeric: tabular-nums; }
.board th { text-align: right; font-weight: 400; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.board td { text-align: right; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.board tr:last-child td { border-bottom: 0; }
.board th:first-child, .board td:first-child { text-align: left; }
.board td:first-child { font-weight: 500; letter-spacing: .04em; font-family: var(--font-body); }
.board td:first-child small { display: block; font-family: var(--font-data); font-weight: 400; font-size: 11px; color: var(--fg-3); letter-spacing: 0; }
.board tbody tr:hover { background: var(--bg-2); }
.spark { width: 84px; height: 26px; fill: none; stroke-width: 1.5; vertical-align: middle; }
.spark.up { stroke: var(--up); } .spark.down { stroke: var(--down); }
.board-note { margin-top: 14px; font-size: 12.5px; color: var(--fg-3); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 64px; counter-reset: s; }
.step { padding: 4px 32px 4px 0; display: grid; gap: 8px; align-content: start; }
.step .n { font-family: var(--font-data); font-size: 12px; letter-spacing: .12em; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.step .n::after { content: ""; height: 1px; flex: 1; background: var(--line-2); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--fg-2); font-size: .975rem; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 22px; padding: 30px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); min-width: 0; }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent), var(--shadow-card); }
.tier-top { display: flex; justify-content: space-between; align-items: center; }
.tier-top .flag { font-family: var(--font-data); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 2px 8px; border-radius: 8px; }
.tier h3 { font-size: 1.6rem; }
.price { display: grid; gap: 2px; }
.price strong { font-family: var(--font-data); font-weight: 500; font-size: 2.3rem; line-height: 1.1; }
.price strong small { font-size: 1rem; color: var(--fg-3); font-weight: 400; margin-left: 6px; }
.tier ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.tier li { display: flex; gap: 12px; color: var(--fg-2); font-size: .95rem; }
.tier li svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--accent); }
.tier .btn { width: 100%; }

.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.voice { padding: 30px 28px 8px 0; display: grid; gap: 18px; align-content: start; min-width: 0; }
.voice + .voice { padding-left: 28px; border-left: 1px solid var(--line); }
.voice blockquote { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; }
.voice cite { font-style: normal; font-size: .9rem; color: var(--fg-2); display: grid; }
.voice cite span { font-family: var(--font-data); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.sample-tag { display: inline-block; font-family: var(--font-data); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }

.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sub-form { display: flex; gap: 10px; flex-wrap: wrap; }
.sub-form input { flex: 1 1 220px; min-width: 0; min-height: 46px; padding: 0 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-control); color: var(--fg); font: inherit; }
.sub-form input::placeholder { color: var(--fg-3); }
.sub-msg { margin-top: 12px; min-height: 1.5em; font-size: .925rem; color: var(--up); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { font-family: var(--font-data); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-control); color: var(--fg-2); }
.socials a:hover { color: var(--fg); border-color: var(--accent); }

footer { background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 64px 40px; }
.foot-grid h4 { margin: 0 0 16px; font-family: var(--font-data); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; color: var(--fg-2); }
.foot-grid ul a:hover { color: var(--fg); }
.foot-brand p { color: var(--fg-2); font-size: .95rem; margin-top: 16px; max-width: 34ch; }
.risk { border-top: 1px solid var(--line); padding-block: 28px; font-size: 12.5px; line-height: 1.65; color: var(--fg-3); }
.risk strong { color: var(--fg-2); font-weight: 500; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding-block: 22px 28px; font-size: 13px; color: var(--fg-3); }
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal a:hover { color: var(--fg); }

@media (max-width: 1020px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-block: 56px 64px; }
  .sec-head, .connect { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .features, .tiers, .voices, .steps { grid-template-columns: minmax(0, 1fr); }
  .features { border-left: 0; border-right: 0; }
  .feature { border-right: 0; padding-inline: 0; }
  .tiers { gap: 16px; }
  .voice, .voice + .voice { padding: 26px 0 8px; border-left: 0; }
  .voice + .voice { border-top: 1px solid var(--line); }
  .step { padding-right: 0; margin-bottom: 28px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .sec { padding-block: 64px; }
  .nav { display: none; }
  #menuBtn { display: inline-grid; }
  .bar-actions .btn-ghost { display: none; }
}
@media (max-width: 520px) {
  .term-foot { grid-template-columns: 1fr; }
  .term-price { font-size: 1.7rem; }
  #chart { height: 250px; }
  .hero-stats { gap: 12px 28px; }
  .bar-actions .btn-primary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none; }
}

/* ===== shared additions for inner pages ===== */
:root { --warn: #fbbf24; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --warn: #a16207; } }
:root[data-theme="light"] { --warn: #a16207; }

/* dropdown navigation */
.nav { gap: 2px; }
.nav-item { position: relative; }
.nav-item > button { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: none; border: 0; color: var(--fg-2); font-size: 14.5px; cursor: pointer; border-radius: var(--radius-control); }
.nav-item > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.nav-item:hover > button, .nav-item:focus-within > button, .nav-item.open > button { color: var(--fg); }
.nav .menu { position: absolute; top: 100%; left: 0; min-width: 232px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-card); padding: 8px; display: none; box-shadow: var(--shadow-card); z-index: 50; }
.nav-item:hover .menu, .nav-item:focus-within .menu, .nav-item.open .menu { display: grid; }
.nav .menu a { padding: 9px 12px; border-radius: var(--radius-control); border-bottom: 0; color: var(--fg-2); font-size: 14px; }
.nav .menu a:hover { background: var(--bg-2); color: var(--fg); border-bottom: 0; }
.nav .menu a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav { max-height: 78vh; overflow-y: auto; }
.mobile-nav .m-group { margin: 18px 0 4px; }
.mobile-nav .m-group:first-child { margin-top: 8px; }

/* page hero */
.phero-in { position: relative; padding-block: 60px 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-data); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.crumbs a:hover { color: var(--fg); }
.crumbs span[aria-hidden] { opacity: .6; }
.phero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.06; margin-block: 18px 18px; max-width: 20ch; }
.phero .lead { color: var(--fg-2); font-size: 1.125rem; max-width: 60ch; }
.phero .eyebrow { display: block; margin-top: 28px; color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 44px; background: var(--bg); }
.fact { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; align-content: start; }
.fact strong { font-family: var(--font-data); font-weight: 500; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.fact span { color: var(--fg-3); font-size: .85rem; }

/* layout helpers */
.sec.tight { padding-block: 64px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 16px; }
.stack p { color: var(--fg-2); }
.features.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features.two .feature svg, .features.four .feature svg { margin-bottom: 18px; }
.feature .label { display: block; margin-bottom: 14px; color: var(--accent); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--fg-2); }
.checks li svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--accent); }
.note { margin-top: 14px; font-size: 12.5px; color: var(--fg-3); }
.pill { display: inline-block; font-family: var(--font-data); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 8px; color: var(--fg-2); white-space: nowrap; }
.pill.ok { color: var(--up); border-color: var(--up); }
.pill.warn { color: var(--warn); border-color: var(--warn); }
.pill.acc { color: var(--accent); border-color: var(--accent); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); }
table.spec, table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec th, .spec td, .compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td, .compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.spec th { width: 36%; font-weight: 400; color: var(--fg-3); font-family: var(--font-data); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.compare { min-width: 640px; font-variant-numeric: tabular-nums; }
.compare thead th { font-family: var(--font-data); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); font-weight: 400; border-bottom: 1px solid var(--line-2); }
.compare tbody th { font-weight: 400; color: var(--fg-3); font-size: 13.5px; white-space: nowrap; }
.compare .hl { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.compare thead .hl { color: var(--accent); }
.board.wide { min-width: 720px; }
.board td.mono-l, .board th.mono-l { text-align: left; }
.board td.plain { font-family: var(--font-body); font-size: 13.5px; color: var(--fg-2); }
table.plain-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.plain-table th, .plain-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plain-table thead th { font-family: var(--font-data); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); font-weight: 400; border-bottom: 1px solid var(--line-2); }
.plain-table tr:last-child td { border-bottom: 0; }
.plain-table td:first-child { font-weight: 500; }
.plain-table td.sub, .plain-table td.sub:first-child { color: var(--fg-2); font-weight: 400; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-family: var(--font-display); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-data); color: var(--accent); font-size: 1.25rem; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 22px; color: var(--fg-2); max-width: 70ch; }
.faq details > div p + p { margin-top: 10px; }

/* cta band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-card); }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 24ch; }
.cta-band p { color: var(--fg-2); margin-top: 8px; max-width: 52ch; }
.cta-band .cta-row { margin-top: 0; }

/* steps list (ordered, real sequence) */
.steps.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }

/* sessions */
.session-bar { display: grid; gap: 10px; }
.session-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: center; font-family: var(--font-data); font-size: 12.5px; }
.session-track { position: relative; height: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; }
.session-fill { position: absolute; top: 2px; bottom: 2px; background: color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 1px; }
.session-axis { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; font-family: var(--font-data); font-size: 11px; color: var(--fg-3); }
.session-axis div { display: flex; justify-content: space-between; }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field > label, .field > .lbl { font-family: var(--font-data); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 0 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-control); color: var(--fg); font: inherit; }
textarea.input { padding: 12px 14px; min-height: 140px; resize: vertical; }
.input::placeholder { color: var(--fg-3); }
.input:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 78%, white); outline-offset: 2px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.input[aria-invalid="true"] { border-color: var(--down); }
.field .err { color: var(--down); font-size: 13px; min-height: 0; }
.field .err:empty { display: none; }
.field .hint { color: var(--fg-3); font-size: 13px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--fg-2); font-size: 14px; }
.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.check a, .link { color: var(--accent); border-bottom: 1px solid transparent; }
.check a:hover, .link:hover { border-bottom-color: var(--accent); }
.form-msg { margin-top: 14px; min-height: 1.5em; font-size: .95rem; color: var(--up); }
.form-msg.bad { color: var(--down); }
.form-box { padding: 32px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-card); }

/* filters / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { background: transparent; border: 1px solid var(--line-2); color: var(--fg-2); font-family: var(--font-data); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: var(--radius-control); cursor: pointer; }
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"] { color: var(--fg); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.search { max-width: 520px; margin-bottom: 24px; }
.empty { padding: 28px 0; color: var(--fg-3); }

/* announcements */
.posts { border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.post .meta { display: grid; gap: 8px; align-content: start; font-family: var(--font-data); font-size: 12px; color: var(--fg-3); letter-spacing: .06em; }
.post h3 { font-size: 1.5rem; margin-bottom: 8px; }
.post p { color: var(--fg-2); max-width: 70ch; }
.post details { margin-top: 12px; }
.post summary { cursor: pointer; color: var(--accent); font-size: .925rem; }
.post details p { margin-top: 10px; }

/* legal long form */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: grid; gap: 4px; font-size: 14px; }
.toc .label { margin-bottom: 8px; }
.toc a { padding: 6px 0 6px 12px; border-left: 1px solid var(--line-2); color: var(--fg-2); }
.toc a:hover { color: var(--fg); border-left-color: var(--accent); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin: 44px 0 12px; scroll-margin-top: calc(88px + env(safe-area-inset-top, 0px)); }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--fg-2); margin-bottom: 12px; }
.prose ul { color: var(--fg-2); padding-left: 20px; display: grid; gap: 6px; margin: 0 0 12px; }
.draft-note { border: 1px solid var(--warn); color: var(--fg-2); padding: 14px 18px; border-radius: var(--radius-control); font-size: .925rem; margin-bottom: 36px; max-width: 72ch; }
.draft-note strong { color: var(--warn); font-weight: 500; }

/* code */
.code { position: relative; min-width: 0; max-width: 100%; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--font-data); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: var(--font-data); font-size: 13px; line-height: 1.7; color: var(--fg-2); }
.code .k { color: var(--accent); } .code .s { color: var(--up); } .code .c { color: var(--fg-3); }
.copy-btn { background: transparent; border: 1px solid var(--line-2); color: var(--fg-2); font-family: var(--font-data); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-control); cursor: pointer; }
.copy-btn:hover { color: var(--fg); border-color: var(--accent); }
.inline-code { font-family: var(--font-data); font-size: .9em; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: var(--radius-control); color: var(--fg); }

/* status */
.status-banner { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border: 1px solid var(--up); border-radius: var(--radius-card); background: color-mix(in srgb, var(--up) 8%, transparent); margin-bottom: 36px; }
.status-banner .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--up); flex: none; }
.status-banner strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.comp { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.comp-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.comp-top b { font-weight: 500; }
.comp-top span.up-pct { font-family: var(--font-data); font-size: 13px; color: var(--fg-2); }
.bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 30px; }
.bars i { background: var(--up); border-radius: 1px; display: block; }
.bars i.w { background: var(--warn); }
.bars i.d { background: var(--down); }
.bars-axis { display: flex; justify-content: space-between; font-family: var(--font-data); font-size: 11px; color: var(--fg-3); }
.incident { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; }
.incident h3 { font-size: 1.25rem; margin-bottom: 6px; }
.incident p { color: var(--fg-2); }

/* phone mockup */
.phone { width: 300px; max-width: 100%; margin-inline: auto; border: 1px solid var(--line-2); border-radius: 36px; padding: 14px; background: var(--panel); }
.phone-screen { border: 1px solid var(--line); border-radius: 24px; background: var(--bg); overflow: hidden; }
.phone-top { display: flex; justify-content: space-between; padding: 16px 18px 10px; font-family: var(--font-data); font-size: 11px; color: var(--fg-3); }
.phone-bal { padding: 4px 18px 16px; display: grid; gap: 2px; }
.phone-bal strong { font-family: var(--font-data); font-size: 1.7rem; font-weight: 500; }
.phone-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px auto; gap: 10px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-family: var(--font-data); font-size: 13px; font-variant-numeric: tabular-nums; }
.phone-row b { font-weight: 500; font-family: var(--font-body); }
.phone-row .spark { width: 70px; height: 22px; }
.phone-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); font-family: var(--font-data); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); text-align: center; }
.phone-tabs span { padding: 14px 0; }
.phone-tabs .on { color: var(--accent); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* web terminal demo */
.tw { display: grid; grid-template-columns: 230px minmax(0, 1fr) 290px; border: 1px solid var(--line-2); border-radius: var(--radius-card); background: var(--panel); min-width: 0; }
.tw > * { min-width: 0; }
.tw-list { border-right: 1px solid var(--line); }
.tw-list h3, .tw-ticket h3, .tw-center h3 { font-family: var(--font-data); font-weight: 400; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.wl { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; text-align: left; padding: 11px 16px; background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font-family: var(--font-data); font-size: 13px; font-variant-numeric: tabular-nums; }
.wl:hover { background: var(--bg-2); }
.wl[aria-pressed="true"] { background: var(--bg-2); box-shadow: inset 2px 0 0 var(--accent); }
.wl b { font-weight: 500; font-family: var(--font-body); }
.wl small { grid-column: 1 / -1; font-size: 11.5px; }
.tw-center { border-right: 1px solid var(--line); }
.tw-chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tw-chart-head .sym { font-family: var(--font-data); letter-spacing: .08em; }
.tw-chart-head .px { font-family: var(--font-data); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
#twChart { display: block; width: 100%; height: 330px; }
.tw-pos { border-top: 1px solid var(--line); }
.tw-pos .table-wrap { border: 0; border-radius: 0; }
.tw-ticket { padding-bottom: 16px; }
.tw-ticket .body { min-width: 0; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tw-ticket .acct { min-width: 0; display: grid; gap: 8px; font-family: var(--font-data); font-size: 13px; font-variant-numeric: tabular-nums; }
.tw-ticket .acct div { min-width: 0; display: flex; justify-content: space-between; gap: 12px; }
.tw-ticket .acct span:first-child { color: var(--fg-3); }
.tw-ticket .term-foot { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tw-ticket .q { min-width: 0; gap: 4px; padding-inline: 8px; font-size: 12px; }
.tw-ticket .q span:last-child { min-width: 0; font-size: 11px; }
.lot-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; }
.lot-row .icon-btn { width: 100%; height: 46px; }
.lot-row .input { text-align: center; font-family: var(--font-data); }
.close-btn { background: transparent; border: 1px solid var(--line-2); color: var(--fg-2); font-family: var(--font-data); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-control); cursor: pointer; }
.close-btn:hover { color: var(--fg); border-color: var(--accent); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80; max-width: min(92vw, 460px); background: var(--panel); color: var(--fg); border: 1px solid var(--accent); padding: 12px 18px; border-radius: var(--radius-control); font-size: .925rem; box-shadow: var(--shadow-card); }
.toast[hidden] { display: none; }

/* auth */
body.auth-body { background: var(--bg); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; }
.auth-side { position: relative; background: var(--bg-2); border-right: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 36px max(36px, env(safe-area-inset-left, 0px)) 40px; }
.auth-side::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .4; -webkit-mask-image: radial-gradient(ellipse at 30% 60%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 30% 60%, #000 0%, transparent 72%); }
.auth-side > * { position: relative; }
.auth-side h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.1; max-width: 16ch; margin-bottom: 16px; }
.auth-side h2 em { font-style: italic; color: var(--accent); }
.auth-side p.lead { color: var(--fg-2); max-width: 40ch; }
.auth-quote { margin-top: 32px; border: 1px solid var(--line-2); background: var(--panel); border-radius: var(--radius-card); padding: 16px 18px; max-width: 340px; display: grid; gap: 4px; }
.auth-quote .row { display: flex; justify-content: space-between; font-family: var(--font-data); font-size: 13px; font-variant-numeric: tabular-nums; }
.auth-quote svg { width: 100%; height: 56px; margin-top: 8px; }
.auth-main { display: flex; flex-direction: column; padding: 28px max(24px, env(safe-area-inset-right, 0px)) 40px max(24px, env(safe-area-inset-left, 0px)); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-top .back { font-size: 14px; color: var(--fg-2); }
.auth-top .back:hover { color: var(--fg); }
.auth-card { width: 100%; max-width: 440px; margin: auto; padding: 38px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.auth-card h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.1; margin-bottom: 10px; }
.auth-card .sub { color: var(--fg-2); margin-bottom: 28px; }
.auth-card .btn { width: 100%; min-height: 48px; }
.auth-alt { margin-top: 22px; color: var(--fg-2); font-size: .95rem; text-align: center; }
.auth-demo { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-3); }
.pw { position: relative; }
.pw .input { padding-right: 70px; }
.pw .reveal { position: absolute; right: 6px; top: 6px; height: 34px; padding: 0 10px; background: transparent; border: 0; color: var(--fg-2); font-family: var(--font-data); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius-control); }
.pw .reveal:hover { color: var(--fg); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.meter i { height: 4px; background: var(--line-2); border-radius: 1px; display: block; }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--down); }
.meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.meter[data-s="3"] i:nth-child(-n+3) { background: var(--accent); }
.meter[data-s="4"] i { background: var(--up); }
.meter-label { font-size: 13px; color: var(--fg-3); margin-top: 6px; }
.field-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14px; }
.field-row .check { margin: 0; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.otp input { width: 100%; min-height: 56px; text-align: center; font-family: var(--font-data); font-size: 1.5rem; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-control); color: var(--fg); padding: 0; }
.otp input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.otp[aria-invalid="true"] input { border-color: var(--down); }
.state-ok { text-align: left; }
.state-ok .mark { width: 48px; height: 48px; border: 1px solid var(--up); color: var(--up); border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.state-ok .mark svg { width: 22px; height: 22px; }

@media (max-width: 1160px) {
  .tw { grid-template-columns: 200px minmax(0, 1fr); }
  .tw-ticket { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .tw-center { border-right: 0; }
}
@media (max-width: 1020px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; }
  .features.two, .features.four { grid-template-columns: minmax(0, 1fr); }
  .steps.two, .steps.four { grid-template-columns: minmax(0, 1fr); }
  .post, .incident { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .post .meta { display: flex; flex-wrap: wrap; gap: 12px; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .tw { grid-template-columns: minmax(0, 1fr); }
  .tw-list { border-right: 0; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; }
  .tw-list h3 { display: none; }
  .wl { min-width: 150px; border-bottom: 0; border-right: 1px solid var(--line); }
  .wl[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
  .tw-center { border-bottom: 1px solid var(--line); }
  .cta-band { padding: 28px 22px; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .form-box { padding: 22px 18px; }
  .auth-card { padding: 28px 20px; }
  .session-row, .session-axis { grid-template-columns: 70px minmax(0, 1fr); }
  #twChart { height: 260px; }
  .otp { gap: 6px; }
  .phero-in { padding-block: 44px 40px; }
}

/* demo notifications */
.notice-wrap { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: grid; gap: 10px; width: min(350px, calc(100vw - 32px)); pointer-events: none; }
.notice { pointer-events: auto; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-card); box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); animation: noticeIn .35s ease both; }
.notice-ic { width: 36px; height: 36px; border: 1px solid var(--up); color: var(--up); border-radius: 50%; display: grid; place-items: center; }
.notice-tx { display: grid; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.45; }
.notice-tx b { font-weight: 500; }
.notice-tx span { color: var(--fg-2); }
.notice-tx small { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; color: var(--fg-3); font-size: 12px; }
.notice-off { justify-self: start; margin-top: 6px; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); color: var(--fg-3); font-size: 12px; cursor: pointer; }
.notice-off:hover { color: var(--fg); border-bottom-color: var(--accent); }
.notice-x { width: 28px; height: 28px; background: transparent; border: 0; color: var(--fg-3); font-size: 20px; line-height: 1; cursor: pointer; border-radius: var(--radius-control); }
.notice-x:hover { color: var(--fg); }
@keyframes noticeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .notice, .btn, .feature { animation: none; transition: none; } }
@media (max-width: 520px) { .toast { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); } }

/* simplified navbar: About, Contact, Announcements + Log in / Create account */
.nav { gap: 32px; }
.nav a { padding: 8px 0; }
.nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav .m-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 0 8px; }
.mobile-nav .m-cta a { padding: 0 16px; border: 1px solid var(--line-2); color: var(--fg); }
.mobile-nav .m-cta .btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
#menuBtn[aria-expanded="true"] svg path { d: path("M6 6l12 12M18 6L6 18"); }
@media (min-width: 1021px) { .mobile-nav { display: none; } }

/* footer: Quick Links / Trading / Your Account */
footer { background: var(--bg-2); color: var(--fg); border-top: 1px solid var(--line); }
footer .brand { color: var(--fg); }
.foot-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.foot-grid h4 { margin: 0 0 22px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .08em; color: var(--fg); }
.foot-grid ul { gap: 16px; font-size: 1rem; color: var(--fg-2); }
.foot-grid ul a:hover { color: var(--fg); }
.foot-brand p { color: var(--fg-2); }
footer .legal { border-top-color: var(--line); color: var(--fg-3); }
footer .legal a:hover { color: var(--fg); }
@media (max-width: 1020px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 48px 24px; }
  .foot-brand { grid-column: auto; }
}

/* testimonial cards */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tcard { margin: 0; position: relative; display: grid; gap: 18px; align-content: start; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.tstars { display: flex; gap: 3px; }
.tstars svg { width: 18px; height: 18px; fill: #f2b81c; }
.tcard blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--fg-2); }
.tcard figcaption { display: flex; align-items: center; gap: 12px; }
.tav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--accent-ink); background: var(--accent); flex: none; }
.tcard cite { font-style: normal; display: grid; font-weight: 600; color: var(--fg); }
.tcard cite span { font-family: var(--font-data); font-weight: 400; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: 2px; }
.tcard .sample-tag { position: absolute; top: 14px; right: 14px; }
@media (max-width: 1020px) { .tgrid { grid-template-columns: minmax(0, 1fr); } }

/* TradingView ticker tape under hero */
.tv-strip { border-block: 1px solid var(--line); background: var(--bg-2); min-height: 78px; }
.tv-strip .tradingview-widget-container { min-height: 78px; }
.tv-strip .tradingview-widget-copyright { font-size: 11px; line-height: 1.4; text-align: right; padding: 2px 16px; color: var(--fg-3); background: #1c1c1c; }
.tv-strip .tradingview-widget-copyright a { color: #9db2bd; }
