@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  color-scheme: light;
  --bg: #eff4ff;
  --bg-deep: #0d1320;
  --bg-panel: rgba(255, 255, 255, 0.86);
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.7);
  --surface-dark: #101827;
  --text: #162034;
  --text-strong: #0d1320;
  --text-soft: #5a6477;
  --border: rgba(25, 39, 66, 0.12);
  --shadow: 0 24px 60px rgba(13, 19, 32, 0.12);
  --accent: #2a6df6;
  --accent-strong: #1747b4;
  --accent-soft: rgba(42, 109, 246, 0.12);
  --highlight: #ff8a3d;
  --highlight-soft: rgba(255, 138, 61, 0.14);
  --success: #138f6a;
  --success-soft: rgba(19, 143, 106, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(42, 109, 246, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.18), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 46%, #f6f8fc 100%);
  min-height: 100vh;
}

body.marketing-page {
  background:
    radial-gradient(circle at 15% 5%, rgba(42, 109, 246, 0.18), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(255, 138, 61, 0.18), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 42%, #f7f8fc 100%);
}

body.legal-page {
  background:
    radial-gradient(circle at 80% 0%, rgba(42, 109, 246, 0.14), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eff4ff 32%, #f6f8fc 100%);
}

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

main {
  padding: 24px 20px 40px;
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 32, 52, 0.08);
  border-radius: 34px;
  box-shadow: 0 16px 35px rgba(13, 19, 32, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 50px;
  height: 50px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.15rem;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(22, 32, 52, 0.06);
  color: var(--text-strong);
  transform: translateY(-1px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-copy .button-row {
  margin-top: 10px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 30px rgba(23, 71, 180, 0.24);
}

.button.secondary {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(22, 32, 52, 0.1);
}

.page-hero {
  padding-top: 30px;
}

.page-hero > .section-shell,
.page-hero > .cta-band {
  margin-top: 96px;
}

.page-hero > .footer {
  margin-top: 48px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.16), transparent 22%),
    radial-gradient(circle at left center, rgba(42, 109, 246, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.92));
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 30px;
  align-items: center;
  padding: 56px;
}

.hero-stack {
  display: grid;
  gap: 34px;
  padding: 56px;
}

.hero-stack-shell {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.14), transparent 20%),
    radial-gradient(circle at left center, rgba(42, 109, 246, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.94));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 32, 52, 0.08);
  color: var(--text-strong);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy,
.feature-card,
.value-card,
.timeline-card,
.primer-card,
.legal-card,
.cta-card,
.legal-header,
.legal-sidebar {
  display: flex;
  flex-direction: column;
}

.hero-copy {
  align-items: center;
  gap: 18px;
}

.hero-copy-wide {
  max-width: 100%;
}

.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(13, 19, 32, 0.18);
}

.hero-copy h1,
.section-heading h2,
.legal-header h1 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--text-strong);
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1.15;
  text-align: center;
  max-width: 900px;
}

.highlight-text {
  background: linear-gradient(135deg, #2a6df6, #ff8a3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-copy p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-soft);
  text-align: center;
}

.hero-copy .text-strong {
  color: var(--text-strong);
  font-weight: 600;
}

.cta-note {
  margin-top: 8px !important;
  font-size: 0.9rem !important;
  color: var(--text-soft);
  text-align: center;
}

.cta-note .text-strong {
  color: var(--text-strong);
  font-weight: 600;
}

.hero-note {
  font-size: 0.96rem;
  color: var(--text-soft);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 32, 52, 0.08);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text);
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.98), rgba(18, 28, 45, 0.92));
  color: #edf3ff;
  min-height: 100%;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 109, 246, 0.45), transparent 70%);
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-panel .mini-label,
.kicker {
  color: rgba(237, 243, 255, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.showcase-header {
  display: grid;
  gap: 10px;
}

.showcase-header h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.showcase-header p {
  margin: 0;
  color: rgba(237, 243, 255, 0.76);
  line-height: 1.62;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.showcase-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-tile strong {
  font-size: 1rem;
  line-height: 1.2;
}

.showcase-tile span {
  color: rgba(237, 243, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hero-benefit-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.hero-benefit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 32, 52, 0.08);
  box-shadow: 0 16px 32px rgba(13, 19, 32, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(13, 19, 32, 0.12);
}

.hero-benefit strong {
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--text-strong);
  font-weight: 700;
}

.hero-benefit span {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.68;
}

.showcase-tile.accent,
.hero-benefit.accent {
  background: linear-gradient(180deg, rgba(42, 109, 246, 0.16), rgba(255, 255, 255, 0.92));
}

.showcase-tile.warm,
.hero-benefit.warm {
  background: linear-gradient(180deg, rgba(255, 138, 61, 0.14), rgba(255, 255, 255, 0.92));
}

.showcase-tile.success,
.hero-benefit.success {
  background: linear-gradient(180deg, rgba(19, 143, 106, 0.14), rgba(255, 255, 255, 0.92));
}

.hero-benefit.purple {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.14), rgba(255, 255, 255, 0.92));
}

.hero-benefit.teal {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.14), rgba(255, 255, 255, 0.92));
}

