/* Upscale Labs — one-page site. Mobile first, logical properties for a future RTL version.
   One style: left-aligned and editorial, system sans, cream and terracotta, hairline cards, one dark band.
   Every colour, size and font is a variable below. Sections can carry .band-alt (alternate background)
   or .band-dark (dark band) or .band-accent (terracotta band); the colour variables are re-defined inside those bands, so every
   component follows automatically.
   The booking button is the only solid button and the only element with a shadow.
   #A04A2C is the accent for text and the booking button; #CC785C is for decorative fills (and the dark band).
   Motion uses transform and opacity only (two small exceptions: the icon and tick stroke
   draw-in and the FAQ answer height), inside prefers-reduced-motion: no-preference. Hidden start states
   only apply under .js, which the page removes again if the script fails. */

@font-face {            /* fallback where the first fonts in the stack are not installed, e.g. Android */
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #FAF9F5;            --bg-rgb: 250, 249, 245;
  --surface: #FFFFFF;
  --well: #F0EEE6;          --well-line: 1px solid rgba(20, 20, 19, 0.10);
  --paper: #FFFFFF;         --paper-line: 1px solid rgba(20, 20, 19, 0.10);
  --line: rgba(20, 20, 19, 0.10);
  --text: #141413;          --text-rgb: 20, 20, 19;
  --soft: #3D3D3A;          --muted: #6B6A63;
  --em: #A04A2C;            /* accent text: matches the booking button */
  --logo-accent: #CC785C;
  --line-accent: #CC785C;   /* decorative fills only */
  --tick: #A04A2C;
  --status: #A04A2C;
  --link: #141413;          --link-hover: #A04A2C;   --link-deco: underline;   --link-line: rgba(20, 20, 19, 0.45);
  --header-bg: rgba(250, 249, 245, 0.9);
  --btn-bg: #A04A2C;        --btn-bg-hover: #8C3F25;   --btn-text: #FAF9F5;   --btn-border: transparent;
  --btn-shadow: 0 2px 10px rgba(160, 74, 44, 0.25);
  --btn2-bg: transparent;   --btn2-bg-hover: rgba(20, 20, 19, 0.06);   --btn2-text: #141413;   --btn2-border: #141413;
  --btn-radius: 8px;        --btn-pad: 13px 22px;      --btn-size: 15px;      --btn-w: 600;
  --btn-ls: 0;              --btn-transform: none;
  --btn-small-pad: 0 14px;  --btn-small-size: 13px;    --btn-small-h: 36px;
  --chat-bg: #FFFFFF;       --chat-line: 1px solid rgba(20, 20, 19, 0.10);
  --in-bg: #F0EEE6;         --in-text: #141413;        --in-line: 0 solid transparent;
  --out-bg: #F3E7DF;        --out-text: #141413;       --out-line: 0 solid transparent;
  --tag-bg: #F3E7DF;        --tag-line: 0 solid transparent;      --tag-pad: 5px 9px;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --heading-transform: none;
  --h1: min(40px, 9.6vw);   --h1-w: 600;   --h1-lh: 1.07;   --h1-ls: -0.015em;
  --h2: 30px;               --h2-w: 600;   --h2-lh: 1.07;   --h2-ls: -0.003em;
  --h3: 20px;               --h3-w: 600;   --h3-lh: 1.2;    --h3-ls: -0.003em;
  --body: 17px;             --body-w: 400; --body-lh: 1.47; --body-ls: -0.022em;
  --lead: 18px;             --lead-w: 400; --lead-lh: 1.47; --lead-color: var(--soft);
  --small: 14px;            --small-lh: 1.5;
  --label-font: var(--font-body);
  --label-size: 12px;       --label-w: 600;   --label-ls: 0.08em;   --label-transform: uppercase;
  --logo-w: 600;            --num: 20px;         /* wordmark weight, step numerals */
  --radius: 12px;           --radius-sm: 8px;    --radius-bubble: 12px;   --radius-chat: 14px;
  --card-line: 1px solid rgba(20, 20, 19, 0.10);
  --maxw: 1120px;           --text-maxw: 720px;
  --gutter: 24px;           --header-h: 60px;
  --section-pad: 64px;      --head-gap: 36px;
  --head-align: start;      --head-maxw: 720px;  --head-margin: 0;
  --cta-align: start;
}
.band-alt { --bg: #F0EEE6; --bg-rgb: 240, 238, 230; --surface: #FAF9F5; --well: #F5F3EC; }
.band-dark {
  --bg: #141413;  --bg-rgb: 20, 20, 19;  --line: rgba(250, 249, 245, 0.14);
  --text: #FAF9F5;  --text-rgb: 250, 249, 245;  --soft: #E3E1D8;  --muted: #B0AEA5;
  /* on the dark band the deep terracotta is too dark to read, so the lighter one carries the button and accent text */
  --em: #CC785C;
  --btn-bg: #CC785C;  --btn-bg-hover: #D98A6F;  --btn-text: #141413;  --btn-shadow: none;
  /* cards and their mini mocks on the dark band: dark surface, cream hairlines, terracotta details */
  --surface: #1E1E1C;  --card-line: 1px solid rgba(250, 249, 245, 0.12);
  --well: #141413;  --well-line: 1px solid rgba(250, 249, 245, 0.12);
  --paper: rgba(250, 249, 245, 0.06);  --paper-line: 1px solid rgba(250, 249, 245, 0.12);
  --tick: #CC785C;  --status: #CC785C;  --tag-bg: rgba(204, 120, 92, 0.12);
}
.band-accent {              /* deep terracotta band: cream text, translucent cream cards */
  --bg: #A04A2C;  --bg-rgb: 160, 74, 44;  --surface: rgba(250, 249, 245, 0.08);  --line: rgba(250, 249, 245, 0.22);
  --text: #FAF9F5;  --text-rgb: 250, 249, 245;  --soft: #FAF9F5;  --muted: #FAF9F5;      /* cream at 80% fails AA on this band (4.25:1, 3.72:1 on a card), so text stays full cream */
}
@media (min-width: 768px) {
  :root { --h1: 64px;  --h2: 44px;  --h3: 22px;  --lead: 20px;  --gutter: 48px;  --section-pad: 112px;  --head-gap: 56px; }
}
@media (min-width: 1024px) {      /* two-column hero: keep each sentence on one line */
  :root { --h1: min(64px, 5.4vw); }
}

/* =====================================================================
   Shared structure (everything below reads the variables above)
   ===================================================================== */
:root {
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dir: 1;
}
[dir="rtl"] { --dir: -1; }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: var(--body-w);
  line-height: var(--body-lh);
  letter-spacing: var(--body-ls);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, .pcard-line, .problem-answer {
  font-family: var(--font-display);
  text-transform: var(--heading-transform);
  text-wrap: balance;
}
h1 { font-size: var(--h1); font-weight: var(--h1-w); line-height: var(--h1-lh); letter-spacing: var(--h1-ls); }
h2, .problem-answer { font-size: var(--h2); font-weight: var(--h2-w); line-height: var(--h2-lh); letter-spacing: var(--h2-ls); }
h3, .pcard-line { font-size: var(--h3); font-weight: var(--h3-w); line-height: var(--h3-lh); letter-spacing: var(--h3-ls); }

h2 { margin-block-end: var(--head-gap); }
.section h2 { max-width: var(--head-maxw); margin-inline: var(--head-margin); text-align: var(--head-align); }

a { color: inherit; }
svg { display: block; }

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

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: calc(var(--text-maxw) + 2 * var(--gutter)); }

