/* ============================================================
   TradeCowboy landing v2 — "the journal file that writes itself"
   Glass Sharpened tokens (mirrored from the app) + the redesign
   from design_handoff_landing_redesign. sRGB fallbacks first;
   exact oklch brand colors override under @supports.
   ============================================================ */

:root {
  --bg-base: #04081a;
  --bg-base-2: #060d24;
  --bg-band-top: #030616;
  --glass-card: rgba(255, 255, 255, 0.038);
  --glass-card-hi: rgba(255, 255, 255, 0.075);
  --jcard-bg: rgba(8, 14, 36, 0.72);
  /* sRGB fallbacks — exact oklch overrides below */
  --accent: #8f6ff2;
  --accent-soft: #c3b1fa;
  --accent-deep: #7a58e8;
  --accent-line: #b79df8;
  --accent-dim: rgba(143, 111, 242, 0.16);
  --accent-glow: rgba(143, 111, 242, 0.55);
  --accent-ring: rgba(143, 111, 242, 0.5);
  --accent-stroke: rgba(143, 111, 242, 0.2);
  --accent-idx: rgba(143, 111, 242, 0.7);
  --accent-grad: linear-gradient(180deg, #8f6ff2 0%, #7a58e8 100%);
  --accent-text-grad: linear-gradient(115deg, #c3b1fa 10%, #8f6ff2 70%);
  --pos: #2fe6a5;
  --pos-dim: rgba(47, 230, 165, 0.14);
  --pos-line: rgba(47, 230, 165, 0.3);
  --pos-stroke: rgba(47, 230, 165, 0.22);
  --neg: #f4564a;
  --neg-dim: rgba(244, 86, 74, 0.16);
  --warn: #f2c14e;
  --accent-pill-line: rgba(183, 157, 248, 0.35);
  --accent-glow-25: rgba(143, 111, 242, 0.25);
  --accent-line-12: rgba(143, 111, 242, 0.12);
  --text-96: rgba(255, 255, 255, 0.95);
  --text-78: rgba(255, 255, 255, 0.76);
  --text-62: rgba(255, 255, 255, 0.6);
  --text-46: rgba(255, 255, 255, 0.52);
  --text-44: rgba(255, 255, 255, 0.44);
  --hairline: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.11);
  --border-hover: rgba(255, 255, 255, 0.2);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 18px 48px rgba(0, 0, 0, 0.5);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max-w: 1240px;
  --gutter: 28px;
}

@supports (color: oklch(70% 0.19 290)) {
  :root {
    --accent: oklch(70% 0.19 290);
    --accent-soft: oklch(83% 0.145 290);
    --accent-deep: oklch(62% 0.19 290);
    --accent-line: oklch(80% 0.185 290);
    --accent-dim: oklch(70% 0.19 290 / 0.16);
    --accent-glow: oklch(72% 0.19 290 / 0.55);
    --accent-ring: oklch(72% 0.19 290 / 0.5);
    --accent-stroke: oklch(70% 0.19 290 / 0.2);
    --accent-idx: oklch(70% 0.19 290 / 0.7);
    --accent-grad: linear-gradient(180deg, oklch(70% 0.19 290) 0%, oklch(62% 0.19 290) 100%);
    --accent-text-grad: linear-gradient(115deg, oklch(83% 0.145 290) 10%, oklch(70% 0.19 290) 70%);
    --pos: oklch(82% 0.21 158);
    --pos-dim: oklch(82% 0.21 158 / 0.14);
    --pos-line: oklch(82% 0.21 158 / 0.3);
    --pos-stroke: oklch(82% 0.21 158 / 0.22);
    --neg: oklch(67% 0.24 25);
    --neg-dim: oklch(67% 0.24 25 / 0.16);
    --warn: oklch(84% 0.17 82);
    --accent-pill-line: oklch(80% 0.185 290 / 0.35);
    --accent-glow-25: oklch(70% 0.19 290 / 0.25);
    --accent-line-12: oklch(70% 0.19 290 / 0.12);
  }
}

/* ── Reset & base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  background: var(--bg-base);
  color: var(--text-96);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-soft); }
a:hover { color: var(--text-96); }
::selection { background: var(--accent-dim); }
::placeholder { color: rgba(255, 255, 255, 0.5); }
summary::-webkit-details-marker { display: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }
.hairline { height: 1px; background: var(--hairline); }

/* ── Motion ── */
@keyframes tn-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tn-scan { 0%, 100% { top: 18%; } 50% { top: 78%; } }
@keyframes tn-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes tn-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ── Aurora & page ── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 18% -8%, rgba(90, 70, 190, 0.26), transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 8%, rgba(60, 90, 190, 0.15), transparent 60%),
    radial-gradient(ellipse 65% 50% at 50% 108%, rgba(90, 70, 190, 0.11), transparent 60%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-base-2) 100%);
}
@supports (color: oklch(70% 0.19 290)) {
  .aurora {
    background:
      radial-gradient(ellipse 70% 45% at 18% -8%, oklch(45% 0.16 290 / 0.28), transparent 60%),
      radial-gradient(ellipse 55% 40% at 85% 8%, oklch(50% 0.14 250 / 0.16), transparent 60%),
      radial-gradient(ellipse 65% 50% at 50% 108%, oklch(45% 0.15 290 / 0.12), transparent 60%),
      linear-gradient(180deg, var(--bg-base) 0%, var(--bg-base-2) 100%);
  }
}
.page { position: relative; z-index: 1; overflow-x: clip; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Nav ── */
.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-96); }
.brand-mark { display: block; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-domain {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-62);
  text-transform: uppercase;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-dim), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 32px var(--accent-glow), 0 1px 0 rgba(255, 255, 255, 0.25) inset; }
