/* ============================================================
   FamStyle — styles.css
   Warm editorial: cream canvas, sage + coral, Fraunces display.
   No build step. Plain CSS, custom properties, mobile-first.
   ============================================================ */

:root {
  --cream: #FAF6F0;
  --cream-deep: #F2EBDF;
  --paper: #FFFDF9;
  --sage: #87A878;
  --sage-soft: #B5C9AA;
  --sage-tint: #E4ECDE;
  --sage-deep: #5E7A52;
  --sage-dark: #34452E;
  --coral: #E8846B;
  --coral-deep: #D2654A;
  --coral-tint: #F9E2DA;
  --butter: #F2D8A7;
  --ink: #2D2A26;
  --ink-soft: #6E665C;
  --line: rgba(45, 42, 38, 0.12);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 40px -18px rgba(45, 42, 38, 0.22);
  --shadow-lift: 0 28px 60px -24px rgba(45, 42, 38, 0.3);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1160px;
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sage-soft);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(210, 101, 74, 0.55);
}

.btn--primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 16px 30px -10px rgba(210, 101, 74, 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--light {
  background: var(--cream);
  color: var(--sage-dark);
}

.btn--light:hover {
  background: #fff;
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(45, 42, 38, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-open .nav-toggle .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle .bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(45, 42, 38, 0.35);
    padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }

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

  .nav-links li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links li:last-child {
    border-bottom: 0;
    padding-top: 1rem;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-links .btn {
    width: 100%;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, var(--sage-tint), transparent 72%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -200px;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, var(--coral-tint), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 1.6rem;
  box-shadow: 0 6px 16px -10px rgba(45, 42, 38, 0.25);
}

.hero-badge .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  font-weight: 580;
  margin-bottom: 1.1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--sage-deep);
}

.hero-lede {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 33rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-note svg {
  color: var(--sage-deep);
  flex-shrink: 0;
}

/* Family outfit-card cluster */

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-visual .blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 105%;
  height: auto;
  color: var(--sage-tint);
  z-index: 0;
}

.family-cards {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fam-card {
  width: clamp(108px, 13vw, 156px);
  background: var(--paper);
  border: 1px solid rgba(45, 42, 38, 0.08);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.7rem 0.8rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.fam-card + .fam-card {
  margin-left: clamp(-2.4rem, -3vw, -1.6rem);
}

.fam-card:hover {
  transform: translateY(calc(var(--lift, 0px) - 12px)) rotate(var(--tilt, 0deg)) scale(1.04);
  box-shadow: var(--shadow-lift);
  z-index: 5;
}

.fam-card:nth-child(1) { --tilt: -7deg; --lift: 14px; }
.fam-card:nth-child(2) { --tilt: 3deg;  --lift: -16px; }
.fam-card:nth-child(3) { --tilt: -2deg; --lift: 22px; }
.fam-card:nth-child(4) { --tilt: 6deg;  --lift: -10px; }
.fam-card:nth-child(5) { --tilt: -5deg; --lift: 26px; }

.fam-card {
  transform: translateY(var(--lift, 0)) rotate(var(--tilt, 0deg));
  animation: fam-float 7s ease-in-out infinite;
}

.fam-card:nth-child(2) { animation-delay: -1.4s; }
.fam-card:nth-child(3) { animation-delay: -2.8s; }
.fam-card:nth-child(4) { animation-delay: -4.2s; }
.fam-card:nth-child(5) { animation-delay: -5.6s; }

@keyframes fam-float {
  0%, 100% { transform: translateY(var(--lift, 0)) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(calc(var(--lift, 0px) - 8px)) rotate(var(--tilt, 0deg)); }
}

.fam-card svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.fam-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding: 0 0.15rem;
}

.fam-name {
  font-weight: 600;
  font-size: 0.86rem;
}

.fam-size {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  background: var(--sage-tint);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

.match-chip {
  position: absolute;
  z-index: 2;
  bottom: 6%;
  right: 4%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-soft);
}

.match-chip svg {
  color: var(--butter);
}

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero .container > * {
    min-width: 0;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 1rem;
  }

  .family-cards {
    flex-wrap: nowrap;
  }
}

@media (max-width: 520px) {
  .fam-card {
    width: 82px;
    padding: 0.45rem 0.45rem 0.55rem;
  }

  .fam-card + .fam-card {
    margin-left: -1.7rem;
  }

  .fam-name { font-size: 0.74rem; }
  .fam-size { font-size: 0.6rem; padding: 0.1rem 0.4rem; }

  .match-chip {
    position: static;
    margin-top: 1.4rem;
    justify-self: center;
  }
}

/* ---------- Social proof strip ---------- */

.proof {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}

.proof .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}

.proof-stat {
  border-right: 1px solid var(--line);
  padding-right: 2.5rem;
}

.proof-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--sage-deep);
}

