@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --ocean: #493BF2;
  --ocean-dark: #3429d4;
  --cream: #F8F7F3;
  --pink: #E64BCD;
  --tangerine: #ED7741;
  --dark: #111120;
  --text: #1e1e30;
  --text-muted: #5c5c72;
  --border: #e2e0da;
  --white: #ffffff;
  --max-w: 1100px;
  --radius: 6px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ocean);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── Buttons ──────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.88;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}

.btn-pink {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

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

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.nav-logo {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ocean);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 0.75rem;
  letter-spacing: -0.01em;
}

.nav-logo:hover {
  text-decoration: none;
  opacity: 0.82;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.125rem;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color 0.15s, background-color 0.15s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ocean);
  background-color: rgba(73, 59, 242, 0.07);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  font-weight: 600;
}

.nav-external a {
  color: var(--ocean);
}

.btn-nav {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
  font-size: 0.8125rem;
  padding: 0.5rem 1.1rem;
  margin-left: 0.875rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ─── Hero — homepage ──────────────────────── */

.hero {
  background: linear-gradient(155deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  padding: 5.5rem 1.5rem 5rem;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 247, 243, 0.55);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero p {
  font-size: 1.125rem;
  line-height: 1.72;
  color: rgba(248, 247, 243, 0.8);
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── Page hero — inner pages ──────────────── */

.page-hero {
  background: linear-gradient(155deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  padding: 3.5rem 1.5rem 3rem;
}

.page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.page-hero .byline {
  font-size: 0.9375rem;
  color: rgba(248, 247, 243, 0.65);
  line-height: 1.6;
}

.page-hero .byline a {
  color: rgba(248, 247, 243, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(248, 247, 243, 0.35);
}

/* ─── Content sections ─────────────────────── */

.section {
  padding: 4rem 1.5rem;
}

.section-white {
  background: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-tinted {
  background: rgba(73, 59, 242, 0.03);
  border-top: 1px solid rgba(73, 59, 242, 0.08);
  border-bottom: 1px solid rgba(73, 59, 242, 0.08);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-body {
  max-width: 720px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--ocean);
  margin-top: 2.25rem;
  margin-bottom: 1.125rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.section h2:first-child,
.reg-tag + h2 {
  margin-top: 0;
}

.section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ocean);
  margin-top: 2rem;
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.section h3:first-child {
  margin-top: 0;
}

.section h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.375rem;
}

.section p {
  margin-bottom: 1rem;
  line-height: 1.72;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ul,
.section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.section li {
  margin-bottom: 0.375rem;
  line-height: 1.65;
}

.lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 2rem;
  max-width: 720px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ─── Cards ────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.section-white .card {
  background: var(--cream);
  border-color: rgba(0, 0, 0, 0.07);
}

.card h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--ocean);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.65;
}

/* ─── Highlight / callout box ──────────────── */

.highlight-box {
  background: rgba(73, 59, 242, 0.05);
  border-left: 3px solid var(--ocean);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.highlight-box p {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

.highlight-box em {
  font-style: italic;
  color: var(--text-muted);
}

/* ─── Checklist ────────────────────────────── */

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.checklist li {
  padding: 0.625rem 0 0.625rem 1.875rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ocean);
  font-weight: 700;
  font-size: 0.875rem;
}

/* ─── Numbered question list ───────────────── */

.question-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  counter-reset: qlist;
}

.question-list li {
  counter-increment: qlist;
  padding: 0.875rem 0 0.875rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.question-list li:last-child {
  border-bottom: none;
}

.question-list li::before {
  content: counter(qlist);
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--ocean);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Fee items ────────────────────────────── */

.fee-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.fee-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.section-white .fee-item {
  background: var(--cream);
  border-color: rgba(0,0,0,0.07);
}

.fee-item h4 {
  color: var(--ocean);
  margin-top: 0;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.fee-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Regulatory page ──────────────────────── */

.reg-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ocean);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.875rem;
}

.reg-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.375rem 1.5rem;
  margin: 1.25rem 0;
}

.section-white .reg-article {
  background: var(--cream);
  border-color: rgba(0,0,0,0.07);
}

.reg-article h4 {
  color: var(--ocean);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.reg-article p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.68;
}

/* ─── Whitepaper page ──────────────────────── */

.wp-download-box {
  background: var(--white);
  border: 2px solid var(--ocean);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
  max-width: 540px;
}

.section-white .wp-download-box {
  background: var(--cream);
}

.wp-download-box p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.68;
}

.wp-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.wp-audience-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.section-white .wp-audience-item {
  background: var(--cream);
  border-color: rgba(0,0,0,0.07);
}

.wp-audience-item h4 {
  margin-top: 0;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  color: var(--ocean);
  font-weight: 600;
}

.wp-audience-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.62;
}

/* ─── About banner ─────────────────────────── */

.about-banner {
  background: linear-gradient(135deg, var(--pink) 0%, #c039ae 100%);
  padding: 3.5rem 1.5rem;
}

.about-banner-inner {
  max-width: 820px;
  margin: 0 auto;
}

.about-banner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.about-banner p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.875rem;
}

.about-banner p:last-child {
  margin-bottom: 0;
}

.about-banner a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

/* ─── CTA section ──────────────────────────── */

.cta-section {
  background: linear-gradient(155deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-section-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.cta-section p {
  font-size: 1.0625rem;
  color: rgba(248, 247, 243, 0.8);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ─── Legal pages ──────────────────────────── */

.legal-section {
  padding: 3.5rem 1.5rem 4rem;
  background: var(--cream);
}

.legal-section-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ocean);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.legal-section h2:first-child {
  margin-top: 0;
}

.legal-section h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ocean);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-section p {
  margin-bottom: 0.875rem;
  line-height: 1.72;
  font-size: 0.9375rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  margin-bottom: 0.375rem;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.legal-section address {
  font-style: normal;
  line-height: 1.85;
  font-size: 0.9375rem;
}

.legal-section hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

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

footer {
  background: var(--dark);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  margin-bottom: 0.375rem;
}

.footer-logo:hover {
  text-decoration: none;
  opacity: 0.82;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: rgba(248, 247, 243, 0.4);
  line-height: 1.6;
}

.footer-brand a {
  color: rgba(248, 247, 243, 0.55);
  text-decoration: none;
}

.footer-brand a:hover {
  color: var(--cream);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-nav-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 247, 243, 0.3);
  margin-bottom: 0.875rem;
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: rgba(248, 247, 243, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav-col a:hover {
  color: var(--cream);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.875rem;
  font-size: 0.8125rem;
  color: rgba(248, 247, 243, 0.3);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(248, 247, 243, 0.3);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal-links a:hover {
  color: rgba(248, 247, 243, 0.6);
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    gap: 0.125rem;
    z-index: 199;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem 0.75rem;
  }

  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .card-grid,
  .wp-audience-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-nav {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .cta-section {
    padding: 3.5rem 1.5rem;
  }

  .hero {
    padding: 4rem 1.5rem 3.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .wp-download-box {
    padding: 2rem 1.25rem;
  }

  .question-list li::before {
    display: inline-flex;
  }
}
