/* Mujawib — single stylesheet, serves RTL (ar) and LTR (en) via logical properties */

/* ---------- Fonts: IBM Plex Sans Arabic, self-hosted ---------- */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-arabic-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-arabic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-arabic-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-arabic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plex-arabic-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plex-arabic-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0E1412;
  --surface: #161F1B;
  --text: #F2EFE9;
  --muted: #9BA69F;
  --accent: #C9A961;
  --wa-green: #1FA855;
  --border: #232E28;
  --hairline: #1A231E;
  --maxw: 1080px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(1100px 540px at 50% -8%, #182420, var(--bg) 68%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #101511; }

a { color: var(--accent); }

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

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Header ---------- */
.site-header { padding-block: 28px 12px; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}

.wordmark i { color: var(--accent); font-style: normal; }

.lang-toggle {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .lang-toggle:hover { color: var(--accent); border-color: var(--accent); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(80px, 10vw, 120px); }

.hero .wrap {
  display: grid;
  gap: 64px;
  align-items: center;
}

@media (min-width: 920px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; }
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.4rem);
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.95;
  max-width: 32em;
  margin: 0 0 38px;
  text-wrap: pretty;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #101511;
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 38px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #D8BB76; }
}
.btn:active { transform: scale(0.97); }

/* Hero load-in — gated behind html.anim (set by JS when motion is allowed).
   `backwards` fill: initial state only lives in the keyframe, so once the
   animation ends the elements return to natural styles and transitions
   (button press, hover) work untouched. */
.anim .hero-copy > * { animation: rise-in 0.7s var(--ease-out) backwards; }
.anim .hero-copy .hero-sub { animation-delay: 0.09s; }
.anim .hero-copy .btn { animation-delay: 0.18s; }
.anim .phone-col { animation: fade-in 0.9s ease 0.2s backwards; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

/* ---------- Phone mockup ---------- */
.phone-col { position: relative; perspective: 1200px; }

.phone {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 10px;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65);
}

.phone-badge {
  position: absolute;
  top: -16px;
  inset-inline-start: 22px;
  z-index: 2;
  background: #0B100E;
  border: 1px solid rgba(201, 169, 97, 0.5);
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.chat-screen {
  background: #0B100E;
  border-radius: 24px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #121B16;
  border-bottom: 1px solid var(--hairline);
}

.chat-avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1C4A33;
  color: #A9DDBD;
  font-size: 1rem;
  font-weight: 500;
  display: grid;
  place-items: center;
}

.chat-title { font-size: 0.95rem; font-weight: 500; line-height: 1.3; }
.chat-status { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px 24px;
}

.msg {
  max-width: 85%;
  padding: 9px 13px 7px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.8;
}

.msg p { margin: 0; }

/* Chat is always dir="rtl" (Arabic conversation): flex-start = right, flex-end = left */
.msg--user {
  align-self: flex-start;
  background: #242E29;
  border-start-start-radius: 4px;
}

.msg--bot {
  align-self: flex-end;
  background: #113828;
  color: #EAF4EC;
  border-start-end-radius: 4px;
}

.msg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 2px;
  font-size: 0.67rem;
  color: #8FA396;
  line-height: 1;
}

.msg-meta svg { display: block; fill: var(--wa-green); }

/* Typing indicator — hidden until the script turns it on */
.typing {
  display: none;
  align-self: flex-end;
  background: #113828;
  border-radius: 16px;
  border-start-end-radius: 4px;
  padding: 13px 16px;
  gap: 5px;
}

.typing.on { display: flex; }

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7FBF9A;
  animation: typing-blink 1.1s infinite both;
}

.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing-blink {
  0%, 70%, 100% { opacity: 0.25; }
  35% { opacity: 1; }
}

/* Reveal states — applied only when the script is running */
.chat-messages.is-playing .msg { opacity: 0; transform: translateY(10px); }

.chat-messages.is-playing .msg.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out);
}