.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn-ghost {
  padding: 10px 20px;
  border-color: var(--border);
  background: var(--glass-card);
  color: var(--text-96);
}
.btn-ghost:hover { border-color: var(--border-hover); background: var(--glass-card-hi); }

/* ── Type ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.eyebrow-rule { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.eyebrow-rule::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-line), transparent);
}
.eyebrow-mb { margin-bottom: 28px; }
h1 {
  text-wrap: balance;
  font-size: clamp(46px, 6.6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.99;
  margin-bottom: 26px;
}
.accent-text {
  background: var(--accent-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 20px;
  text-wrap: balance;
}
.h2-dim { color: var(--text-62); }
.h2-mb-lg { margin-bottom: 54px; }
.h2-max { max-width: 760px; margin-bottom: 44px; }
.lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-78);
  max-width: 580px;
  margin-bottom: 38px;
}
.lede strong, .section-lede strong { color: var(--text-96); }
.section-lede {
  color: var(--text-78);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 42px;
}
.section-lede em, .spec-row p em { color: var(--text-96); }
.pos-strong { color: var(--pos) !important; }

/* ── Hero ── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

/* ── Waitlist forms ── */
.waitlist-form { max-width: 640px; }
.waitlist-form--center { max-width: 500px; margin: 0 auto; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist-form--center .form-row { justify-content: center; }
.waitlist-form input[type="email"],
.waitlist-form select {
  font-family: var(--font-sans);
  font-size: 16px; /* ≥16px prevents iOS zoom-on-focus */
  color: var(--text-96);
  background: var(--glass-card-hi);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  min-width: 0;
  transition: border-color 0.12s ease;
}
.waitlist-form input[type="email"] { flex: 1 1 210px; }
.waitlist-form select {
  flex: 0 1 auto;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.5)' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.waitlist-form select option { background: var(--bg-base-2); color: var(--text-96); }
.waitlist-form input:focus, .waitlist-form select:focus {
  outline: none;
  border-color: var(--accent-ring);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-note { font-size: 13px; color: var(--text-62); margin-top: 14px; }
.form-status { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--pos); }
.form-status.err { color: var(--neg); font-weight: 400; }

/* ── Trust chips ── */
.chips {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.chips li {
  font-size: 13.5px;
  color: var(--text-78);
  background: var(--glass-card);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── Hero journal card ── */
.tn-hero-card { display: flex; justify-content: flex-end; padding-right: 8px; position: relative; }
.jcard-glow {
  position: absolute;
  inset: -80px -40px;
  background: radial-gradient(ellipse 60% 55% at 55% 45%, var(--accent-dim), transparent 70%);
  pointer-events: none;
}
.tn-jcard {
  position: relative;
  width: 100%;
  max-width: 470px;
  transform: rotate(-1.4deg);
  animation: tn-drift 9s ease-in-out infinite;
}
.jcard-inner {
  background: var(--jcard-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 40px 90px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}
.jcard-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}
.jdot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.jfile { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-62); margin-left: 8px; }
.jsynced {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10.5px;
  background: var(--pos-dim);
  color: var(--pos);
  border: 1px solid var(--pos-line);
}
.jcard-body { padding: 18px 20px 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; }
.jcallout { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jgt { color: var(--accent-idx); }
.jtag { color: var(--accent-soft); font-weight: 600; }
.jsym { font-weight: 700; color: var(--text-96); letter-spacing: -0.01em; }
.jlong {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
  background: var(--pos-dim);
  color: var(--pos);
  border: 1px solid var(--pos-line);
}
.jvenue { color: var(--text-44); font-size: 11px; }
.jrows { margin-top: 12px; display: grid; gap: 7px; }
/* rows are visible by default (no-JS / reduced-motion final state); the
   typewriter adds .tw-live to the card and drives .on per tick */
.tw-live .jrow { visibility: hidden; }
.tw-live .jrow.on { visibility: visible; }
.jrow { display: flex; justify-content: space-between; align-items: baseline; }
.jrow-pill { justify-content: flex-start; margin-top: 2px; }
.jk { color: var(--text-44); }
.jdots { flex: 1; margin: 0 10px; border-bottom: 1px dotted rgba(255, 255, 255, 0.12); }
.jv { color: rgba(255, 255, 255, 0.86); font-variant-numeric: tabular-nums; }
.jv-pos { color: var(--pos); font-weight: 700; }
.jpill {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  border: 1px solid var(--accent-pill-line);
}
.jwhy {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-style: italic;
  color: var(--text-78);
  min-height: 66px;
}
.jcaret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  vertical-align: text-bottom;
  background: var(--accent-soft);
  margin-left: 3px;
  animation: tn-blink 1.1s steps(1) infinite;
}
.jcard-foot {
  padding: 11px 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-62);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.jfoot-accent { color: var(--accent-soft); }

/* ── Equity divider ── */
.equity-divider { max-width: var(--max-w); margin: 26px auto 0; padding: 0 var(--gutter); }
.equity-divider svg { width: 100%; height: 64px; display: block; }

/* ── Watermark sections ── */
.wm-section { position: relative; overflow: clip; }
.tn-wm {
  position: absolute;
  top: 60px;
  right: -14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(150px, 19vw, 250px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-stroke);
  pointer-events: none;
  user-select: none;
}
#journal .tn-wm { top: 44px; }
.wm-section .container { padding-top: 130px; }
#faq .faq-inner { padding-top: 140px; }

/* ── Split layouts ── */
.tn-split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}
.tn-split2 {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}
.tn-split-phone { display: flex; position: sticky; top: 60px; }
.phone-right { justify-content: flex-end; }
.phone-left { justify-content: flex-start; }

/* ── Spec lists ── */
.spec-list { border-top: 1px solid var(--hairline); }
.spec-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
.spec-idx { font-family: var(--font-mono); font-size: 13px; color: var(--accent-idx); padding-top: 4px; }
.spec-row h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; }
.spec-row p { font-size: 15px; color: var(--text-78); line-height: 1.65; max-width: 560px; }
.spec-row p + .tn-cal, .spec-row p + .scan-piece { margin-top: 18px; }