.section { padding-block: var(--section-pad); }
.band-alt, .band-dark, .band-accent { background: var(--bg); color: var(--text); }

.small { font-size: var(--small); line-height: var(--small-lh); color: var(--muted); }

/* Small labels: eyebrows, tags and statuses */
.eyebrow, .chat-head, .chat-tag, .b-tag, .m-meta {
  color: var(--muted);
  font-family: var(--label-font);
  font-size: var(--label-size);
  font-weight: var(--label-w);
  letter-spacing: var(--label-ls);
  line-height: 1.33;
  text-transform: var(--label-transform);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--btn-pad);
  border: 1px solid var(--btn-border);
  border-radius: var(--btn-radius);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: var(--btn-size);
  font-weight: var(--btn-w);
  letter-spacing: var(--btn-ls);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: var(--btn-transform);
  box-shadow: var(--btn-shadow);
  isolation: isolate;
  transition: transform 0.3s var(--ease);
}
.btn::after {            /* hover fill, faded in with opacity */
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-bg-hover);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn:hover::after { opacity: 1; }
}
.btn:active { transform: none; }
.btn:active::after { opacity: 1; }

.btn-small {
  min-height: var(--btn-small-h);
  padding: var(--btn-small-pad);
  font-size: var(--btn-small-size);
  white-space: nowrap;
}
.btn-small::before { content: ""; position: absolute; inset: -8px 0; }   /* keeps a 44px tap target */