.chat-caption {
  margin: 20px auto 0;
  max-width: 400px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---------- Scroll reveals (gated behind html.anim, added by JS) ---------- */
.anim .reveal { opacity: 0; transform: translateY(18px); }

.anim .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.anim .rgroup > * { opacity: 0; transform: translateY(18px); }

.anim .rgroup.in > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.anim .rgroup.in > *:nth-child(2) { transition-delay: 0.07s; }
.anim .rgroup.in > *:nth-child(3) { transition-delay: 0.14s; }
.anim .rgroup.in > *:nth-child(4) { transition-delay: 0.21s; }
.anim .rgroup.in > *:nth-child(5) { transition-delay: 0.28s; }
.anim .rgroup.in > *:nth-child(6) { transition-delay: 0.35s; }

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(88px, 11vw, 128px);
  border-top: 1px solid var(--hairline);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 56px;
  text-wrap: balance;
}

.section h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--accent);
  margin-block-end: 18px;
}

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 44px;
}

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

.step-num {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-block-end: 16px;
}

.steps h3 { font-size: 1.12rem; font-weight: 500; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.85; }

/* Who it's for */
.audience-lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); font-weight: 500; margin: 0; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
}

.chips li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.95rem;
  color: var(--text);
}

/* ---------- Why it's different: illustrated vignettes ---------- */
.diff {
  display: grid;
  gap: 72px;
}

@media (min-width: 820px) {
  .diff { grid-template-columns: repeat(2, 1fr); column-gap: 88px; row-gap: 88px; }
}

.diff-item h3 { font-size: 1.15rem; font-weight: 700; margin: 26px 0 10px; }
.diff-item > p { margin: 0; color: var(--muted); line-height: 1.9; max-width: 30em; }

.vig {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Vignette 1 — the 48h arc */
.vig--install svg { width: 150px; height: 150px; transform: rotate(-90deg); }

.vig--install .track { fill: none; stroke: var(--border); stroke-width: 5; }

.vig--install .prog {
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
}

.anim .diff.in .vig--install .prog {
  stroke-dashoffset: 49;
  transition: stroke-dashoffset 1.6s 0.3s var(--ease-in-out);
}

html:not(.anim) .vig--install .prog { stroke-dashoffset: 49; }

.vig-arc-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.vig-arc-label b { font-size: 2.2rem; font-weight: 700; }
.vig-arc-label span { font-size: 0.85rem; color: var(--muted); }

/* Vignette 2 — your number stays */
.vig--number { flex-direction: column; gap: 26px; }

.num-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  position: relative;
}

.num-pill::after {
  content: "";
  position: absolute;
  inset-inline: 26px;
  bottom: 7px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

[dir="rtl"] .num-pill::after { transform-origin: 100% 50%; }

.anim .diff.in .num-pill::after {
  transform: scaleX(1);
  transition: transform 0.9s 0.5s var(--ease-in-out);
}

html:not(.anim) .num-pill::after { transform: scaleX(1); }

.num-team { display: flex; align-items: center; }

.num-team .ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.num-team .ava + .ava { margin-inline-start: -8px; }

.num-team .num-link {
  width: 34px;
  height: 1px;
  background: var(--border);
  margin-inline: 6px;
}

.num-team .ava--ai {
  background: var(--accent);
  border-color: var(--accent);
  color: #101511;
  font-weight: 700;
  margin-inline-start: 0;
}

/* Vignette 3 — the approval demo (interactive) */
.vig--approve { flex-direction: column; align-items: stretch; gap: 10px; height: auto; }

.vig-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.approve-demo {
  position: relative;
  height: 168px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.demo-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 24px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  filter: blur(4px);
  transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s var(--ease-out);
}

.demo-face.show {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}

/* No JS: the demo rests in its completed state */
html:not(.js) .demo-pending { display: none; }
html:not(.js) .demo-approved {
  opacity: 1;
  transform: none;
  filter: none;
}

.demo-kicker {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.demo-body { font-size: 1rem; font-weight: 500; }

.demo-sub { font-size: 0.85rem; color: var(--muted); }

.demo-actions { display: flex; gap: 10px; margin-top: 8px; }

.demo-actions button {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 9px 24px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s var(--ease-out);
}

.demo-actions button:active { transform: scale(0.96); }

.demo-actions .act-ok {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #101511;
}

.demo-actions .act-no {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .demo-actions .act-ok:hover { background: #D8BB76; }
  .demo-actions .act-no:hover { border-color: var(--muted); color: var(--text); }
}

.demo-result { display: flex; align-items: center; gap: 14px; }

.demo-check { flex: none; }

.demo-check circle {
  fill: none;
  stroke: rgba(201, 169, 97, 0.35);
  stroke-width: 2;
}

.demo-check path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}

.demo-face.show .demo-check path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.45s 0.2s var(--ease-out);
}

html:not(.js) .demo-check path { stroke-dashoffset: 0; }

.demo-check--no circle { stroke: rgba(155, 166, 159, 0.35); }
.demo-check--no path { stroke: var(--muted); stroke-dasharray: 42; stroke-dashoffset: 42; }
.demo-face.show .demo-check--no path { stroke-dashoffset: 0; }

.demo-result-title { font-size: 1rem; font-weight: 700; margin: 0; }
.demo-result-sub { font-size: 0.85rem; color: var(--muted); margin: 2px 0 0; }

.demo-reset {
  font: inherit;
  font-size: 0.8rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
  margin-top: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .demo-reset:hover { color: var(--accent); }
}

/* Vignette 4 — the monthly report */
.vig--report { align-items: flex-end; gap: 34px; padding-block-end: 4px; }

.vig--report .bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  justify-content: flex-end;
}

