/* ==========================================================================
   BAUWOW — pop identity
   Palette anchors on the tangerine of the hero footage; pink / blue / lime
   are the pop counterweights. Neutrals are warm on purpose: the cream leans
   toward the tangerine, the ink is a warm near-black, never a grey.
   A brand this saturated has its colours, not a dark mode — the identity is
   single-theme by choice, so every colour is painted explicitly and the page
   holds on any host background.
   ========================================================================== */

:root {
  --tangerine: #E9601F;
  --bubble:    #FF3D9A;
  --sky:       #2B5CFF;
  --lime:      #C8F04E;
  --cream:     #FFF4E4;
  --ink:       #14100C;
  --ink-soft:  rgba(20, 16, 12, 0.66);

  --edge: 3px solid var(--ink);
  --pop:  7px 7px 0 var(--ink);
  --pop-sm: 4px 4px 0 var(--ink);

  --wrap: 74rem;
  --gut: clamp(1.15rem, 4vw, 2.75rem);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: Archivo, ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ------------------------------------------------------------- primitives */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.block { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.block--cream { background: var(--cream); }
.block--ink   { background: var(--ink); color: var(--cream); }
.block--ink .card { box-shadow: 7px 7px 0 var(--lime); }
.block--pink  { background: var(--bubble); }
.block--blue  { background: var(--sky); color: var(--cream); }
.block--lime  { background: var(--lime); }
.block--tan   { background: var(--tangerine); }
.block + .block { border-top: var(--edge); }

.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 100, "opsz" 48;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 0;
}
.h1 { font-size: clamp(3rem, 11.5vw, 8.5rem); }
.h2 { font-size: clamp(2.35rem, 6.4vw, 4.6rem); }
.h3 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.02; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 0;
  border-top: 3px solid currentColor;
}

.lead { font-size: clamp(1.05rem, 1.9vw, 1.28rem); line-height: 1.55; max-width: 46ch; }

/* Buttons: the hard shadow is the affordance — press and it physically lands. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border: var(--edge);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--pop-sm);
  transition: transform 120ms ease, box-shadow 120ms ease, background 150ms ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--pop   { background: var(--lime); color: var(--ink); }
.btn--pink  { background: var(--bubble); color: var(--cream); }
.btn--ghost { background: transparent; color: inherit; box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.block--ink .btn--ghost, .block--blue .btn--ghost { border-color: var(--cream); }
.block--ink .btn--ghost:hover, .block--blue .btn--ghost:hover { background: var(--cream); color: var(--ink); }

.badge {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border: var(--edge);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: var(--pop-sm);
}

.card {
  border: var(--edge);
  border-radius: 1.5rem;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--pop);
}

/* Halftone: the one texture in the system, used sparingly as a ground. */
.dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.7px);
  background-size: 15px 15px;
  opacity: 0.14;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: var(--edge);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.35rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 90;
  font-size: 1.6rem;
  letter-spacing: -0.045em;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
}
.logo__dot {
  width: 0.72rem; height: 0.72rem;
  border-radius: 50%;
  background: var(--bubble);
  border: 2px solid var(--ink);
}
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { border-bottom-color: var(--bubble); }
.nav .btn { padding: 0.62rem 1.25rem; font-size: 0.92rem; }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  /* Same fit as the canvas (cover, centred), so the plate and the character
     stay registered to each other pixel for pixel. */
  background: var(--tangerine) url("/assets/dog-plate.webp") center / cover no-repeat;
  height: clamp(38rem, 92svh, 58rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: var(--edge);
  cursor: url("/assets/cursor-bone.svg") 22 22, crosshair;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
  z-index: 2;                 /* above the headline: he stands in front of it */
  pointer-events: none;
}

/* The idle pose as a plain image, at stage size and transparent around the
   character, so `object-fit: cover` reproduces exactly the fit the backdrop and
   the canvas use. It carries the hero on its own until the strip has landed --
   which is why nothing here has to announce that something is loading. */
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  pointer-events: none;
}
/* No fade: the canvas is painted before this is hidden and shows the very same
   frame, so the hand-over is already invisible. A transition here would make
   correctness depend on an animation actually running -- and if it ever did
   not, the poster would sit on top and the character would look frozen. */
