@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Serif+Text:ital@0;1&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;0,6..12,800;1,6..12,400&display=swap');

/* ── Design tokens ───────────────────────────────────────────── */
:root {
  --c-navy:    #2A3551;
  --c-navy-dk: #2B3A4E;
  --c-gold:    #FFD69C;
  --c-gold-wm: #EFAB84;
  --c-forest:  #344439;
  --c-plum:    #915172;
  --c-cream:   #FFF7EB;
  --c-muted:   #6C6C6C;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-variation-settings: 'YTLC' 500, 'wdth' 100;
  background-color: var(--c-cream);
}

/* ── Typography scale ────────────────────────────────────────── */
.heading-xl { font-size: 64px; line-height: 1.1; letter-spacing: -1px; }
.heading-lg { font-size: 40px; line-height: 1.2; letter-spacing: -1px; }
.body-lg    { font-size: 20px; line-height: 1.4; letter-spacing: -0.1px; }
.body-sm    { font-size: 16px; line-height: 1.5; letter-spacing: -0.08px; }
.name-text  { font-size: 24px; line-height: 1.4; }

/* ── Gradient backgrounds matching Figma radial gradient ─────── */
.hero-gradient {
  background: radial-gradient(118.16% 111.8% at 100% 100%, var(--c-gold) 0.81%, var(--c-plum) 25%, var(--c-navy-dk) 78.85%);
}

.designed-for-gradient {
  background: radial-gradient(
    ellipse 210% 140% at 105% -8%,
    var(--c-gold) 0%,
    #C89487 13%,
    #AD727D 19%,
    var(--c-plum) 25%,
    #5E4660 52%,
    #454057 65%,
    var(--c-navy-dk) 79%
  );
}

/* Brand gradient bullet used in feature lists */
.brand-gradient-dot {
  background: linear-gradient(180deg, var(--c-gold) 0%, var(--c-plum) 49%, var(--c-navy-dk) 98%);
  border-radius: 100px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* ── Brand pills (3-color decorative divider) ────────────────── */
.brand-pills {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 205px;
  height: 27px;
}
.brand-pills > span {
  flex: 1;
  height: 100%;
  border-radius: 9999px;
}
.brand-pills > span:nth-child(1) { background: var(--c-gold); }
.brand-pills > span:nth-child(2) { background: var(--c-forest); }
.brand-pills > span:nth-child(3) { background: var(--c-plum); }

/* ── Font families ───────────────────────────────────────────── */
.font-display {
  font-family: 'DM Serif Display', serif;
  font-variation-settings: normal;
}

.font-display-italic {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-variation-settings: normal;
}

.font-serif-text {
  font-family: 'DM Serif Text', serif;
  font-style: normal;
  font-variation-settings: normal;
}

.nunito {
  font-family: 'Nunito Sans', sans-serif;
  font-variation-settings: 'YTLC' 500, 'wdth' 100;
}

/* ── Layout helpers ──────────────────────────────────────────── */
.section-raised { position: relative; z-index: 1; }
.site-nav       { height: 74px; }
.hero-min-h     { min-height: 507px; }

/* ── Footer decoration ───────────────────────────────────────── */
.footer-decoration {
  display: flex;
  gap: 4px;
  width: 35px;
  height: 6px;
}

.footer-decoration span {
  flex: 1;
  height: 6px;
  border-radius: 500px;
}

.footer-decoration span:nth-child(1) { background: var(--c-gold); }
.footer-decoration span:nth-child(2) { background: var(--c-forest); }
.footer-decoration span:nth-child(3) { background: var(--c-plum); }

/* ── Waitlist form ───────────────────────────────────────────── */
.waitlist-btn {
  font-size: 16px;
  letter-spacing: -0.08px;
  height: 48px;
  cursor: pointer;
  border: none;
}

.waitlist-email {
  font-size: 16px;
  color: #1C1C1C;
  border-color: var(--c-muted);
  outline: none;
  font-family: 'Nunito Sans', sans-serif;
  font-variation-settings: 'YTLC' 500, 'wdth' 100;
}

.waitlist-email::placeholder {
  color: var(--c-muted);
}

.waitlist-email:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 0;
  border-color: var(--c-gold) !important;
}

/* ── Animations & Motion ─────────────────────────────────────── */

.hero-gradient {
  position: relative;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  background-size: 200px 200px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 50% at 88% 92%, rgba(255, 214, 156, 0.22) 0%, rgba(145, 81, 114, 0.1) 50%, transparent 75%);
  animation: dusk-breathe 11s ease-in-out infinite;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(30% 40% at 12% 12%, rgba(255, 214, 156, 0.1) 0%, rgba(145, 81, 114, 0.05) 50%, transparent 75%);
  animation: dusk-breathe-2 17s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dusk-breathe {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

@keyframes dusk-breathe-2 {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* Scroll reveal — elements emerge from darkness */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease-out, transform 0.85s ease-out;
}

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

/* Hero "hopeful" word — slides in left to right on page load */
.hero-hopeful {
  display: inline-block;
  opacity: 0;
  transform: translateX(-20px);
  animation: hero-hopeful-in 0.85s ease-out 0.5s forwards;
}

@keyframes hero-hopeful-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Nav link hover underline */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease-out;
}

.nav-link:hover::after {
  width: 100%;
}

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  z-index: 200;
  background: var(--c-gold);
  color: var(--c-navy);
  padding: 8px 16px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
}

/* Keyboard focus indicator */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow    { animation: none; opacity: 0.8; }
  .hero-glow-2  { animation: none; opacity: 0.6; }
  .reveal       { opacity: 1; transform: none; transition: none; }
  .nav-link::after { transition: none; }
  .hero-hopeful { animation: none; opacity: 1; transform: none; }
}

/* Content max-width: gutters grow beyond 1440px, content stays centered at ≤1200px */
.content-constrain {
  padding-left: max(120px, calc(50% - 600px));
  padding-right: max(120px, calc(50% - 600px));
}

/* Responsive: stack columns on mobile */
@media (max-width: 768px) {
  .responsive-cols {
    flex-direction: column !important;
  }

  .responsive-col-text {
    width: 100% !important;
  }

  .responsive-full {
    width: 100% !important;
    min-width: 0 !important;
  }

  .responsive-px {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
