/* OneTickTrading marketing — shared design system.
 * Modeled on render.com's structural language:
 *   - sticky backdrop-blur nav
 *   - massive hero with paired animated visual
 *   - alternating left/right split sections with visual demos
 *   - gradient accents (cyan→mint for trading-data energy)
 *   - card hover transitions
 *   - scroll-triggered fade-ins
 *   - dark mode primary
 */

:root {
  /* Surface tokens */
  --bg:        #07080d;            /* deepest — page bg */
  --bg-1:      #0d0f17;            /* nav, deep cards */
  --bg-2:      #131725;            /* primary cards */
  --bg-3:      #1c2236;            /* hover, raised cards */
  --bg-4:      #2a324a;            /* borders on raised */

  /* Text */
  --fg:        #f0f3fa;            /* primary text */
  --fg-2:      #a8b1c2;            /* secondary */
  --fg-3:      #6b7388;            /* tertiary */

  /* Accents — cyan→mint = data-feel, energy-of-fills */
  --c1:        #00e0c4;            /* primary mint */
  --c2:        #38bdf8;            /* cyan */
  --c3:        #818cf8;            /* indigo (rare highlight) */
  --warn:      #f4a76b;
  --danger:    #f47c8a;

  /* Borders */
  --border:    #1f2536;
  --border-2:  #2c3550;

  /* Gradients */
  --grad-hero:  linear-gradient(135deg, #00e0c4 0%, #38bdf8 50%, #818cf8 100%);
  --grad-card:  linear-gradient(135deg, rgba(0,224,196,.06) 0%, rgba(56,189,248,.04) 100%);
  --grad-edge:  linear-gradient(135deg, #00e0c4, #38bdf8, #818cf8);

  /* Layout */
  --max-w:     1180px;
  --max-w-narrow: 880px;

  /* Type */
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Subtle grid background — render.com uses a similar dot-grid */
  background-image:
    radial-gradient(800px 400px at 70% -10%, rgba(0,224,196,.07), transparent 60%),
    radial-gradient(600px 320px at 10% 0%, rgba(56,189,248,.05), transparent 60%);
  background-attachment: fixed;
}

a { color: var(--c2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c1); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }

/* ====== Nav ====== */
.nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(7,8,13,.72);
  padding: 14px 0;
  font-size: 14px;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav .brand {
  color: var(--fg);
  font-weight: 700;
  letter-spacing: -.015em;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav .brand:hover { color: var(--fg); }
.nav .brand .mark {
  width: 32px; height: 32px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  transition: border-color .15s, background .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
}
.nav .brand:hover .mark {
  border-color: rgba(0,224,196,.35);
  background: rgba(255,255,255,.04);
  box-shadow: 0 0 12px rgba(0,224,196,.18);
}
.nav .brand .mark img { width: 24px; height: 24px; display: block; }
.nav .brand .word {
  letter-spacing: -.015em;
}
.nav .brand .tick {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav .links { display: flex; align-items: center; gap: 22px; }
.nav .links a { color: var(--fg-2); }
.nav .links a:hover { color: var(--fg); }
.nav .links .btn { margin-left: 4px; }

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease, border-color .12s, background .12s;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #00e0c4 0%, #38bdf8 100%);
  color: #051712;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); color: #051712; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--fg-3); background: var(--bg-2); color: var(--fg); }
.btn-large { padding: 14px 26px; font-size: 15px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ====== Hero ====== */
.hero {
  padding: 92px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 24px;
  font-weight: 700;
  max-width: 920px;
}
.hero h1 .grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--fg-2);
  max-width: 720px;
  margin: 0 0 36px;
  line-height: 1.55;
}
.hero .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero .meta { color: var(--fg-3); font-size: 13px; margin-top: 16px; }

/* Hero pairs text + animated visual.
 * Mobile: visual stacks below.
 * Desktop ≥ 980: 7/5 split, visual on the right. */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 7fr 5fr; }
}

/* ====== Animated DSL terminal (hero visual) ====== */
.term {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.6),
    0 0 0 1px var(--border) inset;
  position: relative;
}
.term::before {
  /* gradient hairline border */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,224,196,.55), transparent 40%, rgba(56,189,248,.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.term .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  font-size: 12px;
  color: var(--fg-3);
}
.term .bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.term .bar .dot.r { background: #f47c8a; }
.term .bar .dot.y { background: #f4a76b; }
.term .bar .dot.g { background: #00e0c4; }
.term .bar .title { margin-left: 8px; }
.term .body { padding: 16px 18px 18px; min-height: 280px; }
.term .ln { display: block; opacity: 0; animation: termln .4s forwards; white-space: pre; }
.term .ln.k { color: var(--c2); }
.term .ln.s { color: #b8d4ff; }
.term .ln.o { color: var(--fg-2); }
.term .ln.c { color: var(--fg-3); }    /* comments */
.term .ln.win { color: var(--c1); font-weight: 600; }
.term .ln.loss { color: var(--danger); }
@keyframes termln {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}
.term .ln:nth-child(1) { animation-delay: .2s; }
.term .ln:nth-child(2) { animation-delay: .55s; }
.term .ln:nth-child(3) { animation-delay: .9s; }
.term .ln:nth-child(4) { animation-delay: 1.25s; }
.term .ln:nth-child(5) { animation-delay: 1.55s; }
.term .ln:nth-child(6) { animation-delay: 2.0s; }
.term .ln:nth-child(7) { animation-delay: 2.4s; }
.term .ln:nth-child(8) { animation-delay: 2.7s; }
.term .ln:nth-child(9) { animation-delay: 3.05s; }
.term .ln:nth-child(10) { animation-delay: 3.4s; }
.term .cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--c1);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { to { opacity: 0; } }

/* ====== Sections ====== */
section { padding: 96px 0; position: relative; }
section + section { border-top: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 14px;
}
section h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  font-weight: 700;
  max-width: 780px;
}
section h2 .grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
section .intro {
  color: var(--fg-2);
  font-size: 18px;
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Alternating split: text on one side, visual on the other.
 * Default: text left, visual right.
 * .split.flip: text right, visual left. */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.flip .copy { order: 2; }
  .split.flip .viz  { order: 1; }
}

/* Visual frame — used for code, charts, etc. */
.viz {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  box-shadow:
    0 25px 60px -25px rgba(0,224,196,.18),
    0 25px 60px -25px rgba(56,189,248,.10);
  min-height: 320px;
  padding: 24px;
}
.viz::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,224,196,.4), transparent 50%, rgba(56,189,248,.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ====== Cards ====== */
.cards {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .cards.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px)  { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 26px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--border-2); background: var(--bg-3); }
.card .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--grad-card);
  border: 1px solid var(--border-2);
  display: grid; place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--c1);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -.005em;
}
.card p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.55; }

