/* =====================================================================
   Still Brewing — redesign stylesheet
   ---------------------------------------------------------------------
   Design system: design.md → Cambly direction.
   Cream base, editorial serif display (Fraunces stands in for GT Super,
   Plus Jakarta Sans stands in for Garnett — both licensed Google Fonts),
   yellow pill CTAs, translucent-scrim hovers, 4px spacing rhythm,
   8px cards / 16–20px large containers / 100px pill buttons.
   ===================================================================== */

:root {
  /* -------- color tokens (design.md §1.1) -------- */
  --cream: #FAF4EB;
  --hairline: #E4DBD3;
  --warm-gray: #BEB4AB;
  --ink: #262625;
  --deep: #050500;
  --stone: #5E5952;
  --charcoal: #363432;
  --green: #84CE64;
  --green-deep: #3C7F20;
  --forest: #103E00;
  --green-tint: #DAF2C8;
  --coral: #FF8071;
  --coral-tint: #FFDEDA;
  --orange: #FF8F57;
  --yellow: #FFE733;
  --maroon: #6D0002;
  --red: #C93F32;
  --purple: #6840A8;
  --white: #FFFFFF;
  /* functional overlays (design.md §1.1) */
  --scrim: linear-gradient(180deg, rgba(0,0,0,.1) 0, rgba(0,0,0,.1));
  --scrim-warm: linear-gradient(180deg, hsla(28,13%,71%,.3) 0, hsla(28,13%,71%,.3));
  --focus-blue: #2196F3;

  /* -------- type (design.md §1.2) -------- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* -------- radii (design.md §1.3) -------- */
  --r-card: 8px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 100px;

  /* -------- layout metrics -------- */
  --header-h: 68px; /* transparent header floats over the hero; hero is pulled up by this */
}

/* ============================ reset / base ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
strong { font-weight: 600; color: var(--ink); }

::selection { background: rgba(77,149,234,.3); }

/* visible keyboard focus everywhere (utility blue, design.md functional set) */
:focus-visible {
  outline: 2px solid var(--focus-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; z-index: 60;
  width: auto; height: auto; clip: auto; white-space: normal;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: var(--r-pill);
}

/* ============================ layout ============================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 720px)  { .container { padding-inline: 32px; } }
@media (min-width: 1060px) { .container { padding-inline: 40px; } }

.section { padding-block: 64px; }
@media (min-width: 720px)  { .section { padding-block: 80px; } }
@media (min-width: 1060px) { .section { padding-block: 96px; } }

/* alternating surfaces for section rhythm */
.surface-cream { background: var(--cream); }
.surface-white { background: var(--white); }
.surface-green { background: var(--green-tint); }
.surface-coral { background: var(--coral-tint); }

[id] { scroll-margin-top: 96px; }

/* ============================ typography ============================ */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: var(--deep);
}
.h1 { font-size: 38px; }
.h2 { font-size: 32px; }
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--deep);
}
@media (min-width: 720px) {
  .h1 { font-size: 55px; }
  .h2 { font-size: 38px; }
  .h3 { font-size: 20px; }
}
@media (min-width: 1060px) {
  .h1 { font-size: 63px; }
  .h2 { font-size: 46px; }
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--stone);
  max-width: 34em; /* ~65–75 chars */
}
@media (min-width: 1060px) { .lead { font-size: 19px; } }

