:root {
  --plum: #5B2A86;
  --plum7: #45206A;
  --plum1: #E9DCF5;
  --plum05: #F4EDFA;
  --teal: #138A80;
  --teal-dark: #0F5F58;
  --teal05: #E3F3F1;
  --coral: #F0605D;
  --coral05: #FDECEB;
  --gold: #E0A100;
  --gold05: #FFF6DB;
  --blue: #2F6FDB;
  --blue05: #E8EFFC;
  --ink: #1C1830;
  --ink2: #4A4560;
  --muted: #6B6680;
  --line: #ECE7F3;
  --bg: #FBFAFD;
  --red: #D93B3B;
  --dark: #1C1830;
  --darker: #2B1640;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
}
h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; letter-spacing: -0.02em; margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section-lg { padding: 88px 0; }
.bg-lilac { background: var(--plum05); }
.bg-mint { background: var(--teal05); }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,253,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1200px; margin: 0 auto; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; font-family: 'Bricolage Grotesque', sans-serif; }
.logo .nest-plum { color: var(--plum); }
.logo .nest-coral { color: #F7A8A6; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; flex: 1; justify-content: center; }
.nav-links a { color: var(--ink2); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a.active { color: var(--plum); border-bottom-color: var(--plum); }
.nav-links a.active.teal { color: var(--teal); border-bottom-color: var(--teal); }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 13px; font-weight: 700; font-size: 15px; border: none; cursor: pointer; white-space: nowrap; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-teal { background: var(--teal-dark); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-white { background: #fff; color: var(--plum); }
.btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 800; }
.hero-sub { margin-top: 18px; font-size: 18px; color: var(--ink2); max-width: 50ch; }
.cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.micro { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* FAQ */
details.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; }
details.faq-item summary { font-weight: 700; cursor: pointer; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; float: right; font-weight: 400; color: var(--muted); }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { margin: 12px 0 0; color: var(--ink2); }

/* Footer full */
footer.site-footer { background: var(--dark); color: #d8d4e6; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 24px; max-width: 1200px; margin: 0 auto; }
.footer-cols h4 { color: #fff; font-family: inherit; font-size: 13px; margin-bottom: 12px; }
.footer-cols a, .footer-cols p { display: block; color: #b8b2cc; font-size: 14px; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 24px; font-size: 13px; color: #938cad; text-align: center; }

/* Footer compact */
footer.site-footer-compact { background: var(--dark); color: #d8d4e6; }
.footer-compact-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px; max-width: 1200px; margin: 0 auto; font-size: 14px; }
.footer-compact-row a { color: #b8b2cc; margin-left: 18px; }

/* Forms */
.form-card { background: #fff; border-radius: 20px; padding: 28px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font-size: 15px; font-family: inherit; }
.field textarea { padding: 10px 14px; min-height: 80px; }
.field { margin-bottom: 14px; }
.radio-row { display: flex; gap: 20px; font-size: 15px; }
.confirm-box { display: none; background: var(--teal05); border-radius: 14px; padding: 16px; font-weight: 600; color: var(--teal-dark); margin-top: 14px; }
.confirm-box.show { display: block; }

.numeral-card { background: #fff; border-radius: 20px; padding: 22px; }
.numeral { font-size: 34px; font-weight: 800; color: var(--plum); font-family: 'Bricolage Grotesque', sans-serif; }
.numeral.teal { color: var(--teal); }
.circle-badge { width: 32px; height: 32px; border-radius: 999px; background: var(--plum); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-bottom: 12px; }

.band { border-radius: 28px; padding: 40px; }
.band-dark { background: var(--darker); color: #fff; }
.band-teal-dark { background: var(--teal-dark); color: #fff; }
.band-plum { background: var(--plum); color: #fff; }

.two-col-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero { padding: 40px 0 24px; }
  .section { padding: 40px 0; }
  .section-lg { padding: 56px 0; }
  .two-col-cta { flex-direction: column; align-items: stretch; }
  .band { padding: 28px 20px; }
  table { font-size: 12px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .header-inner { padding: 12px 16px; }
  .hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .hero-sub { font-size: 16px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr; padding: 32px 16px; }
  form[data-stub-form] > div[style*="display:flex"] { flex-wrap: wrap; }
  .privacy-grid { grid-template-columns: 1fr; }
}

/* ---------- Hamburger + mobile menu ---------- */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; padding: 10px; }
.hamburger span { display: block; height: 2.5px; width: 22px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: 6px 16px 16px; border-top: 1px solid var(--line); background: rgba(251,250,253,0.99); }
.mobile-menu.open { display: flex; }
.mobile-menu a.m-link { padding: 14px 4px; font-weight: 600; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; width: 100%; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Legal / content pages ---------- */
.legal h1 { font-size: 30px; }
.legal h2 { font-size: 19px; margin: 30px 0 8px; }
.legal h3 { font-size: 16px; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--ink2); font-size: 15px; line-height: 1.62; }
.legal ul, .legal ol { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 8px; }
.legal a.inline { color: var(--plum); text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.notfound .code { font-size: clamp(64px, 18vw, 110px); font-weight: 800; color: var(--plum); font-family: 'Bricolage Grotesque', sans-serif; line-height: 1; }
.notfound .links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
