/* ─────────────────────────────────────────────────────────────────────────
 * DS Scalper — product intro
 *
 * Visual language: the DS Terminal "Skylit" design system (absolute-dark
 * premium trading terminal). Tokens below are ported verbatim from the
 * terminal's canonical source so both surfaces stay in lockstep:
 *   near-black elevation tiers · hairline white-alpha borders · monospace
 *   numerics · directional accents (green bullish / red bearish / amber
 *   caution) · spring-assisted motion.
 * ───────────────────────────────────────────────────────────────────────── */

:root {
  color-scheme: dark;

  /* Elevation — darker = deeper */
  --bg-canvas: #050505;
  --bg-app: #0a0a0a;
  --bg-surface: #111112;
  --bg-surface-hover: rgba(255, 255, 255, 0.04);
  --bg-surface-active: rgba(255, 255, 255, 0.1);

  /* Hairline borders — escalating with interactivity */
  --border-subtle: rgba(255, 255, 255, 0.0625);
  --border-base: rgba(255, 255, 255, 0.0825);
  --border-focus: rgba(255, 255, 255, 0.125);

  /* Foreground */
  --text-primary: #e4e4e7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --fg-disabled: #52525b;
  --fg-faint: #3f3f46;

  /* Accents — Tailwind 400-shades */
  --accent-green: #4ade80;
  --accent-red: #f87171;
  --accent-amber: #fbbf24;
  --accent-blue: #3b82f6;
  --accent-purple: #a78bfa;
  --accent-pink: #f472b6;
  --accent-live: #10b981;

  /* Tint fills — RGB must match the accent above */
  --tint-positive: rgba(74, 222, 128, 0.08);
  --tint-positive-border: rgba(74, 222, 128, 0.2);
  --tint-negative: rgba(248, 113, 113, 0.08);
  --tint-negative-border: rgba(248, 113, 113, 0.2);
  --tint-warning: rgba(251, 191, 36, 0.09);
  --tint-warning-border: rgba(251, 191, 36, 0.22);
  --tint-info: rgba(59, 130, 246, 0.08);
  --tint-info-border: rgba(59, 130, 246, 0.2);
  --tint-purple: rgba(167, 139, 250, 0.08);
  --tint-purple-border: rgba(167, 139, 250, 0.22);
  --tint-pink: rgba(244, 114, 182, 0.08);
  --tint-pink-border: rgba(244, 114, 182, 0.22);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-frame: 24px;
  --radius-card: 32px;

  /* Motion */
  --motion-fast: 150ms;
  --motion-base: 300ms;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);

  /* Type */
  --sans: "Geist", ui-sans-serif, system-ui, "Segoe UI", Helvetica, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", "JetBrains Mono",
    Consolas, monospace;

  --max-width: 1200px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 255, 255, 0.2);
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg-canvas);
  border-radius: 9999px;
  background: var(--border-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-focus);
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-md);
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Shared primitives ─────────────────────────────────────────────────── */

/* Chrome wordmark / display gradient — white → silver clipped to glyphs. */
.chrome-text {
  background-image: linear-gradient(to bottom, #ffffff, #e4e4e7 55%, #a1a1aa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand .chrome-text {
  background-image: linear-gradient(to bottom, #ffffff, #d4d4d8, #52525b);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* The one heading style for section micro-labels (§2.3 eyebrow). */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-live {
  color: var(--text-secondary);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot.green {
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.dot.amber {
  background: var(--accent-amber);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-live);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.live-dot::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-live);
  content: "";
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  padding: 7px 14px;
  border: 1px solid var(--border-base);
  border-radius: 999px;
  background: var(--bg-surface-hover);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.badge-strong {
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  color: #fff;
  backdrop-filter: blur(12px);
}

.ping {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.ping::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  content: "";
  opacity: 0.75;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.display {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.display-sm {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
}

.dim {
  color: var(--text-tertiary);
}

.section {
  padding: 128px 0;
}

.section-lead {
  max-width: 34rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
}

/* Card — bg-app panel, hairline border, inner top highlight (§4.1/§4.2). */
.glass-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-card);
  background: var(--bg-app);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    border-color var(--motion-base) ease,
    transform var(--motion-base) var(--ease-out-quint);
}

.glass-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.03),
    transparent 60%
  );
  content: "";
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-focus);
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

