/* =====================================================
   SAVOR AMAZON · Business funnel
   Tokens mirror savoramazon.co.nz so the two feel like one brand.
   ===================================================== */

@font-face { font-family: 'Helzy'; src: url('assets/fonts/Helzy.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('assets/fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('assets/fonts/Poppins-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --plum: #6c1f5f;
  --plum-700: #5a1750;
  --plum-900: #4f1a49;
  --night: #2b0d27;
  --night-2: #3d1338;
  --gold: #e4a409;
  --gold-700: #c88e00;
  --cream: #efd5a9;
  --cream-soft: #f7e6c8;
  --cream-bg: #fbf4e6;
  --leaf: #31cbb7;
  --white: #ffffff;
  --ink: #1a1a2e;
  --ink-soft: #4a4a5e;
  --line: rgba(108, 31, 95, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --wa: #25d366;

  --font-display: 'Helzy', 'Poppins', serif;
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-md: 0 12px 32px rgba(43, 13, 39, 0.14);
  --shadow-lg: 0 24px 60px rgba(43, 13, 39, 0.28);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--plum); }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
main > section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }

.num { font-family: var(--font-sans); font-weight: 600; }
.muted { color: var(--ink-soft); font-size: 0.85em; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  color: var(--plum);
  margin-bottom: 0.6em;
  max-width: 20ch;
  text-wrap: balance;
}
.h2--light { color: var(--white); }
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.1;
  color: var(--plum);
}
.sub { color: var(--ink-soft); max-width: 52ch; margin: -0.6em 0 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1em 1.6em; min-height: 48px;
  border-radius: var(--r-pill); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 220ms var(--ease), background-color 220ms var(--ease), box-shadow 220ms var(--ease), color 220ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { font-size: 0.9rem; padding: 0.7em 1.2em; min-height: 42px; }
.btn--lg { font-size: 1.05rem; padding: 1.1em 2em; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--plum); color: var(--white); }
.btn--primary:hover { background: var(--plum-700); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--gold); color: var(--night); }
.btn--accent:hover { background: var(--gold-700); box-shadow: 0 12px 28px rgba(228, 164, 9, 0.3); }
.btn--ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--white); }
.btn--wa { background: var(--wa); color: #062b14; }
.btn--wa:hover { background: #1eb955; box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3); }
.wa-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
}
.logo {
  display: inline-block; width: 170px; height: 50px;
  background-color: var(--white);
  -webkit-mask: url('assets/logos/savor-amazon.svg') no-repeat left center / contain;
          mask: url('assets/logos/savor-amazon.svg') no-repeat left center / contain;
}
.logo-link { display: inline-flex; line-height: 0; }
.header-wa {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 0.6em 1.1em; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.header-wa:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--white);
  padding: clamp(110px, 14vw, 150px) 0 clamp(56px, 8vw, 96px);
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(43,13,39,0.94) 0%, rgba(43,13,39,0.82) 45%, rgba(43,13,39,0.45) 100%),
    linear-gradient(180deg, rgba(43,13,39,0.5) 0%, rgba(43,13,39,0) 30%, rgba(43,13,39,0.7) 100%);
}
.hero-grid {
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
.hero-kicker { color: var(--cream); font-size: 0.95rem; margin-bottom: 1rem; max-width: 40ch; }
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1;
  letter-spacing: -0.005em;
  margin-bottom: 1.4rem;
}
.hero-title .line { display: block; }
.hero-lead { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 44ch; margin-bottom: 2rem; }

