/* ==========================================================================
   Raudhah IQ shop, v4 "Aktif"

   The owner compared two looks and chose B: black hero and header, a red
   ticker strip, Mona Sans in heavy condensed italic capitals, thick glowing
   rings, hard edges. Raudhah red (#d3202a) stays on the buy buttons because
   the box and the bottle are red.

   How the file is built: :root holds a calm base (white, navy, Figtree, round
   cards) that the admin pages use as is. Shop pages carry
   <html data-look="b">, and the [data-look="b"] rules turn that base into the
   shop's look. So a rule without the attribute is shared; one with it is the
   shop only.

   The four benefits keep one colour each everywhere: --c1 fokus, --c2
   ingatan, --c3 emosi, --c4 tenaga.

   Written for a 360 to 430px phone first, then widened.
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/fonts/mona-sans-italic-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Amiri";
  src: url("/fonts/amiri-iqra.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
  unicode-range: U+0623, U+0627, U+0631, U+0642, U+0654;
}

/* ---------------------------------------------------------------- tokens */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f5fa;
  --surface-3: #e3ebf4;
  --ink: #0f2238;
  --ink-soft: #3a4c62;
  --muted: #607186;
  --line: rgb(15 34 56 / 0.1);
  --line-2: rgb(15 34 56 / 0.2);
  --field: rgb(15 34 56 / 0.32);
  --frame-line: rgb(0 0 0 / 0.08);

  --signal: #d3202a;
  --signal-hover: #b81b24;
  --signal-ink: #a3141d;
  --signal-soft: #fdeced;
  --on-signal: #ffffff;

  --ok: #08795f;
  --ok-soft: #ddf3ec;
  --warn: #92400e;
  --warn-soft: #fef3c7;
  --sky: #1d4fbe;
  --sky-soft: #e3ebfd;
  --grape: #5a2bb3;
  --grape-soft: #eee8fc;
  --wa: #128c4a;
  --wa-bubble: #dcf8c6;
  --wa-ink: #14532d;

  --c1: #d3202a;
  --c2: #3a63d8;
  --c3: #0c9b88;
  --c4: #e8930c;

  /* backgrounds the section tones use */
  --tone-feature: #f1f5fa;
  --tone-alt: #f1f5fa;
  --stage: radial-gradient(70% 70% at 50% 42%, #ffffff 0%, #eef3f9 62%, #e2eaf4 100%);
  --stage-flat: #eef3f9;

  --elev-card: 0 1px 2px rgb(15 34 56 / 0.05), 0 14px 34px -14px rgb(15 34 56 / 0.18);
  --elev-pop: 0 2px 6px rgb(15 34 56 / 0.08), 0 32px 64px -24px rgb(15 34 56 / 0.34);
  --ring-card: inset 0 0 0 1px var(--line);

  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-font: var(--font);
  --arabic: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif;

  /* how big headings are set; look B overrides all of these */
  --hd-weight: 750;
  --hd-track: -0.035em;
  --hd-case: none;
  --hd-style: normal;
  --hd-stretch: 100%;
  --hd-lead: 1.04;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-card: 28px;
  --r-inner: 20px;
  --r-btn: 999px;
  --r-pill: 999px;

  --page: 74rem;
  --gutter: 16px;
  --header-h: 64px;
  --section: 80px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.18s;

  /* older names, still used by the admin pages */
  --red: var(--signal);
  --red-hover: var(--signal-hover);
  --red-deep: var(--signal-ink);
  --red-tint: var(--signal-soft);
  --ink-2: var(--ink-soft);
  --ink-3: var(--muted);
  --paper: var(--surface);
  --mist: var(--surface-2);
  --mist-2: var(--surface-3);
  --cream: var(--surface-2);
  --cream-2: var(--surface-2);
  --display: var(--display-font);
  --radius: var(--r-md);
  --radius-lg: var(--r-lg);
  --shadow-1: var(--elev-card);
  --shadow-2: var(--elev-card);
  --shadow-3: var(--elev-pop);
  --hairline: inset 0 0 0 1px var(--line);
}

[data-look="b"] {
  --surface-2: #f2f2f3;
  --surface-3: #e5e5e8;
  --ink: #0c0c0e;
  --ink-soft: #35363b;
  --muted: #6a6b72;
  --line: rgb(12 12 14 / 0.12);
  --line-2: rgb(12 12 14 / 0.26);
  --field: rgb(12 12 14 / 0.4);

  --c1: #ff3c44;
  --c2: #3e7cff;
  --c3: #18d2a3;
  --c4: #ffb01e;

  --dark: #000000;
  --dark-2: #131315;
  --dark-3: #222226;
  --on-dark-soft: #a3a3ab;

  --tone-feature: #000000;
  --tone-alt: #f2f2f3;
  --stage: radial-gradient(70% 70% at 50% 45%, #2c2c31 0%, #141416 64%, #0b0b0c 100%);
  --stage-flat: #f2f2f3;

  --elev-card: 0 0 0 0 transparent; /* not "none": it sits inside shadow lists */
  --elev-pop: 0 24px 60px -20px rgb(0 0 0 / 0.45);
  --ring-card: inset 0 0 0 2px var(--ink);

  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-font: var(--font);

  --hd-weight: 900;
  --hd-track: -0.005em;
  --hd-case: uppercase;
  --hd-style: italic;
  --hd-stretch: 75%;
  --hd-lead: 0.9;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-card: 16px;
  --r-inner: 10px;
  --r-btn: 10px;
}

/* ------------------------------------------------------------------ base */

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

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

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
body[data-locked] { overflow: hidden; }
main { flex: 1 0 auto; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--signal-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--signal); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1, h2 {
  font-weight: var(--hd-weight);
  letter-spacing: var(--hd-track);
  text-transform: var(--hd-case);
  font-style: var(--hd-style);
  font-stretch: var(--hd-stretch);
  line-height: var(--hd-lead);
}
h1 { font-size: clamp(2.4rem, 1.5rem + 4.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: 0; }
/* :where() keeps these as weak as a bare h1, so any class can resize a heading */
:where([data-look="b"]) h1 { font-size: clamp(2.8rem, 1.5rem + 6vw, 5.6rem); }
:where([data-look="b"]) h2 { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.2rem); }
:where([data-look="b"]) h3 { font-weight: 800; font-stretch: 88%; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
small { font-size: 0.8125rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

.num, .price, td.num, .stat-value, .tnum { font-variant-numeric: tabular-nums; }
/* Mona Sans draws its tabular zero with a slash, which reads oddly on a price */
[data-look="b"] :is(.num, .price, .tnum, .buy-total, .hero-stats dd, .hv-price, .slot .d2, .qty input, .qty-value, .cart-count) { font-variant-numeric: proportional-nums; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--signal-soft); color: var(--ink); }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 48rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
  border-radius: var(--r-btn); background: var(--signal); color: #fff;
  font-weight: 600; text-decoration: none; translate: 0 -120px;
  transition: translate 0.15s var(--ease);
}
.skip-link:not(:focus) { opacity: 0; pointer-events: none; }
.skip-link:focus { translate: 0 0; color: #fff; }

.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.lede { font-size: 1.0625rem; color: var(--ink-soft); max-width: 58ch; }
.disclaimer { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }

/* -------------------------------------------------------------- buttons */

.btn {
  --btn-bg: var(--signal);
  --btn-fg: var(--on-signal);
  --btn-bg-hover: var(--signal-hover);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition-property: background-color, color, box-shadow, scale;
  transition-duration: 0.15s;
  transition-timing-function: var(--ease);
}
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.btn:active { scale: 0.96; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; scale: 1; }
.btn svg { flex: none; }
.btn-dark { --btn-bg: var(--ink); --btn-bg-hover: #000; }
.btn-light, .btn-ghost {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-bg-hover: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-light:hover, .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost-light {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bg-hover: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.6);
}
.btn-wa { --btn-bg: var(--wa); --btn-bg-hover: #0e7a40; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
.btn-split { justify-content: space-between; }
.btn-split .buy-total { padding-left: 14px; box-shadow: inset 1px 0 0 rgb(255 255 255 / 0.35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }

[data-look="b"] .btn {
  font-weight: 800;
  font-stretch: 85%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9375rem;
}
[data-look="b"] .btn-lg { font-size: 1rem; }
[data-look="b"] .btn-ghost, [data-look="b"] .btn-light { box-shadow: inset 0 0 0 2px var(--ink); }

.btn[data-busy] { color: transparent; }
.btn[data-busy]::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--btn-fg); border-right-color: transparent; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.link-btn {
  padding: 0; border: 0; background: none; color: var(--muted);
  font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer;
}
.link-btn:hover { color: var(--ink); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); font-weight: 650;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.3em;
  transition: text-decoration-color var(--dur) var(--ease);
}
.text-link:hover { color: var(--ink); text-decoration-color: var(--signal); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--ink); text-decoration: none;
  transition-property: background-color, scale; transition-duration: var(--dur); transition-timing-function: var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn:active { scale: 0.96; }

/* ---------------------------------------------------------- chips, pills */

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 4px 11px;
  border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-soft);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; }
.chip-red { background: var(--signal-soft); color: var(--signal-ink); }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-ink { background: var(--ink); color: #fff; }
.chip-light { background: var(--surface); color: var(--ink); box-shadow: var(--elev-card); }
.chip-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }

.pill {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 0.6875rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em;
}
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-sky { background: var(--sky-soft); color: var(--sky); }
.pill-red { background: var(--signal-soft); color: var(--signal-ink); }
.pill-grape { background: var(--grape-soft); color: var(--grape); }
.pill-ink { background: var(--ink); color: #fff; }
[data-look="b"] .pill, [data-look="b"] .chip { border-radius: var(--r-xs); text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: 0.03em; }

/* ------------------------------------------------------- announcement */

.announce { background: var(--ink); color: #fff; font-size: 0.8125rem; font-weight: 500; }
.announce-track { display: grid; min-height: 36px; align-items: center; justify-items: center; text-align: center; padding-inline: 12px; }
.announce-item {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; margin: 0;
  opacity: 0; translate: 0 6px; transition: opacity 0.45s var(--ease), translate 0.45s var(--ease);
}
.announce-item[data-on] { opacity: 1; translate: 0 0; }
.announce-item svg { width: 15px; height: 15px; opacity: 0.85; }
[data-look="b"] .announce { background: var(--signal); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.75rem; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: translate 0.32s var(--ease);
}
html[data-header="hidden"] .site-header { translate: 0 -100%; }
html[data-header="hidden"] body[data-locked] .site-header { translate: 0 0; }
.header-inner { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); }
.header-start { display: flex; align-items: center; gap: 2px; margin-right: auto; min-width: 0; }
.header-end { display: flex; align-items: center; gap: 4px; }
.nav-main { display: none; }
.header-link, .header-cta { display: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.logo:hover { color: var(--ink); }
.logo-mark {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; padding: 3px; border-radius: 10px;
  background: #fff; color: var(--signal);
  box-shadow: inset 0 0 0 1px var(--line);
}
.logo-q { display: block; width: 100%; height: 100%; }
.logo-text { display: grid; line-height: 1.1; min-width: 0; }
.logo-word { font-family: var(--display-font); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo-sub { font-size: 0.6875rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.cart-link { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px; display: grid; place-items: center;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--signal); color: #fff; font-size: 0.6875rem; font-weight: 700;
  font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--bg);
}
.cart-count[hidden] { display: none; }
.cart-count[data-bump] { animation: bump 0.4s var(--ease-out); }
@keyframes bump { 40% { scale: 1.28; } }

.nav-main a {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); color: var(--ink-soft);
  font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-main a:hover { color: var(--ink); background: var(--surface-2); }
.nav-main a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }

/* B: a black bar that runs into the black hero */
[data-look="b"] .site-header { background: rgb(0 0 0 / 0.92); box-shadow: 0 1px 0 rgb(255 255 255 / 0.08); }
[data-look="b"] .site-header .logo, [data-look="b"] .site-header .icon-btn, [data-look="b"] .site-header .header-link { color: #fff; }
[data-look="b"] .site-header .icon-btn:hover { background: rgb(255 255 255 / 0.1); }
[data-look="b"] .site-header .logo-sub { color: #9b9ba3; }
/* the shop: the client's gold logo straight on the black bar, no tile */
[data-look="b"] .logo-mark { width: 40px; height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.logo-mark img { display: block; width: 100%; height: auto; }
.logo-wordmark { display: block; width: 108px; height: auto; margin-bottom: 3px; }
[data-look="b"] .logo-word { font-style: italic; font-weight: 900; font-stretch: 80%; text-transform: uppercase; letter-spacing: 0; font-size: 1.15rem; }
[data-look="b"] .logo-sub { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.625rem; }
[data-look="b"] .cart-count { box-shadow: 0 0 0 2px #000; }
[data-look="b"] .nav-main a { border-radius: var(--r-sm); color: #c9c9cf; text-transform: uppercase; font-style: italic; font-weight: 800; font-stretch: 85%; letter-spacing: 0.04em; font-size: 0.875rem; }
[data-look="b"] .nav-main a:hover, [data-look="b"] .nav-main a[aria-current="page"] { color: #fff; background: rgb(255 255 255 / 0.1); }
[data-look="b"] .nav-main a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }

/* ---------------------------------------------------------------- sheets */

.sheet { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s linear 0.36s; }
.sheet[data-open] { visibility: visible; transition-delay: 0s; }
.sheet-scrim { position: absolute; inset: 0; background: rgb(8 14 24 / 0.45); opacity: 0; transition: opacity 0.32s var(--ease); }
.sheet[data-open] .sheet-scrim { opacity: 1; }
.sheet-panel {
  position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column;
  width: min(92vw, 420px); background: var(--bg); box-shadow: var(--elev-pop);
  transition: translate 0.36s var(--ease-out);
}
.sheet-right .sheet-panel { right: 0; translate: 100% 0; }
.sheet-left .sheet-panel { left: 0; translate: -100% 0; }
.sheet[data-open] .sheet-panel { translate: 0 0; }
.sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line);
}
.sheet-head h2 { margin: 0; font-size: 1.375rem; }
.sheet-head h2 .num { color: var(--muted); font-weight: 500; font-style: normal; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 20px; }
.sheet-panel > [data-cart-inner] { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.sheet-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }

.menu-list { list-style: none; margin: 0; padding: 8px 0; }
.menu-list > li { border-bottom: 1px solid var(--line); }
.menu-list a, .menu-list summary {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; color: var(--ink); text-decoration: none; list-style: none; cursor: pointer;
  font-family: var(--display-font); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
}
[data-look="b"] .menu-list a, [data-look="b"] .menu-list summary { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 78%; letter-spacing: 0; font-size: 1.75rem; }
.menu-list summary svg { margin-left: auto; transition: rotate var(--dur) var(--ease); }
.menu-list summary::-webkit-details-marker { display: none; }
.menu-list details[open] summary svg { rotate: 45deg; }
.menu-list a[aria-current="page"] { color: var(--signal-ink); }
.menu-sub { display: grid; gap: 2px; padding: 0 0 14px; }
.menu-sub a { min-height: 44px; font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); text-transform: none; font-style: normal; font-stretch: 100%; }
[data-look="b"] .menu-sub a { text-transform: none; font-style: normal; font-weight: 600; font-stretch: 100%; font-size: 1rem; }
.menu-extra { display: grid; gap: 6px; padding: 18px 0; }
.menu-extra a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink-soft); font-weight: 600; text-decoration: none; }

/* cart lines */
.cart-lines { display: grid; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-media { position: relative; display: block; width: 76px; height: 76px; border-radius: var(--r-md); overflow: hidden; background: var(--stage-flat); }
/* absolute, so older Safari cannot size the box from the photo's own height */
.line-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.line-info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.line-title { color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.3; }
.line-title:hover { color: var(--signal-ink); }
.line-meta { font-size: 0.8125rem; color: var(--muted); }
.line-save { font-size: 0.8125rem; color: var(--ok); font-weight: 600; }
.line-actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.line-total { font-weight: 700; font-size: 0.9375rem; text-align: right; }
.line-total s { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; font-size: 1.0625rem; font-weight: 700; }
.cart-note { margin: 0 0 14px; font-size: 0.8125rem; color: var(--muted); }
.upsell {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center;
  margin: 12px 0 4px; padding: 12px; border-radius: var(--r-lg);
  background: var(--signal-soft); color: var(--signal-ink);
}
.upsell img { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: contain; background: #fff; }
.upsell b { display: block; color: var(--ink); font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.upsell span { font-size: 0.8125rem; }
.upsell form { grid-column: 1 / -1; }
.ship-meter { margin: 8px 0 4px; padding: 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.875rem; }
.meter { height: 6px; margin-top: 10px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--ok); transition: width 0.5s var(--ease-out); }
[data-look="b"] .meter > span { background: var(--signal); }
.cart-empty { display: grid; justify-items: center; gap: 10px; padding: 36px 0 12px; text-align: center; }
.cart-empty h3 { margin: 4px 0 0; }
.cart-empty p { color: var(--muted); max-width: 30ch; }
.cart-suggest {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px;
  margin-top: 18px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); text-align: left;
}
.cart-suggest img { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: contain; background: var(--stage-flat); }
.cart-suggest b { display: block; font-size: 0.9375rem; }

/* ----------------------------------------------------------------- forms */

.field { display: block; margin-bottom: 16px; }
.field > label, .label { display: block; margin-bottom: 6px; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.field > label .opt, .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--field); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink);
  font-size: 1rem; line-height: 1.4; appearance: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #94a0ae; }
.textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f2238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-soft); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--signal-soft); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
[data-look="b"] .input, [data-look="b"] .select, [data-look="b"] .textarea { border-width: 2px; }
.field-hint { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }
.field-row { display: grid; gap: 0 12px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-bottom: 16px; cursor: pointer; font-size: 0.9375rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--signal); }