.hero.is-live .hero__poster { display: none; }

/* Scrim sits under the type and under the character, so it deepens the
   backdrop without dulling either. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(46,17,3,0.34) 0%, rgba(46,17,3,0.06) 34%, rgba(46,17,3,0) 52%),
    linear-gradient(to top,    rgba(46,17,3,0.42) 0%, rgba(46,17,3,0) 30%);
}

.hero__copy {
  position: absolute;
  z-index: 1;
  inset: clamp(1.2rem, 4vh, 2.6rem) 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.7rem, 2vh, 1.3rem);
  padding-inline: var(--gut);
  pointer-events: none;
}
.hero__copy > * { width: 100%; max-width: var(--wrap); margin-inline: auto; }
.hero__copy .badge { pointer-events: auto; width: auto; margin-inline: 0; }

/* Two lines pushed to opposite edges: the character threads between them,
   overlapping the end of one and the start of the other. */
.hero__title {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--wrap);
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 100, "opsz" 96;
  font-size: clamp(3.4rem, 13.5vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  margin: 0;
  color: var(--cream);
  text-shadow: 0 4px 34px rgba(40, 14, 2, 0.42);
}
.hero__line--a { align-self: flex-start; }
.hero__line--b { align-self: flex-end; color: var(--lime); }

/* Copy and buttons live in the empty left third; the character owns the
   centre, so nothing ever sits on top of him. */
.hero__foot {
  position: absolute;
  z-index: 3;
  left: max(var(--gut), calc(50vw - var(--wrap) / 2));
  bottom: clamp(2.6rem, 7vh, 4.2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  width: min(27rem, 42vw);
}
.hero__sub {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 244, 228, 0.94);
  text-shadow: 0 2px 16px rgba(40, 14, 2, 0.7);
}

.hero__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.hero__hint {
  position: absolute;
  z-index: 3;
  right: max(var(--gut), calc(50vw - var(--wrap) / 2));
  bottom: clamp(1rem, 2.6vh, 1.7rem);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 244, 228, 0.78);
  pointer-events: none;
  transition: opacity 700ms ease 250ms, transform 700ms ease 250ms;
}
.hero__hintDot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: blip 2.2s ease-in-out infinite;
}
.hero.is-engaged .hero__hint { opacity: 0; transform: translateY(8px); }
.hint-coarse { display: none; }
@media (pointer: coarse) {
  .hero { cursor: default; }
  .hint-fine { display: none; }
  .hint-coarse { display: inline; }
}
@keyframes blip { 0%,100% { opacity: .3; transform: scale(.75); } 50% { opacity: 1; transform: scale(1); } }

@media (max-width: 780px) {
  .hero { height: clamp(34rem, 88svh, 46rem); }
  .hero__title { font-size: clamp(2.9rem, 15vw, 5rem); }
  .hero__foot {
    left: var(--gut); right: var(--gut);
    width: auto; align-items: center; text-align: center;
    bottom: clamp(2.4rem, 6vh, 3.2rem);
  }
  /* At this width the character fills the frame and there is no clear ground
     left for body copy — the badge and the CTA carry the hero instead. */
  .hero__sub { display: none; }
  .hero__cta { justify-content: center; }
  .hero__hint { left: 50%; right: auto; transform: translateX(-50%); }
  .hero.is-engaged .hero__hint { transform: translate(-50%, 8px); }
}

/* --------------------------------------------------------------- marquee */

