/* Gift Card City styles.
   Palette: indigo ink, marigold, fuchsia and emerald, borrowed from chitenge prints.
   The gift cards carry the visual boldness; everything around them stays plain. */

:root {
  --ink: #22204E;
  --ink-2: #55527A;
  --ink-3: #8C89A8;
  --paper: #FFFFFF;
  --wash: #FFF5DA;
  --mist: #F3F2F9;
  --line: #E4E2EE;
  --field: #CBC8DD;
  --marigold: #F4B01E;
  --marigold-dk: #E39E00;
  --fuchsia: #D3246C;
  --emerald: #0F7656;
  --error: #B3261E;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Shantell Sans", "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --r-ui: 10px;
  --r-panel: 20px;
  --head-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Sales switch: <html class="sales-soon"> shows the "coming soon" variants. app.js keeps it in sync with CONFIG.salesOpen. */
.sales-soon [data-when-open] { display: none !important; }
html:not(.sales-soon) [data-when-soon] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 750; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 2px solid transparent; font-weight: 700; font-size: 1.0625rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--marigold); color: var(--ink); }
.btn-primary:hover { background: var(--marigold-dk); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); min-height: 44px; }
.btn-quiet:hover { background: var(--mist); }
.btn-soon { background: var(--mist); color: var(--ink-2); border-color: var(--line); cursor: not-allowed; }
.btn-block { width: 100%; }

.icon-btn {
  width: 44px; height: 44px; flex: none; border-radius: 999px; border: 0;
  background: var(--mist); display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--line); }
.link-btn {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  color: var(--ink-2); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 800; font-size: 1.3125rem; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 85; color: var(--ink); white-space: nowrap;
}
.logo svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.basket-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 650; cursor: pointer;
}
.basket-btn:hover { border-color: var(--ink); }
.basket-btn .count {
  min-width: 28px; height: 28px; padding: 0 7px; border-radius: 999px;
  display: grid; place-items: center; font-size: .8125rem; font-weight: 750;
  background: var(--ink); color: #fff;
}
.basket-btn .count[data-zero] { background: var(--mist); color: var(--ink-2); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; place-items: center; cursor: pointer;
}

@media (max-width: 820px) {
  .nav {
    display: none; position: absolute; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 4px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -16px rgba(34, 32, 78, .35);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.125rem; color: var(--ink); border-bottom: 1px solid var(--mist); }
  .nav a:last-child { border-bottom: 0; }
  .head-actions { margin-left: auto; }
  .menu-btn { display: grid; }
}
@media (max-width: 400px) { .basket-label { display: none; } .basket-btn { padding-left: 10px; } }