/* Power-restoration row */
.pwr {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
.pwr .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  transition: border-color .15s, background .15s;
}
.pwr .row:hover { border-color: var(--border-2); background: var(--bg-3); }
@media (min-width: 720px) { .pwr .row { grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; } }
.pwr .lost { color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.pwr .lost b { color: var(--danger); font-weight: 600; }
.pwr .got { color: var(--fg); font-size: 15px; font-weight: 600; line-height: 1.5; }
.pwr .got::before { content: "→ "; color: var(--c1); margin-right: 4px; }

/* ====== Final CTA ====== */
.final {
  text-align: center;
  padding: 110px 0 120px;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(0,224,196,.10), transparent 70%),
    radial-gradient(900px 400px at 50% 100%, rgba(56,189,248,.07), transparent 70%);
  border-top: 1px solid var(--border);
}
.final h2 { font-size: clamp(30px, 4vw, 48px); max-width: 760px; margin: 0 auto 22px; line-height: 1.08; }
.final p { color: var(--fg-2); font-size: 18px; max-width: 580px; margin: 0 auto 32px; }
.final .cta-row { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ====== Footer ====== */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 56px;
  color: var(--fg-3);
  font-size: 13px;
  background: var(--bg-1);
}
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; }
footer a { color: var(--fg-2); }
footer .links a { margin-left: 18px; }