/* ── P&L calendar set piece ── */
.tn-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; max-width: 430px; }
.tn-cal span {
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
}
.tn-cal .cal-pos { background: var(--pos-dim); }
.tn-cal .cal-pos-13 { background: rgba(47, 230, 165, 0.13); }
.tn-cal .cal-pos-20 { background: rgba(47, 230, 165, 0.2); }
.tn-cal .cal-pos-24 { background: rgba(47, 230, 165, 0.24); }
.tn-cal .cal-neg { background: var(--neg-dim); }
.tn-cal .cal-neg-13 { background: rgba(244, 86, 74, 0.13); }
.tn-cal .cal-lbl { color: var(--pos); }
.tn-cal .cal-lbl-neg { color: var(--neg); }

/* ── Phone frames (real app screenshots) ── */
.phone {
  position: relative;
  width: 300px;
  height: 624px; /* explicit — aspect-ratio fallback for old Safari */
  aspect-ratio: 300 / 624;
  background: linear-gradient(155deg, #20263a, #0c1020 60%);
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.06), 0 30px 60px -18px rgba(0, 0, 0, 0.7), 0 8px 20px rgba(0, 0, 0, 0.4);
}
.phone-rot-r { transform: rotate(1.6deg); }
.phone-rot-l { transform: rotate(-1.6deg); }
.phone-screen {
  position: relative;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, var(--bg-base-2), var(--bg-base));
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 20;
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 4px;
  height: 34px;
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-96);
}
.phone-status-icons { display: flex; gap: 5px; align-items: center; opacity: 0.92; }
.phone-shot {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top;
  display: block;
}
.phone-home { height: 24px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.phone-home span { width: 110px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.55); }

