/* ============================================================
   Zhik Trade Portal — "What's New" walkthrough
   Themed to the trade theme: brand #ffcb05, ink #111, page #f9f9f9,
   16px cards, the six-tier status palette, the eyebrow section head.
   ============================================================ */

:root {
  --brand: #ffcb05;
  --ink: #2b2b2b;
  --ink-strong: #111;
  --muted: #777;
  --muted-2: #9a9aa2;
  --page-bg: #f9f9f9;
  --card-bg: #ffffff;
  --border: #e6e6e6;
  --border-strong: #ccc;
  --card-radius: 16px;
  --radius-control: 8px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 2px rgba(17,17,17,.04), 0 8px 24px rgba(17,17,17,.06);
  --shadow-pop: 0 12px 40px rgba(17,17,17,.16);

  --status-ok: #2e7d32;
  --status-neutral: #6b7280;
  --status-mild: #b07a00;
  --status-warning: #c77f00;
  --status-elevated: #cf6a1f;
  --status-danger: #ba3b45;

  --maxw: 1920px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

/* Smooth scrolling. The hero↔content "settle" is handled in JS (initHeroSnap) so the
   full-screen hero never rests half-scrolled, while content below stays free to scroll. */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

/* ---------- Brand mark ---------- */
.brand__mark {
  font-weight: 800;
  letter-spacing: .14em;
  color: #fff;
  background: var(--ink-strong);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1;
}
.brand__mark--sm { font-size: 12px; padding: 3px 6px; }
.brand__logo { height: 24px; width: auto; display: block; }
.brand__logo--sm { height: 18px; opacity: .85; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink-strong);
  color: #fff;
}
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand__sep { width: 1px; height: 18px; background: rgba(255,255,255,.25); }
.brand__title { font-size: 13.5px; letter-spacing: .02em; color: rgba(255,255,255,.92); }
.topbar__tag {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffcb05;
}
/* Amber "live" dot before the label, with a soft pulsing ring — same amber as
   the cookie-consent accent; mirrors the portal's Order-Availability pulse. */
.topbar__tag::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ffcb05;
  box-shadow: 0 0 0 0 rgba(255, 203, 5, .5);
  animation: tag-dot-pulse 1.6s ease-out infinite;
}
@keyframes tag-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 203, 5, .6); }
  70%  { box-shadow: 0 0 0 13px rgba(255, 203, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 203, 5, 0); }
}
.topbar__login { margin-left: auto; display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.topbar__login:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;   /* full-screen splash — content sits below the fold */
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  /* corner-anchored glow behind the constellation on the right */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(72% 80% at 100% 6%, rgba(17,17,17,.13) 0%, rgba(17,17,17,.05) 44%, rgba(17,17,17,0) 72%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 560px; }
.hero__kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -.022em;
}
.hero__sub {
  margin: 0 0 22px;
  font-size: 17px;
  color: #555;
  max-width: 44ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease; }
.btn--primary { background: var(--ink-strong); color: #fff; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(17,17,17,.22); }

/* Hero "See what's new" — an amber radar-ping: a solid ring that swells out from the
   pill and fades, the same box-shadow ping as the closing "Ready to dive in" CTA. Plus a
   trailing arrow that nudges right on hover. */
.hero__see { position: relative; }
.hero__see::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  animation: see-ping 1.6s ease-out infinite;
}
@keyframes see-ping {
  0%   { box-shadow: 0 0 0 0 rgba(255, 203, 5, .55); }
  70%  { box-shadow: 0 0 0 18px rgba(255, 203, 5, 0); }
  100% { box-shadow: 0 0 0 18px rgba(255, 203, 5, 0); }
}
.btn__arrow { display: inline-flex; margin-left: 8px; transition: transform .18s ease; }
.btn__arrow svg { width: 17px; height: 17px; }
.hero__see:hover .btn__arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .hero__see::after { animation: none; }
  .btn__arrow { transition: none; }
}
.btn--ghost { background: #fff; color: var(--ink-strong); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--ink-strong); }
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-strong);
  background: rgba(17,17,17,.05);
  border: 1px solid rgba(17,17,17,.14);
  padding: 5px 11px;
  border-radius: var(--radius-control);
}
.hero__chips svg { width: 13px; height: 13px; color: var(--status-ok); }
.hero__stage { position: relative; }

.hero__scroll {
  position: absolute;
  /* Lifted clear of the bottom edge so a cookie-consent bar docked there
     doesn't cover the cue. */
  bottom: 44px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 58px;
  transition: transform .2s ease;
}
.hero__scroll:hover { transform: translateX(-50%) translateY(-2px); }
.scroll-cue {
  display: block; width: 32px; height: 50px;
  border: 2px solid var(--muted-2);
  border-radius: 16px;
  position: relative;
}
.scroll-cue::after {
  content: ""; position: absolute; top: 9px; left: 50%;
  width: 4px; height: 10px; border-radius: 2px;
  background: var(--muted);
  transform: translateX(-50%);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: .25; transform: translate(-50%,0); } 50% { opacity: 1; transform: translate(-50%,10px); } }