.btn-outline { border: 1.5px solid var(--btn2-border); background: var(--btn2-bg); color: var(--btn2-text); box-shadow: none; }
.btn-outline::after { inset: -1.5px; background: var(--btn2-bg-hover); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--link);
  text-decoration: var(--link-deco);
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--link-hover); text-decoration-line: underline; }
.text-link .arrow { display: inline-block; margin-inline-start: 0.3em; transition: transform 0.35s var(--ease); }
.text-link:hover .arrow, .text-link:focus-visible .arrow { transform: translateY(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
}
.site-header::before {      /* background and hairline: fade in after the first scroll */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-block-end: 1px solid var(--line);
  transition: opacity 0.5s var(--ease);
}
.js .site-header:not(.is-scrolled)::before { opacity: 0; }

/* Reading progress (added by the script) */
.progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 25;
  height: 2px;
  background: var(--line-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
[dir="rtl"] .progress { transform-origin: 100% 50%; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  flex: none;
  height: 44px;
  text-decoration: none;
}
.site-header .btn { display: none; }      /* phones: one booking button on screen at a time */
.logo svg { width: auto; height: 22px; overflow: visible; }   /* the 27-unit viewBox is the mark's own height, so it centres with the button */
.logo-text { font-family: var(--font-display); font-size: 22px; font-weight: var(--logo-w); letter-spacing: 0; }
.logo-mark, .logo-labs { fill: var(--logo-accent); }
.logo-word { fill: var(--text); }
.logo-stroke { fill: none; stroke: var(--logo-accent); stroke-width: 28; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { padding-block: 48px 64px; }
.hero h1 span { display: block; }
.hero h1 span:last-child,
.demo-frame h2 span:last-child,
.problem-answer .nb:last-child { color: var(--em); }
.hero-sub {
  max-width: 34rem;
  margin-block-start: 1.5rem;
  color: var(--lead-color);
  font-size: var(--lead);
  font-weight: var(--lead-w);
  line-height: var(--lead-lh);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  margin-block: 2rem 0.75rem;
}
.hero-actions .text-link { justify-content: center; }
.hero-book { display: flex; flex-direction: column; gap: 6px; }
.hero-book .small { text-align: center; }

/* Service tags: one quiet row under the hero, wraps on phones */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-block-start: 3rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--small);
  line-height: var(--small-lh);
}
.service-tags li:not(:last-child)::after { content: "\00B7"; margin-inline: 0.6em; }

/* Chat mock */
.chat-wrap {
  width: 100%;
  max-width: 372px;
  margin: 3.5rem auto 0;
  text-align: start;
}
.chat {
  overflow: hidden;
  padding-block-end: 20px;
  border: var(--chat-line);
  border-radius: var(--radius-chat);
  background: var(--chat-bg);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-block-end: 1px solid var(--line);
}
.chat-avatar { flex: none; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; background: var(--in-bg); }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 0; }
.chat-msg {
  max-width: 84%;
  padding: 9px 14px;
  border-radius: var(--radius-bubble);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: var(--body-ls);
}
.from-customer { align-self: flex-start; border: var(--in-line); background: var(--in-bg); color: var(--in-text); }
.from-assistant { align-self: flex-end; border: var(--out-line); background: var(--out-bg); color: var(--out-text); }
.chat-slot { position: relative; display: flex; justify-content: flex-end; }
.chat-typing {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  display: flex;
  gap: 5px;
  padding: 15px 16px;
  border: var(--out-line);
  border-radius: var(--radius-bubble);
  background: var(--out-bg);
  opacity: 0;
}
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--out-text); }
.chat-tag {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--tag-pad);
  border: var(--tag-line);
  border-radius: var(--radius-sm);
  background: var(--tag-bg);
  color: var(--status);
}
.chat-tag svg { width: 12px; height: 12px; color: var(--tick); }

/* ---------- The problem ---------- */
/* One dark chapter: the three cards, the timeline and the closing line share the band.
   The top edge fades in from the cream page over 80px instead of a hard line. */
.problem { position: relative; padding-block: calc(var(--section-pad) + 56px) var(--section-pad); }
.problem::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 80px;
  background: linear-gradient(to bottom, #FAF9F5, rgba(250, 249, 245, 0.55) 30%, rgba(250, 249, 245, 0.2) 62%, rgba(250, 249, 245, 0));
  pointer-events: none;
}
.day-wrap { margin-block-start: calc(var(--section-pad) * 0.85); }
.pcards { display: grid; gap: 16px; }
.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--card-line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pcard-line { padding: 4px 24px 28px; }
.mock {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 176px;
  margin-block-end: 20px;
  padding: 24px;
  border-block-end: var(--well-line);
  background: var(--well);
}
.mock > div { width: 100%; max-width: 270px; }
.mock svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bar { display: block; height: 5px; border-radius: 3px; background: rgba(var(--text-rgb), 0.22); }
.bar.short { width: 58%; }