.marquee {
  background: var(--ink);
  color: var(--cream);
  border-bottom: var(--edge);
  overflow: hidden;
  padding-block: 0.85rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-inline: 1.25rem;
  white-space: nowrap;
}
.marquee__track b { color: var(--lime); font-weight: 800; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- claims */

.claims { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 3rem; }
.claim { padding: 1.9rem 1.6rem; }
.claim__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: block;
}
.claim p { margin: 0.7rem 0 0; font-size: 0.99rem; line-height: 1.5; color: var(--ink-soft); }
.claim:nth-child(1) { background: var(--lime); }
.claim:nth-child(2) { background: var(--bubble); color: var(--cream); }
.claim:nth-child(2) p { color: rgba(255,244,228,0.86); }
.claim:nth-child(3) { background: var(--sky); color: var(--cream); }
.claim:nth-child(3) p { color: rgba(255,244,228,0.86); }

/* A colour panel behind the cut-out: on a cream ground the sticker's cream
   outline would otherwise vanish. He breaks out of the top edge on purpose. */
.dogdisc {
  position: relative;
  width: min(100%, 21rem);
  margin: 3.5rem auto 0;
  aspect-ratio: 1 / 1.1;
  background: var(--disc, var(--lime));
  border: var(--edge);
  border-radius: 2rem;
  box-shadow: var(--pop);
  transform: rotate(-2.5deg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.dogdisc img { width: 74%; margin-bottom: -3px; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }

/* -------------------------------------------------------------- products */

.grid-4 { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); margin-top: 3rem; }
.prod {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.prod:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.prod__art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-bottom: var(--edge);
  color: var(--ink);
}
.prod__art img {
  width: 66%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 14px rgba(20, 16, 12, 0.22));
}
.prod__body { padding: 1.25rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.prod__kicker { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.prod__ing { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; flex: 1; }
.prod__price { font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem; display: flex; align-items: baseline; gap: 0.35rem; }
.prod__price b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }

/* ------------------------------------------------------------------ steps */

.steps { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 3.2rem; }
.step { position: relative; padding: 2.4rem 1.6rem 1.8rem; background: var(--cream); }
.step__n {
  position: absolute;
  top: -1.35rem; left: 1.5rem;
  width: 2.7rem; height: 2.7rem;
  display: grid; place-items: center;
  border: var(--edge);
  border-radius: 50%;
  background: var(--lime);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--pop-sm);
}
.step p { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ------------------------------------------------------------------ quotes */

.quotes { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 3rem; }
.quote { padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.quote__mark { font-family: var(--font-display); font-weight: 800; font-size: 4.4rem; line-height: 0.62; height: 1.7rem; color: var(--bubble); }
.quote blockquote { margin: 0; font-size: 1.06rem; line-height: 1.5; font-weight: 500; }
.quote figcaption { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; color: var(--ink-soft); line-height: 1.5; margin-top: auto; }
.quote figcaption b { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------------ plans */

.plans { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 3rem; align-items: start; }
.plan { padding: 1.9rem 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; position: relative; }
.plan--hot { background: var(--lime); }
.plan__tag { position: absolute; top: -0.9rem; right: 1.3rem; transform: rotate(4deg); background: var(--bubble); color: var(--ink); }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.1rem); line-height: 0.9; letter-spacing: -0.04em; }
.plan__price small { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; font-size: 0.94rem; }
.plan li { display: flex; gap: 0.55rem; align-items: flex-start; }
.plan li::before { content: "✦"; color: var(--bubble); flex: none; }
.plan--hot li::before { color: var(--ink); }
.plan .btn { margin-top: auto; justify-content: center; }

/* -------------------------------------------------------------------- faq */

.faq { max-width: 48rem; margin: 3rem auto 0; display: grid; gap: 0.85rem; }
.qa {
  border: var(--edge);
  border-radius: 1.1rem;
  background: var(--cream);
  color: var(--ink);          /* never inherit the block's colour over our own fill */
  overflow: hidden;
}
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.03rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 180ms ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa[open] summary { background: var(--lime); border-bottom: var(--edge); }
.qa p { margin: 0; padding: 1.1rem 1.35rem 1.3rem; color: var(--ink-soft); font-size: 0.97rem; }

/* ------------------------------------------------------------------- ctas */

.finale { position: relative; overflow: hidden; text-align: center; }
.finale .h2 { color: var(--cream); }
.finale__dog {
  width: clamp(11rem, 24vw, 17rem);
  margin: 2.5rem auto -8rem;
  filter: drop-shadow(0 12px 0 rgba(0,0,0,0.18));
}

/* ----------------------------------------------------------------- footer */

.foot { background: var(--ink); color: var(--cream); border-top: var(--edge); padding-block: 3.5rem 2.5rem; }
.foot__top { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.foot h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 0.9rem; color: var(--lime); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot a { color: rgba(255,244,228,0.75); text-decoration: none; font-size: 0.94rem; }
.foot a:hover { color: var(--cream); text-decoration: underline; }
.foot__logo { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.045em; }
.foot__bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,244,228,0.18);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; color: rgba(255,244,228,0.55);
}

