/* ==========================================================================
   MyWaterPal — site vitrine
   Concept: the page is a dive. Surface light at the top, deep water at the
   bottom. Liquid-glass cards float at every depth; Pal swims with you.
   ========================================================================== */

:root {
  --aqua-100: #F4FBFF;
  --aqua-200: #DFF3FF;
  --aqua-300: #BFE7FF;
  --blue: #1E88E5;
  --accent: #007AFF;
  --deep: #0E4D8F;
  --deepest: #062A52;
  --ink: #0B2B45;
  --ink-soft: rgba(11, 43, 69, 0.66);
  --white-ink: #F2FAFF;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.7);
  --radius: 26px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  /* The dive: surface → seabed */
  background:
    linear-gradient(180deg,
      var(--aqua-100) 0%,
      var(--aqua-200) 22%,
      var(--aqua-300) 44%,
      #8FCBF5 62%,
      #2E7BC4 80%,
      var(--deep) 90%,
      var(--deepest) 100%);
}

::selection { background: rgba(0, 122, 255, 0.25); }

img { display: block; }

/* ============================ Bubbles decor ============================ */

.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bubbles span {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.85), rgba(255,255,255,.12) 58%, transparent 70%);
  border: 1px solid rgba(255,255,255,.35);
  animation: bubble-rise linear infinite;
  opacity: 0;
}
.bubbles span:nth-child(1)  { left: 6%;  width: 14px; height: 14px; animation-duration: 11s; }
.bubbles span:nth-child(2)  { left: 16%; width: 8px;  height: 8px;  animation-duration: 14s; animation-delay: 3s; }
.bubbles span:nth-child(3)  { left: 27%; width: 18px; height: 18px; animation-duration: 13s; animation-delay: 6s; }
.bubbles span:nth-child(4)  { left: 38%; width: 10px; height: 10px; animation-duration: 16s; animation-delay: 1.5s; }
.bubbles span:nth-child(5)  { left: 52%; width: 13px; height: 13px; animation-duration: 12s; animation-delay: 8s; }
.bubbles span:nth-child(6)  { left: 63%; width: 7px;  height: 7px;  animation-duration: 15s; animation-delay: 4s; }
.bubbles span:nth-child(7)  { left: 72%; width: 16px; height: 16px; animation-duration: 12.5s; animation-delay: 9s; }
.bubbles span:nth-child(8)  { left: 82%; width: 9px;  height: 9px;  animation-duration: 17s; animation-delay: 2s; }
.bubbles span:nth-child(9)  { left: 90%; width: 12px; height: 12px; animation-duration: 13.5s; animation-delay: 6.5s; }
.bubbles span:nth-child(10) { left: 45%; width: 6px;  height: 6px;  animation-duration: 18s; animation-delay: 11s; }

@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: .7; }
  50%  { transform: translateY(-55vh) translateX(14px); }
  92%  { opacity: .6; }
  100% { transform: translateY(-110vh) translateX(-8px); opacity: 0; }
}

/* ============================ Depth marks ============================ */

.depth-mark {
  position: absolute;
  top: 28px;
  left: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(11, 43, 69, 0.35);
  writing-mode: vertical-rl;
  user-select: none;
}
.depth-mark::before {
  content: "";
  display: block;
  width: 1px;
  height: 38px;
  margin: 0 auto 10px;
  background: linear-gradient(rgba(11,43,69,0), rgba(11,43,69,.3));
}
.depth-mark-light { color: rgba(242, 250, 255, 0.5); }
.depth-mark-light::before { background: linear-gradient(rgba(242,250,255,0), rgba(242,250,255,.45)); }

