:root {
  --bg: #060912;
  --bg-elevated: #0c1222;
  --bg-surface: #111a2e;
  --bg-surface-hover: #162038;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6fb;
  --text-secondary: rgba(244, 246, 251, 0.72);
  --text-muted: rgba(244, 246, 251, 0.48);
  --accent: #d4a017;
  --accent-bright: #f0b429;
  --accent-dim: rgba(212, 160, 23, 0.12);
  --accent-glow: rgba(212, 160, 23, 0.22);
  --teal: #2dd4bf;
  --red: #f87171;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 48px rgba(0, 0, 0, 0.35);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 160, 23, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(45, 212, 191, 0.06), transparent),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(212, 160, 23, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; }

a { color: inherit; }

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

/* ── ANNOUNCEMENT ── */
.announce {
  position: relative;
  z-index: 101;
  background: linear-gradient(90deg, rgba(212,160,23,0.14), rgba(45,212,191,0.08));
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.announce a {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 600;
}

.announce a:hover { text-decoration: underline; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}

.site-header.is-scrolled {
  background: rgba(6, 9, 18, 0.82);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.site-header .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: -0.02em;
}

.nav-logo-text {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #0a0f1a;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  color: #0a0f1a;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 12px 32px var(--accent-glow);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 14px;
}

.btn-ghost:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 44px;
  height: 44px;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(105deg, var(--bg) 40%, rgba(6,9,18,0.82) 65%, rgba(6,9,18,0.55)),
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(212,160,23,0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(45,212,191,0.08), transparent),
    url('images/hero-bg.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.8vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-bright);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-checklist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.hero-checklist li {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-checklist li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(45,212,191,0.5);
}

/* ── PRODUCT PANEL ── */
.product-panel {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.product-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(212,160,23,0.06), transparent 40%);
  pointer-events: none;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.panel-dot:nth-child(1) { background: #ff5f57; }
.panel-dot:nth-child(2) { background: #febc2e; }
.panel-dot:nth-child(3) { background: #28c840; }

.panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--teal);
}

.panel-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.panel-body { padding: 20px; }

.audit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(212,160,23,0.22);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.audit-banner strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.audit-banner span {
  font-size: 12px;
  color: var(--text-secondary);
}

.audit-score {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent-bright);
}

.classify-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.classify-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.classify-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}

.classify-table tr:last-child td { border-bottom: none; }

.classify-table .product-name {
  color: var(--text);
  font-weight: 500;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent-bright);
}

.duty-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
}

.confidence-bar {
  width: 48px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--accent-bright));
  border-radius: 100px;
}

.panel-footer {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}

.panel-stat {
  flex: 1;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.panel-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.panel-stat-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

/* ── TRUST BAR ── */
.trust-bar {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 28px 0;
}

.trust-bar .container.trust-badges,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

/* ── SECTIONS ── */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── CARDS ── */
.cards-3,
.cards-4 {
  display: grid;
  gap: 16px;
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-6 { grid-template-columns: repeat(3, 1fr); gap: 16px; }

.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.market-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.market-card:hover {
  border-color: rgba(212,160,23,0.32);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
}

.market-flag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
  margin-bottom: 6px;
}

.market-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.market-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.confidence-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal);
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.2);
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 6px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  border: 1px solid rgba(212,160,23,0.18);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--accent-bright);
}

.card-icon.danger {
  background: rgba(248,113,113,0.1);
  border-color: rgba(248,113,113,0.18);
  color: var(--red);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 20px;
}

.step::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 48px;
  right: -16px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

.step:last-child::after { display: none; }

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── BENTO FEATURES ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s;
}

.bento-item:hover { border-color: var(--border-strong); }

.bento-item.wide { grid-column: span 2; }

.bento-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  color: var(--accent-bright);
}

.bento-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.bento-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  padding: 4px 10px;
  background: var(--accent-dim);
  border-radius: 100px;
}

/* ── ACCURACY ── */
.accuracy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.accuracy-bars { display: flex; flex-direction: column; gap: 24px; }

.accuracy-row-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 14px;
}

.accuracy-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-bright);
}

.accuracy-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.accuracy-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.stat-card.featured {
  grid-column: span 2;
  padding: 36px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card.featured .stat-num { font-size: clamp(48px, 5vw, 72px); }

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: rgba(212,160,23,0.35);
  background: linear-gradient(180deg, rgba(212,160,23,0.08), var(--bg-surface));
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 100px;
}

.plan-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.plan-price {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}

.plan-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 40px;
}

.plan-trial {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid rgba(212,160,23,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.plan-quota {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b429' stroke-width='2.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.plan-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.22);
}

.plan-btn.primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #0a0f1a;
  border: none;
}

.plan-btn.primary:hover {
  color: #0a0f1a;
  box-shadow: 0 8px 24px var(--accent-glow);
  text-decoration: none;
}

/* ── CTA BAND ── */
.cta-band {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  padding: 64px 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-inner h2 em {
  font-style: italic;
  color: var(--accent-bright);
}

.cta-inner p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 32px;
}

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

/* ── FOOTER ── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover { color: var(--text); }

/* ── CONTENT PAGES (blog, faq, legal) ── */
.content-page {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 48px 100px;
}

.content-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.content-page .lead {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 48px;
}

.faq-list { list-style: none; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
}

.faq-a {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-section {
  margin-bottom: 40px;
}

.faq-section h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.faq-accordion {
  border-bottom: 1px solid var(--border);
}

.faq-accordion summary {
  font-weight: 600;
  font-size: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  color: var(--text);
}

.faq-accordion summary::-webkit-details-marker { display: none; }

.faq-accordion summary::after {
  content: '+';
  color: var(--accent-bright);
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
}

.faq-accordion[open] summary::after { content: '−'; }

.faq-accordion[open] summary { padding-bottom: 12px; }

.faq-accordion .faq-a { padding: 0 0 20px; }

.faq-notice {
  background: var(--accent-dim);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--text-secondary);
}

.faq-cta-box {
  margin-top: 48px;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq-cta-box h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text);
}

.faq-cta-box p {
  margin-bottom: 0;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.faq-updated {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 32px;
}

.content-page h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 40px 0 16px;
}

.content-page p, .content-page li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-page ul, .content-page ol {
  margin: 0 0 20px 1.25rem;
}

.content-page a:not(.btn):not(.plan-btn) {
  color: var(--accent-bright);
  text-decoration: none;
}

.content-page a:not(.btn):not(.plan-btn):hover { text-decoration: underline; }

.content-page a.btn,
.article-cta a.btn,
.faq-cta-box a.btn {
  text-decoration: none;
}

.article-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: var(--radius-md);
  text-align: center;
}

.article-cta h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.article-cta p { margin-bottom: 20px; }

.blog-card {
  display: block;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.blog-card:first-of-type { border-top: 1px solid var(--border); }

.blog-card:hover .blog-card-title { color: var(--accent-bright); }

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.blog-card-excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

/* Legacy aliases for content pages */
.nav-logo-text { font-family: var(--font-sans); }
.nav-links a.nav-cta {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #0a0f1a !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .product-panel { max-width: 560px; margin-inline: auto; }
  .cards-3, .cards-4, .cards-6, .markets-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-item.wide { grid-column: span 1; }
  .accuracy-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; }

  .site-header.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
  }

  .site-header.is-open .nav-actions {
    position: absolute;
    top: calc(var(--nav-h) + 280px);
    left: 16px;
    right: 16px;
    flex-direction: column;
  }

  .site-header.is-open .nav-actions .btn { width: 100%; }

  .hero { padding: 48px 0 72px; }
  .cards-4, .cards-6, .markets-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 24px; }
  .content-page { padding: 120px 24px 80px; }
}