/* ---------------------------------------------------------------- motion */

/* Visible by default. The hidden state is armed by JS only once we know we
   can actually reveal it, so a script failure can never leave the page blank. */
.rise { transition: opacity 620ms ease, transform 620ms cubic-bezier(.22,.9,.3,1); }
.rise.is-armed { opacity: 0; transform: translateY(22px); }
.rise.is-armed.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .hero__hintDot { animation: none; opacity: 0.8; }
  .rise, .rise.is-armed { opacity: 1; transform: none; transition: none; }
  .btn, .prod { transition: none; }
}

/* ------------------------------------------------------------------- quiz */

.quiz {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(38rem, calc(100vw - 2rem));
  max-height: min(46rem, calc(100svh - 2rem));
  padding: 0;
  border: var(--edge);
  border-radius: 1.75rem;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: visible;
}
.quiz::backdrop { background: rgba(20, 16, 12, 0.62); }

.quiz__x {
  position: absolute;
  top: -0.9rem; right: -0.9rem;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: var(--edge);
  border-radius: 50%;
  background: var(--bubble);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--pop-sm);
}
.quiz__x:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

.quiz__step {
  margin: 0;
  padding: 1.15rem 1.6rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.quiz__bar { height: 6px; margin: 0 1.6rem; background: rgba(20, 16, 12, 0.14); border-radius: 999px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--bubble); transition: width 320ms cubic-bezier(.22,.9,.3,1); }

.quiz__body { padding: 1.4rem 1.6rem 1.7rem; overflow-y: auto; max-height: calc(min(46rem, 100svh - 2rem) - 5.5rem); }

.quiz__q {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 100, "opsz" 48;
  font-size: clamp(1.6rem, 4.6vw, 2.15rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.quiz__hint { margin: 0.7rem 0 0; font-size: 0.94rem; line-height: 1.5; color: var(--ink-soft); }
.quiz__kicker { margin: 0 0 0.55rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bubble); }

.quiz__opts { display: grid; gap: 0.6rem; margin-top: 1.3rem; }
.quiz__opt {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: var(--edge);
  border-radius: 1rem;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.quiz__opt em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--ink-soft); text-align: right; }
.quiz__opt:hover { background: var(--lime); transform: translate(-2px, -2px); box-shadow: var(--pop-sm); }

.quiz__form { display: flex; gap: 0.6rem; margin-top: 1.3rem; flex-wrap: wrap; }
.quiz__input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.9rem 1.1rem;
  border: var(--edge);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
}
.quiz__input::placeholder { color: rgba(20, 16, 12, 0.38); font-weight: 500; }

