/* ═══ Noel Leeming — Warm Guided Helper design system ═══ */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-normal.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-italic.woff2") format("woff2");
  font-weight: 200 1000; font-style: italic; font-display: swap;
}

:root {
  --red: #E20512;
  --red-deep: #B30410;
  --red-soft: #FCE3E4;
  --yellow: #FFDD02;
  --cream: #FBF4EA;
  --cream-deep: #F4E9DA;
  --sand: #EADCCB;
  --ink: #3A2E28;
  --ink-soft: #6E5F57;
  --card: #FFFFFF;
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --shadow: 0 10px 30px rgba(58, 46, 40, .10);
  --shadow-pop: 0 16px 44px rgba(226, 5, 18, .14);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --slide: cubic-bezier(.22, .9, .32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  font-size: 17px; line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
.accent { color: var(--red); }
em { font-style: normal; color: var(--red); position: relative; }
em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em;
  background: var(--yellow); border-radius: 99px; z-index: -1;
}
kbd {
  font-family: inherit; font-weight: 800; font-size: .8em;
  background: var(--ink); color: var(--cream); border-radius: 8px;
  padding: .1em .5em; margin: 0 .15em; display: inline-block;
}
.eyebrow {
  font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; color: var(--red); margin: 0 0 .6rem;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: .6rem 1rem; border-radius: 0 0 12px 0; z-index: 100;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  border: none; border-radius: 999px; padding: .9rem 1.7rem; font-size: 1.02rem;
  transition: transform .35s var(--bounce), box-shadow .3s ease, background .2s ease;
}
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(226,5,18,.35); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-3px) scale(1.03); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--sand); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.btn-cream { background: var(--cream); color: var(--red); }
.btn-cream:hover { transform: translateY(-3px) scale(1.04); }
.btn-outline-cream { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline-cream:hover { border-color: #fff; transform: translateY(-3px); }
.btn-bounce:active { transform: scale(.94); }
.card-pop { transition: transform .4s var(--bounce), box-shadow .3s ease; }
.card-pop:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }

/* ── USP strip ── */
.usp-strip { background: var(--red); color: #fff; overflow: hidden; padding: .45rem 0; }
.usp-track { display: flex; gap: 3rem; width: max-content; animation: marquee 26s linear infinite; }
.usp { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .86rem; white-space: nowrap; }
.usp img { filter: brightness(0) invert(1); opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── nav ── */
.nav-wrap {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 244, 234, .92); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--cream-deep);
}
.nav { max-width: 1200px; margin: 0 auto; padding: .7rem 1.2rem; display: flex; align-items: center; gap: 1.4rem; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: .2rem; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 800; font-size: .95rem;
  padding: .45rem .85rem; border-radius: 999px; transition: all .25s var(--bounce);
}
.nav-links a:hover { background: var(--red-soft); color: var(--red); transform: translateY(-2px); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-burger span { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; margin: 5px 0; }
.streak-chip {
  display: inline-flex; align-items: center; gap: .45rem; background: #fff;
  border: 2px solid var(--sand); border-radius: 999px; padding: .35rem .9rem;
  font-weight: 900; font-size: .9rem; white-space: nowrap;
  transition: transform .4s var(--bounce);
}
.streak-chip.pulse { transform: scale(1.15); background: var(--yellow); border-color: var(--yellow); }
.streak-flame { font-size: 1.05rem; }
.streak-label { font-weight: 700; color: var(--ink-soft); font-size: .78rem; }

/* ── hero ── */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 1.2rem 5rem; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero-blob-a { width: 480px; height: 480px; background: #FFD9DC; top: -120px; right: -80px; }
.hero-blob-b { width: 380px; height: 380px; background: #FFF3BF; bottom: -140px; left: -100px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; position: relative; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.6rem 0 2rem; }
.hero-stats { list-style: none; display: flex; gap: 2.2rem; padding: 0; margin: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.3rem; color: var(--red); font-weight: 900; }
.hero-stats span { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }

.hero-stage { position: relative; min-height: 460px; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--r-md); padding: .7rem;
  box-shadow: var(--shadow); width: 190px; text-align: center; font-weight: 800; font-size: .85rem;
  animation: floaty 6s ease-in-out infinite;
}
.float-card img { border-radius: 12px; aspect-ratio: 1; object-fit: contain; background: #fff; }
.float-card span { display: block; padding: .5rem 0 .2rem; }
.fc-1 { top: 0; left: 8%; animation-delay: 0s; }
.fc-2 { top: 18%; right: 0; width: 220px; animation-delay: -1.5s; }
.fc-3 { bottom: 8%; left: 0; animation-delay: -3s; }
.fc-4 { bottom: 0; right: 12%; animation-delay: -4.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(1.2deg); } }
.hero-helper {
  position: absolute; top: 42%; left: 42%; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.helper-face {
  width: 86px; height: 86px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; box-shadow: 0 12px 26px rgba(226,5,18,.4);
  animation: bob 3s ease-in-out infinite;
}
.helper-eyes { color: #fff; font-weight: 900; font-size: 1.25rem; letter-spacing: 1px; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.helper-bubble {
  background: #fff; border-radius: 16px 16px 16px 4px; padding: .45rem .8rem;
  font-size: .8rem; font-weight: 800; box-shadow: var(--shadow); white-space: nowrap;
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: radial-gradient(120% 130% at 50% 130%, transparent 62%, var(--cream-deep) 63%); }

/* ── sections ── */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 1.2rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s var(--slide); }
.reveal.in { opacity: 1; transform: none; }

/* ── quiz ── */
.quiz-card {
  max-width: 780px; margin: 0 auto; background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 1.6rem clamp(1.2rem, 3vw, 2.4rem) 1.4rem; position: relative;
}
.quiz-progress { height: 10px; background: var(--cream-deep); border-radius: 99px; overflow: hidden; }
.quiz-progress-bar { height: 100%; width: 20%; background: linear-gradient(90deg, var(--red), #FF5A4E); border-radius: 99px; transition: width .5s var(--bounce); }
.quiz-steps-meta { display: flex; justify-content: space-between; gap: 1rem; margin: .8rem 0 1.2rem; font-weight: 800; font-size: .9rem; }
.quiz-score-hint { color: var(--ink-soft); font-weight: 700; }
.quiz-viewport { position: relative; min-height: 300px; overflow: hidden; }
.quiz-step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateX(70px); pointer-events: none; transition: opacity .45s ease, transform .45s var(--slide); }
.quiz-step.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.quiz-step.leaving-left { transform: translateX(-70px); }
.quiz-q { font-size: 1.45rem; font-weight: 900; margin-bottom: 1.1rem; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.quiz-opt {
  display: flex; align-items: center; gap: .8rem; text-align: left; cursor: pointer;
  background: var(--cream); border: 3px solid transparent; border-radius: var(--r-md);
  padding: .9rem 1rem; font: inherit; font-weight: 800; color: var(--ink);
  transition: transform .3s var(--bounce), border-color .2s, background .2s;
}
.quiz-opt:hover { transform: translateY(-4px) scale(1.02); background: #fff; border-color: var(--red-soft); }
.quiz-opt:focus-visible { border-color: var(--red); }
.quiz-opt .opt-emoji { font-size: 1.7rem; }
.quiz-opt small { display: block; font-weight: 700; color: var(--ink-soft); font-size: .8rem; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; }
.quiz-dots { display: flex; gap: .5rem; }
.quiz-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--sand); transition: all .3s var(--bounce); }
.quiz-dots i.done { background: var(--red); transform: scale(1.25); }

.quiz-result { max-width: 900px; margin: 2rem auto 0; }
.match-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; grid-template-columns: 300px 1fr; gap: 2rem;
  align-items: center; position: relative; overflow: hidden;
}
.match-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--red), var(--yellow)); }
.match-img { background: var(--cream); border-radius: var(--r-md); padding: 1rem; }
.match-img img { border-radius: 12px; }
.match-badge {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--red); color: #fff;
  font-weight: 900; border-radius: 999px; padding: .35rem 1rem; font-size: .95rem; margin-bottom: .6rem;
}
.match-name { font-size: 1.6rem; font-weight: 900; margin: 0 0 .2rem; }
.match-variant { color: var(--ink-soft); font-weight: 700; margin: 0 0 .8rem; }
.match-price { font-size: 1.5rem; font-weight: 900; color: var(--red); }
.match-price s { color: var(--ink-soft); font-size: 1rem; font-weight: 700; margin-left: .5rem; }
.match-reasons { list-style: none; padding: 0; margin: 1rem 0; }
.match-reasons li { padding: .35rem 0 .35rem 1.9rem; position: relative; font-weight: 700; }
.match-reasons li::before { content: "✓"; position: absolute; left: 0; top: .3rem; width: 1.3rem; height: 1.3rem;
  background: var(--red-soft); color: var(--red); border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .8rem; }