.choices { display: grid; gap: 10px; }
.choice {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 15px 16px; border-radius: var(--r-md); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer;
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.choice:hover { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--signal); }
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--signal); background: #fffafa; }
.choice:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.choice-title { display: block; font-weight: 700; }
.choice-note { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--muted); }

.qty {
  display: inline-grid; grid-template-columns: 44px minmax(36px, auto) 44px; align-items: center;
  height: 50px; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--field);
}
.qty button {
  display: grid; place-items: center; width: 44px; height: 100%; padding: 0; border: 0;
  border-radius: var(--r-btn); background: none; color: var(--ink); transition: background-color var(--dur) var(--ease);
}
.qty button:hover { background: var(--surface-2); }
.qty button:disabled { color: var(--line-2); cursor: default; background: none; }
.qty input, .qty .qty-value {
  width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: center;
  font-weight: 700; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.qty-sm { grid-template-columns: 36px minmax(28px, auto) 36px; height: 38px; }
.qty-sm button { width: 36px; }

/* -------------------------------------------------- panels, notices, tables */

.panel { padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-head h1, .panel-head h2, .panel-head h3 { margin: 0; }
.panel-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

.summary-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; font-size: 0.9375rem; }
.summary-line .muted { color: var(--muted); }
.summary-line.total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--display-font); font-size: 1.25rem; font-weight: 800; }
.summary-line.total small { font-size: 0.6875rem; font-weight: 600; color: var(--muted); margin-right: 6px; letter-spacing: 0.06em; }
.summary-line.save { color: var(--ok); font-weight: 600; }