/* Mock 1: seen, no reply */
.m-late { display: flex; flex-direction: column; gap: 9px; }
.m-bubble {
  align-self: flex-start;
  display: grid;
  gap: 7px;
  width: 68%;
  padding: 12px;
  border: var(--paper-line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.m-meta { display: flex; align-items: center; gap: 6px; }
.m-meta svg { width: 16px; height: 16px; }
.m-meta .m-ticks { color: var(--tick); }
.m-meta .m-clock { margin-inline-start: 6px; }
.m-hand { transform-box: view-box; transform-origin: 12px 12px; }
.m-empty {
  align-self: flex-end;
  width: 46%;
  height: 32px;
  border: 1px dashed rgba(var(--text-rgb), 0.4);
  border-radius: var(--radius-sm);
}

/* Mock 2: unconfirmed booking */
.m-booking { display: grid; gap: 8px; }
.b-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: var(--paper-line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--muted);
}
.b-row svg { flex: none; width: 18px; height: 18px; }
.b-row .b-lines { flex: 1; display: grid; gap: 6px; }
.b-ghost { padding-block: 9px; opacity: 0.55; }
.b-tag {
  flex: none;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: calc(var(--label-size) - 1px);
}

/* Mock 3: copying rows between two tables */
.m-copy { position: relative; height: 104px; }
.c-tbl {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 40%;
  border: var(--paper-line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(rgba(var(--text-rgb), 0.09), rgba(var(--text-rgb), 0.09)) 10px 34px / calc(100% - 20px) 12px no-repeat,
    linear-gradient(rgba(var(--text-rgb), 0.09), rgba(var(--text-rgb), 0.09)) 10px 56px / calc(100% - 20px) 12px no-repeat,
    linear-gradient(rgba(var(--text-rgb), 0.09), rgba(var(--text-rgb), 0.09)) 10px 78px / calc(100% - 20px) 12px no-repeat,
    linear-gradient(rgba(var(--text-rgb), 0.22), rgba(var(--text-rgb), 0.22)) 10px 12px / 46% 7px no-repeat,
    var(--paper);
}
.c-tbl-b { inset-inline-start: 60%; }
.c-row {
  position: absolute;
  inset-inline-start: 0;
  width: 40%;
  height: 12px;
  padding-inline: 11px;
}
.c-row::before { content: ""; display: block; height: 100%; border-radius: 2px; background: var(--line-accent); }
.c-row.r1 { inset-block-start: 35px; transform: translateX(calc(150% * var(--dir))); }
.c-row.r2 { inset-block-start: 57px; transform: translateX(calc(150% * var(--dir))); }
.c-row.r3 { inset-block-start: 79px; }

.problem-answer { color: var(--text); }
.problem-answer > span { position: relative; display: inline-block; padding-block-end: 0.4em; }
.problem-answer .nb { display: inline-block; }
.problem-answer > span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 1px;
  background: var(--line-accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--u, 1));
}
[dir="rtl"] .problem-answer > span::after { transform-origin: 100% 50%; }

/* ---------- "A day, handled": timeline in the dark band ---------- */
.day-label { margin-block-end: 2rem; }
.day-list { position: relative; display: grid; gap: 1.75rem; padding-inline-start: 28px; }
.day-list::before,
.day-list::after {          /* the track, and the accent line that draws over it */
  content: "";
  position: absolute;
  inset-block: 10px;
  inset-inline-start: 3px;
  width: 1px;
  background: var(--line);
}
.day-list::after { background: var(--line-accent); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
.day-row { position: relative; display: grid; gap: 4px; }
.day-row::before {
  content: "";
  position: absolute;
  inset-block-start: 7px;
  inset-inline-start: -28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-accent);
}
.day-time { color: var(--text); font-size: var(--small); font-weight: 600; line-height: var(--small-lh); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.day-in { color: var(--muted); }
.day-out { display: flex; align-items: flex-start; gap: 8px; color: var(--em); font-weight: 500; }
.day-out svg { flex: none; width: 15px; height: 15px; margin-block-start: 0.32em; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.day-wrap .problem-answer { margin-block-start: 3.5rem; }

/* ---------- Live demo ---------- */
.demo-frame {
  padding: 36px 24px;
  border: var(--card-line);
  border-radius: var(--radius);
  background: var(--surface);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-block-end: 1.25rem;
}
.live-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--line-accent); }
.demo-frame h2 { margin-block-end: 1.25rem; }
.demo-frame h2 span { display: block; }
.demo-text { max-width: 36rem; color: var(--soft); }
.demo-frame .btn { margin-block: 1.75rem 1rem; }
.sample { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-block-start: 1.75rem; }
.sample-label {
  color: var(--muted);
  font-family: var(--label-font);
  font-size: var(--label-size);
  font-weight: var(--label-w);
  letter-spacing: var(--label-ls);
  line-height: 1.33;
  text-transform: var(--label-transform);
}
.sample-track { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-track span {
  padding: 8px 13px;
  border: var(--in-line);
  border-radius: var(--radius-bubble);
  background: var(--in-bg);
  color: var(--in-text);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- What we build ---------- */
.cards { display: grid; gap: 16px; }
.card {
  position: relative;
  padding: 32px 24px;
  border: var(--card-line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.5s var(--ease);
}
.card::after {             /* darker hairline, faded in on hover */
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(var(--text-rgb), 0.34);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-2px); }
  .card:hover::after { opacity: 1; }
}
.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-block-end: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--tick);
}
.card-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-line { margin-block: 0.75rem 1.5rem; font-weight: 500; line-height: 1.45; }
.ticks li {
  position: relative;
  padding-inline-start: 1.5rem;
  color: var(--soft);
  font-size: calc(var(--body) - 1px);
  line-height: 1.5;
}
.ticks li + li { margin-block-start: 0.75rem; }
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.75em;
  width: 10px;
  height: 1px;
  background: rgba(var(--text-rgb), 0.5);
}