/* ====== Scroll-fade-in ====== */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.2,.7,.3,1), transform .55s cubic-bezier(.2,.7,.3,1);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ====== Pine-trap form (kept for the angle page) ====== */
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 26px;
  position: relative;
}
.form-card::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 13px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,224,196,.4), transparent 50%, rgba(56,189,248,.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.form-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.form-card .sub { color: var(--fg-2); font-size: 14px; margin-bottom: 18px; }
.form-card label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--fg-2); }
.form-card input, .form-card textarea {
  width: 100%;
  background: var(--bg-1);
  color: var(--fg);
  border: 1px solid var(--border-2);
  border-radius: 7px;
  padding: 11px 13px;
  font: inherit;
  font-size: 14px;
  margin-bottom: 14px;
  transition: border-color .15s;
}
.form-card input:focus, .form-card textarea:focus {
  outline: none; border-color: var(--c1);
  box-shadow: 0 0 0 3px rgba(0,224,196,.12);
}
.form-card textarea { min-height: 80px; resize: vertical; font-family: var(--sans); }
.form-card .meta { color: var(--fg-3); font-size: 12px; margin-top: 10px; }
.form-thanks { display: none; padding: 16px 18px; background: rgba(0,224,196,.10); border: 1px solid var(--c1); border-radius: 8px; margin-top: 12px; color: var(--fg); }
.form-card.submitted .form-thanks { display: block; }
.form-card.submitted form { display: none; }

/* Comparison table */
.tbl-wrap { margin-top: 32px; overflow-x: auto; border-radius: 12px; border: 1px solid var(--border-2); }
table.cmp {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-2);
  font-size: 14px;
}
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: none; }
.cmp thead th { background: var(--bg-3); color: var(--fg); font-weight: 600; }
.cmp .yes { color: var(--c1); font-weight: 600; }
.cmp .no { color: var(--danger); }
.cmp .partial { color: var(--warn); }
.cmp .col-ott { background: linear-gradient(180deg, rgba(0,224,196,.06), transparent); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq details {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 22px;
  transition: border-color .15s, background .15s;
}
.faq details[open] { border-color: var(--border-2); background: var(--bg-3); }
.faq summary { cursor: pointer; font-weight: 500; color: var(--fg); list-style: none; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--c1); transition: transform .15s; font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--fg-2); margin: 14px 0 0; max-width: none; line-height: 1.6; }