/* ---------- Doc layout (sticky TOC + content) ---------- */
.doc-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 24px 0;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 44px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc__head {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700; margin: 0 0 8px 10px;
}
.toc a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-control);
  text-decoration: none;
  color: #5a5a62;
  font-size: 13px;
  border-left: 2px solid transparent;
}
.toc a:hover { background: #fff; color: var(--ink-strong); }
.toc a .toc__num { font-size: 11px; color: var(--muted-2); width: 16px; }
.toc a.is-active {
  background: #fff;
  color: var(--ink-strong);
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.toc a.is-active .toc__num { color: var(--ink-strong); }

/* ---------- Section ---------- */
.section { padding: 26px 0 40px; border-top: 1px solid #ececec; scroll-margin-top: 72px; }
.section:first-child { border-top: 0; padding-top: 6px; }
/* Alternate the 7 content sections — the off-band reuses the re-order grid's
   even-row tint so the section rhythm reads like the grid's row striping. The
   ±24px bleed (left stays inside the 44px TOC gap) turns it into a full stripe. */
.section--alt { background: #f1f2f6; border-top-color: #e6e8ec; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
#start { scroll-margin-top: 60px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px; border-radius: 2px;
  background: var(--ink-strong);
  flex: 0 0 auto;
}
.eyebrow svg { width: 14px; height: 14px; color: var(--ink-strong); }
.eyebrow .hl {
  margin-left: 6px;
  color: #fff;
  background: var(--ink-strong);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 9.5px;
  letter-spacing: .1em;
}
.section__title {
  margin: 0 0 8px;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -.01em;
}
.section__why { margin: 0 0 18px; font-size: 16px; color: #555; font-weight: 500; }
.points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; }
.points li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.points li svg { width: 17px; height: 17px; color: var(--status-ok); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Nav reel (vertical fade-focus slider of the portal sidebar) ---------- */
.navreel { margin: 0 0 22px; }
.navreel__hint { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.navreel__stage {
  position: relative;
  display: inline-block;   /* left-aligned with the section content; the tip extends right */
}
.navreel__viewport {
  width: 232px;
  overflow: hidden;
  background: #fff;
  border-radius: var(--card-radius);
  /* fade the top & bottom rows all the way to nothing at the edges */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.navreel__track { list-style: none; margin: 0 auto; padding: 0; width: 190px; }
.navreel__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  /* The reel's JS positions rows on a fixed 54px stride; reset the list-item margin the
     host theme (Luma) applies to <li>, or the rows drift out of sync with the description. */
  margin: 0;
  transition: opacity .45s ease;
}
/* the icon→label divider, like the portal nav — thickens + inks on the active row */
.navreel__item::before {
  content: ''; position: absolute; left: 44px; top: 9px; bottom: 9px;
  width: 1px; background: var(--border);
  transition: width .25s, background-color .25s;
}
.navreel__item.is-active::before { width: 3px; background: var(--ink-strong); }
.navreel__ico { flex: 0 0 34px; display: grid; place-items: center; color: var(--ink-strong); }
.navreel__ico svg { width: 18px; height: 18px; }
.navreel__text { padding-left: 20px; line-height: 1.2; }
.navreel__label { font-size: 14px; color: #333; transition: color .25s, font-weight .25s; }
.navreel__item.is-active .navreel__label { font-weight: 700; color: #000; }
.navreel__sub {
  display: block; margin-top: 2px; font-size: 10px; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap; color: var(--status-warning, #c77f00);
}
.navreel__sub svg { width: 9px; height: 9px; vertical-align: -1px; margin-right: 2px; }
/* right-side description bubble for the centred (active) row */
.navreel__tip {
  position: absolute; left: 232px; top: 50%;
  margin-left: 16px; white-space: nowrap;
  background: #fff; color: #3a3a3a; padding: 7px 15px;
  font-size: 12.5px; font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  border: 1px solid #111; border-radius: var(--radius-control, 8px);
  opacity: 0; transform: translateY(-50%) translateX(-10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.navreel__tip.is-in { opacity: 1; transform: translateY(-50%) translateX(0); }
.navreel__tip::before, .navreel__tip::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%); border: 6px solid transparent;
}
.navreel__tip::before { right: 100%; border-right-color: #111; }
.navreel__tip::after  { right: calc(100% - 1px); border-right-color: #fff; }
@media (max-width: 680px) {
  .navreel__stage { margin-right: 0; }
  .navreel__tip { display: none; }
}

/* ---------- Account-health cards (recreated dashboard cards, live & animated) ---------- */
.statreel { margin: 0 0 24px; }
.statreel__hint { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.statreel__stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.dash-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ccc; border-radius: 16px; padding: 14px 18px; box-shadow: 0 4px 6px rgba(0, 0, 0, .1); color: #111; }
.dash-card--dark { background: linear-gradient(135deg, #3a3f47 0%, #15171b 58%, #000 100%); color: #fff; border-color: #ccc; }
.dash-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.dash-card__title { font-size: 14px; font-weight: 600; color: #000; }
.dash-card--dark .dash-card__title { color: #fff; }
.dtip { flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .06); color: #777; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.dash-card--dark .dtip { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); }
.dash-card__body, .dash-card__cbody { display: flex; flex-direction: column; flex: 1; }
.dash-card__value { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.15; color: #000; font-variant-numeric: tabular-nums; }
.dash-card--dark .dash-card__value { color: #fff; }
.dash-card__value--danger { color: #ba3b45; }
.dash-card__currency { font-size: 11px; color: #888; }
.dash-card--dark .dash-card__currency { color: rgba(255, 255, 255, .7); }
/* breakdown stats */
.dash-card__stats--stacked { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; }
.dash-stat { display: flex; align-items: center; gap: 10px; font-size: 14px; text-decoration: none; color: inherit; }
/* Badge default is the light-card grey; the dark card and the tone variants override
   it. (Order matters — the dark-card rule must not out-rank the tone rules.) */
.dash-stat__badge { flex: none; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(0, 0, 0, .06); color: #000; }
.dash-card--dark .dash-stat__badge { background: rgba(255, 255, 255, .15); color: #fff; }
.dash-stat--warning .dash-stat__badge { background: rgba(199, 127, 0, .14); color: #c77f00; }
.dash-stat--neutral .dash-stat__badge { background: rgba(0, 0, 0, .06); color: #000; }
.dash-stat--elevated .dash-stat__badge { background: rgba(224, 108, 0, .15); color: #cf6a1f; }
.dash-stat--brand .dash-stat__badge { background: rgba(255, 203, 5, .3); color: #6f5500; }
/* breakdown rows fade in one by one (driven from JS, synced to the count-up loop) */
.dash-stat--seq { opacity: 0; transform: translateY(4px); transition: opacity .45s ease, transform .45s ease; }
.dash-stat--seq.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dash-stat--seq { opacity: 1; transform: none; transition: none; } }
.dash-stat__plain { font-weight: 600; font-size: 13px; }
.dash-stat__plain--warning { color: #fbbf24; }
.dash-stat__plain--danger { color: #f87171; }
.dash-stat__pill { display: inline-flex; align-items: center; gap: 6px; background: #f4f4f4; border: 1px solid #e3e3e3; color: #000; padding: 5px 12px; border-radius: 999px; font-size: 14px; }
.dash-stat__pill svg { width: 12px; height: 12px; color: #999; }
.dash-stat--link { cursor: pointer; }
.dash-stat--link:hover .dash-stat__pill { border-color: #bbb; }
/* CTAs */
.dash-card__pay, .dash-card__action { margin-top: auto; padding-top: 14px; display: flex; justify-content: flex-end; }
.dash-card__cta { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 20px; border-radius: 999px; background: #000; color: #fff; font-size: 14px; text-decoration: none; white-space: nowrap; }
.dash-card__cta svg { width: 14px; height: 14px; }
.dash-card__cta--light { background: #fff; color: #000; }
/* credit */
.dash-progress { height: 8px; border-radius: 999px; background: #ececec; overflow: hidden; margin: 12px 0 6px; }
.dash-progress__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--status-ok); transition: background .3s ease; }
.dash-progress__fill--warn { background: var(--status-warning); }
.dash-progress__fill--danger { background: #cf4f4f; }
.dash-card__used { font-size: 12px; color: #777; text-align: right; }
.dash-card__credit-note { display: flex; gap: 7px; align-items: flex-start; margin: 12px 0 0; padding: 8px 10px; border-radius: 8px; background: rgba(199, 127, 0, .1); color: #6b4e00; font-size: 11.5px; line-height: 1.4; opacity: 0; transition: opacity .5s ease; }
.dash-card__credit-note.is-show { opacity: 1; }
.dash-card__credit-note svg { width: 13px; height: 13px; flex: none; margin-top: 1px; }
.dash-card__meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; }
.dash-meta { display: flex; justify-content: space-between; padding: 3px 0; }
.dash-meta__label { color: #888; font-size: 12px; }
.dash-meta__value { color: #000; font-size: 12px; font-weight: 600; }
/* spend */
.dash-spark { height: 54px; margin: 12px 0 10px; }
.dash-spark__svg { width: 100%; height: 100%; display: block; }
.dash-spark__last { stroke: #b9b9b9; stroke-width: 1.5; }
.dash-spark__this { stroke: #00a98c; stroke-width: 2; }
.dash-card__spend-foot { margin-top: auto; }
.dash-card__trend { font-size: 12px; font-weight: 600; }
.dash-card__trend--up { color: #2e7d32; }
.dash-card__trend--down { color: #777; }
.dash-card__spend-compare { font-size: 11px; color: #888; margin-top: 3px; }
.dash-card__spend-compare strong { color: #333; }
.dash-card__spend-count { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #888; margin-top: 8px; }
.dash-card__spend-count .dash-stat__badge { width: 24px; height: 24px; font-size: 11px; background: rgba(0, 0, 0, .06); color: #000; }
/* Ageing Balance — the dashboard's full-width second row, recreated (mirrors
   Zhik_Portal .dash-ageing-strip: six tier-coloured columns). */
.dash-agehead { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.dash-agehead svg { width: 15px; height: 15px; color: #111; }
.dash-ageing-strip { background: #fff; border: 1px solid #ccc; border-radius: 16px; box-shadow: 0 4px 6px rgba(0, 0, 0, .1); overflow: hidden; }
.dash-ageing-strip__cols { display: grid; grid-template-columns: repeat(6, 1fr); }
.dash-age-col { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border-left: 1px solid #f0f0f0; }
.dash-age-col:first-child { border-left: 0; }
.dash-age-col__label { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #888; font-weight: 600; }
.dash-age-col__value { font-size: 21px; font-weight: 700; line-height: 1.1; color: #000; font-variant-numeric: tabular-nums; }
.dash-age-col__sub { font-size: 11px; color: #999; }
.dash-age-col--mild .dash-age-col__value { color: var(--status-mild); }
.dash-age-col--warning .dash-age-col__value { color: var(--status-warning); }
.dash-age-col--elevated .dash-age-col__value { color: var(--status-elevated); }
.dash-age-col--danger .dash-age-col__value { color: var(--status-danger); }
.dash-age-col--ok .dash-age-col__value { color: var(--status-ok); }
.dash-age-col--total { background: #fafafa; }
@media (max-width: 980px) { .statreel__stage { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .statreel__stage { grid-template-columns: 1fr; } }
/* Ageing strip reflows to 3 then 2 columns; row dividers replace the column borders
   so wrapped rows stay clean. */
@media (max-width: 980px) {
  .dash-ageing-strip__cols { grid-template-columns: repeat(3, 1fr); }
  .dash-age-col { border-left: 1px solid #f0f0f0; }
  .dash-age-col:nth-child(3n+1) { border-left: 0; }
  .dash-age-col:nth-child(n+4) { border-top: 1px solid #f0f0f0; }
}
@media (max-width: 520px) {
  .dash-ageing-strip__cols { grid-template-columns: repeat(2, 1fr); }
  .dash-age-col:nth-child(3n+1) { border-left: 1px solid #f0f0f0; }
  .dash-age-col:nth-child(2n+1) { border-left: 0; }
  .dash-age-col:nth-child(n+3) { border-top: 1px solid #f0f0f0; }
}

/* ---------- Dispatch-window reel (recreated FO ordering-period carousel) ---------- */
.foreel { margin: 0 0 24px; max-width: 1040px; }
.foreel__hint { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.foreel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.foreel__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-strong); }
.foreel__eyebrow svg { width: 15px; height: 15px; }
.foreel__count { font-size: 12px; color: var(--muted); white-space: nowrap; }

.foreel__box { background: #f9f9f9; border: 1px solid #e1e3e5; border-radius: 8px; padding: 12px; }
.foreel__viewport { position: relative; }
.foreel__track {
  display: flex; flex-wrap: nowrap; gap: 18px; padding: 12px 0 0; height: 138px; box-sizing: border-box;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none;
}
.foreel__track::-webkit-scrollbar { display: none; }

.foreel__card {
  position: relative; box-sizing: border-box; flex: 0 0 calc((100% - 3 * 18px) / 3.5); scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 22px 12px 26px; background: #fff; border: 1px solid #7e7c7c; border-radius: 10px;
  cursor: default; transition: border-color .25s, box-shadow .25s; overflow: visible;
}
.foreel__card.is-selected { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.foreel__card::before {
  content: ""; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #000; background: #fff; box-sizing: border-box; display: grid; place-items: center;
  font-size: 12px; font-weight: bold; line-height: 1;
}
.foreel__card.is-selected::before { content: "\2713"; background: #000; color: #fff; }
.foreel__badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 22px);
  padding: 4px 12px; background: #000; color: #fff; border-radius: 4px; font-size: 12px; font-weight: 600;
  white-space: nowrap; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.12); z-index: 1;
}
.foreel__name { margin: 0; text-align: center; font-size: 15px; font-weight: 700; color: #111; line-height: 1.3; white-space: nowrap; }
.foreel__season { position: absolute; left: 12px; right: 12px; bottom: 8px; margin: 0; text-align: center;
  font-style: italic; font-size: 12.5px; color: #888; }

.foreel__fade { position: absolute; top: 0; bottom: 0; width: 64px; pointer-events: none; z-index: 3; transition: opacity .25s ease; }
.foreel__fade--l { left: 0; background: linear-gradient(to right, rgba(0,0,0,.40), rgba(0,0,0,0)); }
.foreel__fade--r { right: 0; background: linear-gradient(to left, rgba(0,0,0,.40), rgba(0,0,0,0)); }
.foreel__fade.is-hidden { opacity: 0; }

.foreel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--brand); color: #111; display: grid; place-items: center; cursor: pointer;
  z-index: 5; padding: 0; font-size: 20px; line-height: 1; box-shadow: 0 3px 10px rgba(17,17,17,.28), 0 1px 4px rgba(17,17,17,.18);
  transition: background .2s, transform .15s, box-shadow .2s, opacity .2s;
}
.foreel__arrow--prev { left: 4px; } .foreel__arrow--next { right: 4px; }
.foreel__arrow:hover { background: #ffd83a; box-shadow: 0 6px 16px rgba(17,17,17,.32); }
.foreel__arrow.is-off { opacity: 0; pointer-events: none; }
.foreel__arrow.is-press { background: #f0b800; transform: translateY(-50%) scale(.86); }

.foreel__footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 12px; min-height: 16px; }
.foreel__selected { grid-column: 1; justify-self: start; font-size: 12.5px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.foreel__selkey { color: #777; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .86em; margin-right: 4px; }
.foreel__selval { font-weight: 700; color: #000; }
.foreel__dots { grid-column: 2; display: flex; gap: 8px; justify-content: center; }
.foreel__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c2c2c2; cursor: pointer; transition: background-color .2s, transform .2s; }
.foreel__dot.is-active { background: #111; transform: scale(1.3); }

/* ---------- Re-order grid row — exact replica of the Zhik_Portal supergrid row ---------- */
.gridreel { margin: 0 0 24px; max-width: 1040px; }
.gridreel__hint { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.gridreplica { overflow: visible; font-size: 12px; color: #000; }
@media (max-width: 1080px) { .gridreel { max-width: 100%; } .gridreplica { overflow-x: auto; } }
.gridreplica .quick-products { width: 100%; border-collapse: collapse; border: 0; }
.gridreplica .quick-products td { background: #fff; color: #000; padding: 3px 5px; border: 1px solid #d1d1d1; vertical-align: middle; }
.gridreplica td[data-th]::before { content: attr(data-th); display: block; margin-bottom: 2px; color: #6b6b6b; font-size: 11px; font-weight: 400; text-transform: capitalize; }
.gridreplica td.size[data-th]::before { display: inline-block; vertical-align: middle; }
.gridreplica .quick-products td.image { width: 90px; padding: 0; background: #f1f2f6; }
.gridreplica .quickprod-img { width: 90px; height: 102px; object-fit: contain; object-position: center; display: block; }
.gridreplica td.name { width: 19%; }
.gridreplica td.name h5 { margin: 0 0 3px; font-size: 12px; font-weight: 700; line-height: 1.25; color: #111; }
.gridreplica td.name .code { display: inline-block; margin-top: 2px; font-size: 11px; color: #000; border: 1px solid; border-radius: 10px; padding: 1px 8px; }
.gridreplica td.colour { width: 7%; text-align: center; font-size: 11px; }
.gridreplica td.size { width: 27%; }
.gridreplica .size-rows { display: block; }
.gridreplica .item { position: relative; display: inline-grid; justify-items: center; text-align: center; margin: 0 3px 3px 0; vertical-align: top; }
.gridreplica .item > label { display: block; margin-bottom: 3px; color: #000; font-size: 10px; font-weight: 600; }
.gridreplica .item .input-text { display: block; width: 32px; height: 28px; margin: 0 0 3px; padding: 2px; border: 1px solid #c7c7c7; border-radius: 6px; font-size: 10px; font-weight: bold; color: #555; text-align: center; background: #fff; box-sizing: border-box; transition: background .2s ease, color .2s ease; }
.gridreplica .item .input-text.hasVal { background: #07ffd0; color: #000; }
.gridreplica .item .inventory { display: inline-block; width: 32px; padding: 1px 0; border-radius: 6px; background: #222; color: #fff; font-size: 11px; font-weight: bold; text-align: center; }
.gridreplica .item .inventory-in { background: green; }
.gridreplica .item.arriving-soon::after, .gridreplica .item.standard-arrival::after { content: ""; position: absolute; top: -1px; right: -2px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #fff; }
.gridreplica .item.arriving-soon::after { background: var(--status-ok); }
.gridreplica .item.standard-arrival::after { background: var(--status-elevated); }

.gridreplica .itemprice .row { display: block; }
.gridreplica .rrp-container { color: #626262; position: relative; padding-bottom: 4px; margin-bottom: 4px; }
.gridreplica .rrp-container::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 90%; height: 1px; border-bottom: 1px dashed #c7c7c7; }
.gridreplica .tp-container { color: #000; }
.gridreplica .price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; line-height: 1.55; }
.gridreplica .price-label { font-size: 11px; }
.gridreplica .price-value { min-width: 70px; text-align: left; font-size: 11px; white-space: nowrap; }
.gridreplica .price-label.final-price { font-weight: 800; color: #111; }
.gridreplica .price-value.price-curr { font-weight: 800; color: #111; font-size: 12.5px; }

.gridreplica td.rowqty { width: 5%; text-align: center; font-weight: 700; font-size: 13px; }
.gridreplica td.rowtotal { width: 11%; text-align: right; font-size: 13px; }
.gridreplica .rowtotal .container { display: inline-block; }
.gridreplica tr.changed .code { background: #07ffd0; }
.gridreplica tr.changed .rowtotal .container { font-weight: bold; background: #07ffd0; border-radius: 10px; padding: 2px 8px; }

/* incoming-stock popover (pops while an arriving size fills) */
.gridreplica .gridpop { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(4px); width: 206px; padding: 9px 11px; background: #fff; border: 1px solid #111; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.16); z-index: 6; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; text-align: left; }
.gridreplica .item.is-pop .gridpop { opacity: 1; transform: translateX(-50%) translateY(0); }
.gridreplica .gridpop::before, .gridreplica .gridpop::after { content: ""; position: absolute; left: 50%; margin-left: -7px; width: 0; height: 0; border: 7px solid transparent; }
.gridreplica .gridpop::before { top: 100%; border-top-color: #111; }
.gridreplica .gridpop::after { top: calc(100% - 1px); border-top-color: #fff; }
.gridreplica .gridpop__eb { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #777; margin-bottom: 6px; }
.gridreplica .gridpop__eb svg { width: 12px; height: 12px; }
.gridreplica .gridpop--soon .gridpop__eb svg { color: var(--status-ok); }
.gridreplica .gridpop--std .gridpop__eb svg { color: var(--status-elevated); }
.gridreplica .gridpop__line { display: flex; align-items: center; gap: 8px; }
.gridreplica .gridpop__pill { display: inline-block; padding: 1px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.gridreplica .gridpop--soon .gridpop__pill { color: var(--status-ok); background: #eef7ef; }
.gridreplica .gridpop--std .gridpop__pill { color: var(--status-elevated); background: #fbeee2; }
.gridreplica .gridpop__date { font-size: 12px; font-weight: 700; color: #111; white-space: nowrap; }

/* ---------- "items awaiting stock" pulse shortcut (Orders & invoices) ---------- */
.pulsereel { margin: 0 0 24px; max-width: 640px; }
.pulsereel__hint { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.pulsecard { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-card); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.pulsecard__meta { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.pulselink { display: inline-flex; align-items: center; gap: 10px; color: #111; font-weight: 700; font-size: 14px; text-decoration: none; align-self: flex-start; }
.pulselink__text { border-bottom: 1px solid rgba(17,17,17,.28); transition: border-color .15s ease; }
.pulselink:hover .pulselink__text { border-bottom-color: #111; }
.pulselink__arrow { display: inline-flex; transition: transform .18s ease; }
.pulselink__arrow svg { width: 15px; height: 15px; }
.pulselink:hover .pulselink__arrow { transform: translateX(3px); }
.pulselink__badge { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--status-warning); color: #fff; flex: 0 0 auto; }
.pulselink__badge svg { width: 15px; height: 15px; }
.pulselink__badge::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--status-warning); opacity: .5; pointer-events: none; animation: pulselink-ring 1.2s ease-in-out infinite; }
@keyframes pulselink-ring { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(1.7); opacity: 0; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulselink__badge::before { display: none; } }

/* ---------- Saved-order selector recreation ---------- */
.savedreel { margin: 0 0 26px; max-width: 620px; }
.savedreel__hint { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.savedrep { position: relative; min-height: 132px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-card); padding: 18px 20px 20px; }
.savedrep__label { font-size: 13px; font-weight: 600; color: #333; margin: 0 0 8px; }
.savedrep__row { display: flex; align-items: center; gap: 10px; }
.savedrep__field { position: relative; flex: 1; min-width: 0; }
.savedrep__select { display: flex; align-items: center; gap: 8px; height: 40px; padding: 6px 14px; border: 1px solid #ccc; border-radius: 8px; background: #fff; font-size: 14px; color: #000; transition: box-shadow .25s ease, border-color .25s ease; }
.savedrep__val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.savedrep__select.is-placeholder .savedrep__val { color: #999; }
.savedrep__select svg { width: 16px; height: 16px; color: #888; flex-shrink: 0; }
.savedrep__select.is-flash { border-color: #07ffd0; box-shadow: 0 0 0 3px rgba(7,255,208,.35); }
.savedrep__clear { flex-shrink: 0; width: 40px; height: 40px; display: none; align-items: center; justify-content: center; padding: 0; background: #fff; border: 1px solid #ccc; border-radius: 8px; color: #333; cursor: pointer; }
.savedrep__clear.is-on { display: inline-flex; animation: savedrep-pop .3s ease; }
.savedrep__clear svg { width: 15px; height: 15px; }
.savedrep__save { flex-shrink: 0; height: 40px; padding: 8px 16px; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #111; border-radius: 8px; color: #111; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity .2s ease; }
.savedrep__save svg { width: 16px; height: 16px; }
.savedrep__save.is-disabled { opacity: .42; cursor: not-allowed; }
.savedrep__save.is-pulse { animation: savedrep-pulse .6s ease; }
@keyframes savedrep-pulse { 0%,100% { transform: none; box-shadow: none; } 40% { transform: translateY(-1px) scale(1.04); box-shadow: 0 4px 12px rgba(17,17,17,.18); } }
@keyframes savedrep-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.savedrep__pillslot { margin-top: 13px; min-height: 24px; }
.savedrep__pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 12px; border: 1px solid; border-radius: 999px; font-size: 11px; font-weight: 600; }
.savedrep__pill svg { width: 13px; height: 13px; }
.savedrep__pill.is-neutral { background: #f0f0f0; border-color: #ccc; color: #555; }
.savedrep__pill.is-warning { background: #fbf4e8; border-color: #c77f00; color: #c77f00; }
.savedrep__pill.is-success { background: #eef7ef; border-color: #2e7d32; color: #1e8449; }
.savedrep__pill.is-saving { position: relative; overflow: hidden; background: #d8dadf; border-color: #ccc; color: #555; }
.savedrep__pill.is-saving::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.75) 50%, transparent 100%); transform: translateX(-100%); animation: savedrep-shimmer 1.2s ease-in-out infinite; }
@keyframes savedrep-shimmer { 100% { transform: translateX(100%); } }
/* naming modal popover (scoped over the widget) */
.savedrep.has-modal::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: rgba(255,255,255,.5); z-index: 7; }
.savedrep__modal { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-44%) scale(.96); width: 328px; background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.3); overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 8; }
.savedrep__modal.is-on { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.savedrep__modalhead { display: flex; align-items: center; gap: 9px; background: #111; color: #fff; padding: 11px 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.savedrep__dash { width: 16px; height: 2px; background: #07ffd0; flex-shrink: 0; }
.savedrep__modalhead > span:not(.savedrep__dash) { flex: 1; }
.savedrep__x { display: inline-flex; opacity: .65; }
.savedrep__x svg { width: 14px; height: 14px; }
.savedrep__modalbody { padding: 15px 16px 6px; }
.savedrep__modallabel { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; }
.savedrep__modalinput { display: flex; align-items: center; height: 38px; padding: 6px 12px; border: 1px solid #999; border-radius: 8px; font-size: 14px; color: #111; }
.savedrep__caret { width: 1.5px; height: 17px; background: #111; margin-left: 1px; animation: savedrep-blink 1s step-end infinite; }
@keyframes savedrep-blink { 50% { opacity: 0; } }
.savedrep__modalhint { margin: 8px 0 0; font-size: 12px; color: #888; }
.savedrep__modalfoot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 16px 16px; }
.savedrep__btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 20px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.savedrep__btn--sec { background: #fff; border: 1px solid #ccc; color: #333; }
.savedrep__btn--pri { background: #111; color: #fff; }
@media (prefers-reduced-motion: reduce) { .savedrep__pill.is-saving::after, .savedrep__caret { animation: none; } }

/* ---------- Guided-tour coachmark recreation ---------- */
.tourreel { margin: 0 0 24px; max-width: 940px; }
.tourreel__hint { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.tourreel__note { display: flex; gap: 11px; margin: 16px 0 0; padding: 13px 16px; background: #f4f6f8; border: 1px solid #e2e4e8; border-radius: 10px; }
.tourreel__note svg { width: 18px; height: 18px; color: #8a8f98; flex-shrink: 0; margin-top: 1px; }
.tourreel__notetext { margin: 0; font-size: 13px; line-height: 1.55; color: #555; }
.tourreel__notetext strong { color: #1a1a1a; font-weight: 700; }
.tourrep { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-card); background: #fff; }
.tourrep__mock { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; background: #fbfbfc; }
/* toolbar — title + Export/Import/Print, left-aligned */
.tourrep__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tourrep__h { font-size: 16px; font-weight: 800; color: #111; }
.tourrep__tools { display: inline-flex; gap: 8px; }
.tourrep__expgrp { display: inline-flex; gap: 8px; }
.tourrep__tool { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #111; color: #fff; font-size: 12.5px; font-weight: 600; }
.tourrep__tool svg { width: 14px; height: 14px; }
/* controls: saved | (search + show + highlight) */
.tourrep__controls { display: flex; align-items: flex-end; gap: 16px; }
.tourrep__filtergroup { flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 12px; }
.tourrep__ctl { display: flex; flex-direction: column; gap: 5px; }
.tourrep__lbl { font-size: 11px; font-weight: 600; color: #555; }
.tourrep__ctl--saved { flex: 0 0 326px; }
.tourrep__ctlrow { display: flex; gap: 8px; }
.tourrep__sel { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 13px; border: 1px solid #ccc; border-radius: 8px; background: #fff; color: #999; font-size: 13px; min-width: 0; }
.tourrep__sel > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tourrep__sel svg { width: 15px; height: 15px; color: #888; flex-shrink: 0; }
.tourrep__savebtn { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 15px; border: 1px solid #111; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: #111; flex-shrink: 0; }
.tourrep__savebtn svg { width: 15px; height: 15px; }
.tourrep__ctl--search { flex: 1; min-width: 0; }
.tourrep__search { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 13px; border: 1px solid #ccc; border-radius: 8px; background: #fff; color: #999; font-size: 13px; }
.tourrep__search svg { width: 16px; height: 16px; color: #888; flex-shrink: 0; }
.tourrep__search > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tourrep__ctl--filter { flex-direction: row; gap: 10px; flex-shrink: 0; }
.tourrep__ddwrap { display: flex; flex-direction: column; gap: 5px; }
.tourrep__dd { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid #ccc; border-radius: 8px; background: #fff; font-size: 13px; color: #333; white-space: nowrap; }
.tourrep__dd svg { width: 14px; height: 14px; color: #888; }
/* product row — mirrors the real grid's 7 columns */
.tourrep__grid { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e2e4e8; border-radius: 10px; background: #fff; }
.tourrep__thumb { width: 46px; height: 52px; border-radius: 6px; background: linear-gradient(135deg, #20323f, #34516a); flex-shrink: 0; }
.tourrep__pname { flex: 0 0 auto; width: 146px; display: flex; flex-direction: column; font-size: 13px; font-weight: 700; color: #111; line-height: 1.2; }
.tourrep__pname small { font-size: 10px; font-weight: 600; color: #555; border: 1px solid #ccc; border-radius: 8px; padding: 0 6px; margin-top: 4px; align-self: flex-start; }
.tourrep__colour { flex: 0 0 auto; width: 42px; text-align: center; font-size: 11.5px; color: #333; }
.tourrep__sizecol { flex: 0 0 auto; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.tourrep__sizehead { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; color: #555; }
.tourrep__flag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #fbeee2; color: #b4530e; border: 1px solid #e7b07a; font-size: 10.5px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.tourrep__flag svg { width: 11px; height: 11px; }
.tourrep__sizes { display: flex; gap: 12px; }
.tourrep__sz { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tourrep__sz b { position: relative; font-size: 10px; font-weight: 700; color: #333; }
.tourrep__sz--soon b::after { content: ""; position: absolute; top: 50%; left: 100%; margin-left: 4px; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--status-ok, #2e7d32); }
.tourrep__box { width: 32px; height: 30px; border: 1px solid #c7c7c7; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #555; background: #fff; }
.tourrep__box.is-filled { background: #07ffd0; color: #000; }
.tourrep__inv { display: inline-block; min-width: 32px; padding: 1px 4px; border-radius: 6px; background: #2e7d32; color: #fff; font-size: 10px; font-weight: 700; text-align: center; }
.tourrep__price { flex: 1; min-width: 110px; display: flex; flex-direction: column; }
.tourrep__pgrp { display: flex; flex-direction: column; }
.tourrep__pgrp--rrp { color: #626262; padding-bottom: 4px; margin-bottom: 4px; border-bottom: 1px dashed #d6d6d6; }
.tourrep__prow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; line-height: 1.5; font-size: 10.5px; }
.tourrep__prow b { font-weight: 600; white-space: nowrap; }
.tourrep__prow--final span { font-weight: 700; color: #111; }
.tourrep__prow--final b { font-weight: 800; font-size: 12px; color: #111; }
.tourrep__rowqty { flex: 0 0 auto; width: 36px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tourrep__rowqty b { font-size: 14px; font-weight: 700; color: #111; }
.tourrep__rowtotal { flex: 0 0 auto; width: 92px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tourrep__clbl { font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #9a9a9a; }
.tourrep__totalpill { background: #07ffd0; color: #000; font-weight: 800; font-size: 12.5px; border-radius: 10px; padding: 3px 11px; white-space: nowrap; }
/* bottom: shipping details | review & place order */
.tourrep__cols { display: flex; gap: 14px; align-items: flex-start; }
.tourrep__panel { border: 1px solid #e2e4e8; border-radius: 10px; background: #fff; padding: 13px 15px; }
.tourrep__panel--ship { flex: 1; min-width: 0; }
.tourrep__panel--review { flex: 0 0 300px; display: flex; flex-direction: column; gap: 9px; }
.tourrep__paneltitle { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8a8f98; margin-bottom: 9px; }
.tourrep__chk { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #555; margin-bottom: 11px; }
.tourrep__box2 { width: 14px; height: 14px; border: 1.5px solid #b8bcc4; border-radius: 4px; flex-shrink: 0; }
/* shipping form fields */
.tourrep__fld { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.tourrep__fld--last { margin-bottom: 0; }
.tourrep__fldrow { display: flex; gap: 12px; margin-bottom: 10px; }
.tourrep__fldrow .tourrep__fld { flex: 1; min-width: 0; margin-bottom: 0; }
.tourrep__input { display: flex; align-items: center; height: 36px; padding: 0 12px; border: 1px solid #ccc; border-radius: 8px; background: #fff; font-size: 12.5px; color: #333; }
.tourrep__input > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tourrep__input--sel { justify-content: space-between; gap: 8px; }
.tourrep__input--sel svg { width: 15px; height: 15px; color: #888; flex-shrink: 0; }
.tourrep__input--note { height: 52px; align-items: flex-start; padding-top: 9px; color: #666; }
.tourrep__field { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 4px 0; }
.tourrep__field span { color: #8a8f98; flex-shrink: 0; }
.tourrep__field b { color: #222; font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tourrep__revtop { display: flex; flex-direction: column; }
.tourrep__stats { display: flex; gap: 10px; margin-bottom: 10px; }
.tourrep__stat { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; border: 1px solid #ececec; border-radius: 8px; padding: 9px 6px; background: #fafbfc; }
.tourrep__statnum { font-size: 20px; font-weight: 800; color: #111; line-height: 1.05; }
.tourrep__statlbl { font-size: 11px; color: #888; }
.tourrep__sumrow { display: flex; justify-content: space-between; font-size: 12.5px; padding: 2px 0; color: #666; }
.tourrep__sumrow b { color: #222; font-weight: 600; }
.tourrep__sumrow--total { justify-content: center; gap: 10px; margin-top: 6px; padding-top: 8px; border-top: 1px solid #e2e4e8; font-size: 13.5px; }
.tourrep__sumrow--total span, .tourrep__sumrow--total b { color: #111; }
.tourrep__sumrow--total b { font-weight: 800; }
.tourrep__pay { display: flex; gap: 3px; padding: 3px; border: 1px solid #d0d3d8; border-radius: 999px; background: #f3f4f6; }
.tourrep__pay span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; text-align: center; padding: 5px 0; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #555; }
.tourrep__pay span.is-on { background: #111; color: #fff; }
.tourrep__pay .tourrep__savebadge { display: inline-block; padding: 1px 7px; border-radius: 999px; background: #2e7d32; color: #fff; font-size: 9.5px; font-weight: 700; }
.tourrep__terms { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #444; }
.tourrep__place { text-align: center; padding: 11px 0; border-radius: 999px; background: #111; color: #fff; font-size: 13px; font-weight: 800; }
/* spotlight ring + dim (single-element cut-out, clipped by .tourrep overflow) */
.tourrep__spot { position: absolute; z-index: 2; border-radius: 8px; box-shadow: 0 0 0 2px #ffcb05, 0 0 0 9999px rgba(17,17,17,.55); pointer-events: none; transition: top .42s cubic-bezier(.4,0,.2,1), left .42s cubic-bezier(.4,0,.2,1), width .42s cubic-bezier(.4,0,.2,1), height .42s cubic-bezier(.4,0,.2,1); }
/* coachmark popover */
.tourrep__pop { position: absolute; z-index: 3; width: 286px; padding: 15px 16px 13px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.2); transition: top .42s cubic-bezier(.4,0,.2,1), left .42s cubic-bezier(.4,0,.2,1); }
.tourrep__arrow { position: absolute; left: var(--arrow, 50%); top: -6px; width: 12px; height: 12px; margin-left: -6px; background: #fff; border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.tourrep__pop.is-above .tourrep__arrow { top: auto; bottom: -6px; border: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tourrep__close { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: #aaa; }
.tourrep__close svg { width: 14px; height: 14px; }
.tourrep__eb { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; padding-right: 26px; }
.tourrep__dash { width: 18px; height: 2px; background: #111; flex-shrink: 0; }
.tourrep__ebicon { display: inline-flex; color: #111; }
.tourrep__ebicon svg { width: 15px; height: 15px; }
.tourrep__eblabel { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555; }
.tourrep__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 1.25; color: #111; }
.tourrep__body { margin: 0; font-size: 13px; line-height: 1.5; color: #555; }
.tourrep__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.tourrep__prog { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #888; white-space: nowrap; }
.tourrep__dots { display: inline-flex; gap: 5px; }
.tourrep__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background .15s ease, transform .15s ease; }
.tourrep__dot.is-active { background: #ffcb05; transform: scale(1.25); }
.tourrep__nav { display: inline-flex; gap: 8px; }
.tourrep__back, .tourrep__next { display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.tourrep__back { background: #fff; border: 1px solid var(--border); color: #333; }
.tourrep__next { background: #111; color: #fff; }
.tourrep__next.is-tap { animation: tourrep-tap .45s ease; }
@keyframes tourrep-tap { 0% { transform: none; box-shadow: none; } 40% { transform: scale(.86); box-shadow: 0 0 0 4px rgba(255,203,5,.5); } 100% { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .tourrep__spot, .tourrep__pop { transition: none; } .tourrep__next.is-tap { animation: none; } }

/* ---------- Coverflow carousel ---------- */
.coverflow { position: relative; user-select: none; }
.cf-stage {
  position: relative;
  height: 560px;
  perspective: 1700px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.cf-stage.is-dragging { cursor: grabbing; }
.cf-card {
  position: absolute;
  top: 50%; left: 50%;
  margin: 0;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s ease;
  will-change: transform, opacity;
}
.cf-card.is-off { pointer-events: none; }
.cf-card.is-active { cursor: default; }
.cf-card:not(.is-active) { cursor: pointer; }

.shot {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.cf-card.is-active .shot { box-shadow: var(--shadow-pop); }
.shot img, .shot video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* desktop screen shot */
.shot--desktop { width: min(56vw, 820px); aspect-ratio: 16 / 10; }
/* phone frame */
.shot--phone {
  width: 218px; aspect-ratio: 9 / 19.5;
  border: 7px solid var(--ink-strong);
  border-radius: 28px;
  background: var(--ink-strong);
  box-shadow: var(--shadow-card);
}
.cf-card.is-active .shot--phone { box-shadow: var(--shadow-pop); }
.shot--phone img, .shot--phone video { border-radius: 21px; }

/* ---------- Hero constellation (ambient 3-D float) ---------- */
.constellation {
  position: relative;
  height: 500px;
  perspective: 1600px;
  /* let the floating screens bleed out of the right column into the hero's
     empty space on both sides; the hero itself clips at the page edges */
  overflow: visible;
}
.constellation__scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .3s ease-out; /* smooth cursor-tilt follow */
}
.constellation .float {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 1.3s cubic-bezier(.22,.61,.36,1), opacity 1.3s ease, filter 1.3s ease;
  will-change: transform, opacity;
}
.constellation .bobber { animation: c-bob 6s ease-in-out infinite alternate; }
@keyframes c-bob { from { transform: translateY(-9px); } to { transform: translateY(9px); } }
.constellation .float.is-focus .shot { box-shadow: var(--shadow-pop); }
.constellation .shot--desktop { width: clamp(300px, 32vw, 484px); aspect-ratio: 16 / 10; }
.constellation .shot--phone { width: clamp(154px, 13.5vw, 202px); }

/* stacked under the title below the 2-col breakpoint — give it more room */
@media (max-width: 980px) {
  .constellation { height: 400px; }
  .constellation .shot--desktop { width: clamp(300px, 56vw, 520px); }
  .constellation .shot--phone { width: clamp(150px, 22vw, 196px); }
}
@media (max-width: 560px) { .constellation { height: 330px; } }

/* placeholder shown until a real screenshot is dropped into assets/ */
.ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 9px; padding: 18px; text-align: center;
  background:
    linear-gradient(135deg, #fcfcfd, #f3f3f5);
  border: 1px dashed #cfcfd6;
  border-radius: inherit;
  color: var(--muted-2);
}
.ph__icon { width: 36px; height: 36px; color: #b8b8c0; }
.ph__icon svg { width: 100%; height: 100%; }
.ph__label { font-size: 13px; font-weight: 600; color: #555; max-width: 26ch; }
.ph__file { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; color: var(--muted-2); }
.ph__type {
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 1px 8px;
}
.shot--phone .ph { padding: 12px; gap: 6px; }
.shot--phone .ph__icon { width: 26px; height: 26px; }
.shot--phone .ph__label { font-size: 11px; }
.shot--phone .ph__file { font-size: 9px; word-break: break-all; }

/* arrows + dots + caption */
/* Brand-yellow disc with a dark chevron. White vanished against the white card and
   solid black got lost against all the black UI in the screenshots — brand yellow is
   the one fill that stays legible on both, and it reads as the deck's accent control.
   Matches the dispatch-reel arrows so both sliders look the same. */
.cf-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 30;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--brand); color: #111;
  border: 0; padding: 0;   /* clear Luma's button padding, which pushes the caret off-centre */
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(17, 17, 17, .30), 0 2px 5px rgba(17, 17, 17, .20);
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.cf-arrow:hover { background: #ffd83a; transform: translateY(-50%) scale(1.07); box-shadow: 0 8px 22px rgba(17, 17, 17, .34); }
.cf-arrow:active { transform: translateY(-50%) scale(.92); }
.cf-arrow svg { width: 21px; height: 21px; stroke-width: 2.2; }
.cf-prev { left: 8px; }
.cf-next { right: 8px; }

.cf-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.cf-caption {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: #555; min-height: 22px; text-align: center;
}
.cf-caption b { color: var(--ink-strong); font-weight: 600; }
.cf-dots { display: flex; gap: 7px; }
.cf-dots button {
  width: 8px; height: 8px; padding: 0;
  border-radius: 50%;
  border: 0; background: #d2d2d8; cursor: pointer;
  transition: transform .2s, background .2s;
}
.cf-dots button.is-active { background: var(--ink-strong); transform: scale(1.35); }

/* state pill */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted); background: #fff;
  white-space: nowrap;
}

/* ---------- Q&A ---------- */
.qa-list { display: grid; gap: 16px; }
.qa {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 22px;
  align-items: center;
}
.qa__q { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 10px; }
.qa__badge {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--ink-strong); color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 800; font-size: 12px;
}
.qa__q h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink-strong); line-height: 1.4; }
.qa__a { margin: 0; padding-left: 33px; font-size: 14px; color: #555; }
.qa__a .a-tag { color: var(--status-ok); font-weight: 700; margin-right: 6px; }
/* Q&A shots are pre-cropped to their focus, so show them at their own ratio
   (not a forced 16/10) — a short wide table shouldn't get a tall blank gap. */
.qa__shot .shot--desktop { width: 100%; aspect-ratio: auto; }
.qa__shot .shot img { height: auto; }
/* The screenshot bleeds half-way out of the card: the card background ends at
   the image's midpoint (image column is half its width + a matching right
   margin), so the outer half of the shot sits over the page. Text and image
   positions are unchanged — only the card background recedes. Desktop only. */
@media (min-width: 981px) {
  .qa { grid-template-columns: 1fr 260px; margin-right: 260px; }
  .qa__shot { width: 520px; justify-self: start; position: relative; z-index: 1; }
}

/* ---------- Footer ---------- */
.site-foot { background: var(--ink-strong); color: rgba(255,255,255,.7); margin-top: 40px; display: flow-root; }
.site-foot__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 24px;
  display: flex; align-items: center; gap: 14px; font-size: 12.5px;
}
.site-foot__inner p { margin: 0; }

/* Closing call-to-action — replaces the plain footer line, since this is where readers land. */
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,203,5,.28); }
.site-foot__cta {
  position: relative;
  width: min(490px, 86vw);
  aspect-ratio: 1;                /* perfect circle, just big enough for the content */
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 42px;
  border: 2px solid var(--brand);
  border-radius: 50%;             /* amber line-border circle — empty centre holds the whole CTA */
}
/* Pulsing amber ping — a solid amber ring that swells out from the circle and fades, the
   same halo as .pulselink__badge. Drawn outside the border, so the centre stays empty. */
.site-foot__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;   /* follow the CTA's shape (circle on desktop, panel on mobile) */
  pointer-events: none;
  animation: cta-ring-pulse 1.6s ease-out infinite;
}
@keyframes cta-ring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 203, 5, .55); }
  70%  { box-shadow: 0 0 0 34px rgba(255, 203, 5, 0); }
  100% { box-shadow: 0 0 0 34px rgba(255, 203, 5, 0); }
}
@media (prefers-reduced-motion: reduce) { .site-foot__cta::after { animation: none; } }
.site-foot__eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.site-foot__title { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.site-foot__sub { margin: 0 auto 28px; max-width: 46ch; font-size: 16px; color: rgba(255,255,255,.72); }
.site-foot__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Reveal on scroll ---------- */
/* Per-element scroll entry. Each animated element (heading, bullet, screenshot,
   widget) carries its OWN `.is-in` and is revealed when IT crosses the trigger line
   (~85% of the viewport, set by the observer's rootMargin) — so everything animates
   as it scrolls into view rather than a screen or two early. The section card itself
   doesn't animate; it's just the container its contents fill in. Effects by element:
   text rises + sharpens from a soft blur, bullets cascade in from the left, the
   "slides" (coverflow + live recreations) zoom up from 95.5%. Composited
   transform/opacity; blur stays on the light text only. */
.reveal > .eyebrow, .reveal > .section__title, .reveal > .section__why,
.reveal .points li, .reveal .qa,
.reveal > .coverflow, .reveal > .navreel, .reveal > .foreel, .reveal > .gridreel,
.reveal > .savedreel, .reveal > .pulsereel, .reveal > .statreel, .reveal > .tourreel {
  opacity: 0;
  transition: opacity .62s cubic-bezier(.16, .84, .44, 1), transform .62s cubic-bezier(.16, .84, .44, 1), filter .62s cubic-bezier(.16, .84, .44, 1);
}
.reveal > .eyebrow, .reveal > .section__title, .reveal > .section__why, .reveal .qa { transform: translateY(15px); }
.reveal > .eyebrow, .reveal > .section__title, .reveal > .section__why { filter: blur(6px); }
.reveal .points li { transform: translateX(-12px); }
.reveal > .coverflow, .reveal > .navreel, .reveal > .foreel, .reveal > .gridreel,
.reveal > .savedreel, .reveal > .pulsereel, .reveal > .statreel, .reveal > .tourreel { transform: scale(.955); }

.reveal > .eyebrow.is-in, .reveal > .section__title.is-in, .reveal > .section__why.is-in,
.reveal .points li.is-in, .reveal .qa.is-in,
.reveal > .coverflow.is-in, .reveal > .navreel.is-in, .reveal > .foreel.is-in, .reveal > .gridreel.is-in,
.reveal > .savedreel.is-in, .reveal > .pulsereel.is-in, .reveal > .statreel.is-in, .reveal > .tourreel.is-in {
  opacity: 1; transform: none; filter: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  /* Clear the fixed topbar (wraps to ~81px on phones) so the eyebrow isn't tucked under it. */
  .hero { grid-template-columns: 1fr; padding-top: 92px; }
  .hero__stage { min-height: 320px; }
  /* Stack the TOC/doc into one column. minmax(0,1fr) + min-width:0 lets the doc column
     shrink below its content's intrinsic width (the fixed-size coverflows/reels), which
     is what otherwise forced the whole page wider than the phone viewport. */
  .doc-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .doc { min-width: 0; }
  .coverflow, .cf-stage, .navreel, .statreel, .foreel, .gridreel, .savedreel, .pulsereel, .tourreel { max-width: 100%; }
  .toc {
    position: sticky; top: 50px; z-index: 50;
    flex-direction: row; gap: 6px;
    overflow-x: auto; padding: 10px 0; margin: 0 -24px 8px;
    padding-left: 24px; padding-right: 24px;
    background: var(--page-bg);
    border-bottom: 1px solid #ececec;
  }
  .toc__head { display: none; }
  .toc a { white-space: nowrap; border-left: 0; }
  .qa { grid-template-columns: 1fr; }
  .qa__shot .shot--desktop { width: 100%; max-width: 420px; }
}
@media (max-width: 560px) {
  .shot--desktop { width: 78vw; }
  /* Was 430px, which left a big empty band above/below the small phone-sized cards.
     Section carousels are all desktop-frame shots (~180px tall here), so this sits snug. */
  .cf-stage { height: 240px; }
  .cf-arrow { width: 36px; height: 36px; }
  /* Closing CTA: drop the big circle on phones — a rounded panel fits the content
     naturally (the pulse follows the new shape via border-radius: inherit). */
  .site-foot__cta { width: 100%; aspect-ratio: auto; border-radius: 22px; padding: 40px 26px; margin: 44px auto; }
  /* Keep the saved-order modal inside the viewport. */
  .savedrep__modal { width: min(328px, 84vw); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cf-card { transition: none; }
  .reveal > .eyebrow, .reveal > .section__title, .reveal > .section__why,
  .reveal .points li, .reveal .qa,
  .reveal > .coverflow, .reveal > .navreel, .reveal > .foreel, .reveal > .gridreel,
  .reveal > .savedreel, .reveal > .pulsereel, .reveal > .statreel, .reveal > .tourreel {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  .scroll-cue::after { animation: none; }
  .topbar__tag::before { animation: none; }
  .constellation .bobber { animation: none; }
  .constellation .float { transition: none; }
}

/* ============================================================
   PREMIUM THEME — a cinematic dark hero (drifting banner + frosted
   headline) that fades into a light, airy content area of clean
   white section cards. Header + footer stay dark to frame it.
   The light portal recreations sit naturally on the light cards.
   ============================================================ */
/* The body is transparent so the fixed banner layer shows through. */
body { background: transparent; color: var(--ink); }

/* Fixed, blurred, drifting banner pinned behind the whole page. The banner is
   pre-blurred (cheap, static) and washed with a light tint, so as the content scrolls
   over it as translucent glass the backdrop stays softly "stuck" and see-through. */
.page-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-bg::before {
  content: ""; position: absolute; inset: -6%;
  background: url('../assets/hero-banner.jpg') center/cover no-repeat;
  background-image: -webkit-image-set(url('../assets/hero-banner.webp') type('image/webp'), url('../assets/hero-banner.jpg') type('image/jpeg'));
  background-image: image-set(url('../assets/hero-banner.webp') type('image/webp'), url('../assets/hero-banner.jpg') type('image/jpeg'));
  filter: blur(24px) saturate(1.12);
  transform: scale(1.12); will-change: transform;
  animation: hero-bg-drift 22s ease-in-out infinite alternate;
}
.page-bg::after { content: ""; position: absolute; inset: 0; background: rgba(245, 246, 248, .5); }

/* Header + footer. The header is FIXED so it overlays the top of the hero — its
   translucent blur then shows the drifting banner moving behind it from the first
   paint (no scroll needed). */
.topbar { position: fixed; top: 0; left: 0; right: 0; background: rgba(8,8,10,.5); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid rgba(255,255,255,.08); }
.brand__title { color: #f3f3f6; }
.brand__sep { background: rgba(255,255,255,.22); }
.site-foot { background: #0b0b0d; border-top: 0; }
.site-foot__inner p { color: #9a9aa3; }
.site-foot__inner a { color: #fff; }

/* Hero — drifting banner + scrim + frosted text panel */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/hero-banner.jpg') center/cover no-repeat;
  background-image: -webkit-image-set(url('../assets/hero-banner.webp') type('image/webp'), url('../assets/hero-banner.jpg') type('image/jpeg'));
  background-image: image-set(url('../assets/hero-banner.webp') type('image/webp'), url('../assets/hero-banner.jpg') type('image/jpeg'));
  transform: scale(1.12); will-change: transform;
  animation: hero-bg-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-bg-drift { from { transform: scale(1.1) translate3d(-3%,-2%,0); } to { transform: scale(1.2) translate3d(3%,2%,0); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* on top: clear in the middle so the banner reads, then ramp to solid black at
       the bottom of the full-screen hero (a dark base before the content below). */
    linear-gradient(180deg, rgba(8,8,10,.45) 0%, rgba(8,8,10,0) 24%, rgba(8,8,10,0) 52%, rgba(8,8,10,.9) 86%, rgba(8,8,10,1) 100%),
    /* underneath: the left-weighted scrim that keeps the headline readable. */
    linear-gradient(90deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.5) 46%, rgba(8,8,10,.12) 100%);
}
.hero__inner, .hero__stage { position: relative; z-index: 2; }
.hero__scroll { z-index: 2; }   /* keep its absolute centering; just lift above the scrim */
.hero__inner {
  background: rgba(12,12,16,.30); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 30px 32px;
}
.hero__kicker { color: var(--brand); }
.hero__title { color: #fff; }
.hero__sub { color: #c6c6cf; }
.hero__chips li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e6e6ee; }
.btn--primary { background: var(--brand); color: #111; }
.btn--primary:hover { box-shadow: 0 8px 24px rgba(255,203,5,.3); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.14); }
/* The hero bottom is black now, so the cue is light — a faint glass capsule with a
   white border + white bobbing dot; brand-yellow on hover marks it as clickable. */
.scroll-cue {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.scroll-cue::after { background: rgba(255, 255, 255, .85); }
.hero__scroll:hover .scroll-cue { border-color: var(--brand); }
.hero__scroll:hover .scroll-cue::after { background: var(--brand); }

/* TOC stays the original light theme; just a brand accent on the active item. */
.toc a.is-active .toc__num { color: var(--brand); }

/* Sections → translucent glass cards over the fixed banner (replaces the zebra). The
   semi-opaque white + a light backdrop blur keep text crisp while the backdrop stays
   faintly visible through the card. */
.section, .section--alt {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 20px;
  margin: 0 0 20px; padding: 30px 32px 36px;
  box-shadow: 0 1px 2px rgba(17,17,17,.05), 0 14px 36px rgba(17,17,17,.10);
}
.section:first-child { border-top: 1px solid rgba(255, 255, 255, .6); }
.eyebrow svg { color: var(--brand); }

/* Q&A → matching glass cards */
.qa { background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .6); border-radius: 18px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(17,17,17,.05), 0 10px 28px rgba(17,17,17,.08); }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .page-bg::before { animation: none; transform: scale(1.12); }
}