.body-copy { color: var(--stone); max-width: 36em; }
.body-copy p + p { margin-top: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.accent-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

/* ============================ buttons ============================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-image .2s, box-shadow .2s, border-color .2s;
}
/* Cambly signature hover: translucent scrim layered over the base fill */
.btn:hover { background-image: var(--scrim); }
.btn svg { flex: 0 0 auto; }

.btn-primary {
  background-color: var(--yellow);
  color: var(--deep);
}
.btn-ghost {
  background-color: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background-image: var(--scrim-warm); }
.btn-on-dark {
  background-color: transparent;
  border: 1.5px solid rgba(250,244,235,.45);
  color: var(--cream);
}
.btn-on-dark:hover { background-image: linear-gradient(180deg, rgba(255,255,255,.12) 0, rgba(255,255,255,.12)); }
.btn-sm { padding: 12px 20px; font-size: 14px; }

.btn .arrow { transition: transform .2s ease-out; }
.btn:hover .arrow { transform: translateX(4px); }

/* text links */
.tlink {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.tlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================ header / banner ============================ */
.banner {
  position: relative;
  z-index: 50;
  background: var(--maroon);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
}
.banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 10px;
}
.banner p { padding-inline: 32px; }
.banner .strike { text-decoration: line-through; opacity: .65; }
.banner-close {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: rgba(250,244,235,.7);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.banner-close:hover { background: rgba(250,244,235,.14); color: var(--cream); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease,
              box-shadow .25s ease, backdrop-filter .25s ease;
}
/* once scrolled off the hero, become the solid cream bar */
.site-header.is-stuck {
  background: rgba(250,244,235,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 4px 20px rgba(5,5,0,.06);
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--deep);
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }

.nav-links { display: none; }
@media (min-width: 1000px) {
  .nav-links {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.2vw, 28px);
    min-width: 0;
    padding-inline: 20px;
  }
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.header-cta { display: none; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--white);
  cursor: pointer;
  transition: background-image .2s;
}
.menu-toggle:hover { background-image: var(--scrim-warm); }
@media (min-width: 1000px) { .menu-toggle { display: none; } }

.mobile-menu-wrap {
  position: absolute;
  left: 0; right: 0; top: 100%;
  padding-inline: 16px;
}
.mobile-menu {
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 12px;
  box-shadow: 0 16px 40px rgba(5,5,0,.1);
}
.mobile-menu.hidden { display: none; }
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--r-card);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s;
}
.mobile-menu a:hover { background: var(--cream); }
.mobile-menu .btn { width: 100%; margin-top: 8px; }
@media (min-width: 1000px) { .mobile-menu-wrap { display: none; } }

/* ============================ hero ============================ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;              /* keep the scrim's stacking local */
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82vh, 640px);
  /* slide the hero up so the photo fills behind the transparent header */
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
@media (min-width: 900px) {
  .hero { min-height: clamp(500px, 74vh, 620px); }
}

/* full-bleed background photo */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;     /* keep the laptop faces in the clear right half */
}

/* cream veil over the photo */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* mobile default: vertical fade — readable copy up top, photo shows below.
     Peak kept below solid so the photo texture stays faintly visible. */
  background: linear-gradient(
    180deg,
    rgba(250,244,235,.90) 0%,
    rgba(250,244,235,.86) 42%,
    rgba(250,244,235,.55) 68%,
    rgba(250,244,235,.10) 100%
  );
}
@media (min-width: 900px) {
  /* left → right fade: photo shows through under the copy (never fully cream),
     with a long continuous ramp so there's no visible cream "edge". */
  .hero-scrim {
    background: linear-gradient(
      90deg,
      rgba(250,244,235,.86) 0%,
      rgba(250,244,235,.82) 30%,
      rgba(250,244,235,.68) 45%,
      rgba(250,244,235,.40) 58%,
      rgba(250,244,235,.15) 72%,
      rgba(250,244,235,0) 86%
    );
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: 48px 56px;
}
@media (min-width: 900px) {
  .hero-inner { padding-block: 88px 96px; }
}
.hero-copy { max-width: 560px; }
@media (min-width: 900px) {
  .hero-copy { max-width: min(48%, 560px); min-width: 420px; }
}
.hero h1 span { display: block; }
.hero h1 .line-2 {
  color: var(--maroon);
  font-style: italic;
  font-weight: 500;
}
.hero .lead { margin-top: 20px; max-width: 30em; }
.hero .lead sup { color: var(--coral); font-weight: 700; }
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; align-items: center; }
}

/* floating "English only in the room" pill over the visible photo */
.hero-tag {
  position: absolute;
  z-index: 4;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px rgba(5,5,0,.16);
}
.hero-tag svg { color: var(--green-deep); }