/* ---------- Who it's for: terracotta band, four cards with small looping mocks ---------- */
.who-cards {                 /* phones: swipe row, the next card peeks at the edge */
  display: flex;
  gap: 12px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.who-cards::-webkit-scrollbar { display: none; }
.who-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: calc(var(--body) - 1px);
  line-height: 1.5;
}
.who-card strong { display: block; margin-block-end: 0.3rem; font-size: var(--h3); font-weight: 600; line-height: var(--h3-lh); letter-spacing: var(--h3-ls); }
.who-dots { display: flex; justify-content: center; gap: 8px; margin-block-start: 20px; }
.who-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text); opacity: 0.35; transition: opacity 0.3s var(--ease); }
.who-dots .is-on { opacity: 1; }

/* The mocks: cream shapes only, no words */
.wmock { display: flex; align-items: center; height: 104px; margin-block-end: 18px; color: var(--text); }
.wmock > div { width: 100%; }
.wmock svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wmock .wt { margin-inline-start: auto; stroke-width: 2.6; }
.wmock .bar { width: 46%; background: rgba(var(--text-rgb), 0.5); }
.wm-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wm-cal i { position: relative; height: 22px; border: 1px solid rgba(var(--text-rgb), 0.3); border-radius: 5px; }
.wm-cal .b::after, .wm-cal .f::after { content: ""; position: absolute; inset: 3px; border-radius: 2px; background: currentColor; }
.wm-cal .b::after { opacity: 0.3; }
.wm-rows { display: grid; gap: 6px; }
.wr { display: flex; align-items: center; gap: 10px; height: 28px; padding-inline: 10px; border: 1px solid rgba(var(--text-rgb), 0.22); border-radius: 8px; background: rgba(var(--text-rgb), 0.06); }
.wr:nth-child(2) .bar { width: 34%; }
.wr:nth-child(3) .bar { width: 54%; }
.wa { flex: none; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; }
.wc { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 4px; }
.wc .wt { width: 11px; height: 11px; margin: 0; stroke-width: 3.2; }

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; counter-reset: step; }
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  inset-block: 28px 0;
  inset-inline-start: 27.5px;
  width: 1px;
  background: var(--line);
}
.steps::after { background: var(--line-accent); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
.steps li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
  padding-block-end: 2.75rem;
  color: var(--soft);
  counter-increment: step;
}
.steps li:last-child { padding-block-end: 0; background: var(--bg); }
.steps li::before,
.steps li::after {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: var(--h3-w);
  font-size: var(--num);
  line-height: 1;
  letter-spacing: 0;
}
.steps li::after {         /* the same numeral filled with the accent; fades in when the line reaches it */
  content: counter(step) / "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  border-color: transparent;
  background: var(--btn-bg);
  color: var(--btn-text);
  transition: opacity 0.6s var(--ease);
}
.js .steps li:not(.is-on)::after { opacity: 0; }
.steps strong { display: block; margin-block: 0.25rem 0.5rem; color: var(--text); font-weight: 600; line-height: 1.35; }

/* ---------- FAQ ---------- */
.faq-grid { max-width: calc(var(--text-maxw) + 2 * var(--gutter)); }
.faq details { border-block-end: 1px solid var(--line); }
.faq details:first-child { border-block-start: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding-block: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-inline-end: 4px;
  border-inline-end: 1.5px solid var(--muted);
  border-block-end: 1.5px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.45s var(--ease);
}
.faq details[open]:not(.is-closing) summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding-block-end: 1.5rem; max-width: 36rem; color: var(--soft); }