.notice { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.notice b, .notice strong { color: inherit; }
.notice-ok { background: var(--ok-soft); color: #0b5a45; }
.notice-warn { background: var(--warn-soft); color: #7a3409; }
.notice-err { background: var(--signal-soft); color: var(--signal-ink); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
/* on a phone a table scrolls sideways rather than squeezing every cell */
.table-wrap table.data { min-width: 560px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }

.price { font-weight: 750; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-was { margin-left: 8px; color: var(--muted); font-weight: 400; text-decoration: line-through; }
.price-note { font-size: 0.8125rem; color: var(--muted); font-weight: 400; }

/* ------------------------------------------------------------- sections */

.section { position: relative; padding-block: var(--section); }
.section-tight { padding-block: 24px var(--section); }
.section-tight-top { padding-top: 16px; }
.section-feature { background: var(--tone-feature); }
.section-alt { background: var(--tone-alt); }

.section-head { display: grid; gap: 0; max-width: 46rem; margin-bottom: 36px; }
.section-head.is-center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { margin: 0; }
.section-head p { margin: 14px 0 0; color: var(--ink-soft); font-size: 1.0625rem; max-width: 56ch; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head-row .section-head { margin-bottom: 0; }

/* B: a red speed bar over each heading, and black feature sections */
[data-look="b"] .section-head h2::before {
  content: ""; display: block; width: 46px; height: 8px; margin-bottom: 18px;
  background: var(--signal); transform: skewX(-24deg); transform-origin: left bottom;
}
[data-look="b"] .section-head.is-center h2::before { margin-inline: auto; }
[data-look="b"] .section-feature { color: #fff; }
[data-look="b"] .section-feature h2, [data-look="b"] .section-feature h3 { color: #fff; }
[data-look="b"] .section-feature .section-head p { color: var(--on-dark-soft); }

.two-col { display: grid; gap: 28px; }
.two-col > * { min-width: 0; }

.page-head { padding-block: 32px 8px; }
.page-head h1 { margin-bottom: 12px; font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.4rem); }
.page-head .lede { margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; padding: 0; font-size: 0.8125rem; color: var(--muted); list-style: none; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb svg { width: 14px; height: 14px; color: var(--line-2); }

[data-line], [data-enter-line] { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-line] > span, [data-enter-line] > span { display: block; }
[data-look="b"] [data-enter-line] { padding-right: 0.08em; }

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

.hero { position: relative; overflow: clip; background: radial-gradient(110% 80% at 100% 0%, #e8f0f9 0%, rgb(232 240 249 / 0) 60%), var(--bg); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 28px 40px; }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 20px; align-content: start; }
.hero-tag {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px; border-radius: var(--r-pill);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-soft);
  font-size: 0.875rem; font-weight: 600; line-height: 1.3;
}
.hero-tag .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--signal-soft); color: var(--signal); display: grid; place-items: center; }
.hero-tag .dot svg { width: 14px; height: 14px; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 1.4rem + 5.6vw, 4.8rem); }
.hero-sub { margin: 0; max-width: 42ch; font-size: 1.0625rem; color: var(--ink-soft); }
.hero-buy { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
/* the number comes first visually (column-reverse) and sits at the top, so all
   three line up even when a label wraps to two lines */
.hero-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.hero-stats dt { font-size: 0.75rem; line-height: 1.3; color: var(--muted); font-weight: 500; }
.hero-stats dd { margin: 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* the visual: four rings closing round the products */
.hero-visual { position: relative; width: 100%; max-width: 520px; margin: 8px auto 0; aspect-ratio: 1; }
.hero-figure .hero-visual { margin-top: 8px; }
.hero-stage { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffffff 0%, #eef4fb 55%, #dfe9f5 100%); box-shadow: inset 0 0 0 1px rgb(15 34 56 / 0.05); }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring-track { fill: none; stroke: color-mix(in srgb, var(--c) 14%, transparent); stroke-width: 6; }
.ring-arc {
  fill: none; stroke: var(--c); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 100 100; stroke-dashoffset: 0;
  transform: rotate(-90deg); transform-box: view-box; transform-origin: 50% 50%;
}
.hero-product { position: absolute; z-index: 1; left: 50%; top: 50%; width: 64%; height: auto; translate: -50% -48%; filter: drop-shadow(0 26px 30px rgb(15 34 56 / 0.2)); }
.hv-card {
  position: absolute; z-index: 2; display: grid; gap: 6px;
  padding: 12px 14px; border-radius: 18px; background: rgb(255 255 255 / 0.96);
  box-shadow: var(--elev-pop), inset 0 0 0 1px var(--line); font-size: 0.8125rem; line-height: 1.25; color: var(--ink-soft);
}
.hv-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.hv-row { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.hv-row b { font-weight: 600; color: var(--muted); }
.hv-tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; }
.hv-tick svg { width: 12px; height: 12px; }
.hv-dose { left: 0; top: 4%; min-width: 156px; }
.hv-pack { right: 0; bottom: 16%; }
.hv-price { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hv-save { justify-self: start; padding: 2px 8px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 0.75rem; }
.hero-figure { position: relative; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.ring-legend { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%; margin: 0; padding: 0; list-style: none; }
.ring-legend li { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8125rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.ring-legend li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* B: a black stadium-lit hero, huge italic capitals, thick glowing rings */
[data-look="b"] .hero { background: #000; color: #fff; }
[data-look="b"] .hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgb(255 255 255 / 0.045) 0 2px, transparent 2px 26px);
  mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
}
[data-look="b"] .hero::after {
  content: ""; position: absolute; right: -20%; top: 10%; width: 80%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(211 32 42 / 0.32), transparent);
}
[data-look="b"] .hero h1 { font-size: clamp(3.3rem, 1.2rem + 9.2vw, 7.6rem); line-height: 0.86; color: #fff; }
[data-look="b"] .hero-tag { font-stretch: 88%; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); color: #e4e4e7; border-radius: var(--r-xs); text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: 0.04em; font-size: 0.75rem; }
[data-look="b"] .hero-tag .dot { border-radius: 3px; background: var(--signal); color: #fff; }
[data-look="b"] .hero-sub { color: #b4b4bb; }
[data-look="b"] .hero .btn-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bg-hover: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 2px #fff; }
[data-look="b"] .hero-stats { gap: 0; border-block: 1px solid rgb(255 255 255 / 0.16); }
[data-look="b"] .hero-stats div { padding: 14px 4px 14px 14px; border-radius: 0; background: none; box-shadow: none; }
[data-look="b"] .hero-stats div + div { box-shadow: inset 1px 0 0 rgb(255 255 255 / 0.16); }
[data-look="b"] .hero-stats dt { color: #9b9ba3; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.6875rem; font-weight: 700; }
[data-look="b"] .hero-stats dd { font-size: 2.2rem; font-style: italic; font-weight: 900; font-stretch: 75%; color: #fff; letter-spacing: 0; }
[data-look="b"] .hero-stage { inset: 16%; background: radial-gradient(circle at 50% 45%, #2a2a2f 0%, #111113 70%); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 0 80px rgb(255 60 68 / 0.18); }
[data-look="b"] .rings { filter: drop-shadow(0 0 14px rgb(255 60 68 / 0.35)); }
[data-look="b"] .ring-track { stroke: color-mix(in srgb, var(--c) 20%, #000); stroke-width: 19; }
[data-look="b"] .ring-arc { stroke-width: 19; }
[data-look="b"] .hero-product { width: 58%; filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.6)); }
[data-look="b"] .hv-card { border-radius: var(--r-md); background: rgb(20 20 22 / 0.92); color: #d4d4d8; box-shadow: 0 20px 50px -16px rgb(0 0 0 / 0.8), inset 0 0 0 1px rgb(255 255 255 / 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
[data-look="b"] .hv-label { color: #9b9ba3; text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: 0.06em; }
[data-look="b"] .hv-row { color: #fff; }
[data-look="b"] .hv-row b { color: #9b9ba3; }
[data-look="b"] .hv-tick { background: var(--c3); color: #000; border-radius: 4px; }
[data-look="b"] .hv-price { color: #fff; font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 1.6rem; letter-spacing: 0; }
[data-look="b"] .hv-save { border-radius: 3px; background: var(--c3); color: #000; text-transform: uppercase; font-style: italic; font-weight: 900; }
[data-look="b"] .ring-legend li { border-radius: var(--r-xs); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); color: #fff; text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: 0.05em; font-size: 0.75rem; }
[data-look="b"] .ring-legend li::before { width: 11px; height: 11px; border-radius: 2px; transform: skewX(-14deg); box-shadow: 0 0 10px var(--c); }

/* the strip under the hero: still facts in A, a running ticker in B */
.marquee { overflow-x: auto; scrollbar-width: none; background: var(--surface); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; width: max-content; margin-inline: auto; padding-inline: 8px; }
.marquee-group { display: flex; padding: 0; margin: 0; list-style: none; }
.marquee-group[aria-hidden="true"] { display: none; }
.marquee-group li { display: inline-flex; align-items: center; gap: 8px; padding: 14px 16px; white-space: nowrap; font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); }
.marquee-group svg { width: 18px; height: 18px; color: var(--ok); }
[data-look="b"] .marquee { overflow: clip; background: var(--signal); box-shadow: none; }
[data-look="b"] .marquee-track { margin: 0; padding: 0; }
[data-look="b"] .marquee-group[aria-hidden="true"] { display: flex; }
[data-look="b"] .marquee-group li { color: #fff; font-style: italic; font-weight: 900; font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1rem; padding: 14px 22px; }
[data-look="b"] .marquee-group li::after { content: ""; width: 10px; height: 10px; margin-left: 26px; background: #000; transform: skewX(-20deg); }
[data-look="b"] .marquee-group svg { color: #fff; }

/* ------------------------------------------------------- benefit cards */

.metrics {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.metrics::-webkit-scrollbar { display: none; }
.metric { scroll-snap-align: start; display: grid; grid-template-rows: auto auto auto 1fr; gap: 12px; align-content: start; padding: 16px 16px 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); }
.metric-head { display: flex; align-items: center; gap: 10px; }
.metric-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.metric-icon svg { width: 20px; height: 20px; }
.metric-label { font-size: 0.875rem; font-weight: 700; color: var(--ink-soft); }
.metric-visual { position: relative; display: grid; place-items: center; height: 150px; border-radius: var(--r-inner); background: color-mix(in srgb, var(--c) 7%, #fff); overflow: clip; }
.metric h3 { margin: 4px 0 0; font-size: 1.25rem; }
.metric p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }

[data-look="b"] .metric { background: var(--dark-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); color: #fff; }
[data-look="b"] .metric-icon { border-radius: 4px; background: color-mix(in srgb, var(--c) 20%, #000); }
[data-look="b"] .metric-label { color: var(--c); text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: 0.06em; }
[data-look="b"] .metric-visual { background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 26%, #000) 0%, #0c0c0d 72%); }
[data-look="b"] .metric h3 { color: #fff; text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 1.75rem; letter-spacing: 0; line-height: 1; }
[data-look="b"] .metric p { color: var(--on-dark-soft); }

/* the four little visuals, coloured by their card */
.metric { --v-ink: var(--ink); --v-card: var(--surface); }
[data-look="b"] .metric { --v-ink: #ffffff; --v-card: #1d1d20; }
.v-target { width: 128px; height: 128px; overflow: visible; }
.v-target .board circle { stroke: var(--c); stroke-width: 1.5; }
.v-target .t1 { fill: color-mix(in srgb, var(--c) 12%, transparent); stroke-opacity: 0.45; }
.v-target .t2 { fill: color-mix(in srgb, var(--c) 22%, transparent); stroke-opacity: 0.6; }
.v-target .t3 { fill: color-mix(in srgb, var(--c) 38%, transparent); stroke-opacity: 0.8; }
.v-target .bull { fill: var(--c); stroke: none; }
.v-target .hit { fill: none; stroke: var(--c); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.v-target .arrow { transform-box: view-box; transform-origin: 54px 66px; }
.v-target .shaft { fill: none; stroke: var(--v-ink); stroke-width: 3.2; stroke-linecap: round; }
.v-target .vane { fill: var(--c); stroke: var(--v-ink); stroke-width: 0.8; stroke-linejoin: round; }
.v-target .vane-b { fill: color-mix(in srgb, var(--c) 70%, #fff); }
.v-target .nock { fill: var(--v-ink); }
.v-target .tip { fill: rgb(0 0 0 / 0.45); }

.v-cards { position: relative; width: 150px; height: 104px; }
.v-cards .fc { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 14px; background: var(--v-card); box-shadow: 0 8px 20px -8px rgb(0 0 0 / 0.25), inset 0 0 0 1px rgb(127 127 127 / 0.18); font-weight: 800; font-size: 1.75rem; color: var(--v-ink); }
.v-cards .fc:nth-child(1) { rotate: -8deg; translate: -14px 6px; background: var(--c); color: #fff; }
.v-cards .fc:nth-child(2) { rotate: 5deg; translate: 12px 2px; }
.v-cards .fc-tag { position: absolute; left: 10px; top: 8px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.04em; opacity: 0.7; }

.v-mood { display: grid; gap: 10px; justify-items: center; }
.v-mood svg { width: 72px; height: 72px; }
.v-mood .face { fill: #ffe08a; stroke: #e1a800; stroke-width: 2; }
.v-mood .eye { fill: #1a1a1a; }
.v-mood .mouth { fill: none; stroke: #1a1a1a; stroke-width: 3; stroke-linecap: round; }
.v-mood .track { position: relative; width: 120px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #fcd34d, var(--c)); }
.v-mood .knob { position: absolute; top: 50%; left: 85%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.3); }

.v-battery { position: relative; display: grid; grid-template-columns: auto 6px; align-items: center; }
.v-battery .cell { width: 112px; height: 52px; padding: 5px; border-radius: 12px; box-shadow: inset 0 0 0 3px var(--v-ink); }
.v-battery .cell, .v-battery .fill { display: block; }
.v-battery .fill { height: 100%; width: 100%; border-radius: 7px; background: var(--c); transform-origin: left; }
.v-battery .tip { width: 6px; height: 18px; border-radius: 0 4px 4px 0; background: var(--v-ink); }
[data-look="b"] .v-battery .cell { border-radius: 6px; }
[data-look="b"] .v-battery .fill { border-radius: 2px; background: repeating-linear-gradient(90deg, var(--c) 0 18px, transparent 18px 22px); }

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

.plans { display: grid; gap: 22px; max-width: 1080px; margin-inline: auto; }
.plan {
  position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px; border-radius: var(--r-card); background: var(--surface);
  box-shadow: var(--elev-card), var(--ring-card);
}
.plan-media { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-inner); background: var(--stage); overflow: clip; }
.plan-media img { width: 100%; height: 100%; object-fit: contain; }
.plan-body { display: grid; gap: 4px; min-width: 0; }
.plan-name { margin: 0; font-size: 1.375rem; }
.plan-dur { margin: 0; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.plan-price .price { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price s { color: var(--muted); font-size: 0.9375rem; }
.plan-unit { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.plan-save { padding: 2px 8px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 0.75rem; }
.plan-perks { display: grid; gap: 6px; margin: 10px 0 14px; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); }
.plan-perks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.4; }
.plan-perks svg { width: 18px; height: 18px; color: var(--ok); }
.plan form { margin: 0; }
.plan-badge {
  position: absolute; z-index: 2; top: -13px; left: 50%; translate: -50% 0; white-space: nowrap;
  padding: 5px 14px; border-radius: var(--r-pill); background: var(--signal); color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; box-shadow: 0 6px 16px -4px rgb(211 32 42 / 0.5);
}
.plan-badge.is-plain { background: var(--surface); color: var(--ink-soft); box-shadow: var(--elev-card), inset 0 0 0 1px var(--line); }
.plan.is-best { background: var(--ink); color: #fff; box-shadow: var(--elev-pop); }
.plan.is-best .plan-media { background: radial-gradient(70% 70% at 50% 42%, #2b4a70 0%, #172f4c 65%, #11253d 100%); }
.plan.is-best .plan-dur, .plan.is-best .plan-price s, .plan.is-best .plan-unit, .plan.is-best .plan-perks li { color: #b9c6d6; }
.plan.is-best .plan-perks { border-color: rgb(255 255 255 / 0.14); }
.plan.is-best .plan-perks svg { color: #5fd3b4; }
.plan.is-best .plan-save { background: rgb(95 211 180 / 0.16); color: #7de0c5; }
.plans-foot { display: grid; justify-items: center; gap: 10px; margin-top: 26px; text-align: center; }
.plans-foot p { margin: 0; color: var(--muted); font-size: 0.875rem; max-width: 52ch; }

[data-look="b"] .plan { box-shadow: inset 0 0 0 2px var(--ink); }
[data-look="b"] .plan-name { font-style: italic; text-transform: uppercase; font-weight: 900; font-stretch: 75%; font-size: 1.9rem; letter-spacing: 0; line-height: 1; }
[data-look="b"] .plan-dur { text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: 0.04em; font-size: 0.75rem; }
[data-look="b"] .plan-price .price { font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 2.4rem; letter-spacing: 0; }
[data-look="b"] .plan-save { border-radius: 3px; text-transform: uppercase; font-style: italic; font-weight: 900; background: var(--c3); color: #000; }
[data-look="b"] .plan-badge { border-radius: 3px; text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: 0.06em; transform: skewX(-12deg); box-shadow: none; }
[data-look="b"] .plan-badge.is-plain { background: var(--ink); color: #fff; }
[data-look="b"] .plan.is-best { background: #000; box-shadow: 0 0 0 3px var(--signal), 0 30px 60px -24px rgb(211 32 42 / 0.55); }
[data-look="b"] .plan.is-best .plan-media { background: var(--stage); }
[data-look="b"] .plan.is-best .plan-perks svg { color: var(--c3); }
[data-look="b"] .plan.is-best .plan-save { background: var(--c3); color: #000; }
[data-look="b"] .plan.is-best .btn { --btn-bg: var(--signal); }
[data-look="b"] .plan .btn-ghost { box-shadow: inset 0 0 0 2px var(--ink); }

/* ------------------------------------------------------------ product cards */

.products-grid { display: grid; gap: 28px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard { position: relative; display: grid; gap: 12px; align-content: start; }
.pcard-top { position: relative; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--stage); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.4s var(--ease), scale 0.6s var(--ease-out); }
.pcard-media img + img { opacity: 0; object-fit: cover; }
@media (hover: hover) {
  .pcard:hover .pcard-media img:first-child { scale: 1.03; }
  .pcard:hover .pcard-media img + img { opacity: 1; }
}
.pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.pcard-add { position: absolute; right: 10px; bottom: 10px; z-index: 2; margin: 0; }
.pcard-add .icon-btn { background: var(--surface); box-shadow: var(--elev-card); }
.pcard-add .icon-btn:hover { background: var(--ink); color: #fff; }
.pcard-body { display: grid; gap: 3px; }
.pcard-title { margin: 0; font-family: var(--font); font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.01em; line-height: 1.3; }
.pcard-title a { color: var(--ink); text-decoration: none; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard-sub { margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.45; }
.pcard-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 0.9375rem; }
.pcard-price .from { font-size: 0.8125rem; color: var(--ok); font-weight: 600; }

/* ----------------------------------------------------------- bundle packs */

.packs { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.packs-legend { padding: 0; margin-bottom: 6px; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.pack {
  position: relative; display: grid; grid-template-columns: auto 56px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 14px 12px 12px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer;
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.pack:hover { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.pack input { width: 20px; height: 20px; margin: 0; accent-color: var(--signal); }
.pack img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: contain; background: var(--stage-flat); }
.pack-body { display: grid; gap: 2px; min-width: 0; }
.pack-title { font-weight: 750; color: var(--ink); line-height: 1.25; }
.pack-note { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.pack-note .free { color: var(--ok); font-weight: 600; }
.pack-price { display: grid; justify-items: end; gap: 1px; text-align: right; }
.pack-price .price { font-size: 1.0625rem; }
.pack-price s { font-size: 0.8125rem; color: var(--muted); }
.pack-price .save { font-size: 0.75rem; color: var(--ok); font-weight: 700; white-space: nowrap; }
.pack-badge {
  position: absolute; top: -10px; right: 14px; padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--signal); color: #fff; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgb(211 32 42 / 0.3);
}
.pack-badge.is-plain { background: var(--ink); box-shadow: none; }
.pack:has(input:checked) { box-shadow: inset 0 0 0 2px var(--signal); background: #fffafa; }
.pack:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.pack.is-best:not(:has(input:checked)) { box-shadow: inset 0 0 0 1px rgb(211 32 42 / 0.45); }
.packs-foot { margin: 2px 0 0; font-size: 0.75rem; color: var(--muted); }
[data-look="b"] .pack { box-shadow: inset 0 0 0 2px var(--line-2); }
[data-look="b"] .pack-title { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 80%; font-size: 1.125rem; }
[data-look="b"] .pack-badge { border-radius: 3px; text-transform: uppercase; font-style: italic; font-weight: 900; transform: skewX(-12deg); box-shadow: none; }
[data-look="b"] .pack:has(input:checked) { box-shadow: inset 0 0 0 3px var(--signal); background: #fff; }

/* ----------------------------------------------------------- product page */

.pdp-wrap { padding-block: 16px 56px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pdp > * { min-width: 0; }
.pdp-side { display: grid; gap: 24px; align-content: start; }
.pdp-media { position: relative; margin-inline: calc(var(--gutter) * -1); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.gallery li { scroll-snap-align: center; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--stage); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery button[data-cutout] img { object-fit: contain; }
.gallery-dots { position: absolute; left: 50%; bottom: 14px; display: flex; gap: 6px; padding: 6px 10px; translate: -50% 0; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.85); backdrop-filter: blur(8px); }
.gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease); }
.gallery-dots span[data-on] { width: 16px; border-radius: var(--r-pill); background: var(--ink); }

.pdp-info { display: grid; gap: 16px; align-content: start; }
.pdp-vendor { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
[data-look="b"] .pdp-vendor { text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: 0.06em; font-size: 0.75rem; }
.pdp-title { margin: 0; font-size: clamp(2.3rem, 1.5rem + 3vw, 3.4rem); }
[data-look="b"] .pdp-title { font-size: clamp(3rem, 1.6rem + 5vw, 5rem); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pdp-price .price { font-size: 1.625rem; font-weight: 800; }
[data-look="b"] .pdp-price .price { font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 2.1rem; }
.pdp-sub { margin: 0; color: var(--ink-soft); font-size: 1.0625rem; }
.highlights { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.highlights li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--ink-soft); }
.highlights svg { width: 20px; height: 20px; margin-top: 2px; color: var(--ok); }
[data-look="b"] .highlights svg { color: var(--signal); }

.stock-line { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 0.9375rem; font-weight: 600; }
.stock-line::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.stock-line.low::before { background: #d97706; box-shadow: 0 0 0 4px var(--warn-soft); }
.stock-line.out::before { background: var(--muted); box-shadow: 0 0 0 4px var(--surface-2); }
.stock-line .muted { font-weight: 400; }

.buy { display: grid; gap: 10px; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buy-row .btn { min-height: 50px; }
.buy-total { font-variant-numeric: tabular-nums; }

.perks { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.perks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 16px; font-size: 0.875rem; color: var(--ink-soft); }
.perks li + li { border-top: 1px solid var(--line); }
.perks b { display: block; color: var(--ink); font-weight: 700; font-size: 0.9375rem; }
.perks svg { width: 20px; height: 20px; color: var(--ink); margin-top: 2px; }

.acc { border-top: 1px solid var(--line-2); }
.acc:last-of-type { border-bottom: 1px solid var(--line-2); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 12px 0; font-weight: 700; list-style: none; cursor: pointer; }
[data-look="b"] .acc summary { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 85%; letter-spacing: 0.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { position: relative; width: 16px; height: 16px; flex: none; }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; inset: 7px 0 auto; height: 2px; border-radius: 2px; background: currentColor; transition: rotate 0.25s var(--ease); }
.acc summary .pm::after { rotate: 90deg; }
.acc[open] summary .pm::after { rotate: 0deg; }
.acc-body { padding: 0 0 20px; color: var(--ink-soft); }
.acc-body > :first-child { margin-top: 0; }
.faq { max-width: 48rem; }

.prose { color: var(--ink-soft); max-width: 66ch; }
.prose-lg { font-size: 1.0625rem; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--signal); }
.prose > :last-child { margin-bottom: 0; }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -1px 0 var(--line), 0 -12px 30px rgb(15 34 56 / 0.08);
  translate: 0 110%; visibility: hidden;
  transition: translate 0.32s var(--ease-out), visibility 0s linear 0.32s;
}
.sticky-buy[data-on] { translate: 0 0; visibility: visible; transition-delay: 0s; }
.sticky-buy img { width: 48px; height: 48px; border-radius: var(--r-sm); object-fit: contain; background: var(--stage-flat); }
.sticky-buy b { display: block; font-size: 0.9375rem; line-height: 1.25; }
.sticky-buy .price { font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); }

/* the zoom view: dark all over; the photo is pinned inside the stage, so a
   big image can never spill past it or slide under the arrows */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; overflow: hidden; background: #0b0b0c; color: #fff; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.85); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: calc(8px + env(safe-area-inset-top)) 8px 8px 20px; font-size: 0.875rem; color: #d4d4d8; }
.lightbox-bar .icon-btn { color: #fff; }
.lightbox-bar .icon-btn:hover { background: rgb(255 255 255 / 0.12); color: #fff; }
.lightbox-stage { position: relative; min-height: 0; overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, #2c2c31 0%, #141416 64%, #0b0b0c 100%); }
.lightbox-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; padding: clamp(12px, 4vw, 48px); object-fit: contain; }
.lightbox-nav { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 12px calc(16px + env(safe-area-inset-bottom)); }
.lightbox-nav .icon-btn { width: 48px; height: 48px; background: rgb(255 255 255 / 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); }
.lightbox-nav .icon-btn:hover { background: rgb(255 255 255 / 0.2); color: #fff; }

/* ------------------------------------------------------ checklist, photo */

.checklist, .agenda-card { border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); overflow: clip; }
.checklist-head, .agenda-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 750; }
.checklist-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.checklist-icon svg { width: 20px; height: 20px; }
[data-look="b"] .checklist-head, [data-look="b"] .agenda-head { border-bottom: 2px solid var(--ink); text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: 0.02em; }
[data-look="b"] .checklist-icon { border-radius: 4px; background: var(--ink); color: #fff; }
.v-list { list-style: none; margin: 0; padding: 4px 20px 12px; display: grid; }
.v-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.v-list li:last-child { border-bottom: 0; }
.v-check { width: 24px; height: 24px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; color: #fff; }
.v-check svg { width: 14px; height: 14px; }
.v-check path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.v-tag { padding: 3px 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--c, var(--muted)) 12%, #fff); color: color-mix(in srgb, var(--c, var(--muted)) 80%, #000); font-size: 0.6875rem; font-weight: 700; }
[data-look="b"] .v-check { border-radius: 4px; background: var(--signal); }
[data-look="b"] .v-tag { border-radius: 3px; background: var(--c, var(--surface-3)); color: #000; text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: 0.04em; }

.photo { margin: 0; border-radius: var(--r-card); overflow: clip; outline: 1px solid var(--frame-line); outline-offset: -1px; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ----------------------------------------------------------- dosage */

.two-col.dose-wrap { align-items: start; }
.dose { display: grid; gap: 12px; }
.dose-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); }
.dose-row.is-main { box-shadow: var(--elev-card), inset 0 0 0 2px var(--ok); }
.dose-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); }
.dose-icon svg { width: 28px; height: 28px; }
.dose-body { min-width: 0; }
.dose-row h3 { margin: 0 0 8px; font-size: 1.125rem; }
.dose-times { display: flex; flex-wrap: wrap; gap: 8px; }
.dose-time { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill); background: var(--surface-2); font-size: 0.875rem; color: var(--ink-soft); }
.dose-time b { font-weight: 700; color: var(--ink); }
.dose-when { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dose-when svg { width: 16px; height: 16px; color: var(--muted); }
.tabs { display: inline-flex; gap: 4px; }
.tab-pill { width: 22px; height: 11px; border-radius: 6px; background: linear-gradient(90deg, var(--signal) 50%, #fff 50%); box-shadow: inset 0 0 0 1px rgb(211 32 42 / 0.45); }
.dose-side { display: grid; gap: 20px; align-content: start; }
.dose-notes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.dose-notes li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-soft); font-size: 0.9375rem; }
.dose-notes svg { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
.reminder { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; max-width: 360px; padding: 12px 14px; border-radius: 20px; background: rgb(255 255 255 / 0.96); box-shadow: var(--elev-pop), inset 0 0 0 1px var(--line); font-size: 0.8125rem; color: var(--ink-soft); }
.reminder .app { width: 38px; height: 38px; border-radius: 10px; background: var(--signal); display: grid; place-items: center; color: #fff; font-weight: 800; }
.reminder b { color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.reminder .time { font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
[data-look="b"] .dose-row { box-shadow: inset 0 0 0 2px var(--line-2); }
[data-look="b"] .dose-row.is-main { box-shadow: inset 0 0 0 3px var(--ink); }
[data-look="b"] .dose-row.is-main .dose-icon { background: var(--signal); color: #fff; }
[data-look="b"] .dose-icon { border-radius: 6px; }
[data-look="b"] .dose-row h3 { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 78%; font-size: 1.5rem; letter-spacing: 0; }
[data-look="b"] .dose-time { border-radius: var(--r-xs); background: var(--ink); color: #fff; }
[data-look="b"] .dose-time b { color: #fff; }
[data-look="b"] .dose-when { text-transform: uppercase; font-style: italic; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.04em; }
[data-look="b"] .dose-when svg { color: #fff; }
[data-look="b"] .dose-notes svg { color: var(--signal); }
[data-look="b"] .reminder { border-radius: 14px; }
[data-look="b"] .reminder .app { border-radius: 6px; font-style: italic; }

/* ------------------------------------------------------ old box, new box */

.swap-note { display: grid; gap: 20px; align-items: center; padding: 18px; border-radius: var(--r-card); background: var(--surface-2); }
.swap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; max-width: 360px; }
.swap-card { position: relative; display: grid; gap: 8px; margin: 0; }
.swap-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); background: #fff; }
.swap-card.new img { object-fit: contain; background: var(--stage); }
.swap-card.old img { filter: grayscale(0.4) contrast(0.95); opacity: 0.85; }
.swap-card figcaption { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-align: center; }
.section-swap { padding-top: 24px; }
.swap-facts { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.swap-facts li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 0.9375rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.swap-facts svg { width: 18px; height: 18px; margin-top: 1px; color: var(--ok); }
[data-look="b"] .swap-facts svg { color: var(--signal); }
.swap-card.new figcaption { color: var(--ok); }
.swap-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: var(--elev-card); color: var(--signal); }
.swap-copy h2 { margin: 0 0 8px; font-size: 1.375rem; text-transform: none; font-style: normal; font-stretch: 100%; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.swap-copy p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; max-width: 52ch; }
[data-look="b"] .swap-note { box-shadow: inset 0 0 0 2px var(--line-2); background: var(--surface); }
[data-look="b"] .swap-copy h2 { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 78%; font-size: 1.75rem; letter-spacing: 0; line-height: 1; }
[data-look="b"] .swap-card figcaption { text-transform: uppercase; font-style: italic; font-weight: 900; }
[data-look="b"] .swap-card.new figcaption { color: var(--signal); }

/* --------------------------------------------------------- founder */

.founder { display: grid; gap: 24px; grid-template-areas: "head" "profile" "copy"; }
.founder > * { min-width: 0; }
.founder-head { grid-area: head; margin: 0; }
.founder .profile { grid-area: profile; }
.founder-copy { grid-area: copy; display: grid; gap: 18px; align-content: start; }
.founder-bio { font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.5rem); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); max-width: 34ch; }
.founder-bio p { margin-bottom: 0.8em; }
.profile { display: grid; max-width: 420px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); overflow: clip; }
.profile-photo { position: relative; margin: 8px 8px 0; border-radius: var(--r-inner); overflow: clip; background: var(--surface-2); }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* the client's portrait is a cut-out: sit it on the bottom of a soft backdrop */
.profile-photo:has(img.is-cutout) { background: radial-gradient(80% 70% at 50% 35%, #ffffff 0%, var(--surface-2) 55%, var(--surface-3) 100%); }
.profile-photo img.is-cutout { object-fit: contain; object-position: center bottom; }
[data-look="b"] .profile-photo:has(img.is-cutout) { background: radial-gradient(80% 70% at 50% 35%, #ff5a62 0%, #d3202a 55%, #8f0f17 100%); }
.profile-pin { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.94); color: var(--ink); font-size: 0.75rem; font-weight: 700; }
.profile-body { display: grid; gap: 8px; padding: 18px 20px 20px; }
.profile-body h3 { margin: 0; font-size: 1.375rem; }
.profile-role { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.profile-facts { display: grid; margin: 6px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.profile-facts li { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.profile-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.profile-facts svg { width: 18px; height: 18px; color: var(--ok); }
.profile-facts .tag { padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-soft); font-size: 0.6875rem; font-weight: 700; white-space: nowrap; }
[data-look="b"] .profile-pin { border-radius: 3px; background: var(--signal); color: #fff; text-transform: uppercase; font-style: italic; font-weight: 900; }
[data-look="b"] .profile-body h3 { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 1.9rem; letter-spacing: 0; line-height: 0.95; }
[data-look="b"] .profile-facts svg { color: var(--signal); }
[data-look="b"] .founder-bio { font-weight: 600; font-stretch: 90%; }

/* ------------------------------------------------- steps with a line that fills */

.steps { position: relative; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps-line { display: none; }
.step { position: relative; display: grid; gap: 8px; align-content: start; }
.step-card { position: relative; height: 112px; margin-bottom: 6px; padding: 12px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); overflow: clip; }
.step-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 0.9375rem; }
.step h3 { margin: 0; font-size: 1.125rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.mini { display: grid; gap: 6px; font-size: 0.75rem; color: var(--ink-soft); }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 9px; border-radius: 10px; background: var(--surface-2); }
.mini-row b { font-weight: 700; color: var(--ink); }
.mini-row.is-on { box-shadow: inset 0 0 0 2px var(--signal); background: #fffafa; }
.mini-row.is-wa { background: var(--wa-bubble); color: var(--wa-ink); }
.mini-row .ticks { color: #2f9be0; }
[data-look="b"] .step-num { width: auto; height: auto; place-items: start; border-radius: 0; background: none; color: var(--signal); font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 3.4rem; line-height: 0.9; }
[data-look="b"] .step h3 { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 80%; font-size: 1.375rem; letter-spacing: 0; }
[data-look="b"] .step-card { box-shadow: inset 0 0 0 2px var(--line-2); }
[data-look="b"] .mini-row { border-radius: 4px; }

/* ------------------------------------------------ class covers and cards */

.cover { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 11; border-radius: var(--r-inner); isolation: isolate; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-motivasi { background: var(--signal); color: #fff; }
.cover-motivasi svg { position: absolute; right: -8%; bottom: -14%; width: 92%; color: rgb(255 255 255 / 0.95); }
.cover-motivasi::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: var(--signal-ink); z-index: -1; }
.cover-mengaji { background: var(--ink); color: #f3e7d3; }
.cover-mengaji .iqra { font-family: var(--arabic); font-weight: 700; font-size: clamp(4rem, 20vw, 7rem); line-height: 1; translate: 0 -6%; }
.cover-mengaji::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(68%, 300px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(243 231 211 / 0.2), 0 0 0 14px rgb(243 231 211 / 0.04); }
.cover-tuisyen { background: var(--surface-3); color: var(--ink); }
.cover-tuisyen .ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.06em 0.3em; font-family: var(--display-font); font-size: clamp(3.4rem, 16vw, 5.6rem); font-weight: 800; line-height: 0.9; }
.cover-tuisyen .ops span:nth-child(2), .cover-tuisyen .ops span:nth-child(3) { color: var(--signal); }
.cover-default { background: var(--surface-3); color: var(--ink); }
.cover-default .initial { font-family: var(--display-font); font-size: clamp(4rem, 20vw, 7rem); font-weight: 800; line-height: 1; }
[data-look="b"] .cover-mengaji { background: #000; }
[data-look="b"] .cover-tuisyen .ops { font-style: italic; font-weight: 900; font-stretch: 75%; }

.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); }
.ccard { position: relative; display: grid; grid-template-rows: auto 1fr; }
.ccard .cover { margin: 8px 8px 0; }
.ccard-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.ccard-title { margin: 0; font-size: 1.375rem; }
[data-look="b"] .ccard-title { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 1.9rem; letter-spacing: 0; line-height: 0.95; }
.ccard-title a { color: inherit; text-decoration: none; }
.ccard-title a::after { content: ""; position: absolute; inset: 0; }
.ccard-sub { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.ccard-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ccard-next { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--ink-soft); }
.ccard-next svg { width: 16px; height: 16px; }
.ccard .chips { position: absolute; top: 18px; left: 18px; z-index: 1; }
.ccard .chips .chip { background: rgb(255 255 255 / 0.94); color: var(--ink); }
.classes-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.classes-scroller::-webkit-scrollbar { display: none; }
.classes-scroller > * { scroll-snap-align: start; }
.grid { display: grid; gap: 16px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
.class-grid { gap: 24px; }

/* the page hero of the classes, a class and the about page */
.page-hero { position: relative; overflow: clip; padding-block: 18px 44px; background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%); }
.page-hero .hero-tag { margin-bottom: 18px; }
.page-hero h1 { margin: 0; max-width: 16ch; font-size: clamp(2.5rem, 1.4rem + 5vw, 4.6rem); }
.page-hero .lede { margin: 18px 0 0; }
.about-copy { display: grid; gap: 18px; align-content: start; }
.about-copy .hero-tag { margin: 0; }
[data-look="b"] .page-hero { background: #000; color: #fff; }
[data-look="b"] .page-hero h1 { color: #fff; font-size: clamp(3rem, 1.4rem + 7vw, 6.4rem); line-height: 0.88; }
[data-look="b"] .page-hero .lede, [data-look="b"] .page-hero .prose { color: #b4b4bb; }
[data-look="b"] .page-hero .breadcrumb, [data-look="b"] .page-hero .breadcrumb a { color: #9b9ba3; }
[data-look="b"] .page-hero .breadcrumb [aria-current] { color: #fff; }
[data-look="b"] .page-hero .btn-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bg-hover: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 2px #fff; }
[data-look="b"] .page-hero .hero-tag { background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); color: #e4e4e7; border-radius: var(--r-xs); text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: 0.04em; font-size: 0.75rem; }
[data-look="b"] .page-hero .hero-tag .dot { border-radius: 3px; background: var(--signal); color: #fff; }
[data-look="b"] .page-hero .photo { outline-color: rgb(255 255 255 / 0.1); }

/* the classes page: the next slot of every class */
.list-hero { display: grid; gap: 32px; }
.list-hero > * { min-width: 0; }
.sched-card { border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-pop), var(--ring-card); overflow: clip; max-width: 520px; }
.sched { display: grid; margin: 0; padding: 6px 10px 10px; list-style: none; }
.sched li + li { border-top: 1px solid var(--line); }
.sched a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 10px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: background-color var(--dur) var(--ease); }
.sched a:hover { background: var(--surface-2); }
.sched-day { display: grid; place-items: center; align-content: center; width: 52px; height: 56px; border-radius: 14px; background: var(--surface-2); line-height: 1.05; }
.sched-day b { font-size: 1.375rem; font-weight: 800; }
.sched-day span { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.sched-info { display: grid; gap: 2px; min-width: 0; }
.sched-info b { font-weight: 750; line-height: 1.25; }
.sched-info span { font-size: 0.8125rem; color: var(--muted); }
.sched-price { font-weight: 750; font-size: 0.9375rem; white-space: nowrap; }
[data-look="b"] .sched-card { color: var(--ink); }
[data-look="b"] .sched-day { border-radius: 6px; background: var(--signal); color: #fff; }
[data-look="b"] .sched-day b { font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 1.75rem; }
[data-look="b"] .sched-day span { color: #ffe1e2; text-transform: uppercase; font-style: italic; font-weight: 900; }
[data-look="b"] .sched-info b { text-transform: uppercase; font-style: italic; font-weight: 900; font-stretch: 80%; font-size: 1.125rem; }
[data-look="b"] .sched a { border-radius: 6px; }

/* class landing page */
.cls-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 4px; }
.cls-hero > * { min-width: 0; }
.cls-hero h1 { max-width: 14ch; }
.cls-copy { display: grid; gap: 18px; align-content: start; }
.cls-copy .hero-tag { margin: 0; }
.cls-copy .lede { margin: 0; }
.cls-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.cls-facts li { padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fact-k { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 600; margin-bottom: 2px; }
.cls-facts b { font-weight: 700; }
[data-look="b"] .cls-facts li { background: var(--dark-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
[data-look="b"] .fact-k { color: #9b9ba3; text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: 0.06em; font-size: 0.625rem; }
[data-look="b"] .cls-facts b { color: #fff; }
.cls-visual { position: relative; }
.cls-cover { padding: 8px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); }
[data-look="b"] .cls-cover { padding: 0; background: none; box-shadow: none; }
.cls-agenda { position: relative; margin: -40px 14px 0; }
.agenda { display: grid; margin: 0; padding: 4px 20px 14px; list-style: none; }
.agenda li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; }
.agenda li:last-child { border-bottom: 0; }
.agenda .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); color: var(--ink-soft); font-size: 0.75rem; font-weight: 800; }
.agenda.is-plain .n { width: 8px; height: 8px; margin-left: 8px; background: var(--signal); }
[data-look="b"] .agenda-card { color: var(--ink); }
[data-look="b"] .agenda .n { border-radius: 3px; background: var(--ink); color: #fff; font-style: italic; }
[data-look="b"] .agenda.is-plain .n { background: var(--signal); }
.about-class { align-items: start; }

.cls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.cls > * { min-width: 0; }
.accs { display: grid; }
.slot-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 122px; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.slot-grid::-webkit-scrollbar { display: none; }
.slot { position: relative; display: grid; gap: 2px; padding: 12px 12px 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; scroll-snap-align: start; transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot:hover { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.slot:has(input:checked) { box-shadow: inset 0 0 0 2px var(--signal); background: #fffafa; }
.slot:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.slot:has(input:disabled) { opacity: 0.45; cursor: not-allowed; background: var(--surface-2); }
.slot .d1 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.slot .d2 { font-family: var(--display-font); font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.slot .d3 { font-size: 0.875rem; font-weight: 600; }
.slot .d4 { margin-top: 6px; font-size: 0.75rem; color: var(--muted); }
.slot .d4.low { color: var(--warn); font-weight: 700; }
[data-look="b"] .slot .d1 { text-transform: uppercase; font-style: italic; font-weight: 900; }
[data-look="b"] .slot .d2 { font-style: italic; font-weight: 900; font-stretch: 75%; font-size: 1.875rem; letter-spacing: 0; }
[data-look="b"] .slot:has(input:checked) { box-shadow: inset 0 0 0 3px var(--signal); background: #fff; }
.booking-card { padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-pop), var(--ring-card); }
.booking-card h2 { font-size: 1.625rem; margin: 0; }
[data-look="b"] .booking-card h2 { font-size: 2.2rem; }
.booking-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 18px; }
.booking-price .price { font-size: 1.5rem; font-weight: 800; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.label-row .label { margin: 0; }

/* ------------------------------------------------------------ help band */

.section-band { padding-top: 0; }
.band { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 22px; padding: 36px 24px; border-radius: 32px; background: var(--ink); color: #fff; }
.band::after { content: ""; position: absolute; z-index: -1; right: -100px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(closest-side, rgb(58 99 216 / 0.45), transparent); }
.band h2 { margin: 0 0 10px; color: #fff; max-width: 18ch; }
.band p { margin: 0; color: #c3cfdc; max-width: 46ch; }
[data-look="b"] .band { border-radius: var(--r-card); background: var(--signal); }
[data-look="b"] .band::after { right: -60px; bottom: -40px; width: 360px; height: auto; aspect-ratio: 1; border-radius: 0; background: repeating-linear-gradient(115deg, rgb(0 0 0 / 0.14) 0 3px, transparent 3px 22px); }
[data-look="b"] .band p { color: #ffe1e2; }
[data-look="b"] .band .btn:not(.btn-ghost-light) { --btn-bg: #fff; --btn-fg: #000; --btn-bg-hover: #f2f2f3; }
[data-look="b"] .band .btn-wa svg { color: var(--wa); }
[data-look="b"] .band .btn-ghost-light { box-shadow: inset 0 0 0 2px #fff; }

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

.site-foot { margin-top: auto; padding-top: 56px; border-top: 1px solid var(--line); background: var(--bg); color: var(--ink-soft); font-size: 0.9375rem; }
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand { padding-bottom: 28px; }
.foot-brand p { margin: 14px 0 0; max-width: 40ch; color: var(--muted); }
.foot-brand .btn, .foot-brand .btn:hover { margin-top: 18px; color: #fff; text-decoration: none; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.foot-col:last-child { grid-column: 1 / -1; }
.foot-h { margin: 0 0 10px; color: var(--ink); font-size: 0.875rem; font-weight: 750; letter-spacing: 0; text-transform: none; font-style: normal; font-stretch: 100%; line-height: 1.3; }
.foot-col ul { display: grid; margin: 0; padding: 0; list-style: none; }
.foot-col li a, .foot-col li span { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.foot-col li svg { width: 16px; height: 16px; flex: none; opacity: 0.7; }
.foot-bottom { display: grid; gap: 14px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.pay-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pay-list li { padding: 5px 10px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-soft); font-size: 0.75rem; font-weight: 600; }
.foot-legal { display: grid; gap: 4px; }
[data-look="b"] .site-foot { background: #000; color: #b4b4bb; border-top: 0; }
[data-look="b"] .site-foot a { color: #d4d4d8; }
[data-look="b"] .site-foot a:hover { color: #fff; }
[data-look="b"] .site-foot .logo, [data-look="b"] .site-foot .foot-h { color: #fff; }
[data-look="b"] .site-foot .logo-sub, [data-look="b"] .foot-brand p, [data-look="b"] .foot-bottom { color: #8b8b93; }
[data-look="b"] .foot-h { text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: 0.04em; }
[data-look="b"] .foot-cols, [data-look="b"] .foot-bottom { border-color: rgb(255 255 255 / 0.12); }
[data-look="b"] .pay-list li { background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); color: #d4d4d8; border-radius: var(--r-xs); }

/* ---------------------------------------------- cart page, checkout, orders */

.cart-page { display: grid; gap: 24px; }
.cart-page > * { min-width: 0; }
.cart-table .line { grid-template-columns: 92px minmax(0, 1fr) auto; }
.cart-table .line-media { width: 92px; height: 92px; }
.summary-card { padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); }
.summary-card h2 { font-size: 1.375rem; margin-bottom: 12px; }
.summary-card .btn { margin-top: 16px; }

.checkout { display: grid; }
.checkout > * { min-width: 0; }
.co-summary { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.co-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 12px var(--gutter); border: 0; background: none; font-weight: 700; color: var(--ink); }
.co-toggle span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.co-toggle svg { transition: rotate var(--dur) var(--ease); }
.co-toggle[aria-expanded="true"] svg.chev { rotate: 180deg; }
.co-toggle .price { font-size: 1.125rem; }
.co-summary-body { padding: 0 var(--gutter) 20px; }
.co-summary-body[hidden] { display: none; }
.co-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 0; }
.co-thumb { position: relative; }
.co-thumb img { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.co-thumb .q { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--ink-soft); color: #fff; font-size: 0.75rem; font-weight: 700; }
.co-item b { font-weight: 700; font-size: 0.9375rem; }
.co-totals { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.co-form { padding: 24px var(--gutter) 48px; }
.co-block { margin-bottom: 28px; }
.co-block h2 { margin-bottom: 14px; font-size: 1.375rem; }
[data-look="b"] .co-block h2, [data-look="b"] .summary-card h2, [data-look="b"] .box h2, [data-look="b"] .sheet-head h2 { font-size: 1.75rem; }
.co-submit { margin-top: 8px; }
.co-legal { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }

.done-head { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; margin-bottom: 24px; }
.done-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; }
.done-icon svg { width: 26px; height: 26px; }
.done-head p { margin: 0; }
.done-head h1 { margin: 2px 0 0; font-size: clamp(1.8rem, 6vw, 2.6rem); }
.box { padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--elev-card), var(--ring-card); }
.box + .box { margin-top: 14px; }
.box h2 { font-size: 1.25rem; margin-bottom: 10px; }
.box-grid { display: grid; gap: 16px; }
.box-grid h3 { margin: 0 0 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.box-grid p { margin: 0; }

.timeline { display: grid; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 18px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-2); font-size: 0.75rem; font-weight: 700; }
.timeline .dot svg { width: 15px; height: 15px; }
.timeline li[data-done] { color: var(--ink); }
.timeline li[data-done] .dot { background: var(--ok); box-shadow: none; color: #fff; }
.timeline li[data-done]::before { background: var(--ok); }
.timeline li[data-now] .dot { box-shadow: inset 0 0 0 2px var(--signal); color: var(--signal-ink); }
.timeline b { display: block; font-weight: 700; }
.timeline small { color: var(--muted); }

.empty { display: grid; justify-items: center; gap: 8px; padding: 48px 20px; text-align: center; color: var(--muted); }
.empty h1, .empty h2, .empty h3 { color: var(--ink); margin: 0; }
.empty p { max-width: 42ch; }
.empty .btn-row { margin-top: 12px; }
.big-404 { font-family: var(--display-font); font-size: clamp(5rem, 30vw, 11rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; color: var(--signal); }
[data-look="b"] .big-404 { font-style: italic; font-weight: 900; font-stretch: 75%; letter-spacing: 0; }

.contact-list { display: grid; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--surface-2); color: var(--signal); }
.contact-list small { display: block; color: var(--muted); font-size: 0.8125rem; }
.contact-list b { font-weight: 700; }
.split { display: grid; gap: 28px; }
.split > *, .pfeature > * { min-width: 0; }
.pfeature { display: grid; gap: 20px; align-items: center; }
.pfeature-body { display: grid; gap: 12px; }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 140;
  display: flex; align-items: center; gap: 10px; max-width: min(92vw, 440px); padding: 12px 18px;
  border-radius: var(--r-btn); background: var(--ink); color: #fff; font-size: 0.9375rem; font-weight: 600;
  box-shadow: var(--elev-pop); translate: -50% 16px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), translate 0.25s var(--ease), visibility 0s linear 0.25s;
}
.toast[data-show="true"] { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }

/* ------------------------------------------------ payment choices at checkout */

.pay-group + .pay-group { margin-top: 22px; }
.pay-group-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.pay-group-title svg { width: 16px; height: 16px; color: var(--ok); }
.pay-opt { align-items: start; }
.pay-body { display: grid; gap: 3px; min-width: 0; }
.pay-head { display: flex; align-items: center; gap: 10px; }
.pay-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--ink); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.pay-icon svg { width: 18px; height: 18px; }
.choice:has(input:checked) .pay-icon { background: var(--signal); color: #fff; }
.pay-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pay-tags span { padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink-soft); font-size: 0.75rem; font-weight: 600; line-height: 1.3; }
.pay-demo { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--warn-soft); color: #7a3409; font-size: 0.8125rem; line-height: 1.45; }
[data-look="b"] .choice { box-shadow: inset 0 0 0 2px var(--line-2); }
[data-look="b"] .choice:has(input:checked) { box-shadow: inset 0 0 0 3px var(--signal); background: #fff; }
[data-look="b"] .pay-group-title { text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: 0.05em; color: var(--ink-soft); }
[data-look="b"] .pay-icon, [data-look="b"] .pay-tags span { border-radius: 4px; }
[data-look="b"] .pay-demo { border-radius: var(--r-sm); }

/* order pages: paid, or still waiting for the online payment */
.pay-line > span:last-child { text-align: right; }
.pay-line .chip { min-height: 22px; margin-left: 6px; padding: 2px 8px; font-size: 0.75rem; }
.box-paid { box-shadow: var(--elev-card), inset 0 0 0 2px var(--ok); }
.box-paid h2 { display: flex; align-items: center; gap: 8px; color: var(--ok); }
.box-paid h2 svg { width: 22px; height: 22px; }
.done-icon.is-wait { background: var(--warn); }

/* ------------------------------------------- the mock payment page (/bayar) */

body.pg { background: var(--surface-2); }
.pg-demo { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; background: var(--warn-soft); color: #7a3409; font-size: 0.8125rem; line-height: 1.4; text-align: left; }
.pg-demo b { flex: none; padding: 2px 9px; border-radius: var(--r-pill); background: var(--warn); color: #fff; font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; }
.pg-main { display: grid; justify-items: center; padding: 24px 16px 48px; }
.pg-card { width: 100%; max-width: 460px; padding: 20px; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgb(15 34 56 / 0.06), 0 24px 60px -24px rgb(15 34 56 / 0.3); }
.pg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pg-secure { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; color: var(--ok); }
.pg-secure svg { width: 18px; height: 18px; }
.pg-tag { padding: 3px 10px; border-radius: var(--r-pill); background: var(--warn-soft); color: var(--warn); font-size: 0.75rem; font-weight: 800; }
.pg-merchant { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pg-logo { width: 44px; height: 44px; padding: 5px; border-radius: 12px; background: var(--surface-2); color: var(--signal); }
.pg-logo svg, .pg-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pg-who { display: grid; min-width: 0; line-height: 1.3; }
.pg-who b { font-size: 0.9375rem; }
.pg-who span { font-size: 0.8125rem; color: var(--muted); }
.pg-amount { display: grid; justify-items: end; line-height: 1.2; }
.pg-amount small { font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
.pg-amount b { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-form { display: grid; gap: 12px; padding-top: 16px; }
.pg-form .notice { margin: 0; }
.pg-title { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; }
.pg-title-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); color: var(--ink); }
.pg-title-icon svg { width: 20px; height: 20px; }
.pg-pick { min-width: 0; margin: 0; padding: 0; border: 0; }
.pg-pick legend { margin-bottom: 8px; padding: 0; font-size: 0.875rem; font-weight: 700; }
.pg-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 324px; padding: 2px; overflow-y: auto; overscroll-behavior: contain; }
.pg-opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.875rem; font-weight: 600; line-height: 1.25; cursor: pointer; transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.pg-opt:hover { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.pg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pg-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--signal); background: #fffafa; }
.pg-opt:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.pg-initial { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); color: var(--ink-soft); font-size: 0.6875rem; font-weight: 800; }
.pg-opt:has(input:checked) .pg-initial { background: var(--signal); color: #fff; }
.pg-cardvis { display: grid; align-content: space-between; width: 100%; max-width: 320px; aspect-ratio: 1.586; margin: 4px auto 0; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #0f2238 0%, #24467a 60%, #3a63d8 100%); color: #fff; box-shadow: 0 18px 40px -18px rgb(15 34 56 / 0.6); }
.cv-chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #f6d27a, #c9a14a); }
.cv-num { font-size: 1.125rem; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.cv-meta { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.pg-hint { margin: 0; font-size: 0.8125rem; color: var(--muted); text-align: center; line-height: 1.45; }
.pg-qrbox { display: grid; justify-items: center; gap: 10px; }
.pg-qr { width: 200px; height: 200px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.pg-note { margin: 16px 0 0; font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.pg-busy { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgb(241 245 250 / 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pg-busy[hidden] { display: none; }
.pg-busy-card { display: grid; justify-items: center; gap: 4px; padding: 24px 28px; border-radius: 20px; background: #fff; box-shadow: var(--elev-pop); text-align: center; }
.pg-busy-card span:last-child { font-size: 0.8125rem; color: var(--muted); }
.pg-spinner { width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--signal); animation: spin 0.8s linear infinite; }
@media (min-width: 600px) {
  .pg-main { padding-top: 48px; }
  .pg-card { padding: 26px; }
}

/* -------------------------------------------------- back to the top */

.to-top {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55;
  display: none; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.55);
  opacity: 0; visibility: hidden; translate: 0 12px; scale: 0.9;
  transition: opacity 0.25s var(--ease), translate 0.25s var(--ease), scale 0.25s var(--ease), bottom 0.32s var(--ease-out), visibility 0s linear 0.25s;
}
.js .to-top { display: grid; }
.to-top[data-on] { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }
.to-top:hover { color: #fff; background: #000; }
.to-top:active { scale: 0.96; }
.to-top > svg:not(.to-top-ring) { position: relative; width: 20px; height: 20px; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top-ring circle { fill: none; stroke-width: 3; }
.to-top-ring .track { stroke: rgb(255 255 255 / 0.16); }
.to-top-ring .bar { stroke: var(--signal); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
/* above the bar that follows on product and class pages */
body:has(.sticky-buy[data-on]) .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
[data-look="b"] .to-top-ring .bar { stroke: #ff3c44; filter: drop-shadow(0 0 4px rgb(255 60 68 / 0.6)); }

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

@media (prefers-reduced-motion: no-preference) {
  /* the one entrance: the hero copy rises, the rings close, the product lands */
  [data-enter] { animation: enter-rise 700ms var(--ease) both; animation-delay: var(--d, 0ms); }
  [data-enter-line] > span { animation: line-rise 800ms var(--ease) both; animation-delay: var(--d, 0ms); }
  .ring-arc { animation: ring-close 1.5s var(--ease-out) both; animation-delay: calc(350ms + var(--i, 0) * 140ms); }
  .hero-product { animation: product-in 1s var(--ease-out) 250ms both; }
  .hv-card, .ring-legend { animation: card-in 600ms var(--ease-out) both; }
  .hv-dose { animation-delay: 1.1s; }
  .hv-pack { animation-delay: 1.3s; }
  .ring-legend { animation-delay: 1.5s; }
  .hv-tick { animation: pop 0.4s var(--ease-out) both; }
  .hv-row:nth-child(2) .hv-tick { animation-delay: 1.5s; }
  .hv-row:nth-child(3) .hv-tick { animation-delay: 1.75s; }

  /* B runs its strip as a ticker */
  [data-look="b"] .marquee-track { animation: marquee 34s linear infinite; }
  [data-look="b"] .marquee:hover .marquee-track { animation-play-state: paused; }

  /* the small visuals start their loops once seen (app.js adds data-inview) */
  /* the arrow flies in along its own line, thuds into the bull and wobbles */
  .js .v-target .arrow { opacity: 0; }
  [data-inview] .v-target .arrow { animation: arrow-shot 3.6s infinite; }
  [data-inview] .v-target .board { animation: board-thud 3.6s infinite; }
  [data-inview] .v-target .hit { animation: hit-flash 3.6s var(--ease-out) infinite; }
  [data-inview] .v-target .bull { animation: bull-pop 3.6s infinite; transform-box: fill-box; transform-origin: center; }
  [data-inview] .v-cards .fc:nth-child(2) { animation: flip 4s var(--ease) infinite; }
  [data-inview] .v-mood .knob { animation: knob 4s var(--ease) infinite; }
  [data-inview] .v-mood .mouth { animation: smile 4s var(--ease) infinite; }
  [data-inview] .v-battery .fill { animation: charge 3.6s var(--ease) infinite; }

  .js .v-list li .v-check { background: transparent; box-shadow: inset 0 0 0 2px var(--line-2); }
  .js .v-list li .v-check path { stroke-dashoffset: 24; }
  [data-inview] .v-list li .v-check { animation: tick-bg 0.3s var(--ease) both; animation-delay: calc(var(--i, 0) * 220ms + 300ms); }
  [data-inview] .v-list li .v-check path { animation: tick-draw 0.35s var(--ease) both; animation-delay: calc(var(--i, 0) * 220ms + 380ms); }

  .js .tab-pill { scale: 0; }
  [data-inview] .tab-pill { animation: pop 0.4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms + 200ms); }

  [data-inview] .swap-card.old { animation: swap-old 0.9s var(--ease) both; }
  [data-inview] .swap-card.new { animation: swap-new 0.9s var(--ease) 0.35s both; }

  .js .steps-fill { scale: 0 1; }
  [data-inview] .steps-fill { animation: fill-x 1.6s var(--ease) 0.2s both; transform-origin: left; }
  .js .agenda li { opacity: 0; }
  [data-inview] .agenda li { animation: row-in 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 140ms + 200ms); }
  [data-inview] .mini-row { animation: row-in 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 160ms + 300ms); }

  .pack-total-flash { animation: price-flash 0.5s var(--ease); }
  @view-transition { navigation: auto; }
}

@keyframes enter-rise { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes line-rise { from { translate: 0 110%; } to { translate: 0 0; } }
/* hidden until it starts: a round cap on a zero-length arc still draws a dot */
@keyframes ring-close { from { stroke-dashoffset: 100; opacity: 0; } 2% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes product-in { from { opacity: 0; translate: -50% -40%; scale: 0.94; } to { opacity: 1; translate: -50% -48%; scale: 1; } }
@keyframes card-in { from { opacity: 0; translate: 0 10px; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes marquee { from { translate: 0 0; } to { translate: -50% 0; } }
@keyframes arrow-shot {
  0% { translate: 46px -46px; rotate: 0deg; opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  4% { opacity: 1; }
  15% { translate: 0 0; rotate: 0deg; animation-timing-function: ease-out; }
  19% { rotate: -7deg; animation-timing-function: ease-in-out; }
  24% { rotate: 5deg; animation-timing-function: ease-in-out; }
  29% { rotate: -3deg; animation-timing-function: ease-in-out; }
  34% { rotate: 1.4deg; animation-timing-function: ease-in-out; }
  39% { rotate: 0deg; }
  84% { translate: 0 0; opacity: 1; }
  96%, 100% { translate: 0 0; opacity: 0; }
}
@keyframes board-thud { 0%, 14.5% { translate: 0 0; } 17% { translate: -1.8px 1.8px; } 21% { translate: 0.9px -0.9px; } 25%, 100% { translate: 0 0; } }
@keyframes hit-flash { 0%, 14.5% { scale: 0.6; opacity: 0; } 16% { scale: 0.8; opacity: 0.9; } 36%, 100% { scale: 3.4; opacity: 0; } }
@keyframes bull-pop { 0%, 14.5% { scale: 1; } 18% { scale: 1.35; } 26%, 100% { scale: 1; } }
@keyframes flip { 0%, 40% { rotate: 5deg; translate: 12px 2px; } 55%, 90% { rotate: -2deg; translate: 2px -10px; } 100% { rotate: 5deg; translate: 12px 2px; } }
@keyframes knob { 0%, 15% { left: 18%; } 55%, 100% { left: 85%; } }
@keyframes smile { 0%, 15% { d: path("M24 50 Q36 44 48 50"); } 55%, 100% { d: path("M24 46 Q36 58 48 46"); } }
@keyframes charge { 0% { scale: 0.18 1; } 70%, 100% { scale: 1 1; } }
@keyframes tick-bg { from { background-color: transparent; box-shadow: inset 0 0 0 2px var(--line-2); } to { background-color: var(--ok); box-shadow: inset 0 0 0 2px transparent; } }
[data-look="b"] [data-inview] .v-list li .v-check { animation-name: tick-bg-b; }
@keyframes tick-bg-b { from { background-color: transparent; box-shadow: inset 0 0 0 2px var(--line-2); } to { background-color: var(--signal); box-shadow: inset 0 0 0 2px transparent; } }
@keyframes tick-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { scale: 0; } 70% { scale: 1.15; } 100% { scale: 1; } }
@keyframes swap-old { from { opacity: 0; translate: 20px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes swap-new { from { opacity: 0; translate: -20px 12px; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes fill-x { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes row-in { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@keyframes price-flash { 0% { color: var(--signal); } 100% { color: inherit; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ breakpoints */

@media (max-width: 599px) {
  .hv-card { gap: 4px; padding: 8px 10px; border-radius: 14px; font-size: 0.75rem; }
  .hv-dose { min-width: 0; left: -4px; top: 0; }
  .hv-pack { right: -4px; bottom: 12%; }
  .hv-row { grid-template-columns: 18px 1fr auto; gap: 6px; }
  .hv-tick { width: 18px; height: 18px; }
  .hv-price { font-size: 1.05rem; }
  [data-look="b"] .hv-price { font-size: 1.3rem; }
  /* two by two on a phone, so no chip is left alone on a second row */
  .ring-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 320px); }
  .ring-legend li { justify-content: center; min-height: 36px; padding: 4px 10px; }
}

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-grid { gap: 36px 20px; }
  .metrics { grid-auto-columns: 46%; }
  .classes-scroller { grid-auto-columns: 46%; }
  .pdp-media { margin-inline: 0; }
  .gallery { border-radius: var(--r-card); }
  .band { padding: 52px 48px; }
  .foot-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cls-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pfeature { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .swap-note { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding: 22px 28px; }
  .hero-stats div { padding: 14px 16px; }
}

@media (min-width: 820px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
  .plans:has(> .plan:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .plan { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; padding: 14px 14px 20px; }
  .plan-body { padding: 4px 8px 0; grid-template-rows: auto auto auto auto 1fr auto; }
  .plan-perks { align-self: start; }
  .plan.is-best { translate: 0 -14px; }
  .plan-name { font-size: 1.5rem; }
  .plan-price .price { font-size: 2.125rem; }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; --header-h: 72px; --section: 112px; }
  body { font-size: 1.0625rem; }

  .header-start { margin-right: 0; }
  .header-start .menu-btn { display: none; }
  .header-inner { gap: 24px; }
  .nav-main { display: flex; flex: 1; justify-content: center; gap: 2px; }
  .header-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; color: var(--ink-soft); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
  .header-link:hover { color: var(--ink); }
  [data-look="b"] .header-link { color: #c9c9cf; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }

  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "copy visual" "stats visual";
    grid-template-rows: auto auto; align-content: center; column-gap: 48px; row-gap: 28px;
    min-height: min(760px, calc(100dvh - var(--header-h) - 36px)); padding-block: 40px 64px;
  }
  .hero-copy { grid-area: copy; align-self: end; }
  .hero-stats { grid-area: stats; align-self: start; margin: 0; max-width: 560px; }
  .hero-figure { grid-area: visual; align-self: center; justify-self: end; width: 100%; max-width: 560px; }
  .hero-figure .hero-visual { margin: 0; max-width: none; }
  [data-look="b"] .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); }

  .metrics { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; gap: 18px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .classes-scroller { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; overflow: visible; }

  .pdp-wrap { padding-block: 24px 88px; }
  .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .pdp-info { position: static; }
  .pdp-side { position: sticky; top: calc(var(--header-h) + 24px); }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; gap: 12px; overflow: visible; border-radius: 0; }
  .gallery li:first-child { grid-column: 1 / -1; }
  .gallery button { border-radius: var(--r-card); overflow: hidden; }
  .gallery-dots { display: none; }

  .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .founder { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); grid-template-areas: "profile head" "profile copy"; column-gap: 72px; row-gap: 22px; }
  .founder-head { align-self: end; }

  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 28px; }
  .steps-line { display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); overflow: clip; }
  .steps-fill { position: absolute; inset: 0; background: var(--ok); transform-origin: left; }
  [data-look="b"] .steps-line { height: 4px; }
  [data-look="b"] .steps-fill { background: var(--signal); }
  .step::before { content: ""; position: absolute; top: -33px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--bg); }
  .section-alt .step::before { box-shadow: 0 0 0 4px var(--tone-alt); }
  [data-look="b"] .step::before { top: -34px; width: 14px; height: 14px; border-radius: 2px; background: var(--signal); transform: skewX(-16deg); }

  .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }

  /* Kotak baharu: the two boxes big, the words beside them */
  .section-swap { padding-top: 48px; }
  .swap-note { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; padding: 40px 48px; }
  /* two columns for the boxes; the arrow floats over the gap between them */
  .swap { position: relative; max-width: none; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); align-items: end; gap: 28px; }
  .swap-arrow { position: absolute; z-index: 2; left: 45.9%; top: 50%; translate: -50% -50%; }
  .swap-card { gap: 12px; }
  .swap-card img { border-radius: var(--r-inner); }
  .swap-card figcaption { font-size: 0.875rem; }
  .swap-arrow { width: 48px; height: 48px; }
  .swap-arrow svg { width: 22px; height: 22px; }
  .swap-copy h2 { margin-bottom: 14px; font-size: clamp(2rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1.08; }
  [data-look="b"] .swap-copy h2 { font-size: clamp(2.4rem, 1.2rem + 2.2vw, 3.4rem); line-height: 0.92; }
  .swap-copy p { font-size: 1.0625rem; max-width: 44ch; }
  .swap-facts { margin-top: 22px; gap: 10px; }
  .swap-facts li { font-size: 1rem; }
  .cart-page { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .cart-page .summary-card { position: sticky; top: calc(var(--header-h) + 24px); }

  .checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100dvh - var(--header-h)); }
  .co-form { order: 1; padding: 48px 56px 72px max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter))); }
  .co-form-inner { max-width: 560px; margin-left: auto; }
  .co-summary { order: 2; border-bottom: 0; box-shadow: inset 1px 0 0 var(--line); }
  .co-summary-inner { position: sticky; top: calc(var(--header-h) + 8px); max-width: 480px; padding: 48px 48px 48px 56px; }
  .co-toggle { display: none; }
  .co-summary-body[hidden] { display: block; }
  .co-summary-body { padding: 0; }

  .page-hero { padding-block: 24px 72px; }
  .list-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 48px; }
  .sched-card { margin-left: auto; width: 100%; }
  .cls-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .cls { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .cls-side { position: sticky; top: calc(var(--header-h) + 24px); }
  .slot-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); margin: 0; padding: 2px; overflow: visible; }
  .booking-card { padding: 28px; }
  .plans:has(> .plan:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }

  .band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 56px 64px; }

  .site-foot { padding-top: 72px; }
  .foot-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 56px; padding-bottom: 56px; }
  .foot-brand { padding-bottom: 0; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 0; border: 0; }
  .foot-col:last-child { grid-column: auto; }
}

@media print {
  .announce, .site-header, .site-foot, .sheet, .toast, .sticky-buy, .btn, .to-top { display: none !important; }
}