/* ── Tax band ── */
.tax-band {
  position: relative;
  overflow: clip;
  margin-top: 130px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--bg-band-top) 0%, var(--bg-base) 100%);
}
.tax-band .container { padding-top: 120px; padding-bottom: 120px; }
.tn-bignum {
  position: absolute;
  top: 54px;
  right: 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(72px, 10.5vw, 150px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pos-stroke);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}
.compliance-note {
  margin-top: 30px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-62);
  border-left: 2px solid rgba(242, 193, 78, 0.7);
  padding: 2px 0 2px 16px;
  max-width: 620px;
}

/* ── Receipt scan set piece ── */
.scan-piece {
  position: relative;
  height: 140px;
  max-width: 430px;
  border-radius: 14px;
  background: linear-gradient(135deg, #12182c, #0a0f20);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
}
.scan-corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent-soft); }
.scan-corner-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scan-corner-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.scan-receipt {
  width: 88px;
  height: 110px;
  background: linear-gradient(180deg, #f4f2ec, #e8e5da);
  border-radius: 4px;
  transform: rotate(-4deg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  padding: 9px 8px;
}
.rl { height: 3px; border-radius: 2px; background: #b9b3a4; margin-bottom: 4px; }
.rl-title { height: 5px; width: 60%; background: #6b6455; }
.rl-40 { width: 40%; }
.rl-75 { width: 75%; margin-bottom: 0; }
.scan-line {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  top: 40%;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: tn-scan 2.6s ease-in-out infinite;
}
.scan-caption {
  position: absolute;
  bottom: 10px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-soft);
}

/* ── Steps ── */
.tn-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.tn-steps-line {
  position: absolute;
  top: 31px;
  left: 70px;
  right: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-ring), var(--accent-line-12) 50%, var(--accent-ring));
  pointer-events: none;
}
.tn-steps li { position: relative; }
.step-badge {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 22px;
  color: var(--accent-soft);
  background: linear-gradient(180deg, #0a1128, var(--bg-base-2));
  border: 1px solid var(--accent-ring);
  border-radius: 999px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--accent-glow-25);
}
.tn-steps h3 { font-size: 20px; font-weight: 700; margin: 22px 0 8px; letter-spacing: -0.015em; }
.tn-steps p { font-size: 15px; color: var(--text-78); line-height: 1.65; }
.tn-steps p strong { color: var(--text-96); }

/* ── Venues marquee ── */
.venues { padding-top: 130px; overflow: hidden; }
.venues .eyebrow { margin-bottom: 22px; }
.marquee-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  display: grid;
  gap: 14px;
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
.marquee-row { display: flex; gap: 12px; width: max-content; }
.marquee-row span {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-78);
  background: var(--glass-card);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 22px;
  white-space: nowrap;
}
.marquee-a { animation: tn-marquee 46s linear infinite; }
.marquee-b { animation: tn-marquee 58s linear infinite reverse; }
.marquee-band:hover .marquee-row { animation-play-state: paused; } /* WCAG 2.2.2 pause */
.venue-note { margin-top: 20px; font-size: 14px; color: var(--text-62); max-width: 640px; line-height: 1.6; }

/* ── Security ── */
.tn-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sec-card {
  background: var(--glass-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sec-card:hover { border-color: var(--border); background: var(--glass-card-hi); }
.sec-tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent-soft); margin-bottom: 14px; }
.sec-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.015em; }
.sec-card p { font-size: 15px; color: var(--text-78); line-height: 1.65; }
.sec-card p em { color: var(--text-96); }

/* ── Access ── */
.access { position: relative; overflow: clip; text-align: center; }
.access-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 50% 100%, rgba(90, 70, 190, 0.28), transparent 65%);
  pointer-events: none;
}
@supports (color: oklch(70% 0.19 290)) {
  .access-glow { background: radial-gradient(ellipse 55% 65% at 50% 100%, oklch(45% 0.16 290 / 0.3), transparent 65%); }
}
.access-inner { max-width: 900px; margin: 0 auto; padding: 150px var(--gutter) 0; position: relative; }
.access .eyebrow { margin-bottom: 20px; }
.access-h2 {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 22px;
}
.access-lede { max-width: 680px; margin: 0 auto 40px; line-height: 1.7; }