/* Animated chart bars (used in Pine-vs-OTT visual) */
.bars {
  display: grid;
  gap: 14px;
  align-items: end;
}
.bars .row { display: grid; grid-template-columns: 86px 1fr 60px; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12px; }
.bars .label { color: var(--fg-2); }
.bars .pct { color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.bars .track {
  position: relative; height: 10px;
  background: var(--bg-3);
  border-radius: 99px;
  overflow: hidden;
}
.bars .fill {
  position: absolute; inset: 0 100% 0 0;
  border-radius: 99px;
  animation: fill 2.4s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: .4s;
}
.bars .fill.pine { background: linear-gradient(90deg, #f47c8a, #f4a76b); --w: 96%; }
.bars .fill.sc   { background: linear-gradient(90deg, #f4a76b, #d4d4d4); --w: 60%; }
.bars .fill.ott  { background: var(--grad-hero); --w: 18%; }
@keyframes fill { to { inset: 0 calc(100% - var(--w)) 0 0; } }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ====== Hero chart (branded marketing visual) ====== */
.hero-chart {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  position: relative;
  min-height: 0;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.55),
    0 25px 60px -25px rgba(0,224,196,.18);
}
.hero-chart::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 13px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,224,196,.55), transparent 50%, rgba(56,189,248,.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 13px;
}
.hc-label { color: var(--fg); font-weight: 500; }
.hc-label strong { color: var(--fg); font-weight: 700; }
.hc-tf { color: var(--fg-3); margin-left: 2px; }
.hc-venues { display: flex; gap: 6px; }
.hc-v {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: .04em;
  font-family: var(--mono);
}
.hc-v.cme  { color: #38bdf8; background: rgba(56,189,248,.12); }
.hc-v.cb   { color: #00e0c4; background: rgba(0,224,196,.12); }
.hc-v.krkn { color: #818cf8; background: rgba(129,140,248,.15); }
.hc-v.bybt { color: #f4a76b; background: rgba(244,167,107,.12); }
.hc-svg {
  display: block;
  width: 100%;
  height: auto;
  padding: 6px 10px 0;
  background: var(--bg-1);
}
.hc-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
  font-family: var(--mono);
  font-size: 12px;
}
.hc-pnl { color: var(--c1); font-weight: 700; }
.hc-sep { color: var(--fg-3); }
.hc-foot-text { color: var(--fg-3); }

/* ====== Pricing slider ====== */
.pricing-slider-wrap {
  margin: 40px 0 24px;
  padding: 32px 32px 26px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  position: relative;
}
.pricing-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  outline: none;
  cursor: pointer;
  --slider-pos: 33.33%;
  background:
    linear-gradient(90deg, var(--c1), var(--c2) 50%, #818cf8) no-repeat,
    var(--bg-3);
  background-size: var(--slider-pos) 100%, 100% 100%;
}
.pricing-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--c1) 55%, #38bdf8 100%);
  border: 2px solid var(--bg);
  cursor: grab;
  box-shadow: 0 0 22px rgba(0,224,196,.6), 0 4px 12px rgba(0,0,0,.5);
  transition: transform .15s;
}
.pricing-range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.pricing-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--c1) 55%, #38bdf8 100%);
  border: 2px solid var(--bg);
  cursor: grab;
  box-shadow: 0 0 22px rgba(0,224,196,.6), 0 4px 12px rgba(0,0,0,.5);
}
.pricing-stops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.pricing-stop {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-2);
  padding: 14px 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all .15s;
  font-family: inherit;
  outline: none;
}
.pricing-stop .ps-amt {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.pricing-stop .ps-name {
  font-size: 11px;
  color: var(--fg-3);
  font-family: var(--mono);
  letter-spacing: .10em;
  text-transform: uppercase;
}
.pricing-stop:hover {
  border-color: var(--border-2);
  background: var(--bg-3);
}
.pricing-stop:hover .ps-name { color: var(--fg-2); }
.pricing-stop.active {
  border-color: var(--c1);
  background: rgba(0,224,196,.08);
  box-shadow: 0 0 12px rgba(0,224,196,.20);
}
.pricing-stop.active .ps-amt { color: var(--c1); }
.pricing-stop.active .ps-name { color: var(--c1); }

/* ====== Fragmentation viz (4 venue traces + OTT stitched) ====== */
.frag-viz { padding: 22px 24px; min-height: 0; }
.frag-title {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 18px;
}
.frag-chart { display: flex; flex-direction: column; gap: 6px; }
.frag-trace {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
  height: 36px;
}
.frag-trace svg { width: 100%; height: 100%; }
.frag-trace .frag-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  font-weight: 600;
  text-align: right;
}
.frag-trace.cme  { color: #38bdf8; }
.frag-trace.cb   { color: #00e0c4; }
.frag-trace.krkn { color: #818cf8; }
.frag-trace.bybt { color: #f4a76b; }
.frag-trace.ott {
  color: var(--c1);
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.frag-trace.ott .frag-label { color: var(--c1); }
.frag-caption {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1.6;
}

/* ====== Scope grid (shipped vs shipping next) ====== */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 40px;
}
@media (min-width: 820px) {
  .scope-grid { grid-template-columns: 1fr 1fr; }
}
.scope-col {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 26px 14px;
}
.scope-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.scope-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.scope-dot.done { background: var(--c1); box-shadow: 0 0 8px rgba(0,224,196,.5); }
.scope-dot.todo { background: var(--c2); box-shadow: 0 0 8px rgba(56,189,248,.4); }
.scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.scope-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.scope-list li:last-child { border-bottom: none; padding-bottom: 0; }
.scope-list strong { color: var(--fg); font-weight: 600; }
.scope-mark {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 6px;
  font-family: var(--mono);
}
.scope-mark.done { color: var(--c1); background: rgba(0,224,196,.10); border: 1px solid rgba(0,224,196,.25); }
.scope-mark.todo { color: var(--c2); background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.22); }

/* ====== Founder section ====== */
.founder {
  margin-top: 36px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
}
.founder p { margin: 0 0 18px; }
.founder p:last-child { margin-bottom: 0; }
.founder-sig {
  margin-top: 24px !important;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--fg-3);
  font-family: var(--mono);
  font-size: 14px;
}
.founder-sig a { color: var(--c2); }
.founder-sig a:hover { color: var(--c1); }

/* ====== Pricing card ====== */
.pricing-card {
  margin-top: 40px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 36px 36px 32px;
  position: relative;
  overflow: hidden;
}
.pricing-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,224,196,.55) 0%, rgba(56,189,248,.35) 50%, rgba(129,140,248,.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.pricing-head { margin-bottom: 18px; }
.pricing-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c1);
  background: rgba(0,224,196,.08);
  border: 1px solid rgba(0,224,196,.22);
  padding: 5px 11px;
  border-radius: 6px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pricing-amt {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--fg);
  line-height: 1;
}
.pricing-unit {
  font-size: 16px;
  color: var(--fg-2);
  font-weight: 500;
}
.pricing-locked {
  margin-top: 8px;
  color: var(--c1);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}
.pricing-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: baseline;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.5;
}
.pricing-check {
  color: var(--c1);
  font-weight: 700;
  font-family: var(--mono);
}
.pricing-crypto-note {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg-2);
  font-size: 13px;
  line-height: 1.6;
}
.pricing-cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   DEMO embed (Phase 38.C) — 90-sec OTT demo section
   ============================================================ */
