:root {
  --bg: #090909;
  --panel: rgba(20, 20, 20, 0.92);
  --panel-soft: rgba(28, 28, 28, 0.9);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3efe8;
  --muted: #9a948d;
  --accent: #d04433;
  --accent-soft: rgba(208, 68, 51, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(208, 68, 51, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(208, 68, 51, 0.12), transparent 28%),
    linear-gradient(180deg, #0d0d0d 0%, #070707 100%);
}

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

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  padding: 8px 0 32px;
}

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

.brand-small {
  opacity: 0.88;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.brand-word {
  font-family: "Avenir Next", Avenir, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.34rem;
}

.site-nav,
.footer-links,
.hero-actions,
.callout-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-actions,
.callout-actions {
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.96rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 32px 0 54px;
}

.eyebrow,
.card-label,
.legal-updated {
  color: var(--muted);
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero h1,
.legal-page h1,
.legal-callout h2 {
  margin: 10px 0 14px;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6rem);
  max-width: 10ch;
}

.hero-text,
.info-card p,
.legal-callout p,
.legal-section p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 214px;
  padding: 0 24px;
  border-radius: 999px;
  white-space: nowrap;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button-primary {
  background: var(--accent);
  color: #fff6f0;
}

.button-secondary {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero-card,
.legal-callout,
.info-card,
.legal-page {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card,
.legal-callout,
.legal-page {
  border-radius: 30px;
}

.hero-card {
  padding: 22px;
}

.mock-card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.95), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px;
}

.mock-label {
  font-size: 0.82rem;
  letter-spacing: 0.3rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.mock-track {
  height: 32px;
  border: 1px solid rgba(208, 68, 51, 0.4);
  background: rgba(85, 22, 16, 0.48);
  overflow: hidden;
}

.mock-fill {
  width: 66.6%;
  height: 100%;
  background: linear-gradient(90deg, #a9281c, #e44f3e);
}

.mock-percent {
  margin-top: 20px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 3rem;
  text-align: center;
}

.mock-caption {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.info-card {
  border-radius: 24px;
  padding: 24px;
}

.info-card h2,
.legal-section h2 {
  margin: 12px 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.legal-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin: 28px 0 40px;
}

.callout-actions {
  justify-content: flex-end;
  flex-shrink: 0;
}

.site-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.legal-shell .site-header {
  padding-bottom: 22px;
}

.legal-page {
  padding: 28px;
}

.legal-section + .legal-section {
  margin-top: 26px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero,
  .grid,
  .legal-callout {
    grid-template-columns: 1fr;
  }

  .hero,
  .legal-callout {
    display: block;
  }

  .hero-card,
  .legal-callout,
  .legal-page {
    margin-top: 18px;
  }

  .legal-callout {
    padding: 24px;
  }

  .callout-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 18px;
  }

  .site-header,
  .site-footer,
  .site-nav,
  .footer-links,
  .hero-actions,
  .callout-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: 100%;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    min-width: 0;
  }

  .brand-word {
    font-size: 1.45rem;
    letter-spacing: 0.26rem;
  }

  .mock-percent {
    font-size: 2.4rem;
  }
}
