/* ─────────────────────────────────────────────────────────────
   Zimmer landing — production styles.
   Tokens mirror screenshot-iterations.jsx so the site stays
   on-brand with the App Store screenshots.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Brand palette */
  --cream: #f7f2ee;
  --cream-warm: #f1e9e0;
  --peach: #f0d4a8;
  --amber: #e8956d;
  --terra: #d4763a;
  --terra-deep: #b85f28;
  --deep: #3b2412;
  --deep-soft: #5a3d24;
  --ink: #2a1a0c;
  --hairline: rgba(59, 36, 18, 0.10);
  --hairline-strong: rgba(59, 36, 18, 0.18);
  --muted: rgba(59, 36, 18, 0.62);
  --muted-soft: rgba(59, 36, 18, 0.48);
  --leaf: #4f7a4a;

  /* Type */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(59, 36, 18, 0.06);
  --shadow-md: 0 12px 30px -10px rgba(59, 36, 18, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(59, 36, 18, 0.30), 0 8px 18px -8px rgba(59, 36, 18, 0.18);
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--deep);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

/* ── Typography ──────────────────────────────────────── */
.h-serif {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.04;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
.h-serif em {
  font-style: italic;
  font-weight: 600;
  color: var(--terra);
}
h1.h-serif { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2.h-serif { font-size: clamp(2.0rem, 4.4vw, 3.4rem); }
h3.h-serif { font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -0.015em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
  max-width: 56ch;
}

/* ── Container ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: var(--container-wide); }

/* ── Buttons / CTA ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -10px rgba(59,36,18,0.32); }
.btn-ghost {
  background: transparent;
  color: var(--deep);
  border: 1px solid var(--hairline-strong);
}
.btn-ghost:hover { background: rgba(59,36,18,0.04); }

/* App Store badge */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  font-family: var(--sans);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-md);
}
.app-badge:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -12px rgba(59,36,18,0.34); }
.app-badge .badge-icon { width: 28px; height: 28px; flex: 0 0 auto; }
.app-badge .badge-copy { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.app-badge .badge-top { font-size: 0.68rem; opacity: 0.78; letter-spacing: 0.04em; }
.app-badge .badge-bottom { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.android-note {
  font-size: 0.82rem;
  color: var(--muted-soft);
  margin-top: 10px;
}
.android-note a { color: var(--terra-deep); border-bottom: 1px solid currentColor; }

/* ── Topbar ──────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 238, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.topbar.is-scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(247, 242, 238, 0.92);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(110% 110% at 30% 25%, var(--peach) 0%, var(--amber) 55%, var(--terra) 100%);
  display: grid; place-items: center;
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 12px -4px rgba(212,118,58,0.45);
}
.brand-mark svg { width: 20px; height: 20px; }
.topbar-cta { display: inline-flex; align-items: center; gap: 14px; }
.topbar-link {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 500;
}
.topbar-link:hover { color: var(--deep); }
.topbar-get {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--terra-deep);
  padding: 8px 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.topbar-get:hover { gap: 10px; color: var(--terra); }
.topbar-get .arrow { transition: transform 0.2s ease; display: inline-block; }
.topbar-get:hover .arrow { transform: translateX(2px); }
.topbar .app-badge { padding: 8px 16px 8px 14px; box-shadow: var(--shadow-sm); }
.topbar .app-badge .badge-bottom { font-size: 0.95rem; }
.topbar .app-badge .badge-top { font-size: 0.6rem; }
.topbar .app-badge .badge-icon { width: 20px; height: 20px; }

@media (max-width: 720px) {
  .topbar-link { display: none; }
  .topbar-inner { height: 60px; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 70% 10%, rgba(232,149,109,0.34) 0%, transparent 62%),
    radial-gradient(60% 50% at 10% 30%, rgba(240,212,168,0.40) 0%, transparent 68%),
    radial-gradient(60% 50% at 80% 90%, rgba(232,149,109,0.30) 0%, transparent 65%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 24px;
}
.hero-copy { padding: 24px 0; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.hero-copy .eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.5;
}
.hero-copy h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.hero-copy .lead { margin: 22px 0 30px; font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 0.86rem;
  color: var(--muted-soft);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 14px; height: 14px; opacity: 0.7; }

/* Hero stage = phone + mascot + mirror floor */
.hero-stage {
  position: relative;
  aspect-ratio: 5 / 6;
  width: 100%;
  display: grid;
  place-items: end center;
}
.hero-floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -2%;
  height: 38%;
  background: radial-gradient(ellipse 55% 100% at 50% 0%,
    rgba(232,149,109,0.32) 0%,
    rgba(240,212,168,0.16) 42%,
    transparent 78%);
  pointer-events: none;
  z-index: 0;
}
.hero-phone {
  position: relative;
  width: 56%;
  margin-right: -2%;
  z-index: 3;
  filter: drop-shadow(0 24px 40px rgba(59,36,18,0.18));
}
.hero-phone::after {
  content: "";
  position: absolute;
  left: 6%; right: 6%;
  bottom: -2%;
  height: 14px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(59,36,18,0.32) 0%, rgba(59,36,18,0.10) 45%, transparent 75%);
  filter: blur(4px);
  z-index: -1;
  pointer-events: none;
}
.hero-phone img { width: 100%; height: auto; }
.hero-phone-reflection { display: none; }
.hero-mascot {
  position: absolute;
  left: -8%;
  bottom: 6%;
  width: 28%;
  z-index: 4;
  filter: drop-shadow(0 18px 22px rgba(59,36,18,0.22));
  animation: floaty 6s ease-in-out infinite;
}
.hero-mascot-reflection { display: none; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mascot { animation: none; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; padding-bottom: 0; }
  .hero-copy { padding: 16px 0 0; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-stage { aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; }
  .hero-mascot { width: 26%; left: 2%; }
  .hero-mascot-reflection { width: 26%; left: 2%; }
  .hero-phone { width: 56%; }
  .hero-phone-reflection { width: 56%; }
}

/* ── Section scaffolding ─────────────────────────────── */
section { position: relative; }
.section {
  padding: clamp(72px, 10vw, 140px) 0;
}
#features { counter-reset: feature; }
.section-tinted {
  background: linear-gradient(to bottom,
    var(--cream) 0%,
    var(--cream-warm) 12%,
    var(--cream-warm) 88%,
    var(--cream) 100%);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head p { color: var(--muted); margin: 18px 0 0; font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 60ch; }

/* Feature row — alternating phone + copy */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--hairline);
  counter-increment: feature;
}
.feature .eyebrow::before {
  content: counter(feature, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--terra);
  background: rgba(212,118,58,0.10);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature-flip .feature-art { order: 1; }
.feature-flip .feature-copy { order: 2; }
.feature-copy .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }

.feature-copy h2 { margin-bottom: 18px; }
.feature-copy .lead { margin-bottom: 24px; }
.feature-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.feature-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.98rem;
  color: var(--deep-soft);
}
.feature-bullets li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  background: var(--terra);
  border-radius: 50%;
  margin-top: 9px;
}
.feature-zimmie-line {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(212,118,58,0.08);
  padding: 10px 16px 10px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--terra-deep);
  font-weight: 500;
}
.feature-zimmie-line .mini-mascot {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  background: rgba(255,255,255,0.6);
  flex: 0 0 auto;
}

/* Phone art */
.phone-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px 0 40px;
}
.phone-art::after {
  content: "";
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: 0;
  height: 32%;
  background: radial-gradient(ellipse 55% 100% at 50% 0%,
    rgba(232,149,109,0.30) 0%,
    rgba(240,212,168,0.14) 42%,
    transparent 78%);
  pointer-events: none;
  z-index: 0;
}
.phone-frame {
  position: relative;
  width: min(420px, 86%);
  filter: drop-shadow(0 30px 50px rgba(59,36,18,0.18));
  z-index: 1;
}
.phone-frame img.phone-bezel { width: 100%; height: auto; display: block; position: relative; z-index: 2; pointer-events: none; }
.phone-screen {
  position: absolute;
  left: 5.1%;
  right: 5.1%;
  top: 2.2%;
  bottom: 2.2%;
  border-radius: 7.2%;
  overflow: hidden;
  background: #000;
  min-height: 220px;
  z-index: 1;
}
/* Feature phones sit on a clean cream background — no floor, no reflection. */
.phone-reflection { display: none !important; }
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.phone-floor {
  position: absolute;
  left: 6%; right: 6%; bottom: 6%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,36,18,0.10), transparent);
}
.phone-companion {
  position: absolute;
  width: 26%;
  bottom: -4%;
  filter: drop-shadow(0 14px 18px rgba(59,36,18,0.20));
  z-index: 3;
}
.phone-companion.left { left: -2%; }
.phone-companion.right { right: -2%; }
.phone-overlay {
  position: absolute;
  width: 70%;
  bottom: 8%;
  right: -8%;
  z-index: 4;
  filter: drop-shadow(0 0 1px rgba(59,36,18,0.4)) drop-shadow(0 12px 26px rgba(59,36,18,0.16));
  border-radius: 20px;
  overflow: hidden;
}