.demo-section {
  padding: 80px 0 100px;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(0,224,196,.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
  border-bottom: 1px solid var(--border);
}
.demo-section .demo-head {
  max-width: var(--max-w-narrow);
  margin: 0 auto 36px;
  text-align: center;
}
.demo-section .demo-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 14px 0 14px;
  line-height: 1.1;
}
.demo-section .demo-head .intro {
  max-width: 680px;
  margin: 0 auto;
  color: var(--fg-2);
  font-size: 16px;
}
.demo-frame {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--bg-1);
  box-shadow:
    0 40px 80px rgba(0,0,0,.35),
    0 6px 24px rgba(0,224,196,.10);
}
.demo-frame::before {
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  border-radius:16px;
  background: linear-gradient(135deg, rgba(0,224,196,.18), transparent 30%, transparent 70%, rgba(56,189,248,.12));
  opacity: .50;
  z-index:2;
  mix-blend-mode: screen;
}
.demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--bg);
}
@media (max-width: 720px) {
  .demo-section { padding: 56px 0 72px; }
  .demo-frame { border-radius: 12px; }
}

/* ============================================================
   AI-generated marketing imagery (Phase 38.G)
   ============================================================ */
.native-trio {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.native-trio img {
  display: block; width: 100%; height: auto;
}
.native-trio-cap {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-2);
  letter-spacing: .08em;
  background: rgba(7,8,13,.55);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.founder-image {
  margin: 28px 0 32px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.founder-image img {
  display: block; width: 100%; height: auto;
}
.founder-image::after {
  content:""; position:absolute; inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, transparent 60%, rgba(7,8,13,.4));
}

.bull-break {
  position: relative;
  max-width: 1180px;
  margin: 80px auto 20px;
  padding: 0 24px;
}
.bull-break img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-2);
  box-shadow: 0 28px 70px rgba(0,0,0,.4);
}
.bull-break-text {
  position: absolute;
  left: 60px; bottom: 36px;
  right: 60px;
  max-width: 540px;
}
.bull-break-text .eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--c1);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bull-break-text p {
  color: var(--fg);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
@media (max-width: 720px) {
  .bull-break-text { left: 20px; right: 20px; bottom: 18px; }
}

.viz-poetic {
  position: relative;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 38px rgba(0,0,0,.35);
  aspect-ratio: 16 / 9;
}
.viz-poetic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viz-poetic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,8,13,.0) 55%, rgba(7,8,13,.55) 100%);
}
.viz-poetic .vp-cap {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