/* ============================ feature band ============================ */
.feature-band {
  background: var(--green-tint);
  color: var(--forest);
}
.feature-band ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding-block: 20px;
}
@media (min-width: 1060px) {
  .feature-band ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding-block: 24px;
  }
}
.feature-band li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}
@media (min-width: 1060px) {
  .feature-band li { justify-content: center; text-align: left; }
}
.feature-band .chip-ico {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  flex: 0 0 auto;
  border-radius: var(--r-card);
  background: var(--white);
  color: var(--green-deep);
}
.feature-band .chip-ico svg { width: 16px; height: 16px; }

/* ============================ shared cards ============================ */
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px;
}
@media (min-width: 720px) { .card { padding: 32px; } }

.section-head { max-width: 720px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }
.section-head.centered .lead { margin-inline: auto; }

/* ============================ idea section ============================ */
.idea-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .idea-grid { grid-template-columns: 0.94fr 1.06fr; gap: 64px; align-items: start; }
}
.idea-copy .h2 { margin-top: 14px; }
.idea-copy .body-copy { margin-top: 20px; font-size: 17px; line-height: 1.6; }

/* blur spoiler ("communicate.") */
.spoiler-wrap { position: relative; display: inline-block; }
.spoiler {
  display: inline;
  font: inherit;
  color: var(--green-deep);
  cursor: pointer;
  filter: blur(10px);
  transition: filter .4s ease;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 4px;
}
.spoiler.revealed { filter: blur(0); cursor: default; pointer-events: none; }
.spoiler-hint {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--deep);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(5,5,0,.15);
  opacity: 0;
  transition: opacity .4s ease .9s;
}
.spoiler-wrap.is-on .spoiler-hint { opacity: 1; }
.spoiler-wrap.is-revealed .spoiler-hint { opacity: 0; transition: opacity .2s; }

/* founders */
.founders { position: relative; }
.founders-label {
  position: absolute;
  left: -6px; top: -18px;
  z-index: 3;
  transform: rotate(-4deg);
  background: var(--yellow);
  color: var(--deep);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 19px;
  padding: 6px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(5,5,0,.12);
}
.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 16px;
}
@media (min-width: 560px) { .founders-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }

.founder { text-align: center; }
.founder-name {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--deep);
}
.founder-flip {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  perspective: 1200px;
  border-radius: var(--r-lg);
}
.founder-flip-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.founder-flip.is-flipped .founder-flip-inner { transform: rotateY(180deg); }
.founder-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}
.founder-face--front { padding: 10px; }
.founder-face--front img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-card);
}
.founder-face--back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  padding: 24px;
}
.founder-face--back.tint-coral { background: var(--coral-tint); }
.founder-face--back.tint-green { background: var(--green-tint); }
.founder-facts { display: grid; gap: 12px; text-align: left; }
.founder-facts li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--charcoal);
}
.founder-facts li::before {
  content: "";
  margin-top: 7px;
  width: 6px; height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
}
.tint-green .founder-facts li::before { background: var(--green-deep); }

.founders-hint {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--stone);
}
.founders-hint svg { color: var(--coral); }

/* "why Still Brewing" banner */
.why-banner {
  margin-top: 64px;
  background: var(--coral-tint);
  border-radius: var(--r-xl);
  padding: 40px 28px;
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .why-banner {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 56px;
    padding: 56px;
  }
}
.why-banner .display { font-size: 32px; }
@media (min-width: 1060px) { .why-banner .display { font-size: 44px; } }
.why-banner .display em {
  font-style: italic;
  font-weight: 500;
  color: var(--maroon);
}
.why-banner p.answer { font-size: 17px; line-height: 1.6; color: var(--charcoal); max-width: 34em; }