/* Cursor spotlight — coordinates come from script.js. */
[data-spotlight] {
  --spot-x: 50%;
  --spot-y: 0%;
  --spot-opacity: 0;
}

[data-spotlight]::after {
  position: absolute;
  inset: -1px;
  z-index: 2;
  background: radial-gradient(
    600px circle at var(--spot-x) var(--spot-y),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  content: "";
  opacity: var(--spot-opacity);
  pointer-events: none;
  transition: opacity var(--motion-base) ease;
}

.card-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-eyebrow i {
  color: var(--fg-disabled);
  font-style: normal;
}

.card-eyebrow .mid {
  color: var(--text-secondary);
  font-weight: 400;
}

.card-subeyebrow {
  margin-bottom: 22px;
  color: var(--fg-disabled);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.card-foot h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-foot p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

/* Badge / chip — tint bg + matching border + accent text (§4.6). */
.tag {
  padding: 2px 7px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag-green {
  border-color: var(--tint-positive-border);
  background: var(--tint-positive);
  color: var(--accent-green);
}

.tag-red {
  border-color: var(--tint-negative-border);
  background: var(--tint-negative);
  color: var(--accent-red);
}

.tag-amber {
  border-color: var(--tint-warning-border);
  background: var(--tint-warning);
  color: var(--accent-amber);
}

.tag-blue {
  border-color: var(--tint-info-border);
  background: var(--tint-info);
  color: var(--accent-blue);
}

.tag-neutral {
  border-color: var(--border-base);
  background: var(--bg-surface-hover);
  color: var(--text-secondary);
}

/* PillButton — mono uppercase toggle chip (§4.4). */
.pill {
  display: inline-flex;
  height: 30px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pill-active {
  border-color: var(--border-focus);
  background: var(--bg-surface-active);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Primary CTA — spinning conic rim + glass sweep on a black pill. */
.glow-button {
  position: relative;
  display: inline-flex;
  padding: 1px;
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
  transition:
    box-shadow var(--motion-base) ease,
    transform var(--motion-base) var(--ease-out-quint);
}

.glow-button:hover {
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.25);
  transform: scale(1.015);
}

.glow-button:active {
  transform: scale(0.985);
}

.glow-button-ring {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px;
}

.glow-button-ring::before {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 280deg,
    #ffffff 360deg
  );
  content: "";
  opacity: 0.5;
  animation: spin 2s linear infinite;
  transition: opacity 500ms ease;
}

.glow-button:hover .glow-button-ring::before {
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.glow-button-face {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--bg-canvas);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.glow-button-sheen {
  position: absolute;
  inset: 0;
  transform: translateX(-150%) skewX(-20deg);
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: transform 700ms ease-in-out;
}

.glow-button:hover .glow-button-sheen {
  transform: translateX(150%) skewX(-20deg);
}

/* Platform mark on the primary CTA. Both brand glyphs ship in the markup and
 * the anchor's data-download (rewritten by script.js on detection) decides
 * which one paints — no innerHTML swap, so the SVG stays trusted markup. */
.button-os {
  display: inline-flex;
  line-height: 1;
}

.button-os svg {
  width: 19px;
  height: 19px;
  fill: #fff;
}

.button-os svg[data-os-icon="macos"],
[data-download="macos"] .button-os svg[data-os-icon="windows"] {
  display: none;
}

[data-download="macos"] .button-os svg[data-os-icon="macos"] {
  display: block;
}

.button-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.button-stack.single {
  line-height: 1;
}

.button-stack small {
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button-arrow {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Secondary — glass pill. */
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--border-base);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  transition:
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}

.ghost-button:hover {
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.text-link {
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--motion-fast) ease;
}

.text-link:hover {
  color: #fff;
}

/* ── Header ────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  transition:
    background-color 800ms var(--ease-out-quint),
    border-color 800ms var(--ease-out-quint),
    box-shadow 800ms var(--ease-out-quint),
    backdrop-filter 800ms var(--ease-out-quint);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-subtle);
  background: rgba(5, 5, 5, 0.72);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
}

.nav-wrap {
  position: relative;
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* The DS monogram is a chrome relief with its own dark bevel — boxing it in a
 * bordered tile fought the wordmark beside it. Bare mark, faint halo so the
 * dark bevel edges still separate from the near-black chrome. */
.brand img {
  height: 26px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.footer-brand .brand img {
  height: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.site-nav a {
  transition: color var(--motion-fast) ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav .nav-download {
  padding: 9px 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  transition: opacity var(--motion-fast) ease;
}

.site-nav .nav-download:hover {
  opacity: 0.9;
  color: #000;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-content: center;
  gap: 6px;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--text-primary);
}

/* ── Tape marquee ──────────────────────────────────────────────────────── */

.tape {
  position: absolute;
  top: var(--header-h);
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  height: 32px;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(5, 5, 5, 0.45);
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.tape-track {
  display: flex;
  width: max-content;
  animation: tape 34s linear infinite;
}

.tape-run {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tape-run b {
  color: #fff;
}

.tape-run em {
  font-style: normal;
}

.tape-run .pos {
  color: var(--accent-green);
}

.tape-run .neg {
  color: var(--accent-red);
}

.tape-run i {
  color: var(--fg-faint);
  font-style: normal;
}

@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 200px 0 96px;
  overflow: hidden;
  background: #000;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-art > * {
  position: absolute;
}

.streak {
  top: 0;
  bottom: 0;
  will-change: transform;
}

.streak-one {
  left: 20%;
  width: 8%;
  background: #fff;
  filter: blur(60px);
  opacity: 0.3;
  animation: streak-a 15s ease-in-out infinite;
}

.streak-two {
  left: 45%;
  width: 15%;
  background: #71717a;
  filter: blur(80px);
  opacity: 0.4;
  animation: streak-b 25s ease-in-out infinite;
}

.streak-three {
  left: 65%;
  width: 5%;
  background: #fff;
  filter: blur(40px);
  opacity: 0.25;
  animation: streak-c 18s ease-in-out infinite;
}

.streak-four {
  left: 80%;
  width: 12%;
  background: #a1a1aa;
  filter: blur(90px);
  opacity: 0.35;
  animation: streak-d 22s ease-in-out infinite;
}

@keyframes streak-a {
  0%,
  100% {
    transform: translateX(-20%);
  }
  50% {
    transform: translateX(10%);
  }
}
@keyframes streak-b {
  0%,
  100% {
    transform: translateX(10%);
  }
  50% {
    transform: translateX(-20%);
  }
}
@keyframes streak-c {
  0%,
  100% {
    transform: translateX(-15%);
  }
  50% {
    transform: translateX(15%);
  }
}
@keyframes streak-d {
  0%,
  100% {
    transform: translateX(20%);
  }
  50% {
    transform: translateX(-10%);
  }
}

.hero-glow {
  top: 45%;
  left: 50%;
  width: 800px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(16, 185, 129, 0.1),
    transparent 70%
  );
  filter: blur(100px);
  animation: hero-pulse 4s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.hero-noise {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

.hero-scanlines {
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    #fff 1px,
    #fff 2px
  );
  background-size: 100% 4px;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.hero-fade-left {
  inset: 0 auto 0 0;
  width: 62%;
  background: linear-gradient(
    to right,
    #000,
    rgba(0, 0, 0, 0.82) 55%,
    transparent
  );
}

.hero-fade-top {
  top: 0;
  right: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(to bottom, #000, transparent);
}

.hero-fade-bottom {
  right: 0;
  bottom: 0;
  left: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-canvas), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.hero-copy {
  max-width: 46rem;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 6.4vw, 5.75rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 > span {
  white-space: nowrap;
}

.hero-lead {
  max-width: 33rem;
  margin: 0 0 40px;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding-bottom: 10px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-align: right;
  text-transform: uppercase;
}

.hero-meta .dim {
  color: var(--fg-disabled);
}

/* ── Product mockup frame ──────────────────────────────────────────────── */

.mockup-section {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1400px);
  margin: -64px auto 120px;
}

.mockup-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-frame);
  background: var(--bg-canvas);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1200px) rotateX(4deg) scale(1.01);
  transition: transform 1s var(--ease-out-quint);
}

.mockup-frame:hover {
  transform: perspective(1200px) rotateX(0deg) scale(1.01);
}

.mockup-sheen {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02),
    transparent 40%
  );
  pointer-events: none;
}

/* ── Desktop app mock (Skylit chrome) ──────────────────────────────────── */

.app-window {
  position: relative;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.desktop-titlebar {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  padding-left: 14px;
  background: var(--bg-app);
}

.desktop-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.desktop-title img {
  height: 16px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

/* Wordmark, not a headline — same restraint as the app's title bar. */
.desktop-title strong {
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.desktop-title-rule {
  width: 1px;
  height: 12px;
  background: var(--border-base);
}

.desktop-title > span {
  color: var(--text-tertiary);
  font-size: 10px;
}

.desktop-title em {
  color: var(--fg-disabled);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.desktop-utilities {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 8px;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--tint-positive-border);
  border-radius: var(--radius-sm);
  background: rgba(74, 222, 128, 0.06);
  color: var(--accent-green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: soft-pulse 2s ease-in-out infinite;
}

@keyframes soft-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.desktop-email {
  color: var(--text-tertiary);
  font-size: 9px;
}

.desktop-utility-button {
  padding: 4px 9px;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 9px;
}

.desktop-window-controls {
  display: flex;
  align-self: stretch;
  margin-left: 4px;
}

.desktop-window-controls i {
  display: flex;
  width: 30px;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 11px;
  font-style: normal;
}

/* Chrome mirrors the shipped app: a borderless title band above a nav row that
 * owns the single seam, with one segmented-control idiom for both the view
 * switch and the ticker. */
.desktop-tabs {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-app);
}

.desktop-seg {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-app);
}

.desktop-seg span {
  padding: 4px 13px;
  border-radius: 6px;
  color: var(--text-tertiary);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-seg span.active {
  background: var(--bg-surface-active);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

.desktop-seg-ticker span {
  padding: 4px 9px;
  letter-spacing: 0.1em;
}

.desktop-content {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  background: var(--bg-canvas);
}

.desktop-session-buttons,
.desktop-trade-buttons {
  display: flex;
  gap: 7px;
}

.desktop-session-buttons span,
.desktop-trade-buttons span {
  display: flex;
  height: 30px;
  flex: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-sm);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.desktop-session-buttons span {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.desktop-trade-buttons .trade-add {
  border-color: var(--tint-positive-border);
  background: var(--tint-positive);
  color: var(--accent-green);
}

.desktop-trade-buttons .trade-close {
  border-color: var(--tint-warning-border);
  background: var(--tint-warning);
  color: var(--accent-amber);
}

.desktop-trade-buttons .trade-trim {
  border-color: var(--tint-purple-border);
  background: var(--tint-purple);
  color: var(--accent-purple);
}

.desktop-trade-buttons .trade-even {
  border-color: var(--tint-info-border);
  background: var(--tint-info);
  color: var(--accent-blue);
}

.desktop-trade-buttons .trade-trail {
  border-color: var(--tint-pink-border);
  background: var(--tint-pink);
  color: var(--accent-pink);
}

.desktop-position-card,
.desktop-summary-card {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.desktop-card-title {
  padding: 10px 12px 0;
  color: var(--text-tertiary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.desktop-divider {
  height: 1px;
  margin: 8px 12px;
  background: var(--border-subtle);
}

.desktop-pnl {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 12px;
  color: var(--accent-green);
}

.desktop-pnl strong {
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(74, 222, 128, 0.3);
}

.desktop-pnl span {
  font-size: 11px;
}

.desktop-position-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 12px 12px;
}

.desktop-detail-column,
.desktop-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.desktop-detail-column > div,
.desktop-summary-rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-tertiary);
  font-size: 9px;
}

.desktop-detail-column b,
.desktop-summary-rows b {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
}

.desktop-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.desktop-summary-rows {
  padding: 0 12px 12px;
}

.desktop-summary-rows > i {
  height: 1px;
  margin: 2px 0;
  background: var(--border-subtle);
}

.green {
  color: var(--accent-green) !important;
}
.red {
  color: var(--accent-red) !important;
}
.amber {
  color: var(--accent-amber) !important;
}
.blue {
  color: var(--accent-blue) !important;
}
.purple {
  color: var(--accent-purple) !important;
}
b.dim {
  color: var(--fg-disabled) !important;
}

/* ── Ticker strip ──────────────────────────────────────────────────────── */

.strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-app);
}

.strip-inner {
  display: grid;
  min-height: 88px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.strip-inner p {
  margin: 0;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ticker-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.broker-label {
  text-align: right;
}

.broker-label strong {
  color: var(--text-primary);
}

/* ── Features bento ───────────────────────────────────────────────────── */

.features .section-lead {
  margin-bottom: 72px;
}

.bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.bento-lead {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.bento-row {
  margin-top: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.bento > .glass-card:not(.bento-lead) {
  display: flex;
  min-height: 300px;
  flex-direction: column;
}

.bento .card-foot {
  margin-top: auto;
  padding-top: 26px;
}

/* Position ladder — mirrors the terminal's key-level ladder. */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
}

.ladder-row {
  display: grid;
  grid-template-columns: 44px 1fr 66px;
  align-items: center;
  gap: 12px;
  height: 22px;
}

.ladder-price {
  color: var(--text-tertiary);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ladder-track {
  position: relative;
  height: 12px;
}

.ladder-bar {
  display: block;
  height: 100%;
  border-radius: 3px;
  opacity: 0.55;
}

.ladder-bar.green {
  background: var(--accent-green) !important;
}

.ladder-bar.red {
  background: var(--accent-red) !important;
}

.ladder-mark,
.ladder-line {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  transform: translateY(-50%);
}

.ladder-mark {
  background: var(--border-focus);
}

.ladder-line {
  background-image: linear-gradient(
    to right,
    var(--border-focus) 50%,
    transparent 50%
  );
  background-size: 6px 1px;
  background-repeat: repeat-x;
}

.ladder-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
}

.ladder-label {
  color: var(--text-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ladder-label.green {
  color: var(--accent-green) !important;
}

.ladder-label.red {
  color: var(--accent-red) !important;
}

.ladder-label.dim {
  color: var(--fg-disabled) !important;
}

/* Session tape — fill/working-order log under the ladder. Pushed to the bottom
 * of the lead card so the tall bento cell distributes its slack between the
 * ladder and the tape instead of leaving one dead band above the caption. */
.fills {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.fills-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fills-head span:last-child {
  color: var(--fg-disabled);
  font-weight: 400;
}

.fills ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fills li {
  display: grid;
  grid-template-columns: 62px 68px 1fr auto;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.fills .tag {
  justify-self: start;
}

.fill-time {
  color: var(--fg-disabled);
}

.fill-price {
  color: var(--text-primary);
}

.fill-state {
  color: var(--text-tertiary);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Order / status rows */
.order-list,
.status-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.order-list li,
.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-list li:last-child,
.status-list li:last-child {
  border-bottom: 0;
}

/* Guardrail meters */
.meters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}

.meter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meter-head b {
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.meter-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.meter-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  opacity: 0.8;
}

.meter-track i.green {
  background: var(--accent-green) !important;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.meter-track i.blue {
  background: var(--accent-blue) !important;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.meter-track i.amber {
  background: var(--accent-amber) !important;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

/* Local engine pipeline */
.pipeline {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.pipe-node {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding: 12px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-family: var(--mono);
  text-align: center;
}

.pipe-node b {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pipe-node span {
  color: var(--fg-disabled);
  font-size: 9px;
}

.pipe-node.active {
  border-color: var(--tint-positive-border);
  background: rgba(74, 222, 128, 0.05);
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.08);
}

.pipe-node.active b {
  color: var(--accent-green);
}

.pipe-link {
  width: 18px;
  height: 1px;
  flex-shrink: 0;
  background: var(--border-focus);
}

/* Session calendar */
.calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 24px;
}

.calendar i {
  height: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-surface);
}

.calendar i.up {
  border-color: var(--tint-positive-border);
  background: rgba(74, 222, 128, 0.1);
}

.calendar i.up-2 {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.2);
}

.calendar i.up-3 {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.32);
}

.calendar i.down {
  border-color: var(--tint-negative-border);
  background: rgba(248, 113, 113, 0.1);
}

.calendar i.down-2 {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(248, 113, 113, 0.22);
}

.calendar i.today {
  border-color: rgba(228, 228, 231, 0.55);
  background: var(--bg-surface-active);
  box-shadow: inset 0 1px 0 rgba(245, 245, 245, 0.6);
}

.calendar-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calendar-foot b {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* ── Spec panel ────────────────────────────────────────────────────────── */

.spec {
  padding-top: 0;
}

.spec-head {
  max-width: 40rem;
  margin-bottom: 56px;
}

.spec-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-card);
  background: var(--bg-app);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.spec-intro {
  padding: 56px 56px 44px;
}

.spec-intro h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.spec-intro p {
  max-width: 34rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.spec-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--mono);
  font-size: 13px;
}

.spec-row {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-row:nth-child(even) {
  border-left: 1px solid var(--border-subtle);
}

.spec-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.spec-key {
  width: 84px;
  flex-shrink: 0;
  color: var(--fg-disabled);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.spec-val {
  color: var(--text-primary);
}

/* ── Capability matrix ────────────────────────────────────────────────── */

.matrix {
  padding-top: 0;
}

.matrix-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
  border-top-left-radius: var(--radius-frame);
  background: var(--bg-canvas);
}

.matrix-cell {
  position: relative;
  z-index: 1;
  padding: 30px 26px;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--motion-base) ease;
}

.matrix-cell:hover {
  background: rgba(255, 255, 255, 0.02);
}

.matrix-cell svg {
  width: 20px;
  height: 20px;
  margin-bottom: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.matrix-cell h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.matrix-cell p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.6;
}

/* ── Workflow ─────────────────────────────────────────────────────────── */

.workflow {
  border-top: 1px solid var(--border-subtle);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.art-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-frame);
  background: var(--bg-app);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* The schematic is drawn in system tokens, so it needs no wash or crop — just
 * fill the frame. The old raster rules (object-fit crop, desaturation filter,
 * darkening overlay) existed to tame the blue illustration and are gone. */
.art-frame svg {
  display: block;
  width: 100%;
  height: auto;
}

.art-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.art-caption span {
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.art-caption strong {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.steps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
}

.steps li:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.step-index {
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.steps h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.steps p {
  max-width: 32rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

/* ── Download ─────────────────────────────────────────────────────────── */

.download {
  border-top: 1px solid var(--border-subtle);
}

.download-head {
  margin-bottom: 56px;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "mark copy"
    "action action";
  gap: 22px;
  padding: 30px;
}

.platform-mark {
  display: grid;
  width: 52px;
  height: 52px;
  grid-area: mark;
  place-items: center;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 22px;
}

.platform-mark svg {
  width: 22px;
  height: 22px;
  fill: var(--text-primary);
}

.platform-copy {
  grid-area: copy;
}

.platform-copy h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.platform-copy p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 13px;
}

.recommendation {
  display: block;
  margin-bottom: 6px;
  color: var(--fg-disabled);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.download-card .ghost-button {
  grid-area: action;
}

.download-card.is-recommended {
  border-color: var(--tint-positive-border);
}

.is-recommended .recommendation {
  color: var(--accent-green);
}

.release-note {
  max-width: 40rem;
  margin: 32px 0 0;
  color: var(--fg-disabled);
  font-size: 12px;
  line-height: 1.7;
}

/* ── Closing CTA ──────────────────────────────────────────────────────── */

.cta {
  position: relative;
  padding: 176px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.cta-glow {
  position: absolute;
  bottom: -260px;
  left: 50%;
  width: 1000px;
  height: 500px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  filter: blur(150px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta .display {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
}

.cta-lead {
  max-width: 34rem;
  margin: 0 0 44px;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* The closing CTA sits under a 4.5rem headline — its pills need more presence
 * than the inline hero button. */
.cta-actions .glow-button-face {
  min-height: 58px;
  padding: 0 34px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  padding: 72px 0 56px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-app);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer-brand {
  max-width: 22rem;
}

.footer-brand p {
  margin: 18px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 72px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-head {
  color: var(--text-primary);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--text-tertiary);
  font-size: 12px;
  transition: color var(--motion-fast) ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
  color: var(--fg-disabled);
  font-size: 11px;
}

.footer-disclaimer {
  margin-top: 22px;
  color: var(--fg-faint);
  font-size: 10px;
  line-height: 1.7;
}

/* ── Reveal ───────────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 800ms var(--ease-out-quint),
    transform 800ms var(--ease-out-quint);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.bento > [data-reveal]:nth-child(2) {
  transition-delay: 120ms;
}

.bento > [data-reveal]:nth-child(3) {
  transition-delay: 240ms;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .bento,
  .bento-row {
    grid-template-columns: 1fr 1fr;
  }

  .bento-lead {
    grid-column: span 2;
    grid-row: auto;
  }

  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-intro {
    padding: 44px 36px 36px;
  }

  .spec-row {
    padding: 16px 32px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 176px 0 80px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .hero-meta {
    align-items: flex-start;
    text-align: left;
  }

  .mockup-frame,
  .mockup-frame:hover {
    transform: none;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section {
    padding: 96px 0;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: grid;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border-base);
    border-radius: var(--radius-lg);
    background: rgba(10, 10, 10, 0.96);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 12px;
    border-radius: var(--radius-md);
  }

  .site-nav a:hover {
    background: var(--bg-surface-hover);
  }

  .site-nav .nav-download {
    margin-top: 6px;
    text-align: center;
  }

  .strip-inner {
    grid-template-columns: 1fr;
    padding: 26px 0;
    gap: 16px;
    text-align: left;
  }

  .broker-label {
    text-align: left;
  }

  .bento,
  .bento-row {
    grid-template-columns: 1fr;
  }

  .bento-lead {
    grid-column: auto;
  }

  .spec-rows {
    grid-template-columns: 1fr;
  }

  .spec-row:nth-child(even) {
    border-left: 0;
  }

  .spec-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .spec-row:last-child {
    border-bottom: 0;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 44px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }

  .desktop-summary-grid {
    grid-template-columns: 1fr;
  }

  .desktop-email,
  .desktop-utility-button {
    display: none;
  }
}

@media (max-width: 680px) {
  /* Datum crosshairs + footer line are 10px detail that dies below ~340px of
   * panel width — drop them and pull the now-empty bottom strip back in
   * (the frame clips it) so the panel does not end in a void. */
  .wf-schematic .wf-fine {
    display: none;
  }

  .art-frame svg {
    margin-bottom: -6.5%;
  }

  .container,
  .mockup-section {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 156px 0 64px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .hero-actions .glow-button {
    width: 100%;
  }

  .glow-button-face {
    width: 100%;
    justify-content: center;
  }

  .hero-lead {
    font-size: 16px;
  }

  .mockup-section {
    margin-bottom: 88px;
  }

  .mockup-frame {
    border-radius: var(--radius-lg);
  }

  .desktop-position-details {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .desktop-trade-buttons {
    flex-wrap: wrap;
  }

  .desktop-trade-buttons span {
    min-width: calc(50% - 4px);
    flex: 1 0 auto;
  }

  .desktop-title small,
  .desktop-title em,
  .desktop-window-controls {
    display: none;
  }

  .glass-card,
  .bento-lead {
    padding: 22px;
    border-radius: var(--radius-frame);
  }

  .matrix-grid {
    grid-template-columns: 1fr;
    border-top-left-radius: var(--radius-lg);
  }

  .spec-intro {
    padding: 32px 24px 28px;
  }

  .spec-row {
    flex-direction: column;
    gap: 6px;
    padding: 16px 24px;
  }

  .spec-key {
    width: auto;
  }

  .section {
    padding: 80px 0;
  }

  .cta {
    padding: 120px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .tape-track,
  .streak,
  .hero-glow,
  .status-dot,
  .live-dot::after,
  .ping::after {
    animation: none !important;
  }

  .mockup-frame,
  .mockup-frame:hover {
    transform: none;
  }
}
