/* SaveAmount public site — v2. No framework: one stylesheet, design tokens, light + dark. */

:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #f1eee7;
  --ink: #17131f;
  --body: #474253;
  --muted: #6c6779;
  --line: #e4dfd5;
  --brand: #5b21b6;
  --brand-strong: #4c1d95;
  --brand-soft: #efe9fb;
  --save: #0a7a55;
  --save-strong: #075f42;
  --save-soft: #e2f4ec;
  --on-save: #ffffff;
  --warn: #a8480a;
  --warn-soft: #fdf0e1;
  --danger: #b42318;
  --shadow: 0 1px 2px rgba(23, 19, 31, .05), 0 8px 24px -12px rgba(23, 19, 31, .18);
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1180px;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121016;
    --surface: #1b1822;
    --surface-2: #24202d;
    --ink: #f4f1f9;
    --body: #cbc6d8;
    --muted: #9a94ab;
    --line: #2f2a3a;
    --brand: #b89cf6;
    --brand-strong: #d2c0fb;
    --brand-soft: #2a2242;
    --save: #35c794;
    --save-strong: #5cdcae;
    --save-soft: #14302a;
    --on-save: #06241a;
    --warn: #f0a55c;
    --warn-soft: #33241a;
    --danger: #f97066;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .7);
  }
}