/* Chooser (the three doors) */
.chooser { display: grid; gap: 10px; max-width: 560px; }
.chooser-label { font-weight: 600; color: var(--gold); font-size: 1rem; margin-bottom: 4px; }
.door {
  position: relative; display: grid; gap: 2px; text-align: left;
  padding: 16px 64px 16px 20px; min-height: 72px;
  background: rgba(255, 255, 255, 0.96); color: var(--night);
  border: 0; border-radius: var(--r-md); cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), background-color 240ms var(--ease);
}
.door:hover { transform: translateX(6px); box-shadow: 0 14px 34px rgba(0,0,0,0.26); }
.door-title { font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.door-sub { color: var(--ink-soft); font-size: 0.88rem; }
.door-go {
  position: absolute; right: 16px; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--plum);
  transition: background-color 240ms var(--ease);
}
.door-go::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 9px; height: 9px;
  border-top: 2px solid var(--white); border-right: 2px solid var(--white);
  transform: translateX(-2px) rotate(45deg);
}
.door:hover .door-go { background: var(--gold); }
.door--quiet { background: rgba(255,255,255,0.1); color: var(--white); box-shadow: none; border: 1.5px solid rgba(255,255,255,0.28); }
.door--quiet .door-sub { color: rgba(255,255,255,0.72); }
.door--quiet .door-go { background: rgba(255,255,255,0.16); }
.door--quiet:hover { background: rgba(255,255,255,0.16); box-shadow: none; }

/* Hero media: arched window, becomes the VSL player */
.hero-media { justify-self: center; width: min(100%, 420px); }
.arch {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  border: 6px solid rgba(239, 213, 169, 0.9);
  box-shadow: var(--shadow-lg);
  background: var(--night-2);
}
.arch-poster, .arch-video { width: 100%; height: 100%; object-fit: cover; }
.arch-video { position: absolute; inset: 0; background: #000; }
.play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px;
  display: grid; place-items: center;
  border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--night);
  box-shadow: 0 0 0 0 rgba(228,164,9,0.6);
  animation: pulse 2.4s ease-out infinite;
}
.play svg { width: 34px; height: 34px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228,164,9,0.55); } 100% { box-shadow: 0 0 0 26px rgba(228,164,9,0); } }
.hero-media-cap { text-align: center; margin-top: 14px; font-size: 0.85rem; color: rgba(255,255,255,0.72); }
@media (max-width: 959px) {
  .hero-media { order: -1; width: min(62%, 280px); display: none; }
  .hero-media.has-video { display: block; }
}

/* Leaves */
.leaf { position: absolute; pointer-events: none; z-index: -1; opacity: 0.9; }
.leaf--hero-a { width: clamp(160px, 22vw, 320px); right: -60px; bottom: -70px; z-index: 0; rotate: -18deg; opacity: 0.55; }
.leaf--hero-b { width: clamp(110px, 14vw, 200px); left: -50px; top: 90px; rotate: 28deg; opacity: 0.35; }
.leaf--calc { width: 260px; right: -70px; top: -60px; rotate: 160deg; opacity: 0.4; z-index: 0; }
.leaf--contact { width: 240px; left: -80px; bottom: -60px; rotate: 20deg; opacity: 0.35; z-index: 0; }
.leaf--quiz { width: 260px; right: -90px; bottom: -80px; rotate: -24deg; opacity: 0.25; z-index: 0; }