/* ---------- Hero ---------- */
.hero { padding: 32px 0 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 {
  font-size: clamp(2.75rem, 1.5rem + 4.4vw, 4.5rem);
  font-weight: 800; font-variation-settings: "wdth" 78;
  line-height: .94; letter-spacing: -0.028em; max-width: 11ch;
}
.lead { font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.hero .lead { margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .9375rem; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.soon-dot { width: 10px; height: 10px; border-radius: 99px; background: var(--fuchsia); flex: none; box-shadow: 0 0 0 4px rgba(211, 36, 108, .15); }

.hero-stage {
  background: var(--marigold);
  border-radius: 28px;
  padding: 28px 20px 24px;
  perspective: 1400px;
}
.hero-card { max-width: 500px; margin-inline: auto; transform-origin: 50% 50%; }
.chips-label { text-align: center; margin-top: 26px; font-size: .9375rem; font-weight: 600; color: rgba(34, 32, 78, .82); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid rgba(34, 32, 78, .3); background: transparent;
  font-weight: 650; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (min-width: 960px) {
  .hero { padding: 48px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
  .hero-stage { padding: 44px 44px 30px; }
}

/* ---------- The gift card (sized with container units so one design works at every size) ---------- */
.gc-wrap { container-type: inline-size; position: relative; width: 100%; }
.gc {
  position: relative; aspect-ratio: 1.586; overflow: hidden;
  border-radius: 4.2cqi;
  background-color: var(--base);
  background-image: var(--pat);
  background-size: 12cqi auto;
  box-shadow: 0 2.2cqi 5cqi -1.2cqi rgba(34, 32, 78, .45), inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.gc-rib-v { position: absolute; top: 0; bottom: 0; left: 78%; width: 7cqi; translate: -50% 0; background: var(--rib); }
.gc-rib-h { position: absolute; left: 0; right: 0; top: 30%; height: 7cqi; translate: 0 -50%; background: var(--rib); }
.gc-bow {
  position: absolute; left: 78%; top: 30%; width: 21cqi; height: auto; z-index: 3;
  translate: -50% -47%; fill: var(--rib);
  filter: drop-shadow(0 .5cqi .7cqi rgba(0, 0, 0, .28));
}
.gc-bow .fold { fill: var(--rib-dk); opacity: .55; }
.gc-bow .knot { fill: var(--rib-dk); }
.gc-brand {
  position: absolute; left: 5cqi; top: 5cqi;
  background: #fff; color: var(--ink);
  font-weight: 750; font-size: 3.5cqi; line-height: 1; letter-spacing: -0.01em;
  font-variation-settings: "wdth" 85;
  padding: 1.6cqi 2.8cqi; border-radius: 99px;
}
.gc-panel {
  position: absolute; left: 5cqi; bottom: 5cqi; max-width: 56cqi;
  display: flex; flex-direction: column; gap: .6cqi;
  background: #fff; color: var(--ink);
  border-radius: 2.6cqi; padding: 2.6cqi 4cqi 2.4cqi;
  box-shadow: 0 .6cqi 1.8cqi rgba(0, 0, 0, .16);
}
.gc-store {
  font-size: 4.4cqi; font-weight: 700; line-height: 1.05; font-variation-settings: "wdth" 88;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gc-amount {
  font-size: 10.5cqi; font-weight: 800; line-height: .95; letter-spacing: -0.03em;
  font-variation-settings: "wdth" 80; font-variant-numeric: lining-nums tabular-nums;
}
/* The gift tag hangs from the bow on a short string */
.gc-tag {
  position: absolute; left: 78%; top: 30%; width: 25cqi; z-index: 2;
  translate: -50% 0; rotate: 6deg; transform-origin: 50% 0;
  filter: drop-shadow(0 .8cqi 1.1cqi rgba(0, 0, 0, .3));
}
.gc-tag::before {
  content: ""; position: absolute; left: 50%; top: 0; z-index: 1;
  width: .7cqi; height: 6.2cqi; translate: -50% 0;
  background: var(--rib-dk); border-radius: 1cqi;
}
.gc-tag-in {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-top: 3.4cqi; padding: 6.4cqi 2.2cqi 3.2cqi;
  background: #FFFDF7; color: var(--ink); font-family: var(--hand);
  clip-path: polygon(50% 0, 100% 17%, 100% 100%, 0 100%, 0 17%);
  -webkit-mask: radial-gradient(circle at 50% 3.2cqi, #0000 1.1cqi, #000 1.25cqi);
  mask: radial-gradient(circle at 50% 3.2cqi, #0000 1.1cqi, #000 1.25cqi);
}
.gc-greet { font-size: 3.3cqi; font-weight: 650; line-height: 1.1; margin-bottom: 1.6cqi; }
.gc-line {
  max-width: 100%; font-size: 2.9cqi; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gc-line .ph { opacity: .5; }
@container (max-width: 380px) {
  .gc-tag { width: 29cqi; }
  .gc-greet { font-size: 3.9cqi; }
  .gc-line { font-size: 3.4cqi; }
}
.gc-mini .gc { border-radius: 6cqi; box-shadow: 0 1px 2px rgba(34, 32, 78, .18); }
.gc-mini .gc-bow { width: 26cqi; }

@media (prefers-reduced-motion: no-preference) {
  .hero-stage:not(.is-ready) .hero-card { animation: card-in .8s cubic-bezier(.2, .9, .25, 1) .1s both; }
  .hero-stage:not(.is-ready) .gc-tag { animation: tag-swing 1.9s cubic-bezier(.3, .7, .4, 1) .55s both; }
}
@keyframes card-in { from { opacity: 0; transform: translateY(28px) rotate(-3deg); } }
@keyframes tag-swing {
  0% { rotate: -30deg; }
  28% { rotate: 20deg; }
  52% { rotate: -6deg; }
  74% { rotate: 11deg; }
  100% { rotate: 6deg; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2, .builder h2, .business h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  font-weight: 800; font-variation-settings: "wdth" 82; letter-spacing: -0.022em;
}
.section-head p { margin-top: 12px; font-size: 1.125rem; color: var(--ink-2); }

/* "Coming soon" sticker, shared by the store directory and the builder's store options */
.soon-tag {
  position: absolute; z-index: 2;
  display: inline-block; padding: 5px 12px;
  background: var(--fuchsia); color: #fff;
  font-weight: 750; font-size: .875rem; line-height: 1.2; white-space: nowrap;
  border-radius: 4px; rotate: -5deg;
  box-shadow: 0 3px 8px -2px rgba(34, 32, 78, .4);
  pointer-events: none;
}

/* Store directory, set like a mall directory board */
.directory { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.directory li { border-bottom: 1px solid var(--line); }
.dir-row {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: center;
  padding: 20px 8px; background: none; border: 0; text-align: left;
}
button.dir-row { cursor: pointer; }
button.dir-row:hover { background: var(--wash); }
.dir-name {
  grid-column: 1; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 780; font-variation-settings: "wdth" 80; letter-spacing: -0.02em; line-height: 1;
}
.dir-sells { grid-column: 1; color: var(--ink-2); }
.dir-go {
  grid-column: 2; grid-row: 1 / span 2;
  padding: 8px 18px; border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 650; white-space: nowrap;
}
button.dir-row:hover .dir-go { background: var(--ink); color: #fff; }
.dir-row.is-more .dir-name { color: var(--fuchsia); }
.step-hint { margin-top: 14px; }
.terms-note { margin-top: 22px; }
.dir-row .soon-tag { position: static; grid-column: 2; grid-row: 1 / span 2; font-size: .9375rem; padding: 7px 14px; }
.dir-row.is-soon .dir-name { opacity: .85; }
@media (min-width: 768px) {
  .dir-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto; gap: 24px; padding: 24px 12px; }
  .dir-sells { grid-column: 2; }
  .dir-go, .dir-row .soon-tag { grid-column: 3; grid-row: 1; }
}

/* Occasions */
.occasions { background: var(--mist); }
.occ-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 768px) { .occ-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; } }
.occ { display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 12px; }
.occ:hover .gc { box-shadow: 0 0 0 3px var(--ink); }
.occ-name { display: block; margin-top: 12px; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.occ-greet { display: block; margin-top: 2px; font-family: var(--hand); color: var(--ink-2); font-size: .9375rem; }

/* ---------- Builder ---------- */
.make { background: var(--wash); }
.make-grid { display: grid; gap: 28px; }
.builder { background: #fff; border-radius: var(--r-panel); padding: 24px 20px 0; min-width: 0; }
.builder > .notice { margin-top: 16px; }
.step { border: 0; margin: 0; padding: 28px 0; min-width: 0; border-top: 1px solid var(--line); }
.builder h2 + .step, .builder .notice + .step { border-top: 0; }
.step legend {
  float: left; width: 100%; padding: 0; margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 1.25rem; font-weight: 750; letter-spacing: -0.01em;
}
.step legend + * { clear: both; }
.step-n {
  width: 30px; height: 30px; flex: none; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 700;
}

/* Hidden-but-focusable native radios inside styled labels */
.opt input, .swatch input, .pill input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}

.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .opt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.opt {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 72px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-ui); background: #fff; cursor: pointer;
}
.opt:hover { border-color: var(--field); }
.opt-name { font-weight: 700; line-height: 1.2; }
.opt-sub { font-size: .875rem; line-height: 1.3; color: var(--ink-2); }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--wash); }
.opt:has(input:focus-visible), .swatch:has(input:focus-visible) .swatch-art, .pill:has(input:focus-visible) span {
  outline: 3px solid var(--ink); outline-offset: 2px;
}
.opt.is-soon { padding-top: 22px; }
.sales-soon .opt-grid { row-gap: 20px; padding-top: 6px; }
.opt.is-soon .opt-name, .opt.is-soon .opt-sub { opacity: .6; }
.opt .soon-tag { top: -9px; right: -6px; font-size: .75rem; padding: 4px 9px; rotate: 4deg; }

.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; }
.swatch { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; text-align: center; }
.swatch-art {
  position: relative; display: block; aspect-ratio: 1.586; overflow: hidden; border-radius: 8px;
  background-color: var(--base); background-image: var(--pat); background-size: 18px auto;
}
.swatch-art::before { content: ""; position: absolute; top: 0; bottom: 0; left: 78%; width: 11%; translate: -50% 0; background: var(--rib); }
.swatch-art::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 17%; translate: 0 -50%; background: var(--rib); }
.swatch-name { font-size: .8125rem; font-weight: 600; line-height: 1.25; }
.swatch:has(input:checked) .swatch-art { box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px var(--ink); }
.swatch:has(input:checked) .swatch-name { font-weight: 750; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-weight: 700; cursor: pointer; white-space: nowrap;
}
.pill:hover span { border-color: var(--field); }
.pill:has(input:checked) span { background: var(--ink); border-color: var(--ink); color: #fff; }

.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; min-width: 0; }
.field label, .label { font-weight: 650; font-size: .9375rem; }
.label { margin-bottom: 10px; }
.label-gap { margin-top: 24px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.optional { font-weight: 450; color: var(--ink-2); }
.hint { font-size: .875rem; color: var(--ink-2); }
.err { font-size: .875rem; font-weight: 650; color: var(--error); }
.err:empty { display: none; }
.input {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1.5px solid var(--field); border-radius: var(--r-ui); background: #fff;
  font-size: 1rem; line-height: 1.4;
}
.input::placeholder { color: var(--ink-3); }
textarea.input { padding: 12px 14px; min-height: 96px; resize: vertical; }
select.input { appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2322204E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(34, 32, 78, .18); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input-date { max-width: 240px; }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.money-input { position: relative; max-width: 240px; }
.money-input span { position: absolute; left: 15px; top: 50%; translate: 0 -50%; font-weight: 750; color: var(--ink-2); }
.money-input .input { padding-left: 32px; font-weight: 650; }

.notice {
  background: var(--wash); border-left: 4px solid var(--marigold);
  padding: 12px 14px; border-radius: 6px; font-size: .9375rem;
}

.builder-submit {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 -20px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
}
.submit-total { display: flex; flex-direction: column; line-height: 1.15; }
.submit-total small { font-size: .8125rem; color: var(--ink-2); }
.submit-total strong { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.preview { order: -1; min-width: 0; }
.preview-card { max-width: 440px; margin-inline: auto; }
.msg-preview { margin-top: 22px; }
.msg-meta { font-size: .875rem; color: var(--ink-2); margin-bottom: 8px; }
.bubble {
  max-width: 420px; padding: 14px 16px; border-radius: 18px 18px 18px 4px;
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(34, 32, 78, .5);
  display: grid; gap: 8px; font-size: .9375rem;
}
.bubble-msg { font-family: var(--hand); font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }
.bubble-link { font-weight: 700; color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.summary { display: none; }

@media (min-width: 768px) {
  .builder { padding: 36px 36px 0; }
  .builder-submit { margin: 0 -36px; padding: 18px 36px; }
}
@media (min-width: 1024px) {
  .make-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .preview { order: 0; position: sticky; top: calc(var(--head-h) + 28px); padding-top: 8px; }
  .preview-card { max-width: none; }
  .summary {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px;
    margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(34, 32, 78, .14); font-size: .9375rem;
  }
  .summary dt { color: var(--ink-2); }
  .summary dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
}

/* ---------- Business ---------- */
.business { background: var(--ink); color: #fff; padding: 72px 0; }
.business :focus-visible { outline-color: var(--marigold); }
.business .biz-form :focus-visible { outline-color: var(--ink); }
.biz-grid { display: grid; gap: 40px; }
.business .lead { margin-top: 18px; color: rgba(255, 255, 255, .78); }
.biz-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; max-width: 34em; }
.biz-list li { position: relative; padding-left: 32px; color: rgba(255, 255, 255, .8); }
.biz-list li::before {
  content: ""; position: absolute; left: 3px; top: .5em;
  width: 11px; height: 11px; border-radius: 2px; rotate: 45deg; background: var(--marigold);
}
.biz-list strong { color: #fff; font-weight: 700; }
.biz-form, .biz-done { background: #fff; color: var(--ink); border-radius: var(--r-panel); padding: 28px 20px; }
.biz-form h3, .biz-done h3 { font-size: 1.5rem; font-weight: 780; font-variation-settings: "wdth" 85; }
.biz-form .hint { margin-top: 6px; }
.biz-form .btn { margin-top: 24px; }
.biz-done p { margin-top: 10px; color: var(--ink-2); }
@media (min-width: 768px) { .biz-form, .biz-done { padding: 36px; } }
@media (min-width: 960px) {
  .business { padding: 104px 0; }
  .biz-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
}

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 14px;
  font-size: 4rem; font-weight: 800; line-height: .9; font-variation-settings: "wdth" 75;
  color: var(--fuchsia);
}
.steps h3 { font-size: 1.3125rem; font-weight: 750; margin-bottom: 8px; }
.steps p { color: var(--ink-2); max-width: 32em; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; gap: 8px; }
.faq-list { border-top: 2px solid var(--ink); max-width: 780px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.125rem; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; translate: 0 -50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: rotate .2s;
}
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list summary:hover { color: var(--ink-2); }
.answer { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; }
}

/* ---------- BwanaBet vouchers (small band) ---------- */
.bwb { background: var(--wash); padding: 44px 0 48px; }
.bwb-grid { display: grid; gap: 28px; align-items: center; }
.bwb-art { position: relative; width: 100%; max-width: 260px; }
.bwb-art .soon-tag { top: -10px; right: -8px; rotate: 5deg; }
.bwb h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 800; font-variation-settings: "wdth" 82; letter-spacing: -0.02em;
}
.bwb-copy p { margin-top: 10px; color: var(--ink-2); max-width: 38em; }
.bwb-copy .bwb-small { font-size: .875rem; font-weight: 650; color: var(--ink); }
@media (min-width: 768px) {
  .bwb-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 44px; }
}

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 56px 0 36px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .16); margin-bottom: 24px; }
.logo-light { color: #fff; }
.logo-light svg { color: var(--marigold); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-nav a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.foot-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-foot :focus-visible { outline-color: var(--marigold); }
.foot-about { color: #fff; font-weight: 600; margin-bottom: 10px; }
.foot-small { font-size: .875rem; max-width: 60em; }
.foot-small a { color: #fff; text-underline-offset: 3px; }
.answer a, .biz-alt a { color: var(--ink); font-weight: 650; text-underline-offset: 3px; overflow-wrap: anywhere; }
.biz-alt { margin-top: 14px; text-align: center; }
.foot-small + .foot-small { margin-top: 8px; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: #fff; max-width: 100%; max-height: 100%; }
dialog::backdrop { background: rgba(20, 18, 50, .55); }

.drawer {
  inset: 0 0 0 auto; margin: 0; width: min(440px, 100%);
  height: 100dvh; max-height: 100dvh; flex-direction: column;
}
.drawer[open] { display: flex; }
.drawer-head, .modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px 16px;
}
.drawer-head { border-bottom: 1px solid var(--line); }
.drawer-head h2, .modal-head h2 { font-size: 1.5rem; font-weight: 800; font-variation-settings: "wdth" 85; }
.drawer-body { flex: 1; overflow: auto; padding: 0 20px; }
.drawer-foot { display: grid; gap: 8px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-weight: 650; }
.total-row strong { font-size: 1.5rem; font-weight: 800; }
.bitems { list-style: none; margin: 0; padding: 0; }
.bitem { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bitem-title { font-weight: 700; line-height: 1.3; }
.bitem-sub { margin-top: 2px; font-size: .875rem; color: var(--ink-2); overflow-wrap: anywhere; }
.empty { text-align: center; padding: 56px 8px; display: grid; gap: 10px; justify-items: center; }
.empty-title { font-weight: 750; font-size: 1.25rem; }
.empty p:not(.empty-title) { color: var(--ink-2); margin-bottom: 8px; }

.modal { width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; border-radius: var(--r-panel); overflow: auto; }
.modal-body { padding: 4px 20px 24px; }
.co-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.co-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.co-items li span:first-child { overflow-wrap: anywhere; }
.co-items li span:last-child { font-weight: 700; white-space: nowrap; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 0; font-weight: 650; }
.co-total strong { font-size: 1.5rem; font-weight: 800; }
.co-h { font-size: 1.125rem; font-weight: 750; margin: 26px 0 0; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
@media (min-width: 480px) { .pay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pay-grid .opt { min-height: 56px; }
.wait-mark {
  width: 56px; height: 56px; border-radius: 999px;
  border: 5px solid var(--wash); border-top-color: var(--marigold);
}
@media (prefers-reduced-motion: no-preference) { .wait-mark { animation: spin 1s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-btn:disabled { opacity: .7; cursor: progress; }
.pay-btn { margin-top: 26px; }
.done { display: grid; gap: 12px; padding-top: 8px; }
.done-mark { width: 56px; height: 56px; border-radius: 999px; background: var(--emerald); color: #fff; display: grid; place-items: center; }
.done h3 { font-size: 1.75rem; font-weight: 800; font-variation-settings: "wdth" 82; }
.done-ref { color: var(--ink-2); font-weight: 650; }
.done-list { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: .9375rem; }

@media (max-width: 600px) {
  .modal { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: drawer-in .28s cubic-bezier(.2, .8, .2, 1); }
  .modal[open] { animation: modal-in .22s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } }
