/* ============================================================
   SuperScout — style.css
   Section-specific styles. All text left-aligned except hero.
   ============================================================ */

/* ===== Header (sticky) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}

.lockup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.lockup .mark { width: 44px; height: auto; }
.lockup .wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  display: inline-grid;
  place-items: center;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: var(--surface);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ===== Section base ===== */
section {
  padding-block: clamp(4rem, 10vw, 7rem);
  position: relative;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

/* Scroll fade-in */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
}

/* ===== Hero ===== */
.hero {
  padding-block: clamp(5rem, 14vw, 10rem) clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Soft indigo glow */
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgba(75,63,212,0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -20%;
  width: 55vw;
  height: 55vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(closest-side, rgba(245,166,35,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-8);
  }
}

.hero-binoc {
  width: min(420px, 70vw);
  height: auto;
  justify-self: start;
  animation: binoc-in 900ms cubic-bezier(.2,.7,.2,1) both;
}
@media (min-width: 960px) {
  .hero-binoc { justify-self: end; }
}
@keyframes binoc-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-binoc { animation: none; }
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-align: left;
}
.hero h1 .accent { color: var(--gold); }

.hero-sub {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 54ch;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.hero-hook {
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  border-left: 2px solid var(--gold);
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 52ch;
}
.hero-hook strong { color: var(--text-primary); font-weight: 600; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #1A1A2E;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-hover);
  background: #FFB732;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* ===== Anti-AI Section ===== */
.anti-ai {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.anti-ai .statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 22ch;
  color: var(--text-primary);
}
.anti-ai .statement .strike {
  color: var(--coral);
  font-weight: 700;
}
.anti-ai .identity {
  margin-top: var(--space-6);
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 36ch;
  line-height: 1.4;
}
.anti-ai .identity strong { color: var(--text-primary); font-weight: 600; }
.anti-ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}
@media (min-width: 900px) {
  .anti-ai-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: var(--space-8); }
}

/* ===== Decision Loop ===== */
.loop-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
@media (min-width: 900px) {
  .loop-header { grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: end; }
}
.loop-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
}
.loop-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 46ch;
}

.loop {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 760px) {
  .loop {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-5);
  }
}
.loop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.loop-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.loop-card .step-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--gold);
  letter-spacing: 0.06em;
}
.loop-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: -0.015em;
}
.loop-card p {
  color: var(--text-secondary);
  font-size: var(--text-base);
}
/* Asymmetric — staggered placement */
@media (min-width: 760px) {
  .loop-card:nth-child(1) { grid-column: 1 / span 7; }
  .loop-card:nth-child(2) { grid-column: 8 / span 5; margin-top: var(--space-6); }
  .loop-card:nth-child(3) { grid-column: 1 / span 5; }
  .loop-card:nth-child(4) { grid-column: 6 / span 7; margin-top: var(--space-6); }
}

/* ===== Vibes ===== */
.vibes-header { margin-bottom: var(--space-8); max-width: 60ch; }
.vibes-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.vibes-header p {
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 52ch;
}

.vibes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .vibes { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
  .vibes .vibe:nth-child(2) { transform: translateY(28px); }
  .vibes .vibe:nth-child(3) { transform: translateY(-12px); }
}
.vibe {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--vibe-color, var(--gold));
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 2.8vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.vibe--expert  { --vibe-color: var(--vibe-expert); }
.vibe--critic  { --vibe-color: var(--vibe-critic); }
.vibe--fanboy  { --vibe-color: var(--vibe-fanboy); }

.vibe .vibe-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vibe-color);
}
.vibe h3 {
  font-size: var(--text-2xl);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.vibe .desc {
  color: var(--text-secondary);
  font-size: var(--text-base);
}
.vibe .quote {
  margin-top: auto;
  padding: var(--space-4);
  background: var(--surface-alt);
  border-radius: 8px;
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.55;
  border-left: 2px solid var(--vibe-color);
}

/* ===== Intelligence Engine ===== */
.engine {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.engine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}
@media (min-width: 900px) {
  .engine-grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-8); align-items: start; }
}
.engine h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 22ch;
}
.engine .lead {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 50ch;
}
.engine .learn {
  margin-top: var(--space-5);
  color: var(--text-secondary);
  max-width: 50ch;
}
.engine .punch {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  color: var(--text-primary);
  max-width: 30ch;
  line-height: 1.3;
}

.stat-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat .label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat .value {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.stat .value .up { color: var(--green); }
.stat .value .neutral { color: var(--gold); }

/* ===== Pricing ===== */
.pricing-header {
  margin-bottom: var(--space-8);
  max-width: 60ch;
}
.pricing h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  max-width: 22ch;
  line-height: 1.2;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .price-grid { grid-template-columns: repeat(4, 1fr); }
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.price-card--tier:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.price-card--featured {
  border-top: 3px solid var(--gold);
}
.price-card--featured::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(closest-side, rgba(245,166,35,0.18), transparent 70%);
  pointer-events: none;
}
.price-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1A2E;
  background: var(--gold);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}
.price .per {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
  margin-left: var(--space-2);
}
.price-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.price-tagline {
  margin-top: var(--space-3);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.55;
}
.price-note {
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  max-width: 60ch;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: var(--space-7);
    align-items: start;
  }
}
.footer-brand .lockup .wordmark { font-size: var(--text-lg); }
.footer-copy {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.footer-nav ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-nav a,
.footer-contact a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--text-primary);
}

/* ===== Small polish ===== */
.kbd-inline {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--gold);
  padding: 0.05em 0.35em;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border-radius: 4px;
}

/* ===== Utility ===== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== Hero email signup form ===== */
.signup-form {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 520px;
}
@media (min-width: 640px) {
  .signup-form { flex-direction: row; align-items: stretch; gap: var(--space-3); }
}
.signup-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.signup-input::placeholder { color: var(--text-muted); }
.signup-input:hover { border-color: var(--text-muted); }
.signup-input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}
.signup-submit { flex: 0 0 auto; justify-content: center; }
.signup-note {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.signup-confirm {
  margin-top: var(--space-3);
  color: var(--green);
  font-weight: 600;
  font-size: var(--text-sm);
}

/* ===== App store badges (placeholder, greyed) ===== */
.app-badges {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.app-badges-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.app-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #2a2a38;
  border: 1px solid #3a3a52;
  color: #8a8aa0;
  opacity: 0.65;
  filter: grayscale(1);
  user-select: none;
}
.app-badge svg { flex: 0 0 auto; }
.app-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.app-badge-small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}
.app-badge-big {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #b8b8cc;
}

/* ===== Decision loop caption ===== */
.loop-caption {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Features grid ===== */
.features-header {
  margin-bottom: var(--space-8);
  max-width: 60ch;
}
.features-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 2.8vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.feature-card .feature-icon {
  color: var(--gold);
  width: 28px; height: 28px;
  margin-bottom: var(--space-2);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: -0.015em;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.55;
}

/* ===== Illustrative stat card ===== */
.stat-card-wrap { display: flex; flex-direction: column; gap: var(--space-3); }
.stat-card-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-card.is-illustrative {
  opacity: 0.6;
  border-style: dashed;
}

/* ===== FAQ ===== */
.faq-header {
  margin-bottom: var(--space-7);
  max-width: 60ch;
}
.faq-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 820px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:hover { border-color: var(--text-muted); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: background 0.2s ease;
}
.faq-q:hover { background: var(--surface-alt); }
.faq-chevron {
  flex: 0 0 auto;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  padding: 0 clamp(1.25rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 70ch;
}
.faq-a a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.faq-a[hidden] { display: none; }

/* ===== About ===== */
.about {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.about-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-inner .section-label { display: inline-block; }
.about-text {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.5;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}
.about-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ===== Legal pages ===== */
.legal-page {
  padding-block: clamp(3rem, 7vw, 5rem);
}
.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}
.legal-inner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.legal-meta {
  margin-top: var(--space-5);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.legal-inner h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.legal-inner h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}
.legal-inner p {
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
}
.legal-inner p strong { color: var(--text-primary); font-weight: 600; }
.legal-inner ul {
  margin: var(--space-4) 0 0;
  padding-left: var(--space-5);
  color: var(--text-secondary);
  line-height: 1.7;
}
.legal-inner ul li {
  margin-bottom: var(--space-2);
}
.legal-inner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-inner a:hover { color: var(--amber); }

/* Legal tables */
.legal-table-wrap {
  margin-top: var(--space-5);
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 560px;
}
.legal-table thead {
  background: var(--surface-alt);
}
.legal-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.legal-table td {
  padding: var(--space-3) var(--space-4);
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}
.legal-table tbody tr:first-child td { border-top: 0; }
.legal-table td strong { color: var(--text-primary); }