/* Hero entrance: one orchestrated moment */
.is-ready .hero-kicker,
.is-ready .hero-title .line,
.is-ready .hero-lead,
.is-ready .chooser > *,
.is-ready .hero-media {
  animation: rise 800ms var(--ease) both;
}
.is-ready .hero-title .line:nth-child(1) { animation-delay: 80ms; }
.is-ready .hero-title .line:nth-child(2) { animation-delay: 160ms; }
.is-ready .hero-title .line:nth-child(3) { animation-delay: 240ms; }
.is-ready .hero-lead { animation-delay: 340ms; }
.is-ready .chooser > :nth-child(1) { animation-delay: 440ms; }
.is-ready .chooser > :nth-child(2) { animation-delay: 520ms; }
.is-ready .chooser > :nth-child(3) { animation-delay: 600ms; }
.is-ready .chooser > :nth-child(4) { animation-delay: 680ms; }
.is-ready .hero-media { animation-delay: 300ms; animation-duration: 1100ms; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Proof ---------- */
.proof { padding: 28px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.proof-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 36px; }
.proof-stat { font-size: 0.98rem; color: var(--ink-soft); max-width: 30ch; }
.proof-stat strong { font-size: 1.6rem; color: var(--plum); margin-right: 4px; }
.proof-logos, .proof-seals { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.proof-logos img { height: 32px; width: auto; }
.proof-seals img { height: 40px; width: auto; }

/* ---------- Paths ---------- */
.path-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .path-grid { grid-template-columns: 1fr 1fr; } }
.path {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.path-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-soft); }
.path-photo img { width: 100%; height: 100%; object-fit: cover; }
.path-photo--product { background: radial-gradient(circle at 50% 60%, var(--cream) 0%, var(--cream-soft) 60%); }
.path-photo--product img { object-fit: contain; padding: 18px; }
.path-photo-cap {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(43,13,39,0.82); color: var(--white);
  font-size: 0.8rem; padding: 6px 12px; border-radius: var(--r-pill);
}
.path-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.path-for { color: var(--ink-soft); }
.ticks { display: grid; gap: 10px; margin: 4px 0 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.path-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Profit receipt ---------- */
.calc { background: var(--plum); color: var(--white); overflow: hidden; }
.calc-grid { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: 1fr minmax(340px, 420px); } }
.calc-lead { color: rgba(255,255,255,0.84); max-width: 46ch; margin: -0.4em 0 2rem; }
.controls { display: grid; gap: 22px; max-width: 520px; }
.control { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 12px; }
.control label, .control-label { font-weight: 600; font-size: 0.95rem; }
.control output { font-family: var(--font-sans); font-weight: 600; font-size: 1.35rem; color: var(--gold); }
.control input[type=range] { grid-column: 1 / -1; }
.control--seg { grid-template-columns: 1fr auto; align-items: center; }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer;
  --fill: 20%;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--gold) var(--fill), rgba(255,255,255,0.22) var(--fill));
}
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.22); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--gold); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--white); outline-offset: 2px; }

.seg { display: inline-flex; background: rgba(255,255,255,0.12); border-radius: var(--r-pill); padding: 4px; gap: 2px; }
.seg button {
  border: 0; background: transparent; color: var(--white); cursor: pointer;
  min-width: 52px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); font-weight: 600;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.seg button[aria-checked="true"] { background: var(--gold); color: var(--night); }

.receipt {
  position: relative; color: var(--ink);
  background: #fffdf8;
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-lg);
  rotate: 1.2deg;
  font-size: 0.95rem;
  --tooth: 10px;
  -webkit-mask:
    radial-gradient(circle at 50% 0, transparent 6px, #000 6.5px) top / 18px var(--tooth) repeat-x,
    radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 18px var(--tooth) repeat-x,
    linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--tooth) + 1px) no-repeat;
          mask:
    radial-gradient(circle at 50% 0, transparent 6px, #000 6.5px) top / 18px var(--tooth) repeat-x,
    radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 18px var(--tooth) repeat-x,
    linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--tooth) + 1px) no-repeat;
}
.receipt-head {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--plum); text-align: center;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px dashed var(--line);
}
.receipt-lines { display: grid; gap: 10px; }
.receipt-lines div { display: flex; justify-content: space-between; gap: 12px; }
.receipt-lines dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt-lines div:nth-child(n+3) dd::before { content: '−'; margin-right: 2px; }
.receipt-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 2px dashed var(--line);
}
.receipt-total span { font-weight: 600; }
.receipt-total strong {
  font-family: var(--font-sans); font-weight: 600; color: var(--plum);
  font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.receipt-each { text-align: right; color: var(--ink-soft); font-size: 0.85rem; margin: 6px 0 14px; }
.receipt-note { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 18px; }
.receipt.bump strong { animation: bump 380ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); color: var(--gold-700); } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 860px; }
@media (min-width: 700px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: grid; gap: 8px;
}
.price-card--best { border: 2px solid var(--plum); }
.price-name { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--plum); }
.price-amt { font-size: 1rem; color: var(--ink-soft); }
.price-amt .num { font-size: 2.3rem; color: var(--ink); margin-right: 4px; }
.price-detail { color: var(--ink-soft); font-size: 0.95rem; }
.home-strip {
  margin-top: 24px; max-width: 860px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 18px 22px; border-radius: var(--r-md); background: var(--cream-soft);
}