/* skip / brew comparison */
.skip-brew {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) { .skip-brew { grid-template-columns: 1fr 1fr; } }
.compare-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compare-head .badge-ico {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
}
.card--skip .badge-ico { background: var(--cream); color: var(--warm-gray); }
.card--brew { background: var(--green-tint); border-color: rgba(60,127,32,.25); }
.card--brew .badge-ico { background: var(--green-deep); color: var(--white); }
.card--skip h3 { color: var(--stone); }
.card--brew h3 { color: var(--forest); }
.compare-list { margin-top: 20px; display: grid; gap: 12px; }
.compare-list li { display: flex; gap: 12px; line-height: 1.5; }
.compare-list li::before {
  content: "";
  margin-top: 8px;
  width: 6px; height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
}
.card--skip .compare-list { color: var(--stone); }
.card--skip .compare-list li::before { background: var(--warm-gray); }
.card--brew .compare-list { color: var(--forest); }
.card--brew .compare-list li::before { background: var(--green-deep); }

/* ============================ lesson steps ============================ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-pill);
}
.badge-pill svg { color: var(--green-deep); }

.steps-grid {
  margin-top: 48px;
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid .step-card:last-child { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .steps-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .steps-grid .step-card { grid-column: span 2; }
  .steps-grid .step-card:nth-child(4) { grid-column: span 3; }
  .steps-grid .step-card:nth-child(5) { grid-column: span 3; }
}
.step-card { display: flex; flex-direction: column; gap: 14px; }
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--stone);
}
.step-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-card);
}
.step-ico svg { width: 20px; height: 20px; }
.step-ico--green  { background: var(--green-tint); color: var(--green-deep); }
.step-ico--coral  { background: var(--coral-tint); color: var(--maroon); }
.step-ico--yellow { background: var(--yellow);     color: var(--deep); }
.step-card h3 { font-size: 25px; }
.step-card p { color: var(--stone); }

/* ============================ speaking club ============================ */
.club-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .club-grid { grid-template-columns: 1.08fr 0.92fr; gap: 64px; }
}
.club-copy .h2 { margin-top: 14px; }
.club-copy .h2 em { font-style: italic; font-weight: 500; color: var(--maroon); }
.club-copy .answer {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  max-width: 36em;
}
.club-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--maroon);
}
.club-note svg { flex: 0 0 auto; color: var(--maroon); }
.club-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(5,5,0,.12);
  max-width: 420px;
  margin-inline: auto;
}
.cta-row {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 560px) { .cta-row { flex-direction: row; justify-content: center; } }

/* ============================ reviews ============================ */
.reviews-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
.review-card { display: flex; flex-direction: column; }
.review-quote {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
}
.review-quote--green  { background: var(--green-tint); color: var(--forest); }
.review-quote--yellow { background: var(--yellow);     color: var(--deep); }
.review-quote--coral  { background: var(--coral-tint); color: var(--maroon); }
.review-quote--ink    { background: var(--ink);        color: var(--cream); }
.review-card blockquote {
  margin-top: 16px;
  flex: 1;
  color: var(--charcoal);
  line-height: 1.6;
}
.review-card figcaption {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
}
.avatar--green  { background: var(--green);  color: var(--forest); }
.avatar--yellow { background: var(--yellow); color: var(--deep); }
.avatar--coral  { background: var(--coral);  color: var(--maroon); }
.avatar--ink    { background: var(--ink);    color: var(--cream); }
.review-name { font-weight: 700; color: var(--deep); }
.review-place { font-size: 14px; color: var(--stone); }

/* ============================ pricing ============================ */
.pricing-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1.1fr 0.9fr; } }

.value-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
@media (min-width: 560px) { .value-list { grid-template-columns: 1fr 1fr; gap: 16px 28px; } }
.value-list li {
  display: flex;
  gap: 10px;
  font-weight: 600;
  line-height: 1.4;
}
.value-list svg {
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--green-deep);
}
.guarantee {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  background: var(--green-tint);
  border-radius: var(--r-card);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--forest);
}
.guarantee svg { margin-top: 2px; flex: 0 0 auto; color: var(--green-deep); }

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 32px;
}
.offer-badge {
  align-self: flex-start;
  background: var(--yellow);
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.price-card .kicker { margin-top: 20px; font-weight: 600; color: var(--stone); }
.price-line {
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.price-line .amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 55px;
  line-height: 1;
  color: var(--deep);
}
@media (min-width: 1060px) { .price-line .amount { font-size: 63px; } }
.price-line .per { color: var(--stone); padding-bottom: 6px; }
.price-line .was {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--warm-gray);
  text-decoration: line-through;
  padding-bottom: 4px;
}
.price-card .price-note { margin-top: 12px; color: var(--stone); }
.price-card .rule {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px dashed var(--hairline);
  margin-bottom: 0;
}
.price-card .btn { width: 100%; margin-top: 28px; }
.price-card .fine { margin-top: 14px; text-align: center; font-size: 14px; color: var(--stone); }