.proof-stat span {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.proof-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proof-quote {
  margin: 0;
  font-size: 0.95rem;
}

.proof-quote .stars {
  color: var(--coral);
  margin-bottom: 0.4rem;
}

.proof-quote p {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.45;
}

.proof-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .proof .container {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .proof-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 1.4rem;
  }

  .proof-quotes {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.step-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem 2rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.step-num {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--sage-tint);
  line-height: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}

.step-card:nth-child(1) .step-icon { background: var(--sage-tint); color: var(--sage-deep); }
.step-card:nth-child(2) .step-icon { background: var(--coral-tint); color: var(--coral-deep); }
.step-card:nth-child(3) .step-icon { background: #F6EAD0; color: #A07B2D; }

.step-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 0.99rem;
  margin: 0;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

/* ---------- Collections ---------- */

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

.collections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.collection-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.collection-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lift);
}

.collection-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.collection-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.collection-card:hover .collection-art svg {
  transform: scale(1.045);
}

.collection-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collection-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.7rem 1.7rem;
  flex: 1;
}

.collection-body h3 {
  font-size: 1.45rem;
  margin: 0;
}

.collection-body p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
  flex: 1;
}

.collection-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
}

.collection-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sage-deep);
}

.swatches {
  display: flex;
  gap: 0.35rem;
}

.swatches span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}

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

/* ---------- Pricing ---------- */

.pricing-section {
  background: var(--sage-dark);
  color: var(--cream);
}

.pricing-section .eyebrow {
  color: var(--sage-soft);
}

.pricing-section .section-head p {
  color: rgba(250, 246, 240, 0.72);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  max-width: 920px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.3rem 2.3rem;
  display: flex;
  flex-direction: column;
}

.price-card--plus {
  background: linear-gradient(160deg, #FFF8EF 0%, var(--coral-tint) 100%);
  border: 1px solid rgba(210, 101, 74, 0.25);
}

.price-flag {
  position: absolute;
  top: -14px;
  right: 1.8rem;
  background: var(--coral);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  box-shadow: 0 8px 18px -8px rgba(210, 101, 74, 0.7);
}

.price-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.7rem;
}

.price-card--plus .price-kicker {
  color: var(--coral-deep);
}

.price-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.2rem;
}

.price-amount small {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.price-sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.price-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  flex: 1;
}

.price-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.98rem;
}

.price-list svg {
  flex-shrink: 0;
  margin-top: 0.22rem;
  color: var(--sage-deep);
}

.price-card--plus .price-list svg {
  color: var(--coral-deep);
}

.price-card .btn {
  align-self: flex-start;
}

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

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item.is-open {
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out), background-color 0.3s, color 0.3s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--coral);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 1.5rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.99rem;
}

/* ---------- Waitlist CTA ---------- */

.cta-section {
  padding-bottom: clamp(4rem, 9vw, 7.5rem);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--sage-deep);
  color: var(--cream);
  border-radius: calc(var(--radius-lg) + 8px);
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.6rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(closest-side, rgba(250, 246, 240, 0.14), transparent 70%);
  border-radius: 50%;
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.cta-panel h2 em {
  font-style: italic;
  color: var(--butter);
}

.cta-copy p {
  color: rgba(250, 246, 240, 0.78);
  max-width: 30rem;
}

.cta-perks {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.cta-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.96rem;
  color: rgba(250, 246, 240, 0.9);
}

.cta-perks svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--butter);
}

/* Waitlist form */

.waitlist-card {
  position: relative;
  z-index: 1;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-lift);
}

.waitlist-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.waitlist-card > p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 1.4rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(45, 42, 38, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%232D2A26' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px var(--sage-tint);
}

.waitlist-form .btn {
  width: 100%;
  margin-top: 0.3rem;
}

.form-msg {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  display: none;
}

.form-msg.is-error {
  display: block;
  background: #FBEAE4;
  color: #9C3B22;
  border: 1px solid rgba(210, 101, 74, 0.4);
}

.form-privacy {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

.form-privacy a {
  color: var(--sage-deep);
}

.waitlist-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.waitlist-card.is-success .waitlist-form,
.waitlist-card.is-success > p,
.waitlist-card.is-success > h3 {
  display: none;
}

.waitlist-card.is-success .waitlist-success {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
}

.waitlist-success h3 {
  display: block;
  font-size: 1.5rem;
}

.waitlist-success p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}

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

/* ---------- Footer ---------- */

.site-footer {
  background: #262420;
  color: rgba(250, 246, 240, 0.75);
  padding: 3.8rem 0 2.2rem;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(250, 246, 240, 0.14);
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 0.9rem;
}

.footer-brand p {
  max-width: 21rem;
  font-size: 0.92rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  text-decoration: none;
  color: rgba(250, 246, 240, 0.75);
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 240, 0.25);
  display: grid;
  place-items: center;
  color: rgba(250, 246, 240, 0.8);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.footer-social a:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.5);
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Legal / prose pages ---------- */

.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.4rem;
}

.page-hero .updated {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.prose {
  max-width: 720px;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2.4rem 0 0.7rem;
}

.prose p,
.prose li {
  color: #4A443D;
  font-size: 1rem;
}

.prose ul {
  padding-left: 1.3rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose a {
  color: var(--sage-deep);
}