/* ---------- Theme: "slate" — cool white, navy and green (Admin > Site Content > Colour theme) ---------- */
:root[data-theme="slate"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --ink: #0f1b2d;
  --body: #3b4758;
  --muted: #64748b;
  --line: #e1e6ee;
  --brand: #3f3fbf;
  --brand-strong: #2f2f9c;
  --brand-soft: #eeeffc;
  --save: #0b8457;
  --save-strong: #086944;
  --save-soft: #e4f5ed;
  --on-save: #ffffff;
  --warn: #a14a08;
  --warn-soft: #fdf1e2;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 10px 28px -14px rgba(15, 27, 45, .2);
  --radius: 12px;
  --radius-sm: 8px;
  --display: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="slate"] {
    --bg: #0b1220;
    --surface: #121b2d;
    --surface-2: #1a2540;
    --ink: #f1f5f9;
    --body: #c5cfdc;
    --muted: #8b9bb0;
    --line: #233149;
    --brand: #a9b4ff;
    --brand-strong: #c9d0ff;
    --brand-soft: #1d2650;
    --save: #34d399;
    --save-strong: #6ee7b7;
    --save-soft: #0e2e29;
    --on-save: #04231a;
    --warn: #f3ad63;
    --warn-soft: #33261a;
    --danger: #f97066;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -14px rgba(0, 0, 0, .75);
  }
}
/* Quieter shapes to go with it: page sections sit on a soft grey band, cards stay white. */
[data-theme="slate"] body { background: var(--bg); }
[data-theme="slate"] h1, [data-theme="slate"] h2 { letter-spacing: -.025em; }
[data-theme="slate"] .hero { background: var(--surface-2); border-bottom: 1px solid var(--line); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
[data-theme="slate"] .hero-search { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; }
[data-theme="slate"] .hero-search .btn { border-radius: 10px; }
[data-theme="slate"] .btn { border-radius: 10px; }
[data-theme="slate"] .chip { border-width: 1px; border-radius: 8px; }
[data-theme="slate"] .hero-stats .stat { margin-left: 0; box-shadow: var(--shadow); border-color: transparent; }
[data-theme="slate"] .ticket-stub::before, [data-theme="slate"] .ticket-stub::after { background: var(--bg); }
[data-theme="slate"] .site-header { background: color-mix(in srgb, var(--surface) 92%, transparent); }
[data-theme="slate"] .site-footer { background: var(--surface-2); }
[data-theme="slate"] .band { border-radius: var(--radius); }
[data-theme="slate"] .search-field, [data-theme="slate"] .input, [data-theme="slate"] .inline-form .input { border-width: 1px; border-radius: 10px; }
[data-theme="slate"] .reveal, [data-theme="slate"] .reveal-cover { border-radius: 9px; }
[data-theme="slate"] .reveal.has-code .reveal-cover { border-radius: 9px 0 0 9px; }
[data-theme="slate"] .reveal-peek { border-radius: 9px; }

/* ---------- Theme: "vivid" — the Classic type and shapes, led by the logo's violet ---------- */
:root[data-theme="vivid"] {
  --bg: #faf9fe;
  --surface: #ffffff;
  --surface-2: #f1edfb;
  --ink: #1b1235;
  --body: #463f5c;
  --muted: #6f6888;
  --line: #e6e0f4;
  --brand: #6d28d9;
  --brand-strong: #5521b5;
  --brand-soft: #efe8fd;
  --save: #0b8457;
  --save-strong: #086944;
  --save-soft: #e2f5ec;
  --on-save: #ffffff;
  --shadow: 0 1px 2px rgba(27, 18, 53, .06), 0 10px 28px -14px rgba(76, 29, 149, .28);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="vivid"] {
    --bg: #100b1f;
    --surface: #19122e;
    --surface-2: #231a40;
    --ink: #f5f2fc;
    --body: #cdc6e0;
    --muted: #9c94b5;
    --line: #2e2450;
    --brand: #bfa3ff;
    --brand-strong: #d8c6ff;
    --brand-soft: #2b1f52;
    --save: #3ddc97;
    --save-strong: #6ee7b7;
    --save-soft: #11302a;
    --on-save: #04231a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -14px rgba(0, 0, 0, .75);
  }
}
/* The hero is a full violet band in both light and dark; everything on it is set explicitly. */
[data-theme="vivid"] .hero { background: radial-gradient(120% 140% at 0% 0%, #7c3aed 0%, #5b21b6 45%, #3b1582 100%); color: #ebe4fb; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
[data-theme="vivid"] .hero h1 { color: #ffffff; }
[data-theme="vivid"] .hero h1 em { color: #6ee7b7; }
[data-theme="vivid"] .hero .eyebrow { color: #d9c9ff; }
[data-theme="vivid"] .hero .muted { color: #d9c9ff; }
[data-theme="vivid"] .hero-search { background: #ffffff; border-color: #ffffff; box-shadow: 5px 5px 0 #1b1235; }
[data-theme="vivid"] .hero-search input { color: #1b1235; }
[data-theme="vivid"] .hero-search input::placeholder { color: #6f6888; }
[data-theme="vivid"] .hero-search .btn-save { background: #0b8457; color: #ffffff; }
[data-theme="vivid"] .hero-search .btn-save:hover { background: #086944; }
[data-theme="vivid"] .hero .chip { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #ffffff; }
[data-theme="vivid"] .hero .chip:hover { background: #ffffff; border-color: #ffffff; color: #5521b5; }
[data-theme="vivid"] .hero .stat { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
[data-theme="vivid"] .hero .stat strong { color: #ffffff; }
[data-theme="vivid"] .hero .stat span { color: #ddd2f7; }
[data-theme="vivid"] .hero :focus-visible { outline-color: #ffffff; }
[data-theme="vivid"] .band { background: radial-gradient(120% 160% at 0% 0%, #7c3aed 0%, #5b21b6 50%, #3b1582 100%); color: #ebe4fb; }
[data-theme="vivid"] .band h2 { color: #ffffff; }
[data-theme="vivid"] .band-form input { background: #ffffff; color: #1b1235; }
[data-theme="vivid"] .btn-ink { background: var(--brand); color: #ffffff; }
@media (prefers-color-scheme: dark) { [data-theme="vivid"] .btn-ink { color: #1b1235; } }
[data-theme="vivid"] .steps li::before { background: var(--brand); color: var(--surface); }
[data-theme="vivid"] .chip.is-active, [data-theme="vivid"] .chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--surface); }
[data-theme="vivid"] .side-list a[aria-current], [data-theme="vivid"] .pager [aria-current], [data-theme="vivid"] .letters a[aria-current] { background: var(--brand); border-color: var(--brand); color: var(--surface); }

/* =====================================================================
   Light-only themes. Each one sets every colour token, so the dark-mode
   values above never apply: the site stays light on a dark device.
   ===================================================================== */

/* ---------- "editorial" — pure white, black type, one coral accent ---------- */
:root[data-theme="editorial"] {
  color-scheme: light;
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f3f3f3;
  --ink: #0d0d0d; --body: #3a3a3a; --muted: #6b6b6b; --line: #e4e4e4;
  --brand: #0d0d0d; --brand-strong: #000000; --brand-soft: #f3f3f3;
  --save: #d7263d; --save-strong: #b51c31; --save-soft: #fdecee; --on-save: #ffffff;
  --warn: #9a4a00; --warn-soft: #fdf1e2; --danger: #b42318;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 28px -16px rgba(0, 0, 0, .22);
  --radius: 6px; --radius-sm: 4px;
  --display: 'Montserrat', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --text: 'Montserrat', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
}
[data-theme="editorial"] body { font-weight: 500; }
[data-theme="editorial"] h1, [data-theme="editorial"] h2 { letter-spacing: -.03em; }
[data-theme="editorial"] .site-header { background: #ffffff; backdrop-filter: none; }
[data-theme="editorial"] .site-nav a, [data-theme="editorial"] .site-nav summary { font-size: .86rem; padding: 0 9px; }
[data-theme="editorial"] .site-nav a[aria-current="page"] { color: var(--save); box-shadow: inset 0 -2px 0 var(--save); }
[data-theme="editorial"] .eyebrow { color: var(--save); }
[data-theme="editorial"] .hero { border-bottom: 1px solid var(--line); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
[data-theme="editorial"] .hero-search { background: var(--surface-2); border: 0; border-radius: 6px; box-shadow: none; }
[data-theme="editorial"] .hero-search .btn { border-radius: 4px; }
[data-theme="editorial"] .search-field { background: var(--surface-2); border-color: transparent; border-radius: 6px; }
[data-theme="editorial"] .hero-stats .stat { margin-left: 0; border: 0; border-left: 3px solid var(--ink); border-radius: 0; background: transparent; padding-block: 8px; }
[data-theme="editorial"] .chip { border-width: 1px; }
[data-theme="editorial"] .ticket-stub { background: var(--ink); color: #ffffff; border-right-color: #ffffff; }
[data-theme="editorial"] .ticket[data-type="deal"] .ticket-stub { background: var(--save); color: #ffffff; border-right-color: #ffffff; }
[data-theme="editorial"] .reveal, [data-theme="editorial"] .reveal-cover, [data-theme="editorial"] .reveal-peek { border-radius: 4px; }
[data-theme="editorial"] .reveal.has-code .reveal-cover { border-radius: 4px 0 0 4px; }
[data-theme="editorial"] .reveal-peek { border-color: var(--ink); background: #ffffff; }
[data-theme="editorial"] .badge-verified { background: var(--surface-2); color: var(--ink); }
[data-theme="editorial"] .badge-exclusive { background: var(--ink); color: #ffffff; }
[data-theme="editorial"] .store-tile small { color: var(--save-strong); }
[data-theme="editorial"] .section-head { border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
[data-theme="editorial"] .site-footer { background: #0d0d0d; color: #cfcfcf; border-top: 0; }
[data-theme="editorial"] .site-footer a { color: #e6e6e6; }
[data-theme="editorial"] .site-footer a:hover { color: #ffffff; }
[data-theme="editorial"] .site-footer h2 { color: #9a9a9a; }
[data-theme="editorial"] .site-footer .brand-word { color: #ffffff; }
[data-theme="editorial"] .site-footer .brand-word b { color: #ff6b7d; }
[data-theme="editorial"] .site-footer .input { background: #1c1c1c; border-color: #333333; color: #ffffff; }
[data-theme="editorial"] .site-footer .btn-ink { background: var(--save); color: #ffffff; }
[data-theme="editorial"] .site-footer .social a, [data-theme="editorial"] .footer-legal { border-color: #333333; color: #9a9a9a; }
[data-theme="editorial"] .site-footer .fine { color: #9a9a9a; }

/* ---------- "orchid" — soft lilac page, purple brand, amber buttons ---------- */
:root[data-theme="orchid"] {
  color-scheme: light;
  --bg: #f9f4f8; --surface: #ffffff; --surface-2: #f0e8f4;
  --ink: #241a33; --body: #4a4159; --muted: #74698a; --line: #e6dcec;
  --brand: #6f4fa8; --brand-strong: #563a8a; --brand-soft: #efe7f8;
  --save: #ffc107; --save-strong: #f0ad00; --save-soft: #fff3cf; --on-save: #2b2000;
  --warn: #a8480a; --warn-soft: #fdf0e1; --danger: #b42318;
  --shadow: 0 1px 2px rgba(36, 26, 51, .05), 0 14px 30px -16px rgba(111, 79, 168, .35);
  --radius: 20px; --radius-sm: 12px;
  --display: 'Poppins', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --text: 'Poppins', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
}
[data-theme="orchid"] body { font-size: 15.5px; }
[data-theme="orchid"] h1, [data-theme="orchid"] h2 { font-weight: 700; letter-spacing: -.02em; }
[data-theme="orchid"] .hero h1 em { color: var(--brand); }
[data-theme="orchid"] .hero-search { border: 0; box-shadow: var(--shadow); }
[data-theme="orchid"] .hero-stats .stat { margin-left: 0; border-color: transparent; box-shadow: var(--shadow); }
[data-theme="orchid"] .hero-stats .stat strong { color: var(--brand); }
[data-theme="orchid"] .card, [data-theme="orchid"] .ticket, [data-theme="orchid"] .store-tile, [data-theme="orchid"] .panel, [data-theme="orchid"] .steps li { border-color: transparent; box-shadow: var(--shadow); }
[data-theme="orchid"] .ticket[data-type="deal"] .ticket-stub { color: #7a5600; border-right-color: #e9c14a; }
[data-theme="orchid"] .badge-verified { background: var(--brand-soft); color: var(--brand-strong); }
[data-theme="orchid"] .store-tile small { color: var(--brand); }
[data-theme="orchid"] .reveal-peek { border-color: #e0a800; }
[data-theme="orchid"] .btn-ink, [data-theme="orchid"] .steps li::before { background: var(--brand); color: #ffffff; }
[data-theme="orchid"] .chip.is-active, [data-theme="orchid"] .chip[aria-pressed="true"],
[data-theme="orchid"] .side-list a[aria-current], [data-theme="orchid"] .pager [aria-current], [data-theme="orchid"] .letters a[aria-current] { background: var(--brand); border-color: var(--brand); color: #ffffff; }
[data-theme="orchid"] .notice { background: var(--brand-soft); color: var(--brand-strong); }
[data-theme="orchid"] .band { background: linear-gradient(135deg, #6f4fa8, #8a66c4 60%, #b07cc0); color: #f3ecfb; }
[data-theme="orchid"] .band h2 { color: #ffffff; }
[data-theme="orchid"] .band-form input { background: #ffffff; color: #241a33; }
[data-theme="orchid"] .site-footer { background: #6f4fa8; color: #efe7f8; border-top: 0; }
[data-theme="orchid"] .site-footer a, [data-theme="orchid"] .site-footer h2, [data-theme="orchid"] .site-footer .fine, [data-theme="orchid"] .footer-legal { color: #efe7f8; }
[data-theme="orchid"] .site-footer a:hover { color: #ffffff; }
[data-theme="orchid"] .site-footer .brand-word, [data-theme="orchid"] .site-footer .brand-word b { color: #ffffff; }
[data-theme="orchid"] .site-footer .social a, [data-theme="orchid"] .footer-legal { border-color: rgba(255, 255, 255, .3); }
[data-theme="orchid"] .site-footer .btn-ink { background: var(--save); color: var(--on-save); }
[data-theme="orchid"] .site-footer .input { border-color: transparent; }

/* ---------- "fresh" — white and mint, forest-green buttons, the logo's violet as accent ---------- */
:root[data-theme="fresh"] {
  color-scheme: light;
  --bg: #ffffff; --surface: #ffffff; --surface-2: #eef7f0;
  --ink: #1d2a24; --body: #3d4a44; --muted: #66756d; --line: #dbe7df;
  --brand: #6d28d9; --brand-strong: #5521b5; --brand-soft: #efe8fd;
  --save: #2f6b52; --save-strong: #235340; --save-soft: #dff3e6; --on-save: #ffffff;
  --warn: #a8480a; --warn-soft: #fdf0e1; --danger: #b42318;
  --shadow: 0 1px 2px rgba(29, 42, 36, .05), 0 12px 28px -16px rgba(47, 107, 82, .35);
  --radius: 18px; --radius-sm: 10px;
  --display: 'Nunito Sans', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --text: 'Nunito Sans', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
}
[data-theme="fresh"] h1, [data-theme="fresh"] h2 { font-weight: 800; letter-spacing: -.02em; }
[data-theme="fresh"] .hero { background: linear-gradient(180deg, #dff3e6, #eef7f0); border-radius: 0 0 28px 28px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
[data-theme="fresh"] .hero .eyebrow { color: var(--save-strong); }
[data-theme="fresh"] .hero-search { border: 2px solid var(--brand); box-shadow: none; }
[data-theme="fresh"] .search-field { border-color: var(--brand); }
[data-theme="fresh"] .hero-stats .stat { margin-left: 0; border-color: transparent; box-shadow: var(--shadow); }
[data-theme="fresh"] .hero-stats .stat strong { color: var(--save); }
[data-theme="fresh"] .section-head h2 { text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; }
[data-theme="fresh"] .section-head { border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
[data-theme="fresh"] .ticket-stub { background: var(--save-soft); color: var(--save-strong); border-right-color: #9fcdb3; }
[data-theme="fresh"] .ticket[data-type="deal"] .ticket-stub { background: var(--brand-soft); color: var(--brand-strong); border-right-color: #c9b3f5; }
[data-theme="fresh"] .site-nav a[aria-current="page"] { color: var(--save-strong); box-shadow: inset 0 -2px 0 var(--save); }
[data-theme="fresh"] .btn-ink, [data-theme="fresh"] .steps li::before { background: var(--ink); color: #ffffff; }
[data-theme="fresh"] .band { background: #2f6b52; color: #e2f2e8; }
[data-theme="fresh"] .band h2 { color: #ffffff; }
[data-theme="fresh"] .band-form input { background: #ffffff; color: #1d2a24; }
[data-theme="fresh"] .band .btn-save { background: #ffffff; color: #235340; }
[data-theme="fresh"] .site-footer { background: var(--surface-2); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--bg); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { margin-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 1.25rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .3rem 0 0; color: var(--muted); }
.more-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.more-link::after { content: ' →'; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin: 0 0 .6rem; }
.muted { color: var(--muted); }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons, chips, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-save { background: var(--save); color: var(--on-save); }
.btn-save:hover { background: var(--save-strong); color: var(--on-save); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { color: var(--bg); opacity: .88; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.btn-block { width: 100%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--body); font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip small { font-weight: 500; opacity: .7; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.badge-verified { background: var(--save-soft); color: var(--save-strong); }
.badge-exclusive { background: var(--brand-soft); color: var(--brand-strong); }
.badge-soon { background: var(--warn-soft); color: var(--warn); }
.badge-plain { background: var(--surface-2); color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; text-decoration: none; }
.brand-logo { height: 38px; width: auto; }
.brand-mark { height: 32px; width: auto; }
.brand-word { font: 800 1.42rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.brand-word b { font-weight: inherit; color: var(--save); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a, .site-nav summary { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::after { content: ''; width: 6px; height: 6px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.site-nav a:hover, .site-nav summary:hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 8px 8px 0 0; }
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); display: grid; }
.nav-drop-menu a { justify-content: flex-start; font-weight: 500; }

.search { position: relative; margin-left: auto; width: min(100%, 320px); }
.search-field { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; }
.search-field:focus-within { border-color: var(--brand); }
.search-field .icon { color: var(--muted); }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: .95rem; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results { position: absolute; inset: calc(100% + 8px) 0 auto 0; z-index: 50; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-result { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.search-result:hover, .search-result.is-active { background: var(--surface-2); color: var(--ink); }
.search-result b { display: block; font-size: .92rem; line-height: 1.25; }
.search-result small { color: var(--muted); }
.search-note { padding: 12px; margin: 0; font-size: .88rem; color: var(--muted); text-align: center; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - 70px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a, .site-nav summary { min-height: 46px; width: 100%; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; padding-left: 14px; background: transparent; }
  .search { order: -1; width: 100%; margin: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); line-height: 1.02; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--save); }
.hero-lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 34rem; margin-bottom: 1.5rem; }
.hero-search { display: flex; gap: 8px; padding: 6px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px; max-width: 34rem; box-shadow: 5px 5px 0 var(--ink); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 0 14px; font-size: 1.02rem; }
.hero-popular { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; }
.hero-stats { display: grid; gap: 12px; }
.stat { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { font: 800 clamp(1.8rem, 3.4vw, 2.5rem)/1 var(--display); color: var(--ink); min-width: 2.4ch; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .95rem; line-height: 1.35; }
.stat:nth-child(2) { margin-left: 22px; }
.stat:nth-child(3) { margin-left: 44px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { flex-direction: column; gap: 4px; padding: 12px; margin-left: 0 !important; }
  .stat span { font-size: .8rem; }
}

/* ---------- Coupon ticket ---------- */
.ticket-list { display: grid; gap: 14px; }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr)); gap: 14px; }
.ticket {
  --notch: 9px;
  position: relative; display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ticket:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-1px); }
.ticket-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; text-align: center; background: var(--brand-soft); color: var(--brand-strong); border-radius: var(--radius) 0 0 var(--radius); border-right: 2px dashed color-mix(in srgb, var(--brand) 35%, transparent); }
/* punched notches where the stub tears off */
.ticket-stub::before, .ticket-stub::after { content: ''; position: absolute; right: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.ticket-stub::before { top: calc(var(--notch) * -1 - 1px); clip-path: inset(50% 0 0 0); }
.ticket-stub::after { bottom: calc(var(--notch) * -1 - 1px); clip-path: inset(0 0 50% 0); }
.stub-pre, .stub-post { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stub-value { font: 800 clamp(1.5rem, 3vw, 2rem)/1.05 var(--display); letter-spacing: -.03em; }
.ticket[data-type="deal"] .ticket-stub { background: var(--save-soft); color: var(--save-strong); border-right-color: color-mix(in srgb, var(--save) 35%, transparent); }
.ticket-body { padding: 14px 16px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ticket-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .85rem; }
.ticket-store { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; color: var(--ink); text-decoration: none; }
.ticket-store:hover { color: var(--brand); }
.ticket-title { margin: 0; font-size: 1.06rem; }
.ticket-desc { margin: 0; font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ticket-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 4px; font-size: .82rem; color: var(--muted); }
.ticket-foot .is-soon { color: var(--warn); font-weight: 650; }
.ticket-action { display: flex; align-items: center; padding: 14px 16px 14px 0; }

.reveal { position: relative; display: inline-flex; align-items: stretch; min-width: 158px; height: 46px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-weight: 700; }
.reveal-cover { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 16px; background: var(--save); color: var(--on-save); border-radius: 10px; transition: background-color .15s; }
.reveal:hover .reveal-cover { background: var(--save-strong); }
/* the last characters of the code peek out from behind the button, like a folded corner */
.reveal.has-code .reveal-cover { margin-right: 34px; border-radius: 10px 0 0 10px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 22px; }
.reveal-peek { position: absolute; inset: 0 0 0 auto; width: 62px; display: flex; align-items: center; justify-content: flex-end; padding-right: 9px; border: 2px dashed var(--save); border-radius: 10px; font: 700 .9rem var(--mono); color: var(--ink); background: var(--save-soft); }

.ticket.is-expired { opacity: .72; }
.ticket.is-expired .ticket-stub { background: var(--surface-2); color: var(--muted); border-right-color: var(--line); }
.ticket.is-expired .reveal-cover { background: var(--surface-2); color: var(--ink); }
.ticket.is-expired .reveal-peek { border-color: var(--line); background: var(--surface); }

@media (max-width: 620px) {
  .ticket { grid-template-columns: 84px minmax(0, 1fr); }
  .ticket-action { grid-column: 1 / -1; padding: 0 12px 12px; }
  .ticket-action .reveal { width: 100%; }
  .ticket-stub { border-radius: var(--radius) 0 0 0; }
  .ticket-stub::after { display: none; }
}

/* ---------- Store tiles / logos ---------- */
.logo { --size: 56px; width: var(--size); height: var(--size); flex: none; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--size) * .24); }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.logo-initials { width: 100%; height: 100%; display: grid; place-items: center; font: 800 calc(var(--size) * .36)/1 var(--display); color: #fff; background: var(--logo-color, var(--brand)); }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.store-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px 14px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; position: relative; }
.store-tile:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.store-tile b { font-size: .95rem; line-height: 1.25; }
.store-tile small { color: var(--save-strong); font-weight: 650; font-size: .8rem; }
.store-tile small.is-empty { color: var(--muted); font-weight: 500; }
.store-tile .badge { position: absolute; top: 8px; left: 8px; }

/* ---------- Cards: products, posts, categories ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card-grid.is-wide { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-soft), var(--save-soft)); overflow: hidden; }
.card-media.is-wide { aspect-ratio: 16 / 9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font: 700 1rem/1.25 var(--display); color: var(--brand-strong); }
.card-media .tag { position: absolute; top: 10px; left: 10px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
.tag-save { background: var(--save); color: var(--on-save); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card-title { margin: 0; font: 650 1rem/1.3 var(--text); letter-spacing: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card.is-link { position: relative; }
.card-text { margin: 0; font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.price b { font: 800 1.2rem/1 var(--display); color: var(--ink); }
.price del { color: var(--muted); font-size: .88rem; }
.card .btn { position: relative; z-index: 1; margin-top: 8px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cat-tile { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 650; text-decoration: none; }
.cat-tile:hover { border-color: var(--brand); color: var(--brand); }
.cat-tile small { color: var(--muted); font-weight: 500; }

/* ---------- Promo rail (admin hero slides), videos ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 520px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 22px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--brand-strong); isolation: isolate; }
.promo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.promo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 10, 25, 0) 20%, rgba(15, 10, 25, .82) 100%); }
.promo h3 { color: #fff; font-size: 1.4rem; margin: 0 0 4px; }
.promo p { margin: 0 0 12px; opacity: .92; font-size: .95rem; }
.promo:hover { color: #fff; }
.promo .btn { background: #fff; color: #17131f; position: relative; z-index: 1; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* the first button stretches over the whole card, so the card itself is the link */
.promo .promo-main { position: static; }
.promo-main::after { content: ''; position: absolute; inset: 0; }
.video-tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); cursor: pointer; text-align: left; aspect-ratio: 16 / 9; }
.video-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s, transform .3s; }
.video-tile:hover img { opacity: 1; transform: scale(1.03); }
.video-tile span { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; color: #fff; font-weight: 650; font-size: .95rem; line-height: 1.3; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.video-tile::after { content: ''; position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%2317131f'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* ---------- Banner carousel: one large slide centred, its neighbours peeking in at the sides ---------- */
.banner { --slide-w: min(1080px, 80vw); position: relative; padding-top: clamp(14px, 2.4vw, 26px); }
.banner-track {
  display: flex; gap: clamp(12px, 2vw, 22px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: -3px;
  padding-inline: calc((100% - var(--slide-w)) / 2);
}
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide {
  position: relative; flex: 0 0 var(--slide-w); aspect-ratio: 108 / 41; scroll-snap-align: center;
  border-radius: calc(var(--radius) + 10px); overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--brand-strong), var(--save-strong));
  opacity: .45; transform: scale(.955); transition: opacity .45s ease, transform .45s ease;
}
.banner-slide.is-active, .banner.is-single .banner-slide { opacity: 1; transform: none; box-shadow: var(--shadow); }
.banner-slide > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner-slide.has-copy::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 8, 20, .78) 0%, rgba(10, 8, 20, .45) 45%, rgba(10, 8, 20, 0) 75%); }
.banner-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(18px, 4.5vw, 56px); max-width: min(100%, 620px); color: #fff; }
.banner-copy h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 4vw, 3rem); line-height: 1.05; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.banner-copy p { margin: 0; font-size: clamp(.95rem, 1.5vw, 1.15rem); color: #f1eef7; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.banner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.banner-actions .btn { background: #fff; color: #17131f; min-height: 46px; padding-inline: 22px; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .55); }
.banner-actions .btn:hover { transform: translateY(-1px); }
.banner-actions .banner-second { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.banner-cover { position: absolute; inset: 0; }
.banner-arrow {
  position: absolute; top: calc(50% + clamp(7px, 1.2vw, 13px)); transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, background-color .15s;
}
.banner-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.banner-arrow:hover { transform: translateY(-50%) scale(1.07); }
.banner-arrow.is-prev { left: max(10px, calc((100% - var(--slide-w)) / 2 - 23px)); }
.banner-arrow.is-next { right: max(10px, calc((100% - var(--slide-w)) / 2 - 23px)); }
.banner-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; min-height: 28px; }
.banner-dots .banner-pause { display: grid; place-items: center; width: 28px; height: 28px; margin-right: 4px; border-radius: 50%; background: transparent; color: var(--muted); }
.banner-dots .banner-pause:hover { background: var(--surface-2); color: var(--ink); }
.banner-pause svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.banner-pause .icon-play { display: none; fill: currentColor; stroke-width: 1.5; }
.banner-pause[aria-pressed="true"] .icon-play { display: inline; }
.banner-pause[aria-pressed="true"] .icon-pause { display: none; }
.banner-dots button[data-banner-dot] { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .25s, background-color .25s; }
.banner-dots button[data-banner-dot][aria-current="true"] { width: 28px; background: var(--save); }
.banner-dots button { padding: 0; border: 0; cursor: pointer; }
.banner + .hero { padding-top: clamp(1.6rem, 4vw, 3rem); }
@media (max-width: 720px) {
  .banner { --slide-w: 90vw; }
  .banner-slide { aspect-ratio: 16 / 10; }
  .banner-slide.has-copy::before { background: linear-gradient(0deg, rgba(10, 8, 20, .82) 0%, rgba(10, 8, 20, .35) 60%, rgba(10, 8, 20, 0) 100%); }
  .banner-copy { justify-content: flex-end; }
  .banner-arrow { display: none; }
}
/* On themes with a coloured hero band, the carousel sits on the same band. */
[data-theme="vivid"] .banner, [data-theme="fresh"] .banner, [data-theme="slate"] .banner { padding-bottom: 4px; }

/* ---------- Steps, CTA band ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 800 1rem var(--display); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--ink); color: var(--bg); border-radius: calc(var(--radius) + 6px); }
.band h2 { color: var(--bg); margin-bottom: .3em; }
.band.has-image { background: linear-gradient(rgba(18, 14, 26, .84), rgba(18, 14, 26, .84)), var(--band-image) center / cover; color: #fff; }
.band.has-image h2 { color: #fff; }
.band-cta { margin-top: 14px; border-color: currentColor; color: inherit; }
.band-cta:hover { color: inherit; border-color: currentColor; opacity: .8; }
.band p { margin: 0; opacity: .8; }
.band-form { display: flex; gap: 8px; flex-wrap: wrap; }
.band-form input { flex: 1; min-width: 200px; height: 48px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--bg); color: var(--ink); }
.band small { display: block; margin-top: 10px; opacity: .65; font-size: .8rem; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* ---------- Page furniture ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.page-head { padding: 1.5rem 0 1.25rem; }
.page-head h1 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); margin-bottom: .25em; }
.page-head p { color: var(--muted); max-width: 46rem; margin: 0; }
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.layout.is-reverse { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 900px) { .layout, .layout.is-reverse { grid-template-columns: 1fr; } }
.panel { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel + .panel { margin-top: 16px; }
.panel h2, .panel h3 { font-size: 1rem; margin-bottom: .7em; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--body); text-decoration: none; font-size: .93rem; }
.side-list a:hover { background: var(--surface-2); color: var(--ink); }
.side-list a[aria-current] { background: var(--ink); color: var(--bg); font-weight: 650; }
.side-list small { opacity: .65; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.toolbar .count { color: var(--muted); font-size: .92rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 650; font-size: .9rem; color: var(--ink); }
.input, .field input, .field textarea, select.input { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.input:focus, .field input:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.field .error { color: var(--danger); font-size: .85rem; }
.inline-form { display: flex; gap: 8px; }
.inline-form .input { flex: 1; border-radius: 999px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.notice { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--save-soft); color: var(--save-strong); font-weight: 600; }
.notice.is-error { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }
.empty { padding: 40px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty h2, .empty h3 { margin-bottom: .3em; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
.letters a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; font-weight: 650; font-size: .88rem; color: var(--body); text-decoration: none; }
.letters a:hover { background: var(--surface-2); }
.letters a[aria-current] { background: var(--ink); color: var(--bg); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pager .is-off { opacity: .4; }

/* ---------- Store page ---------- */
.store-head { display: flex; gap: 20px; align-items: center; padding: 1.25rem 0 1.5rem; flex-wrap: wrap; }
.store-head .logo { --size: 96px; }
.store-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: .2em; }
.store-head-text { flex: 1; min-width: 240px; }
.store-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.store-facts b { color: var(--ink); }
.fine { font-size: .82rem; color: var(--muted); }

/* ---------- Long-form content from the CMS ---------- */
.prose { max-width: 72ch; font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; }
.prose h3, .prose h4, .prose h5 { margin-top: 1.6em; font-family: var(--display); color: var(--ink); font-size: 1.2rem; }
.prose img { height: auto; border-radius: var(--radius-sm); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin-inline: 0; padding: .2em 1.1em; border-left: 4px solid var(--brand); color: var(--ink); }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--line); text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.article-head { max-width: 72ch; padding: 1.5rem 0 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .9rem; }
.article-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.5rem; }
.lede { font-size: 1.15rem; color: var(--ink); }

/* ---------- Dialogs, toast ---------- */
dialog { width: min(100% - 32px, 460px); padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--body); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
dialog::backdrop { background: rgba(18, 14, 26, .6); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; font-size: 1.3rem; line-height: 1; z-index: 2; }
.coupon-dialog { padding: 30px 26px 22px; text-align: center; }
.coupon-dialog .logo { margin: 0 auto 12px; --size: 64px; }
.coupon-dialog h2 { font-size: 1.3rem; margin-bottom: .35em; }
.store-popup > img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 20px 20px 0 0; }
.store-popup .coupon-dialog p:not(.eyebrow) { margin-bottom: 18px; }
.code-box { display: flex; align-items: stretch; margin: 18px 0 10px; border: 2px dashed var(--save); border-radius: 12px; overflow: hidden; background: var(--save-soft); }
.code-box output { flex: 1; display: grid; place-items: center; padding: 12px; font: 700 1.25rem var(--mono); letter-spacing: .06em; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.code-box button { border: 0; padding: 0 20px; background: var(--save); color: var(--on-save); font-weight: 700; cursor: pointer; }
.dialog-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; }
.vote { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; }
.vote:hover { border-color: var(--ink); }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .82rem; }
.video-dialog { width: min(100% - 32px, 900px); background: #000; }
.video-dialog .frame { aspect-ratio: 16 / 9; background: #000; }
.video-dialog .frame > * { width: 100%; height: 100%; border: 0; }
.video-dialog .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); }
.video-dialog .bar b { color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(3rem, 8vw, 6rem); padding: 3rem 0 2rem; background: var(--surface); border-top: 1px solid var(--line); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.6fr 1.1fr; gap: 40px; }
.footer-grid.is-two { grid-template-columns: 1.2fr 2fr; }
.footer-grid.is-two .footer-links ul { columns: 3; }
.site-footer .footer-links ul { display: block; columns: 2; column-gap: 24px; }
.site-footer .footer-links li { margin-bottom: 8px; break-inside: avoid; }
.site-footer h2 { font: 700 .8rem var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--body); text-decoration: none; }
.footer-legal a { text-decoration: underline; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-brand .brand { margin-bottom: 12px; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .15s, border-color .15s, color .15s; }
.social a:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); text-decoration: none; }
.social .icon { width: 18px; height: 18px; }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; display: grid; gap: 6px; }
.footer-legal p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

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