/* ---------- Steps ---------- */
.steps { background: var(--white); }
.step-list { display: grid; gap: 28px; counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 760px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .step-list { grid-template-columns: repeat(4, 1fr); } }
.step-list li { counter-increment: step; position: relative; padding-top: 64px; }
.step-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-soft); color: var(--plum); font-weight: 600; font-size: 1.15rem;
}
.step-list h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--ink); }
.step-list p { color: var(--ink-soft); }
.steps-cta { margin-top: 44px; }

/* ---------- Origin ---------- */
.origin-grid { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .origin-grid { grid-template-columns: 1fr 1fr; } }
.origin-photos { position: relative; aspect-ratio: 1 / 1; max-width: 520px; }
.origin-photos img { position: absolute; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.origin-photos img:first-child { inset: 0 22% 18% 0; width: 78%; height: 82%; }
.origin-photos img:last-child { right: 0; bottom: 0; width: 46%; height: 58%; border: 6px solid var(--cream-bg); }
.origin-copy p { color: var(--ink-soft); max-width: 46ch; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum);
  transform: rotate(45deg); transition: transform 240ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { background: var(--night); color: var(--white); overflow: hidden; }
.contact-grid { display: grid; gap: 40px; position: relative; z-index: 1; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr minmax(340px, 440px); align-items: start; } }
.contact-copy p { color: rgba(255,255,255,0.8); max-width: 42ch; margin: -0.4em 0 26px; }
.contact-addr { font-style: normal; margin-top: 28px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.qform { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px;
  padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: var(--white);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8a8a; }
.field-err { color: #ffb4b4; font-size: 0.84rem; }
.field-hint { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.form-status { font-size: 0.9rem; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,0.6); padding: 28px 0 calc(28px + 76px); border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
@media (min-width: 760px) { .site-footer { padding-bottom: 28px; } }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.logo--footer { width: 130px; height: 38px; opacity: 0.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: rgba(255,255,255,0.75); }

/* ---------- Sticky mobile bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(43, 13, 39, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  transform: translateY(110%); transition: transform 320ms var(--ease);
}
.mbar.is-on { transform: none; }
.mbar .btn { flex: 1; }
.mbar-wa {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #062b14; flex-shrink: 0;
}
.mbar-wa .wa-icon { width: 24px; height: 24px; }
@media (min-width: 760px) { .mbar { display: none; } }

/* =====================================================
   QUIZ SHEET
   ===================================================== */
.quiz {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--night); color: var(--white); overflow: hidden;
}
.quiz::backdrop { background: rgba(20, 6, 18, 0.7); backdrop-filter: blur(4px); }
@media (min-width: 760px) {
  .quiz {
    width: min(640px, 92vw); height: auto; max-height: min(860px, 92vh); margin: auto;
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  }
}
.quiz[open] { animation: sheet-in 420ms var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.quiz-inner {
  position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
  padding: max(16px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
}
@media (min-width: 760px) { .quiz-inner { padding: 22px 34px 34px; max-height: min(860px, 92vh); } }
.quiz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.quiz-back, .quiz-close {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255,255,255,0.08); color: var(--white);
  transition: background-color 180ms var(--ease);
}
.quiz-back:hover, .quiz-close:hover { background: rgba(255,255,255,0.16); }
.quiz-back svg, .quiz-close svg { width: 22px; height: 22px; }
.quiz-back[hidden] { display: grid !important; visibility: hidden; }
.quiz-progress { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.14); overflow: hidden; }
.quiz-bar { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 6px; transition: width 420ms var(--ease); }

.quiz-stage { flex: 1; display: flex; flex-direction: column; }
.q-step { display: flex; flex-direction: column; gap: 18px; }
.q-step.enter { animation: step-in 360ms var(--ease) both; }
.q-step.enter-back { animation: step-back 360ms var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.q-count { color: var(--gold); font-size: 0.88rem; font-weight: 600; }
.q-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 2.3rem); line-height: 1.1; text-wrap: balance;
}
.q-title:focus { outline: none; }
.q-hint { color: rgba(255,255,255,0.7); margin-top: -8px; }
.q-options { display: grid; gap: 10px; }
.q-opt {
  position: relative; text-align: left; cursor: pointer;
  min-height: 60px; padding: 16px 52px 16px 18px;
  border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05); color: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.35;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), transform 180ms var(--ease);
}
.q-opt small { display: block; font-weight: 400; color: rgba(255,255,255,0.68); font-size: 0.86rem; margin-top: 2px; }
.q-opt::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,0.35);
  transition: all 180ms var(--ease);
}
.q-opt:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.09); }
.q-opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(228,164,9,0.14); }
.q-opt[aria-pressed="true"]::after { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 4px var(--night); }
.q-opt:active { transform: scale(0.99); }