/* ---------- Final call to action (dark band) ---------- */
.final-cta { position: relative; overflow: hidden; padding-block: var(--section-pad); text-align: var(--cta-align); }
.final-cta .container { position: relative; z-index: 1; }
.cta-wash {                /* very faint accent wash behind the text */
  position: absolute;
  inset-block-start: -35%;
  inset-inline-start: -15%;
  width: min(110vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--line-accent), rgba(var(--bg-rgb), 0));
  opacity: 0.14;
  pointer-events: none;
}
.final-cta h2 { font-size: calc(var(--h2) * 1.15); margin-block-end: 1.5rem; }
.final-cta p { max-width: 30rem; color: var(--soft); text-wrap: balance; }
.final-cta .btn { margin-block-start: 2.25rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 3rem 3.5rem;
  border-block-start: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--small);
  line-height: var(--small-lh);
}
.site-footer p + p { margin-block-start: 0.25rem; }
.footer-brand { color: var(--text); font-weight: 600; text-wrap: balance; margin-block-end: 0.75rem; }
.footer-brand > span { display: block; }       /* phones: name on its own line, the three services below */
.footer-brand .fb-dash { display: none; }
.footer-social > span { display: block; }
.footer-social .sep { display: none; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--link);
  text-decoration: var(--link-deco);
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.site-footer a:hover { color: var(--link-hover); text-decoration-line: underline; }
.copyright { margin-block-start: 1rem; }