/* ============================ faq ============================ */
.faq-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.faq-intro .h2 { margin-top: 14px; }
.faq-intro .lead { margin-top: 16px; }
.faq-intro a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .2s;
}
.faq-intro a:hover { color: var(--maroon); }

.faq-list { display: grid; gap: 12px; }
.faq {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  overflow: hidden;
}
.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  transition: background-image .2s;
}
.faq-btn:hover { background-image: var(--scrim-warm); }
.faq-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--deep);
}
.faq-ico {
  flex: 0 0 auto;
  color: var(--green-deep);
  transition: transform .3s;
}
.faq-btn[aria-expanded="true"] .faq-ico { transform: rotate(45deg); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-panel > div { overflow: hidden; }
.faq-panel-body { padding: 0 24px 20px; color: var(--stone); }
.faq-panel-body ul { margin-top: 10px; display: grid; gap: 8px; }
.faq-panel-body ul li { display: flex; gap: 10px; }
.faq-panel-body ul li::before {
  content: "";
  margin-top: 8px;
  width: 6px; height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
}

/* ============================ final cta ============================ */
.final-cta { padding-block: 24px 72px; }
.final-card {
  background: var(--maroon);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: 64px 24px;
  text-align: center;
}
@media (min-width: 720px) { .final-card { padding: 88px 56px; } }
.final-card .h2 { color: var(--cream); }
.final-steps {
  margin: 48px auto 0;
  max-width: 880px;
  display: grid;
  gap: 28px;
  text-align: left;
}
@media (min-width: 720px) { .final-steps { grid-template-columns: 1fr 1fr 1fr; gap: 24px; text-align: center; } }
.final-step { display: flex; align-items: flex-start; gap: 16px; }
@media (min-width: 720px) { .final-step { flex-direction: column; align-items: center; gap: 12px; } }
.step-circle {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
}
.step-circle--yellow { background: var(--yellow); color: var(--deep); }
.step-circle--coral  { background: var(--coral);  color: var(--maroon); }
.step-circle--green  { background: var(--green);  color: var(--forest); }
.final-step h3 { color: var(--cream); font-size: 19px; }
.final-step p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: rgba(250,244,235,.75); }
.final-card .cta-row { margin-top: 48px; }
.final-sign {
  margin-top: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 25px;
  color: var(--yellow);
}

/* ============================ footer ============================ */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: 56px 32px;
}
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-tag {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--deep);
  max-width: 18em;
}
.footer-tag em { font-style: italic; font-weight: 500; color: var(--maroon); }
.footer-desc { margin-top: 12px; font-size: 14px; color: var(--stone); max-width: 20em; }
.footer-h {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer-links { margin-top: 16px; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-ctas { margin-top: 16px; display: grid; gap: 10px; }
.socials { margin-top: 20px; display: flex; gap: 12px; }
.social-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.social-btn:hover { background: var(--ink); color: var(--cream); }
.footer-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--stone);
  text-align: center;
}
@media (min-width: 720px) { .footer-base { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-base .dot-note { display: inline-flex; align-items: center; gap: 8px; }
.footer-base .dot-note::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ============================ toast ============================ */
.toast {
  position: fixed;
  bottom: 32px; left: 16px; right: 16px;
  max-width: 416px;
  margin-inline: auto;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-size: 14px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(5,5,0,.22);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.is-on { opacity: 1; transform: translateY(0); }

/* ============================ reveal on scroll ============================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .founder-flip-inner { transition: none; }
  .spoiler { transition: none; }
  .faq-panel { transition: none; }
  .btn .arrow { transition: none; }
}