.vig--report .bar i {
  display: block;
  width: 44px;
  height: calc(var(--h) * 128px);
  border-radius: 8px 8px 3px 3px;
  background: #35473D;
  transform: scaleY(0);
  transform-origin: 50% 100%;
}

.vig--report .bar--hi i { background: var(--accent); }

.anim .diff.in .vig--report .bar i {
  transform: scaleY(1);
  transition: transform 0.8s 0.35s var(--ease-in-out);
}

.anim .diff.in .vig--report .bar:nth-child(2) i { transition-delay: 0.47s; }
.anim .diff.in .vig--report .bar:nth-child(3) i { transition-delay: 0.59s; }

html:not(.anim) .vig--report .bar i { transform: scaleY(1); }

.vig--report .bar span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Trust ---------- */
.trust { text-align: center; }

.trust::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 44px;
}

.trust p {
  max-width: 640px;
  margin-inline: auto;
  margin-block: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 2;
  text-wrap: balance;
}

.vig--trust {
  height: auto;
  gap: 0;
  margin: 0 auto 40px;
  max-width: 480px;
}

.tv-bubble {
  background: #242E29;
  border-radius: 14px;
  border-start-start-radius: 4px;
  padding: 9px 18px;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
}

.tv-line {
  flex: 1;
  min-width: 40px;
  height: 1px;
  margin-inline: 10px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 10px);
  opacity: 0.55;
  position: relative;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

[dir="rtl"] .tv-line { transform-origin: 100% 50%; }

.anim .trust.in .tv-line {
  transform: scaleX(1);
  transition: transform 0.7s 0.4s var(--ease-in-out);
}

html:not(.anim) .tv-line { transform: scaleX(1); }

.tv-line::after {
  content: "";
  position: absolute;
  inset-inline-end: -1px;
  top: -4px;
  border-block: 4.5px solid transparent;
  border-inline-start: 7px solid var(--accent);
}

.tv-team {
  border: 1px solid rgba(201, 169, 97, 0.55);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- Who's behind it ---------- */
.behind p {
  max-width: 34em;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.95;
}

.email-cta {
  display: inline-block;
  margin-top: 28px;
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 12px;
  padding: 12px 28px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .email-cta:hover { border-color: var(--accent); background: rgba(201, 169, 97, 0.08); }
}
.email-cta:active { transform: scale(0.97); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: 36px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.site-footer a { color: var(--muted); text-underline-offset: 3px; transition: color 0.2s ease; }

@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: var(--accent); }
}

/* ---------- Privacy page ---------- */
.prose { max-width: 720px; padding-block: clamp(40px, 6vw, 72px) clamp(88px, 11vw, 124px); }

.prose h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.4; margin: 0 0 8px; }

.prose .effective { color: var(--muted); font-size: 0.95rem; margin: 0 0 56px; }

.prose h2 { font-size: 1.25rem; font-weight: 700; margin: 48px 0 14px; }

.prose h2::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  margin-block-end: 14px;
}

.prose p { color: var(--text); line-height: 1.95; margin: 0 0 16px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chat-messages.is-playing .msg { opacity: 1; transform: none; }
  .typing { display: none !important; }
  /* html.anim is never set when reduced motion is on (JS checks), but keep a
     CSS-only belt-and-suspenders for the states that hide content */
  .anim .reveal, .anim .rgroup > * { opacity: 1; transform: none; }
  .anim .hero-copy > *, .anim .phone-col { animation: none; }
}