.q-suburbs { display: flex; flex-wrap: wrap; gap: 8px; }
.q-suburbs .q-opt { min-height: 44px; padding: 10px 16px; border-radius: var(--r-pill); font-size: 0.92rem; }
.q-suburbs .q-opt::after { display: none; }
.q-suburbs .q-opt--wide { flex-basis: 100%; }

.qty { display: flex; align-items: center; gap: 18px; }
.qty button {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06); color: var(--white); font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty output { font-family: var(--font-sans); font-weight: 600; font-size: 2.6rem; min-width: 2ch; text-align: center; }
.qty-total { font-size: 1.05rem; }
.qty-total strong { color: var(--gold); font-size: 1.4rem; }
.q-note { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

.q-form { display: grid; gap: 14px; }
.q-actions { display: grid; gap: 10px; margin-top: 8px; }
.q-privacy { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.q-error { color: #ffb4b4; font-size: 0.9rem; }

.q-done { text-align: left; gap: 16px; }
.q-done-mark {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--leaf); color: var(--night);
  animation: pop 520ms var(--ease) both;
}
.q-done-mark svg { width: 32px; height: 32px; }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.q-done p { color: rgba(255,255,255,0.82); }
.q-next { display: grid; gap: 10px; padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,0.06); }
.q-next li { position: relative; padding-left: 26px; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.q-next li::before { content: ''; position: absolute; left: 4px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.q-link { background: none; border: 0; color: var(--cream); text-decoration: underline; cursor: pointer; padding: 6px 0; justify-self: start; }

body.quiz-open { overflow: hidden; }

/* ---------- 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; }
  .hero-bg img { animation: none; }
}

/* White partner logos need a dark chip on the light proof band */
.logo-chip { background: var(--night); padding: 9px 16px; border-radius: var(--r-sm); line-height: 0; }
.logo-chip img { height: 22px; }

/* Earnings step inside the quiz */
.controls--quiz { gap: 16px; max-width: none; }
.controls--quiz .control output { font-size: 1.15rem; }
.receipt--quiz { rotate: 0deg; padding: 24px 22px 26px; font-size: 0.9rem; }
.receipt--quiz .receipt-total { margin: 0 0 14px; padding: 0 0 14px; border-top: 0; border-bottom: 2px dashed var(--line); }
.receipt--quiz .receipt-note { margin: 14px 0 0; }