.hero-benefit.pink {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.14), rgba(255, 255, 255, 0.92));
}

.hero-benefit.indigo {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.14), rgba(255, 255, 255, 0.92));
}

.hero-benefit.neutral {
  background: linear-gradient(180deg, rgba(22, 32, 52, 0.06), rgba(255, 255, 255, 0.92));
}

.showcase-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showcase-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: rgba(237, 243, 255, 0.9);
}

.showcase-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-note p {
  margin: 0;
  color: rgba(237, 243, 255, 0.84);
  line-height: 1.62;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.badge.blue {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: rgba(23, 71, 180, 0.12);
}

.badge.orange {
  color: #9a4b12;
  background: var(--highlight-soft);
  border-color: rgba(154, 75, 18, 0.12);
}

.badge.green {
  color: var(--success);
  background: var(--success-soft);
  border-color: rgba(19, 143, 106, 0.12);
}

.badge.dark {
  color: #edf3ff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.08);
}

.stat-grid,
.card-grid,
.value-grid,
.timeline-grid,
.primer-grid,
.legal-grid,
.summary-grid {
  display: grid;
  gap: 20px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.three,
.value-grid,
.primer-grid,
.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two,
.timeline-grid,
.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.value-card,
.timeline-card,
.primer-card,
.legal-card,
.summary-card,
.cta-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 32, 52, 0.08);
  box-shadow: 0 16px 34px rgba(13, 19, 32, 0.06);
}

.stat-card,
.summary-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.feature-card,
.value-card,
.timeline-card,
.primer-card,
.legal-card,
.cta-card {
  gap: 12px;
  padding: 26px;
  align-items: flex-start;
  text-align: left;
}

.feature-card h3,
.value-card h3,
.timeline-card h3,
.primer-card h3,
.legal-card h3,
.cta-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.2rem;
  line-height: 1.18;
}

.feature-card p,
.value-card p,
.timeline-card p,
.primer-card p,
.legal-card p,
.cta-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.64;
}

.stat-card strong,
.summary-card strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--text-strong);
  letter-spacing: -0.05em;
}

.stat-card span,
.summary-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.58;
}

.section-shell {
  padding: 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
  text-align: center;
  align-items: center;
  justify-items: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 0.98;
  max-width: 100%;
}

.section-heading p,
.lead {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.68;
}

.section-heading .hero-sized-text {
  font-size: 1.15rem;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: start;
}

.editorial-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #101827, #141f33);
  color: #edf3ff;
  box-shadow: 0 26px 56px rgba(13, 19, 32, 0.16);
}

.editorial-compact {
  gap: 16px;
}

.editorial-panel .button-row {
  margin-top: 8px;
}

.editorial-panel h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.editorial-panel p {
  color: rgba(237, 243, 255, 0.8);
  margin: 0;
  line-height: 1.68;
  max-width: 72ch;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-item:first-child {
  border-top: none;
  padding-top: 0;
}

.detail-index {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #edf3ff;
}

.detail-item strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}

