/* ---------- Design tokens ---------- */
:root {
  --ink: #111111;
  --cream: #FFF8EC;
  --soft-cream: #F3EEE3;
  --pink: #FF5D8F;
  --yellow: #FFD23F;
  --blue: #3D9BFF;
  --mint: #2EE6A8;
  --lilac: #B98CFF;
  --white: #FFFFFF;

  --font-display: "Archivo Black", "Lexend Mega", sans-serif;
  --font-body: "Space Grotesk", Inter, sans-serif;

  --border-w: 3px;
  --radius: 12px;
  --radius-sm: 10px;
  --shadow-card: 6px 6px 0 var(--ink);
  --shadow-btn: 5px 5px 0 var(--ink);
  --shadow-pill: 3px 3px 0 var(--ink);

  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow { max-width: 760px; }

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Rotation utilities ---------- */
.rotate-1 { transform: rotate(1deg); }
.rotate-2 { transform: rotate(2deg); }
.rotate-n1 { transform: rotate(-1deg); }
.rotate-n2 { transform: rotate(-2deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 22px;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-btn);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms var(--ease-pop), box-shadow 160ms var(--ease-pop);
  white-space: nowrap;
}

.btn:active,
.btn:focus-visible.btn-pressed {
  transform: translate(5px, 5px);
  box-shadow: none;
}

.btn-primary { background: var(--yellow); }
.btn-secondary { background: var(--cream); }

.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-large { padding: 16px 32px; font-size: 17px; box-shadow: 7px 7px 0 var(--ink); }
.btn-large:active { transform: translate(7px, 7px); box-shadow: none; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-block;
  padding: 6px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-pill);
  background: var(--pill-color, var(--white));
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Cards ---------- */
.card-surface {
  background: var(--white);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: var(--border-w) solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--ink); }

@media (max-width: 640px) {
  .site-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

.eyebrow {
  margin-bottom: 18px;
  --pill-color: var(--mint);
}

.lede {
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-card {
  width: 220px;
  height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--white);
}

.hero-card-label {
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
  margin: 0;
  padding: 0 12px;
}

.marker {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--ink);
}

.marker-tl { top: 10px; left: 10px; border-radius: 3px; }
.marker-tr { top: 10px; right: 10px; border-radius: 50%; }
.marker-bl {
  bottom: 10px; left: 10px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.marker-br { bottom: 10px; right: 10px; border-radius: 3px; transform: rotate(15deg); }

.hero-balloon {
  position: absolute;
  width: 46px;
  height: 58px;
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  border: var(--border-w) solid var(--ink);
  animation: bob 3.4s ease-in-out infinite;
}

.balloon-1 { background: var(--pink); top: 6%; left: 4%; animation-delay: 0s; }
.balloon-2 { background: var(--blue); bottom: 10%; left: 12%; width: 38px; height: 48px; animation-delay: 0.6s; }
.balloon-3 { background: var(--mint); top: 12%; right: 6%; width: 40px; height: 52px; animation-delay: 1.2s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--soft-cream); }

.section-title { text-align: center; }
.section-lede {
  text-align: center;
  max-width: 52ch;
  margin: -0.4em auto 2.5em;
  opacity: 0.85;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; }
}

.step { position: relative; padding-top: 34px; }

.step-number {
  position: absolute;
  top: -18px;
  left: 20px;
  min-width: 36px;
  text-align: center;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}

/* ---------- Categories ---------- */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.category-pill {
  font-size: 15px;
  padding: 10px 22px;
}

.category-pill.sympathy {
  box-shadow: none;
  border-color: var(--ink);
  transform: none;
  color: var(--ink);
}

.fine-print {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 18px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  font-family: var(--font-display);
}

.faq-item[open] summary::before { content: "–"; }

.faq-item p { margin-top: 12px; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0;
}

.cta-inner {
  text-align: center;
}

.cta-band h2 { color: var(--cream); margin-bottom: 28px; }

.cta-band .btn-primary { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