.quiz__back {
  margin-top: 1.2rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.quiz__back:hover { color: var(--ink); text-decoration: underline; }

.quiz__picks { display: grid; gap: 0.7rem; margin: 1.4rem 0 0; }
.quiz__pick {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border: var(--edge);
  border-radius: 1rem;
  background: var(--lime);
}
.quiz__pick img { width: 3.6rem; height: auto; flex: none; }
.quiz__pick strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.quiz__pick span { display: block; margin-top: 0.15rem; font-size: 0.85rem; line-height: 1.4; color: rgba(20, 16, 12, 0.7); }

.quiz__dose { margin: 1.1rem 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.quiz__price { margin: 0.7rem 0 0; display: flex; align-items: baseline; gap: 0.5rem; }
.quiz__price b { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; }
.quiz__price span { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-soft); }

.quiz__end { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.quiz__end .quiz__back { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .quiz__bar span { transition: none; }
  .quiz__opt, .quiz__x { transition: none; }
}

@media (max-width: 480px) {
  .quiz__price { flex-wrap: wrap; }
  .quiz__price span { flex: 1 0 100%; }          /* la riga fine va sotto, non a capo storto */
  .quiz__end { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .quiz__end .btn { justify-content: center; }
  .quiz__opt { font-size: 0.98rem; }
  .quiz__opt em { flex: none; }
}

/* ========================================================== boot screen */
html.is-booting, html.is-booting body { overflow: hidden; }

.boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--cream);
  opacity: 1;
  transition: opacity 480ms ease;
}
.boot.is-out { opacity: 0; pointer-events: none; }

.boot__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.boot__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 90;
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  letter-spacing: -0.05em;
  color: var(--ink);
}
.boot__dot {
  width: 0.78em; height: 0.78em;
  border-radius: 50%;
  background: var(--bubble);
  border: 3px solid var(--ink);
  animation: bootDot 1.05s ease-in-out infinite;
}
.boot__bar {
  width: min(13rem, 48vw);
  height: 0.72rem;
  border: var(--edge);
  background: #fff;
  overflow: hidden;
}
.boot__barFill {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--lime);
  border-right: 3px solid var(--ink);
  animation: bootBar 1.25s cubic-bezier(.65,.05,.36,1) infinite;
}
.boot__note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@keyframes bootDot {
  0%, 100% { transform: translateY(0) scale(1); }
  45%      { transform: translateY(-0.32em) scale(1.06); }
}
@keyframes bootBar {
  0%   { transform: translateX(-105%); }
  100% { transform: translateX(255%); }
}

@media (prefers-reduced-motion: reduce) {
  .boot { transition-duration: 160ms; }
  .boot__dot { animation: none; }
  .boot__barFill { animation: none; width: 100%; }
}

/* ------------------------------------------------- cookie banner + legali */

.cookiebar {
  position: fixed;
  z-index: 90;
  left: var(--gut);
  right: var(--gut);
  bottom: clamp(0.9rem, 3vw, 1.6rem);
  max-width: 46rem;
  margin-inline: auto;
  background: var(--cream);
  color: var(--ink);
  border: var(--edge);
  border-radius: 18px;
  box-shadow: var(--pop);
  padding: clamp(1rem, 3vw, 1.4rem);
  display: grid;
  gap: 0.9rem;
  animation: cookiebar-in 0.42s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes cookiebar-in {
  from { opacity: 0; transform: translateY(24px) rotate(-0.6deg); }
  to   { opacity: 1; transform: none; }
}

.cookiebar__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  color: var(--tangerine);
}

.cookiebar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin: 0;
  line-height: 1.15;
}

.cookiebar__text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.cookiebar__text a { color: var(--ink); text-underline-offset: 3px; }

.cookiebar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookiebar__actions .btn { font-size: 0.9rem; padding: 0.6rem 1.15rem; }

.legal {
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
}

.legal__inner { max-width: 46rem; }

.legal__back {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tangerine);
  text-decoration: none;
}

.legal__back:hover { text-decoration: underline; }

.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.02;
  margin: 1rem 0 0.4rem;
}

.legal__meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0 0 2.2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  margin: 2.4rem 0 0.6rem;
}

.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.1rem; }
.legal li { margin-bottom: 0.35rem; }
.legal a { color: var(--ink); }

.legal__card {
  margin-top: 2.8rem;
  background: var(--lime);
  border: var(--edge);
  border-radius: 18px;
  box-shadow: var(--pop-sm);
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.legal__card p { color: var(--ink); margin: 0 0 0.9rem; }
