@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@300;400&display=swap');

:root {
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-800: #0f2040;
  --navy-700: #162d58;
  --navy-600: #1e3d74;
  --steel: #2a4a6b;
  --mist: #8ba3bf;
  --cloud: #c8d8e8;
  --white: #f0f5fa;
  --accent-teal: #2dd4bf;
  --accent-teal-dim: rgba(45,212,191,0.12);
  --accent-gold: #d4a853;
  --accent-gold-dim: rgba(212,168,83,0.12);
  --accent-coral: #e07060;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  background: var(--navy-950);
  color: var(--cloud);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6,13,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Nav links wrapper */
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

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

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
}

.logo-mark {
  color: var(--accent-teal);
}

.nav-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
  padding: 3px 10px;
  border-radius: 20px;
  opacity: 0.8;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 48px 40px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand p {
  font-size: 14px;
  color: var(--mist);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.8;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: var(--mist);
  margin-bottom: 10px;
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--steel);
  font-family: var(--font-mono);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30,61,116,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(45,212,191,0.06) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent-teal);
  opacity: 0.5;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

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

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--mist);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.8;
  font-weight: 300;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-teal);
  color: var(--navy-950);
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cloud);
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* ── SECTIONS ── */
section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--mist);
}

.section-sub {
  font-size: 17px;
  color: var(--mist);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 60px;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.card {
  background: var(--navy-900);
  padding: 40px 36px;
  transition: background var(--transition);
}

.card:hover { background: var(--navy-800); }

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--accent-teal);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.8;
}

.card ul {
  list-style: none;
  margin-top: 16px;
}

.card ul li {
  font-size: 14px;
  color: var(--mist);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-size: 12px;
}

/* ── DIVIDER ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  margin: 0 48px;
}

/* ── COMPLIANCE BADGES ── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(45,212,191,0.3);
  color: var(--accent-teal);
  border-radius: 2px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 80px;
  text-align: center;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--mist);
  font-size: 16px;
  margin-bottom: 40px;
}

/* ── PROSE (for legal/about pages) ── */
.prose-page {
  padding-top: 150px;
  padding-bottom: 100px;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

.prose-page h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.1;
}

.prose-page .prose-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.1em;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.prose-page h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin: 48px 0 16px;
}

.prose-page h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--cloud);
  margin: 28px 0 10px;
  letter-spacing: 0.05em;
}

.prose-page p {
  font-size: 15px;
  color: var(--mist);
  line-height: 1.9;
  margin-bottom: 20px;
}

.prose-page ul {
  margin: 16px 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.prose-page ul li {
  font-size: 15px;
  color: var(--mist);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.8;
}

.prose-page ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  opacity: 0.6;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6,13,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn-primary) {
    font-size: 20px !important;
    letter-spacing: 0.08em;
  }
  .nav-links .btn-primary {
    padding: 14px 40px !important;
    font-size: 14px !important;
  }
  .hero { padding: 120px 24px 60px; }
  .hero-content { width: 100%; max-width: 100%; }
  .hero-headline { font-size: clamp(36px, 9vw, 64px); word-break: break-word; }
  .hero-sub { max-width: 100%; padding: 0 4px; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn-group a, .btn-group button { width: 100%; max-width: 320px; text-align: center; }
  section { padding: 70px 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 48px 24px; }
  .prose-page { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 16px 48px; }
  section { padding: 56px 16px; }
  nav { padding: 14px 16px; }
}