/* ============================ Glass ============================ */

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow:
    0 14px 38px rgba(13, 71, 130, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.glass-deep {
  background: rgba(8, 38, 74, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(2, 18, 40, 0.45), inset 0 1px 0 rgba(255,255,255,.25);
  color: var(--white-ink);
}

/* ============================ Buttons ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: scale(.97); }

.btn-solid {
  color: #fff;
  background: linear-gradient(160deg, #2E9BFF, var(--accent) 55%, #0063D1);
  box-shadow: 0 10px 26px rgba(0, 122, 255, 0.38), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 122, 255, 0.46), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-solid:disabled { opacity: .45; pointer-events: none; }

.btn-glass {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(13, 71, 130, 0.12);
}
.btn-glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.78); }

.btn-big { padding: 16px 30px; font-size: 17px; }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* Official App Store badge (Apple marketing guidelines: no restyling) */
.store-badge-link { display: inline-flex; align-self: center; transition: transform .18s ease; }
.store-badge-link:hover { transform: translateY(-2px); }
.store-badge { height: 54px; width: auto; display: block; }

/* ============================ Nav ============================ */

.nav {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(13, 71, 130, 0.12);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}

.nav-links { display: none; gap: 22px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn { display: none; }

.lang-switch {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-switch button.is-active { background: var(--accent); color: #fff; }

/* ============================ Layout ============================ */

.container {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
}

section { position: relative; padding: 84px 0; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-align: center;
}
.section-sub {
  max-width: 560px;
  margin: 14px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 17px;
}
.section-title-light { color: var(--white-ink); }
.section-sub-light { color: rgba(242, 250, 255, 0.75); }

/* ============================ Hero ============================ */

.hero { padding: 130px 0 90px; }

.hero-inner {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.18);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 7.4vw, 64px);
  line-height: 1.07;
  letter-spacing: -0.015em;
  max-width: 13ch;
  margin-top: 14px;
}

.hero-sub {
  max-width: 460px;
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 26px;
  width: 100%;
  max-width: 360px;
}

.hero-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }

/* Pal */
.hero-pal { position: relative; margin-top: 8px; }
.pal-float { animation: pal-bob 3.6s ease-in-out infinite; }
.pal-shadow {
  width: 110px;
  height: 16px;
  margin: 4px auto 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(13, 71, 130, 0.22), transparent 70%);
  animation: pal-shadow 3.6s ease-in-out infinite;
}

@keyframes pal-bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}
@keyframes pal-shadow {
  0%, 100% { transform: scaleX(1); opacity: .9; }
  50%      { transform: scaleX(.78); opacity: .55; }
}

.pal-eyes { animation: pal-blink 4.4s infinite; transform-origin: 50px 68px; }
@keyframes pal-blink {
  0%, 91%, 100% { transform: scaleY(1); }
  93%, 96%      { transform: scaleY(0.08); }
}

/* Pal result expressions: swap the mouth */
.pal-happy .pal-mouth { d: path("M40 82 Q 50 94 60 82"); }
.pal-ok .pal-mouth    { d: path("M42 84 Q 50 89 58 84"); }
.pal-sad .pal-mouth   { d: path("M42 88 Q 50 81 58 88"); }

/* ============================ Why ============================ */

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 44px;
}
.stat { padding: 26px 24px; text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
}
.stat-num small { font-size: 26px; font-weight: 700; margin-left: 2px; }
.stat p { margin-top: 8px; color: var(--ink-soft); font-size: 15.5px; }

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
.benefit { padding: 24px; }
.benefit-ico { font-size: 28px; }
.benefit h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-top: 10px; }
.benefit p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }

/* ============================ Features ============================ */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 44px;
}
.feature { padding: 28px 24px; }
.feature h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-top: 12px; }
.feature p { color: var(--ink-soft); font-size: 15px; margin-top: 7px; }
.feature-ico { font-size: 30px; }

.score-demo-arc { animation: score-sweep 2.6s ease-out both; }
@keyframes score-sweep { from { stroke-dashoffset: 314; } to { stroke-dashoffset: 60; } }

.pee-scale { display: flex; gap: 7px; }
.pee-scale span {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(11, 43, 69, 0.12);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.5);
}
.pee-scale .is-target { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ============================ Quiz ============================ */

.quiz-section { padding-bottom: 110px; }

.quiz {
  margin: 44px auto 0;
  max-width: 560px;
  padding: 30px 22px 34px;
  position: relative;
  overflow: hidden;
}

.quiz-screen { display: none; }
.quiz-screen.is-active { display: block; animation: screen-in .4s ease both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.quiz-intro { text-align: center; }
.quiz-intro .pal-mini { margin-inline: auto; animation: pal-bob 3.6s ease-in-out infinite; }
.quiz-intro-line { margin: 18px auto 24px; max-width: 40ch; color: rgba(242, 250, 255, 0.82); font-size: 16px; }

.quiz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.quiz-back {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
  color: var(--white-ink);
  font-size: 17px;
  cursor: pointer;
  transition: background .15s;
}
.quiz-back:hover { background: rgba(255,255,255,.22); }

.quiz-progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7FD8FF, #2E9BFF);
  transition: width .35s ease;
}
.quiz-count { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: rgba(242,250,255,.7); }

.quiz-section-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7FD8FF;
}
.quiz-q {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 4.6vw, 28px);
  line-height: 1.15;
  margin-top: 8px;
}
.quiz-s { color: rgba(242, 250, 255, 0.7); font-size: 14.5px; margin-top: 7px; }

.quiz-body { margin-top: 22px; display: grid; gap: 10px; }
.quiz-body.slide-in { animation: body-in .35s ease both; }
.quiz-body.slide-in-rev { animation: body-in-rev .35s ease both; }
@keyframes body-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes body-in-rev { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }

.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--white-ink);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 15px 18px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s;
}
.opt:hover { background: rgba(255,255,255,.17); }
.opt:active { transform: scale(.985); }
.opt.is-selected {
  background: rgba(0, 122, 255, 0.4);
  border-color: #7FD8FF;
  box-shadow: 0 0 0 3px rgba(127, 216, 255, 0.25);
}
.opt small { color: rgba(242,250,255,.65); font-weight: 500; font-size: 13.5px; }

.opt-pee { justify-content: flex-start; }
.opt-pee i {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.45);
}
.opt-pee em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7FD8FF;
}

.slider-wrap { text-align: center; padding: 8px 4px 6px; }
.big-value { font-family: var(--font-display); margin-bottom: 18px; }
.big-value strong { font-size: 64px; font-weight: 800; line-height: 1; }
.big-value span { font-size: 20px; font-weight: 700; color: rgba(242,250,255,.65); margin-left: 7px; }

input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #BDEAFF, #2E9BFF 70%);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 14px rgba(0, 60, 130, 0.45);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #BDEAFF, #2E9BFF 70%);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 14px rgba(0, 60, 130, 0.45);
  cursor: grab;
}

.unit-toggle {
  display: inline-flex;
  gap: 2px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 16px;
}
.unit-toggle button {
  border: none;
  background: transparent;
  color: rgba(242,250,255,.7);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.unit-toggle button.is-active { background: var(--accent); color: #fff; }

.quiz-next { width: 100%; margin-top: 24px; }

/* ====================== Result ====================== */

.quiz-result { text-align: center; }
.result-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7FD8FF;
}

.result-ring-wrap { position: relative; width: 180px; margin: 18px auto 0; }
.result-ring circle { transition: stroke .4s; }
#resultArc { transition: none; }
.result-score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
}
.result-score span { font-size: 56px; line-height: 1; }
.result-score small { font-size: 17px; color: rgba(242,250,255,.6); margin-top: 18px; }

.result-verdict { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-top: 16px; }
.result-deficit { color: rgba(242,250,255,.75); font-size: 15px; margin-top: 6px; }

.result-goals {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.result-goal {
  flex: 1;
  max-width: 180px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 14px 10px;
}
.result-goal-accent { background: rgba(0,122,255,.32); border-color: rgba(127,216,255,.6); }
.result-goal-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,250,255,.65); }
.result-goal-value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-top: 4px; }

.result-cta {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.result-cta .pal-mini { margin: 0 auto 6px; animation: pal-bob 3.6s ease-in-out infinite; }
.result-cta h4 { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.result-cta p { color: rgba(242,250,255,.75); font-size: 15px; margin: 8px auto 18px; max-width: 38ch; }

.result-retake {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: rgba(242,250,255,.65);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.result-retake:hover { color: #fff; }

.result-disclaimer { font-size: 11.5px; color: rgba(242,250,255,.45); margin-top: 18px; }

/* ============================ Footer ============================ */

.footer {
  position: relative;
  text-align: center;
  color: var(--white-ink);
  padding: 70px 20px 46px;
}
.footer img { margin: 0 auto; }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-top: 10px; }
.footer-tag { color: rgba(242,250,255,.65); font-size: 15px; margin: 4px 0 22px; }
.footer .btn-glass { color: var(--ink); }
.footer-legal { font-size: 12.5px; color: rgba(242,250,255,.4); margin-top: 30px; }

/* ============================ Reveals ============================ */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================ Breakpoints ============================ */

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; width: auto; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quiz { padding: 38px 36px 42px; }
}

@media (min-width: 920px) {
  .nav { left: 50%; right: auto; transform: translateX(-50%); width: min(1040px, calc(100% - 32px)); }
  .nav-links { display: flex; }
  .nav-right .btn { display: inline-flex; }

  .hero { padding: 170px 0 110px; }
  .hero-inner {
    flex-direction: row-reverse;
    text-align: left;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-copy { max-width: 560px; }
  .hero-actions { justify-content: flex-start; }
  .hero-pal { margin-top: 0; }
  .hero-pal .pal { width: 250px; height: 280px; }

  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; }
  .feature-wide .score-demo { grid-row: span 2; }
  .feature-wide h3 { margin-top: 0; align-self: end; }
  .feature-wide p { align-self: start; }

  .depth-mark { left: calc(50% - 620px); }
}

/* ============================ Motion safety ============================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pal-float, .pal-shadow, .quiz-intro .pal-mini, .result-cta .pal-mini,
  .bubbles span, .pal-eyes, .score-demo-arc { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