/* Feature 03 fullbleed variant — break the alternating rhythm */
.feature.feature-fullbleed {
  grid-template-columns: 1fr;
  text-align: center;
  gap: clamp(28px, 4vw, 48px);
}
.feature-fullbleed .feature-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}
.feature-fullbleed .feature-copy .lead { margin-left: auto; margin-right: auto; }
.feature-fullbleed .feature-art { width: 100%; }
.feature-fullbleed .phone-frame { width: min(380px, 60%); margin: 0 auto; }
.feature-fullbleed .feature-bullets {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  gap: 18px 28px;
  max-width: 820px;
  margin: 8px auto 0;
  text-align: left;
}
.feature-fullbleed .feature-zimmie-line { margin: 22px auto 0; }
@media (max-width: 720px) {
  .feature-fullbleed .feature-bullets { grid-template-columns: 1fr; max-width: 360px; }
  .feature-fullbleed .phone-frame { width: min(320px, 86%); }
}

/* ── Compact feature grid (bonus row) ────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 940px;
}
.mini-feature {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mini-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mini-feature .mini-art {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--cream-warm);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
  padding: 14px;
}
.mini-feature .mini-art img {
  width: auto; max-width: 70%; max-height: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(59,36,18,0.18));
}

/* Mini art-treatment: Friends — two overlapping books */
.mini-art-books {
  background: linear-gradient(135deg, #f3e8d8 0%, #ead7be 100%);
  perspective: 800px;
}
.mini-art-books .book {
  position: absolute;
  width: 38%;
  aspect-ratio: 3 / 4;
  border-radius: 6px 12px 12px 6px;
  box-shadow: 0 14px 28px -8px rgba(59,36,18,0.30), inset 4px 0 0 rgba(0,0,0,0.10);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px 12px 12px 18px;
  font-family: var(--serif);
  color: var(--cream);
}
.mini-art-books .book-1 {
  left: 18%; bottom: 14%;
  transform: rotate(-8deg);
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-deep) 100%);
}
.mini-art-books .book-2 {
  right: 16%; top: 12%;
  transform: rotate(6deg);
  background: linear-gradient(135deg, var(--deep-soft) 0%, var(--deep) 100%);
}
.mini-art-books .book-title { font-size: 0.78rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.mini-art-books .book-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid; place-items: center;
  align-self: flex-end;
  font-size: 0.7rem;
}

/* Mini art-treatment: Widgets — home-screen wallpaper with widget grid */
.mini-art-homescreen {
  background:
    radial-gradient(60% 80% at 30% 20%, rgba(232,149,109,0.55) 0%, transparent 60%),
    radial-gradient(50% 70% at 80% 90%, rgba(212,118,58,0.45) 0%, transparent 65%),
    linear-gradient(160deg, #d4763a 0%, #b85f28 100%);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.mini-art-homescreen .widget {
  background: rgba(255,255,255,0.94);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--sans);
  color: var(--ink);
  min-height: 0;
}
.mini-art-homescreen .widget .w-eyebrow {
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terra);
}
.mini-art-homescreen .widget .w-title { font-family: var(--serif); font-weight: 700; font-size: 0.82rem; line-height: 1.1; letter-spacing: -0.01em; }
.mini-art-homescreen .widget .w-meta { font-size: 0.58rem; color: var(--muted); margin-top: auto; }
.mini-art-homescreen .widget .w-list { display: grid; gap: 3px; font-size: 0.6rem; color: var(--deep-soft); }
.mini-art-homescreen .widget .w-list span { display: inline-flex; gap: 5px; align-items: center; }
.mini-art-homescreen .widget .w-list span::before { content: ""; width: 7px; height: 7px; border: 1.2px solid var(--muted-soft); border-radius: 2px; flex: 0 0 auto; }
.mini-art-homescreen .widget.tall { grid-row: span 2; }