.callout {
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.callout p {
  margin: 0;
}

.cta-band {
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(42, 109, 246, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.92));
  border: 1px solid rgba(22, 32, 52, 0.08);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-band .section-heading {
  margin-bottom: 0;
  max-width: 700px;
}

.cta-band .section-heading h2 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .section-heading p {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .button-row {
  margin-top: 0;
  justify-content: center;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 108px;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 32, 52, 0.08);
  box-shadow: 0 16px 32px rgba(13, 19, 32, 0.08);
}

.legal-sidebar h2,
.legal-header h1 {
  margin: 0;
}

.legal-sidebar p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.62;
}

.legal-toc {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.legal-toc a {
  padding: 11px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: rgba(245, 248, 252, 0.72);
  border: 1px solid rgba(22, 32, 52, 0.06);
  font-size: 0.92rem;
}

.legal-shell {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 32, 52, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-header {
  gap: 14px;
  padding: 34px 34px 24px;
  border-bottom: 1px solid rgba(22, 32, 52, 0.08);
  background:
    radial-gradient(circle at top right, rgba(42, 109, 246, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
}

.legal-header h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.legal-meta {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.notice-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(42, 109, 246, 0.08);
  color: var(--accent-strong);
  border: 1px solid rgba(42, 109, 246, 0.08);
  font-size: 0.93rem;
  line-height: 1.6;
}

.summary-grid {
  margin-top: 2px;
}

.legal-body {
  padding: 0 34px 34px;
}

.legal-section {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-top: 1px solid rgba(22, 32, 52, 0.08);
}

.legal-section:first-child {
  border-top: none;
}

.legal-section h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-strong);
}

.legal-section p,
.legal-section li {
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.68;
}

.legal-section p {
  margin: 0;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

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

.footer {
  padding: 26px 0 12px;
}

.footer-shell {
  padding: 48px 40px 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.88));
  border: 1px solid rgba(22, 32, 52, 0.08);
  box-shadow: 0 12px 28px rgba(13, 19, 32, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(22, 32, 52, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
}

.footer-logo strong {
  font-size: 1.25rem;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.footer-brand p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-nav-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav h4 {
  margin: 0;
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.list-clean li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 32, 52, 0.08);
}

.table-like {
  display: grid;
  gap: 14px;
}

.table-like .row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(22, 32, 52, 0.08);
}

.table-like .row strong {
  color: var(--text-strong);
}

.muted {
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .legal-layout,
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .value-grid,
  .timeline-grid,
  .primer-grid,
  .legal-grid,
  .summary-grid,
  .stat-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-benefit-grid,
  .hero-benefit-grid-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .legal-sidebar {
    position: static;
  }

  .topbar {
    width: min(var(--max), calc(100% - 40px));
    margin: 20px auto 0;
  }

  .hero-grid,
  .hero-stack,
  .legal-header,
  .legal-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.nav-hamburger:hover {
  background: rgba(22, 32, 52, 0.06);
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
}

/* ── Sheet overlay ── */
.nav-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-sheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Sheet panel (shadcn Sheet style) ── */
.nav-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--surface);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(13, 19, 32, 0.14);
  border-left: 1px solid var(--border);
}

.nav-sheet.open {
  transform: translateX(0);
}

.nav-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.nav-sheet-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  color: var(--text-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-sheet-close:hover {
  background: rgba(22, 32, 52, 0.06);
  color: var(--text-strong);
}

.nav-sheet-links {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 2px;
}

.nav-sheet-links a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-sheet-links a:hover,
.nav-sheet-links a.active {
  background: rgba(22, 32, 52, 0.06);
  color: var(--text-strong);
}

@media (max-width: 720px) {
  main {
    padding: 8px 14px 28px;
  }

  .topbar {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-sheet-overlay {
    display: block;
  }

  .hero-grid,
  .hero-stack {
    padding: 24px;
  }

  .hero-copy h1,
  .section-heading h2,
  .editorial-panel h2,
  .legal-header h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-benefit-grid,
  .hero-benefit-grid-8,
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .stat-grid,
  .value-grid,
  .timeline-grid,
  .primer-grid,
  .legal-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .legal-header,
  .legal-body,
  .feature-card,
  .value-card,
  .timeline-card,
  .primer-card,
  .legal-card,
  .cta-card,
  .editorial-panel,
  .summary-card,
  .stat-card,
  .legal-sidebar,
  .cta-band,
  .hero-panel,
  .hero-benefit {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-shell {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .table-like .row {
    grid-template-columns: 1fr;
  }
}