/* ---------- Mobile sticky bar ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(var(--bg-rgb), 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-block-start: 1px solid var(--line);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.sticky-cta .btn { width: 100%; }

/* ---------- Tablet and up ---------- */
@media (min-width: 768px) {
  .logo svg { height: 24px; }
  .site-header .btn { display: inline-flex; }
  .hero { padding-block: 88px 104px; }
  .hero-actions { flex-direction: row; align-items: flex-start; gap: 1.75rem; margin-block: 2.5rem 1.25rem; }
  .hero-book .small { text-align: start; }
  .chat-wrap { margin-block-start: 4.5rem; }
  .demo-frame { padding: 64px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before,
  .steps::after { inset-block: 27.5px auto; inset-inline: 28px 0; width: auto; height: 1px; }
  .steps::after { transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
  [dir="rtl"] .steps::after { transform-origin: 100% 50%; }
  .steps li { display: block; padding-block-end: 0; padding-inline-end: 3rem; }
  .steps li::before { margin-block-end: 1.5rem; }
  .sticky-cta { display: none; }
  .footer-brand > span, .footer-brand .fb-dash { display: inline; }
  .footer-social > span { display: inline; }
  .footer-social .sep { display: inline; }
  .service-tags { margin-block-start: 4.5rem; }
  .who-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .who-card { padding: 24px; }
  .who-dots { display: none; }
  .day-list { gap: 1.5rem; }
  .day-row { grid-template-columns: 4.25rem minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; align-items: baseline; }
  .day-row::before { inset-block-start: 9px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 3.5rem;
  }
  .chat-wrap { margin: 0; justify-self: end; }
  .pcards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .who-cards { grid-template-columns: repeat(4, 1fr); }
  .faq-grid {                 /* heading on the left and sticky, questions on the right */
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
    column-gap: 4rem;
    align-items: start;
    max-width: calc(var(--maxw) + 2 * var(--gutter));
  }
  .faq-grid h2 { position: sticky; inset-block-start: calc(var(--header-h) + 40px); margin-block-end: 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { padding: 40px 32px; }
}

/* ---------- Layout details ---------- */
.b-tag { border: 0; background: var(--tag-bg); color: var(--text); }
.band-dark .b-tag, .band-dark .m-clock { color: var(--em); }
.card-line { color: var(--text); }
.final-cta h2 { max-width: 720px; }
.chat .m1 { max-width: 100%; white-space: nowrap; font-size: clamp(13px, 4vw, 15px); }   /* first bubble keeps its full width and never wraps */
@media (min-width: 1024px) {
  .hero { padding-block: 120px 136px; }
}

/* ---------- Motion: slow, gentle, small distances ----------
   Start states that hide content sit under .js and inside no-preference, so the page is complete
   without the script, with reduced motion, and if the script fails (it then removes .js). */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Page load: header, then the headline one line at a time, then the rest */
  .site-header { animation: fade 0.8s var(--ease) backwards; }
  .hero h1 span, .hero-sub, .hero-actions, .hero-copy > .small, .chat-wrap { animation: rise 0.8s var(--ease) backwards; }
  .hero h1 span:nth-child(1) { animation-delay: 0.1s; }
  .hero h1 span:nth-child(2) { animation-delay: 0.24s; }
  .hero h1 span:nth-child(3) { animation-delay: 0.38s; }
  .hero-sub { animation-delay: 0.56s; }
  .hero-actions { animation-delay: 0.68s; }
  .hero-copy > .small { animation-delay: 0.8s; }
  .chat-wrap { animation-delay: 0.6s; }

  /* Enter on scroll, once (class added by the script) */
  .js .reveal { opacity: 0; }
  .js .reveal.is-in {
    opacity: 1;
    animation: rise 0.7s var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * 90ms);
  }
  [data-stagger] > :nth-child(2) { --i: 1; }
  [data-stagger] > :nth-child(3) { --i: 2; }
  [data-stagger] > :nth-child(4) { --i: 3; }
  [data-stagger] > :nth-child(5) { --i: 4; }
  [data-stagger] > :nth-child(6) { --i: 5; }

  /* Loops wait until they are on screen (.is-playing is toggled by the script) */
  .js [data-loop]:not(.is-playing),
  .js [data-loop]:not(.is-playing) * { animation-play-state: paused !important; }

  /* Chat: a 13s conversation. Messages in turn, typing dots before each reply, the tag, a 4s hold, fade, repeat. */
  .js .chat-msg, .js .chat-typing, .js .chat-tag { animation: 13s var(--ease) infinite both; }
  .js .chat .m1 { animation-name: chat-1; }
  .js .chat .t1 { animation-name: chat-t1; }
  .js .chat .m2 { animation-name: chat-2; }
  .js .chat .m3 { animation-name: chat-3; }
  .js .chat .t2 { animation-name: chat-t2; }
  .js .chat .m4 { animation-name: chat-4; }
  .js .chat-tag { animation-name: chat-5; }
  @media (max-width: 767px) {      /* phones: the first two messages are already there on arrival; the rest plays as a 10s loop */
    .js .chat .m1, .js .chat .m2, .js .chat .t1 { animation: none; }
    .js .chat .m3, .js .chat .t2, .js .chat .m4, .js .chat-tag { animation-duration: 10s; }
    .js .chat .m3 { animation-name: chat-p3; }
    .js .chat .t2 { animation-name: chat-pt; }
    .js .chat .m4 { animation-name: chat-p4; }
    .js .chat-tag { animation-name: chat-p5; }
  }
  .chat-typing i { animation: soft 1.2s ease-in-out infinite alternate; }
  .chat-typing i:nth-child(2) { animation-delay: 0.2s; }
  .chat-typing i:nth-child(3) { animation-delay: 0.4s; }

  /* Problem mocks */
  .m-hand { animation: spin 9s linear infinite; }
  .m-empty { animation: soft 3.6s ease-in-out infinite alternate; }
  .b-tag { animation: soft 3.2s ease-in-out infinite alternate; }
  .c-row.r1 { animation: copy-1 10s ease-in-out infinite; }
  .c-row.r2 { animation: copy-2 10s ease-in-out infinite; }
  .c-row.r3 { animation: copy-3 10s ease-in-out infinite; }

  /* "A day, handled": driven by scroll (script.js sets --p on the list and adds .is-on to each row as the
     line reaches it; rows never switch off again). Per row: the time fades in, the message slides in like a
     notification, then after a short beat the tick draws and the result fades in. */
  .js .day-row::before, .js .day-time { transition: opacity 0.5s var(--ease); }
  .js .day-in { transition: opacity 0.5s var(--ease) 0.12s, transform 0.5s var(--ease) 0.12s; }
  .js .day-out { transition: opacity 0.5s var(--ease) 0.7s; }
  .js .day-out path { stroke-dasharray: 1; transition: stroke-dashoffset 0.45s var(--ease) 0.62s; }
  .js .day-row:not(.is-on)::before,
  .js .day-row:not(.is-on) .day-time,
  .js .day-row:not(.is-on) .day-in,
  .js .day-row:not(.is-on) .day-out { opacity: 0; }
  .js .day-row:not(.is-on) .day-in { transform: translateX(calc(18px * var(--dir))); }
  .js .day-row:not(.is-on) .day-out path { stroke-dashoffset: 1; }
  /* then the closing line rises in (.reveal) and its underline draws */
  .js .problem-answer.reveal.is-in > span::after { animation: grow-x 0.9s var(--ease) 0.5s backwards; }

  /* Who it's for: the cards enter together, then each mock loops quietly while on screen */
  .js .who-cards:not(.is-in) > li { opacity: 0; }
  .js .who-cards.is-in > li { animation: rise 0.7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
  .wm-cal .f::after { animation: wm-fill 10s var(--ease) infinite backwards; animation-delay: calc(var(--n) * 0.55s); }
  .wm-ship .wr, .wm-ship .wt { animation: wm-ship 9s var(--ease) infinite backwards; animation-delay: calc(var(--n) * 0.9s); }
  .wm-ship .wt { animation-name: wm-tick; }
  .wm-leads .wt { animation: wm-check 9s var(--ease) infinite backwards; animation-delay: calc(var(--n) * 1.1s); }
  .wm-tasks .wt, .wm-tasks .bar { animation: wm-check 10s var(--ease) infinite backwards; animation-delay: calc(var(--n) * 1.3s); }
  .wm-tasks .bar { animation-name: wm-dim; }

  /* Demo: the "live" dot fades softly; three sample bubbles pass through one at a time */
  .live-dot { animation: soft 2.4s ease-in-out infinite alternate; }
  .sample { flex-wrap: nowrap; }
  .sample-track { position: relative; display: block; flex: 1; height: 36px; }
  .sample-track span {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    animation: sample 9s var(--ease) infinite both;
  }
  .sample-track span:nth-child(2) { animation-delay: 3s; }
  .sample-track span:nth-child(3) { animation-delay: 6s; }

  /* What we build: the icon draws in once its card has entered */
  .js .card .card-icon svg > * { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
  .js .card.is-in .card-icon svg > * {
    animation: draw 1s var(--ease) forwards;
    animation-delay: calc(0.3s + var(--i, 0) * 90ms);
  }

  /* Final call to action: the wash drifts very slowly */
  .cta-wash { animation: wash 40s ease-in-out infinite alternate; }
}

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes soft { from { opacity: 1; } to { opacity: 0.4; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes wm-fill {
  0% { opacity: 0; transform: scale(0.6); }
  5%, 62% { opacity: 1; transform: none; }
  68%, 100% { opacity: 0; transform: none; }
}
@keyframes wm-ship {
  0% { opacity: 0; transform: none; }
  8%, 58% { opacity: 1; transform: none; }
  68%, 100% { opacity: 0; transform: translateX(calc(18px * var(--dir))); }
}
@keyframes wm-tick {
  0%, 26% { opacity: 0; transform: scale(0.5); }
  32%, 100% { opacity: 1; transform: none; }
}
@keyframes wm-check {
  0%, 8% { opacity: 0; transform: scale(0.5); }
  14%, 78% { opacity: 1; transform: none; }
  86%, 100% { opacity: 0; transform: none; }
}
@keyframes wm-dim {
  0%, 8% { opacity: 1; }
  14%, 78% { opacity: 0.45; }
  86%, 100% { opacity: 1; }
}
@keyframes draw {
  0% { stroke-dashoffset: 1; opacity: 0; }
  12% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes wash {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(40% * var(--dir)), 16%, 0) scale(1.12); }
}
@keyframes sample {
  0% { opacity: 0; transform: translateX(calc(14px * var(--dir))); }
  6%, 28% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateX(calc(-14px * var(--dir))); }
}

/* 13s loop; 1% = 0.13s */
@keyframes chat-1 {
  0%, 3% { opacity: 0; transform: translateY(6px); }
  7%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}
@keyframes chat-t1 {
  0%, 11% { opacity: 0; }
  13%, 20% { opacity: 1; }
  22%, 100% { opacity: 0; }
}
@keyframes chat-2 {
  0%, 21% { opacity: 0; transform: translateY(6px); }
  25%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}
@keyframes chat-3 {
  0%, 32% { opacity: 0; transform: translateY(6px); }
  36%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}
@keyframes chat-t2 {
  0%, 40% { opacity: 0; }
  42%, 49% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes chat-4 {
  0%, 50% { opacity: 0; transform: translateY(6px); }
  54%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}
@keyframes chat-5 {
  0%, 56% { opacity: 0; transform: translateY(4px); }
  60%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}

/* Phones, 10s loop; 1% = 0.1s */
@keyframes chat-p3 {
  0%, 18% { opacity: 0; transform: translateY(6px); }
  23%, 90% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
@keyframes chat-pt {
  0%, 29% { opacity: 0; }
  32%, 41% { opacity: 1; }
  44%, 100% { opacity: 0; }
}
@keyframes chat-p4 {
  0%, 44% { opacity: 0; transform: translateY(6px); }
  49%, 90% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
@keyframes chat-p5 {
  0%, 53% { opacity: 0; transform: translateY(4px); }
  58%, 90% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}

@keyframes copy-1 {
  0%, 6% { transform: none; opacity: 1; }
  18%, 86% { transform: translateX(calc(150% * var(--dir))); opacity: 1; }
  92% { transform: translateX(calc(150% * var(--dir))); opacity: 0; }
  93% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes copy-2 {
  0%, 30% { transform: none; opacity: 1; }
  42%, 86% { transform: translateX(calc(150% * var(--dir))); opacity: 1; }
  92% { transform: translateX(calc(150% * var(--dir))); opacity: 0; }
  93% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes copy-3 {
  0%, 54% { transform: none; opacity: 1; }
  66%, 86% { transform: translateX(calc(150% * var(--dir))); opacity: 1; }
  92% { transform: translateX(calc(150% * var(--dir))); opacity: 0; }
  93% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