/* ── FAQ ── */
.faq-inner { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--glass-card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.faq details[open] { background: var(--glass-card-hi); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 19px 48px 19px 24px;
  list-style: none;
  position: relative;
}
.faq .tn-plus {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--accent-soft);
  font-size: 18px;
}
.faq details:not([open]) .tn-plus::after { content: "+"; }
.faq details[open] .tn-plus::after { content: "–"; }
.faq details p { padding: 0 24px 20px; font-size: 15px; color: var(--text-78); line-height: 1.65; }

/* ── Footer ── */
.footer {
  max-width: var(--max-w);
  margin: 110px auto 0;
  padding: 0 var(--gutter) 64px;
  text-align: center;
}
.eof {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}
.hairline-flex { flex: 1; height: 1px; background: var(--hairline); }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; margin-bottom: 16px; }
.footer-disclaimer { font-size: 13px; color: var(--text-62); max-width: 560px; margin: 0 auto 18px; line-height: 1.6; }
.footer-links { display: flex; gap: 22px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--text-78); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text-96); }
.footer-fine { font-size: 12.5px; color: var(--text-44); }
.footer-fine a { color: inherit; }

/* ── Legal pages (privacy.html / terms.html) ── */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 24px 60px; }
.legal h1 { font-size: 32px; margin-bottom: 8px; letter-spacing: -0.03em; }
.legal .updated { font-size: 13px; color: var(--text-46); margin-bottom: 30px; font-family: var(--font-mono); }
.legal h2 { font-size: 20px; margin: 30px 0 10px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--text-78); font-size: 15px; margin-bottom: 12px; line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent-soft); }

/* ── Focus ── */
.btn:focus-visible, a:focus-visible, .faq summary:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 56px; }
  .tn-hero-card { justify-content: center; padding: 0; }
  .tn-split, .tn-split2 { grid-template-columns: 1fr; }
  .tn-split-phone { position: static; justify-content: center; order: 5; }
  .tn-wm { font-size: 120px; }
  .tn-bignum { font-size: 72px; right: 12px; }
}
@media (max-width: 720px) {
  .tn-grid2, .tn-steps { grid-template-columns: 1fr; }
  .tn-steps-line { display: none; }
  .form-row { flex-direction: column; }
  .waitlist-form input[type="email"] { flex: 0 0 auto; }
  .waitlist-form input[type="email"], .waitlist-form select, .form-row .btn { width: 100%; }
  .tn-cal { display: none; }
  .tn-jcard { transform: none; }
  .nav-domain { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   ONYX — flat near-black, monochrome white accent, NO shine (2026-07-13)
   Matches the TradeCowboy app. Overrides the purple/aurora/glass tokens
   above (last :root wins). Depth = flat lightness steps + hairlines only.
   ════════════════════════════════════════════════════════════════════ */
:root {
  --bg-base: #0A0A0C;
  --bg-base-2: #0E0E11;
  --bg-band-top: #08080A;
  --glass-card: #111114;
  --glass-card-hi: #18181C;
  --jcard-bg: #111114;
  /* Accent → monochrome WHITE (no purple); glows off; grads flattened */
  --accent: #FFFFFF;
  --accent-soft: #FFFFFF;
  --accent-deep: #E7E7EC;
  --accent-line: rgba(255, 255, 255, 0.55);
  --accent-dim: rgba(255, 255, 255, 0.10);
  --accent-glow: transparent;
  --accent-ring: rgba(255, 255, 255, 0.45);
  --accent-stroke: rgba(255, 255, 255, 0.20);
  --accent-idx: rgba(255, 255, 255, 0.70);
  --accent-grad: #F7F7F8;
  --accent-text-grad: linear-gradient(#FFFFFF, #FFFFFF);
  --accent-pill-line: rgba(255, 255, 255, 0.30);
  --accent-glow-25: transparent;
  --accent-line-12: rgba(255, 255, 255, 0.10);
  /* Semantic — desaturated onyx (only colour left) */
  --pos: #34D399;  --pos-dim: rgba(52, 211, 153, 0.13);  --pos-line: rgba(52, 211, 153, 0.3);  --pos-stroke: rgba(52, 211, 153, 0.22);
  --neg: #F0655A;  --neg-dim: rgba(240, 101, 90, 0.13);  --neg-stroke: rgba(240, 101, 90, 0.22);
  --warn: #E3B25C;
  --hairline: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.18);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
/* Kill the aurora + any accent glow-shadow; white CTA */
.aurora { display: none !important; }
.btn-primary { background: #F7F7F8; color: #0A0A0C; box-shadow: none; }
.btn-primary:hover { background: #FFFFFF; opacity: 0.9; }