.match-runners { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.runner-chip { display: flex; align-items: center; gap: .6rem; background: var(--cream); border-radius: 999px; padding: .4rem .9rem .4rem .4rem; font-weight: 800; font-size: .85rem; }
.runner-chip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.confetti { position: absolute; width: 10px; height: 14px; top: -20px; border-radius: 3px; animation: confetti-fall 2.6s ease-in forwards; pointer-events: none; }
@keyframes confetti-fall { to { transform: translateY(560px) rotate(720deg); opacity: 0; } }

/* ── rooms ── */
.rooms-layout { display: grid; grid-template-columns: 190px 1fr 330px; gap: 1.4rem; align-items: start; }
.room-picker { display: flex; flex-direction: column; gap: .7rem; }
.room-tab {
  display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: var(--r-md);
  background: #fff; border: 3px solid transparent; cursor: pointer; font: inherit; font-weight: 800;
  transition: all .3s var(--bounce); text-align: left; box-shadow: var(--shadow);
}
.room-tab:hover { transform: translateX(6px); }
.room-tab[aria-selected="true"] { border-color: var(--red); background: var(--red-soft); transform: translateX(6px); }
.room-tab .rt-icon { font-size: 1.4rem; }
.room-tab .rt-count { margin-left: auto; background: var(--sand); border-radius: 99px; font-size: .75rem; padding: .05rem .5rem; }
.room-tab[aria-selected="true"] .rt-count { background: var(--red); color: #fff; }
.room-stage {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16 / 10; background: var(--cream-deep);
}
.room-stage svg.room-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.room-slot {
  position: absolute; transform: translate(-50%, -50%); width: 21%; aspect-ratio: 1;
  border-radius: var(--r-sm); display: grid; place-items: center;
}
.room-slot img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px;
  background: rgba(255,255,255,.92); padding: 6px; box-shadow: 0 8px 18px rgba(58,46,40,.18);
  animation: slot-pop .5s var(--bounce);
  mix-blend-mode: multiply;
}
@keyframes slot-pop { 0% { transform: scale(.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.room-slot .slot-x {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 0; cursor: pointer; font-weight: 900; line-height: 1;
  opacity: 0; transition: opacity .2s;
}
.room-slot:hover .slot-x { opacity: 1; }
.room-tip { text-align: center; font-weight: 700; color: var(--ink-soft); font-style: italic; margin-top: .8rem; }
.room-items { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.room-item-btn {
  display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: var(--r-sm);
  border: 2px solid transparent; padding: .5rem .7rem; cursor: pointer; font: inherit; font-weight: 800;
  text-align: left; transition: all .3s var(--bounce); box-shadow: var(--shadow);
}
.room-item-btn:hover { transform: scale(1.03); border-color: var(--red-soft); }
.room-item-btn.added { background: var(--red-soft); border-color: var(--red); }
.room-item-btn img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: var(--cream); }
.room-item-btn .rib-name { font-size: .88rem; line-height: 1.25; }
.room-item-btn .rib-price { margin-left: auto; color: var(--red); font-weight: 900; white-space: nowrap; }
.room-item-btn .rib-add { width: 26px; height: 26px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-weight: 900; flex: none; }
.room-item-btn.added .rib-add { background: var(--red); color: #fff; }
.room-tally { background: var(--ink); color: var(--cream); border-radius: var(--r-md); padding: 1.2rem 1.4rem; }
.tally-row { display: flex; justify-content: space-between; padding: .3rem 0; font-weight: 700; }
.tally-row strong { font-size: 1.25rem; font-weight: 900; }
.tally-save { color: var(--yellow); }
.tally-badge { margin-top: .7rem; background: var(--yellow); color: var(--ink); border-radius: 12px; padding: .5rem .8rem; font-weight: 900; text-align: center; animation: badge-in .5s var(--bounce); }
@keyframes badge-in { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ── price promise ── */
.promise-layout { display: grid; grid-template-columns: 300px 1fr; gap: 1.6rem; align-items: start; max-width: 1050px; margin: 0 auto; }
.promise-products { display: flex; flex-direction: column; gap: .7rem; }
.promise-pick {
  display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: var(--r-md);
  border: 3px solid transparent; padding: .7rem .9rem; cursor: pointer; font: inherit; font-weight: 800;
  box-shadow: var(--shadow); transition: all .3s var(--bounce); text-align: left;
}
.promise-pick:hover { transform: translateX(6px); }
.promise-pick[aria-checked="true"] { border-color: var(--red); background: var(--red-soft); }
.promise-pick img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; background: var(--cream); }
.promise-pick small { display: block; color: var(--ink-soft); font-weight: 700; }
.promise-meter { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.2rem); }
.meter-dial { position: relative; max-width: 340px; margin: 0 auto 1.6rem; padding-bottom: 1.4rem; }
.dial-svg { width: 100%; }
#dialArc { transition: stroke-dashoffset .8s var(--slide); }
#dialNeedle { transition: transform .8s var(--bounce); }
.dial-read { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; }
.dial-read span { font-size: 1.9rem; font-weight: 900; color: var(--red); display: block; }
.dial-read small { font-weight: 800; color: var(--ink-soft); }
.promise-bars { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.4rem; }
.pbar { display: grid; grid-template-columns: 110px 1fr 80px; align-items: center; gap: .8rem; }
.pbar-label { font-weight: 800; font-size: .9rem; }
.pbar-track { height: 26px; background: var(--cream-deep); border-radius: 99px; overflow: hidden; }
.pbar-fill { height: 100%; border-radius: 99px; transition: width .8s var(--slide); }
.pbar-them { background: var(--sand); }
.pbar-us { background: linear-gradient(90deg, var(--red), #FF5A4E); }
.pbar-val { font-weight: 900; text-align: right; }
.promise-slider-label { display: block; font-weight: 800; margin-bottom: .4rem; }
.promise-slider-label strong { color: var(--red); }
input[type="range"] {
  width: 100%; appearance: none; height: 12px; border-radius: 99px; background: var(--cream-deep);
  outline-offset: 4px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red);
  border: 4px solid #fff; box-shadow: 0 4px 12px rgba(226,5,18,.4); cursor: grab;
  transition: transform .25s var(--bounce);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--red); border: 4px solid #fff; cursor: grab; }
.promise-verdict { font-weight: 900; text-align: center; font-size: 1.1rem; min-height: 1.6em; transition: color .3s; }
.promise-verdict.win { color: var(--red); animation: badge-in .45s var(--bounce); }
.promise-steps { margin: 0; padding-left: 1.4rem; color: var(--ink-soft); font-weight: 600; }
.promise-steps li { margin: .35rem 0; }
.promise-steps strong { color: var(--ink); }

/* ── delivery dash ── */
.dash-card { max-width: 1020px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.2rem; }
.dash-hud { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.hud-item { flex: 1; min-width: 110px; background: var(--cream); border-radius: var(--r-sm); padding: .55rem 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.hud-item span { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.hud-item strong { font-size: 1.45rem; font-weight: 900; color: var(--red); }
.dash-stage { position: relative; border-radius: var(--r-md); overflow: hidden; background: #F7EFE3; }
#dashCanvas { width: 100%; height: auto; display: block; touch-action: none; }
.dash-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(251, 244, 234, .82); backdrop-filter: blur(4px);
  transition: opacity .4s ease; text-align: center; padding: 1rem;
}
.dash-overlay.hidden { opacity: 0; pointer-events: none; }
.dash-overlay-inner { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-pop); padding: 1.8rem 2.2rem; max-width: 440px; }
.dash-overlay-inner h3 { font-size: 1.6rem; }
.dash-pad { position: absolute; right: 14px; bottom: 14px; display: none; grid-template-areas: ". u ." "l . r" ". d ."; gap: 8px; }
.pad-btn {
  width: 56px; height: 56px; border-radius: 18px; border: 0; font-size: 1.2rem; font-weight: 900;
  background: rgba(255,255,255,.92); color: var(--red); box-shadow: var(--shadow); cursor: pointer;
}
.pad-btn:active { background: var(--red); color: #fff; transform: scale(.92); }
.pad-up { grid-area: u; } .pad-left { grid-area: l; } .pad-right { grid-area: r; } .pad-down { grid-area: d; }
.dash-keys-note { margin: .9rem .3rem .2rem; font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
@media (pointer: coarse) { .dash-pad { display: grid; } }

/* ── guides ── */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
.guide-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.guide-head { padding: 1.3rem 1.3rem 0; }
.guide-head h3 { font-size: 1.25rem; }
.guide-head p { color: var(--ink-soft); font-weight: 600; margin: 0 0 1rem; font-size: .95rem; }
.guide-open {
  margin: auto 1.3rem 1.3rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cream); border: 2px solid var(--sand); border-radius: 999px; padding: .55rem 1.2rem;
  font: inherit; font-weight: 800; cursor: pointer; transition: all .3s var(--bounce);
}
.guide-open:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.guide-card.read .guide-open { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.guide-read-dot { position: absolute; top: 14px; right: 14px; background: var(--yellow); border-radius: 99px; padding: .2rem .7rem; font-size: .75rem; font-weight: 900; opacity: 0; transform: scale(.5); transition: all .4s var(--bounce); }
.guide-card { position: relative; }
.guide-card.read .guide-read-dot { opacity: 1; transform: scale(1); }
.guide-body { max-height: 0; overflow: hidden; transition: max-height .6s var(--slide); background: var(--cream); }
.guide-body.open { max-height: 720px; }
.guide-body-inner { padding: 1.2rem 1.3rem 1.4rem; }
.guide-body svg { width: 100%; height: auto; border-radius: var(--r-sm); }
.guide-caption { font-size: .88rem; font-weight: 700; color: var(--ink-soft); margin: .6rem 0 0; }

/* ── masonry ── */
.masonry { columns: 3 280px; column-gap: 1.2rem; }
.mcard {
  break-inside: avoid; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow);
  margin-bottom: 1.2rem; overflow: hidden; display: block; text-decoration: none; color: inherit;
  transition: transform .4s var(--bounce), box-shadow .3s ease;
}
.mcard:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-pop); }
.mcard-imgs { display: flex; gap: 8px; padding: 12px 12px 0; }
.mcard-imgs img { flex: 1; min-width: 0; border-radius: 14px; background: var(--cream); object-fit: contain; aspect-ratio: 1; }
.mcard-body { padding: 1rem 1.2rem 1.3rem; }
.mcard-body h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.mcard-body p { margin: 0; color: var(--ink-soft); font-weight: 600; font-size: .92rem; }
.mcard-tag { display: inline-block; margin-top: .8rem; background: var(--red-soft); color: var(--red); font-weight: 900; font-size: .8rem; border-radius: 999px; padding: .3rem .8rem; }
.mcard.tall .mcard-imgs img { aspect-ratio: 4/5; }

/* ── CTA ── */
.cta-section { padding: 2rem 1.2rem 5rem; }
.cta-card {
  position: relative; max-width: 1000px; margin: 0 auto; background: var(--red); color: #fff;
  border-radius: 40px; padding: clamp(2.4rem, 6vw, 4.5rem); text-align: center; overflow: hidden;
  box-shadow: 0 24px 60px rgba(226,5,18,.35);
}
.cta-card h2 { color: #fff; }
.cta-card p { max-width: 46ch; margin: 0 auto 1.6rem; font-size: 1.1rem; font-weight: 600; opacity: .95; }
.cta-blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,221,2,.16); top: -180px; right: -140px; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cta-fine { font-size: .85rem !important; opacity: .8 !important; margin-bottom: 0 !important; }

/* ── footer ── */
.footer { background: var(--ink); color: var(--cream); padding: 3rem 1.2rem; }
.footer-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.footer-logo { margin: 0 auto 1rem; }
.footer-note { color: #B9ABA0; font-size: .88rem; max-width: 52ch; margin: 0 auto 1.2rem; }
.footer-links { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--cream); font-weight: 700; text-decoration: none; opacity: .85; }
.footer-links a:hover { opacity: 1; color: var(--yellow); }

/* ── toast ── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--cream); border-radius: 999px; padding: .8rem 1.6rem;
  font-weight: 800; box-shadow: var(--shadow-pop); z-index: 90; animation: toast-in .45s var(--bounce);
  max-width: 90vw; text-align: center;
}
@keyframes toast-in { 0% { transform: translate(-50%, 60px); opacity: 0; } 100% { transform: translate(-50%, 0); opacity: 1; } }

/* ── responsive ── */
@media (max-width: 1020px) {
  .rooms-layout { grid-template-columns: 1fr 1fr; }
  .room-picker { flex-direction: row; flex-wrap: wrap; grid-column: 1 / -1; }
  .room-tab { flex: 1; min-width: 150px; }
  .promise-layout { grid-template-columns: 1fr; }
  .promise-products { flex-direction: row; flex-wrap: wrap; }
  .promise-pick { flex: 1; min-width: 200px; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { min-height: 380px; margin-top: 1rem; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 1rem; gap: .4rem;
    border-bottom: 2px solid var(--cream-deep);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; margin-left: auto; }
  .streak-chip { margin-left: 0; }
  .nav { flex-wrap: wrap; gap: .6rem; }
  .match-card { grid-template-columns: 1fr; }
  .match-img { max-width: 320px; margin: 0 auto; }
  .rooms-layout { grid-template-columns: 1fr; }
  .quiz-viewport { min-height: 430px; }
  .quiz-steps-meta { flex-direction: column; gap: .2rem; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-stats { gap: 1.2rem; flex-wrap: wrap; }
  .hud-item { min-width: 70px; padding: .4rem .7rem; }
  .hud-item strong { font-size: 1.15rem; }
  .streak-label { display: none; }
}

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