/* Mini art-treatment: Pantry — ingredient illustration */
.mini-art-pantry {
  background: linear-gradient(135deg, #f7e8cf 0%, #e8d4b0 100%);
  display: grid;
  place-items: center;
}
.mini-art-pantry svg {
  width: 78%; height: 78%;
  filter: drop-shadow(0 10px 18px rgba(59,36,18,0.22));
}

/* Mini art-treatment: Salling — phone with prominent leaf-tag */
.mini-art-salling {
  background: linear-gradient(135deg, #e8f0e0 0%, #d4e3c8 100%);
  position: relative;
  padding: 0;
  display: grid;
  place-items: center;
}
.mini-art-salling .salling-phone {
  width: 60%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 32px -8px rgba(59,36,18,0.25);
  background: #000;
}
.mini-art-salling .salling-phone img { width: 100%; height: auto; display: block; }
.mini-art-salling .salling-stamp {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--leaf);
  color: white;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 6px 14px rgba(79,122,74,0.28);
  transform: rotate(8deg);
}
.mini-art-salling .salling-stamp svg { width: 14px; height: 14px; }
.mini-feature h3 { margin: 8px 0 0; }
.mini-feature p { margin: 0; font-size: 0.94rem; color: var(--muted); line-height: 1.5; }
.mini-feature .leaf-tag {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--leaf);
  background: rgba(79,122,74,0.10);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq details {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 4px 24px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq details[open] { border-color: var(--hairline-strong); background: white; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--terra);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 64ch;
}

/* ── Final CTA ───────────────────────────────────────── */
.final-cta {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 9vw, 120px);
  background:
    linear-gradient(to bottom, var(--cream) 0%, #f5e3ce 30%, #f0d4a8 100%),
    radial-gradient(60% 80% at 50% 110%, rgba(232,149,109,0.45) 0%, transparent 60%),
    radial-gradient(40% 60% at 50% 0%, rgba(247,242,238,0.6) 0%, transparent 70%);
  background-blend-mode: normal, multiply, multiply;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(232,149,109,0.40) 0%, transparent 60%),
    radial-gradient(40% 60% at 50% 0%, rgba(240,212,168,0.30) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 34px;
}
.final-mascot-wrap {
  position: relative;
  width: clamp(220px, 28vw, 320px);
}
.final-mascot-wrap img.mascot {
  width: 100%; height: auto;
  filter: drop-shadow(0 20px 28px rgba(59,36,18,0.22));
  animation: floaty 6s ease-in-out infinite;
}
.final-mascot-wrap::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  bottom: -6%;
  height: 18px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(59,36,18,0.32) 0%, transparent 70%);
  filter: blur(2px);
}
.final-cta h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 18ch; text-wrap: balance; }
.final-cta .lead { margin: 0 auto; max-width: 50ch; }
.final-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 8px; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  padding: 56px 0 48px;
  background: var(--cream);
  border-top: 1px solid var(--hairline);
}
.footer-tagline {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--deep-soft);
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted-soft);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { color: var(--deep); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.01em; }
.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.footer-brand .brand-mark svg { width: 14px; height: 14px; }

/* ── Responsive feature stack ────────────────────────── */
@media (max-width: 880px) {
  .feature, .feature-flip {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-flip .feature-art { order: 1; }
  .feature-flip .feature-copy { order: 2; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .phone-frame { width: min(300px, 80%); }
  .phone-overlay { width: 60%; right: -4%; }
}

/* ── Tweaks panel (lightweight) ──────────────────────── */
.tweaks-fab {
  position: fixed; right: 20px; bottom: 20px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.tweaks-fab.is-visible { display: inline-flex; }
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 320px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  z-index: 91;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: none;
  font-family: var(--sans);
}
.tweaks-panel.is-open { display: block; }
.tweaks-panel header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.tweaks-panel header h4 { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.tweaks-panel header button.close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--deep);
  font-size: 1.1rem;
}
.tweak-section { margin-bottom: 18px; }
.tweak-section-title { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tweak-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.tweak-row label { font-size: 0.85rem; color: var(--deep-soft); display: flex; justify-content: space-between; align-items: center; }
.tweak-row input[type="text"] {
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  background: var(--cream);
  color: var(--ink);
}
.tweak-row.toggle-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--cream-warm);
  padding: 10px 14px;
  border-radius: 10px;
}
.tweak-toggle {
  position: relative;
  width: 40px; height: 22px;
  border-radius: 999px;
  background: rgba(59,36,18,0.18);
  transition: background 0.15s ease;
  flex: 0 0 auto;
}
.tweak-toggle::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 0.15s ease;
}
.tweak-toggle.on { background: var(--terra); }
.tweak-toggle.on::after { transform: translateX(18px); }

/* Hide section helper used by tweaks */
.is-hidden { display: none !important; }
