/* Medaase by GPlus. Mobile-first, warm and quiet: cream paper, deep plum,
   one terracotta action per step, gold as an accent only. */

@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/jakarta-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --plum: #3D2131;
  --plum-2: #5A2E44;
  --night: #24101B;
  --night-2: #3A1121;
  --cream: #F8F4EE;
  --paper: #FFFDF9;
  --sand: #F1E6DA;
  --sand-2: #E9DCCD;
  --coral: #D9654B;
  --coral-ink: #B4472F;
  --gold: #C9973F;
  --gold-soft: #E8C98A;
  --ink: #2A1A23;
  --muted: #6E5A64;
  --ok: #2F6B4F;
  --warn: #9A5B12;
  --err: #A3302A;
  --line: #E7DACE;
  --focus: #B4472F;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 0.75rem;
  --r: 1.25rem;
  --r-lg: 1.75rem;
  --shadow-1: 0 1px 2px rgba(42, 26, 35, 0.05), 0 4px 14px rgba(42, 26, 35, 0.05);
  --shadow-2: 0 2px 4px rgba(42, 26, 35, 0.05), 0 18px 40px -12px rgba(42, 26, 35, 0.22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 1rem;
  --col: 40rem;
  --btn-bg: #B65540;
  --btn-bg: color-mix(in srgb, var(--coral) 84%, #000);
  --tpl-bg: #FBE9E2;
  --tpl-paper: #FFFDF9;
  --tpl-ink: #3D2131;
  --tpl-accent: #D9654B;
  --tpl-accent2: #C9973F;
  --tpl-muted: #6E5A64;
  color-scheme: light;
}

[data-accent="coral"] { --coral: #D9654B; }
[data-accent="forest"] { --coral: #2F6B4F; }
[data-accent="indigo"] { --coral: #34489A; }
[data-accent="plum"] { --coral: #5A2E44; }
[data-accent="ochre"] { --coral: #9A5B12; }
[data-accent="teal"] { --coral: #1F6F78; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--cream); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6; font-weight: 400;
  overflow-wrap: anywhere; min-height: 100vh; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 0.5rem; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }

.sr-only { 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: absolute; left: 0.5rem; top: -4rem; z-index: 100; background: var(--plum); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 0.5rem; }

/* ---------- Banners ---------- */
.test-banner {
  position: relative; z-index: 31; text-align: center; font-weight: 800; letter-spacing: 0.06em; font-size: 0.75rem; text-transform: uppercase;
  color: #3D2A00; padding: 0.45rem var(--gutter);
  background: #F7DE9C repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.35) 0 10px, transparent 10px 20px);
}
.offline-banner { background: var(--ink); color: #fff; text-align: center; padding: 0.5rem var(--gutter); font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(248, 244, 238, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(61, 33, 49, 0.08);
}
.site-header__inner { max-width: 72rem; margin: 0 auto; padding: 0.5rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 3.75rem; }
.brand { display: inline-flex; align-items: baseline; gap: 0.45rem; text-decoration: none; color: var(--plum); min-height: 2.75rem; align-items: center; min-width: 0; }
.brand__mark { width: 1.6rem; height: 1.6rem; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--coral) 0 52%, transparent 53%), radial-gradient(circle, transparent 0 62%, var(--gold) 63% 72%, transparent 73%); align-self: center; }
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1; }
.brand__by { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.site-header__actions { flex: none; }
body[data-chrome="dark"] .site-header { background: rgba(36, 16, 27, 0.78); border-bottom-color: rgba(248, 244, 238, 0.08); }
body[data-chrome="dark"] .brand { color: var(--cream); }
body[data-chrome="dark"] .brand__by { color: #CDB8C3; }
body[data-chrome="dark"] { --focus: #F0C977; }
body[data-chrome="dark"] .test-banner { background-color: #E8C98A; }

.account { position: relative; }
.avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(61, 33, 49, 0.18); background: var(--paper); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
.avatar:hover { box-shadow: var(--shadow-1); }
.avatar:active { transform: scale(.96); }
body[data-chrome="dark"] .avatar { background: rgba(248, 244, 238, 0.1); color: var(--cream); border-color: rgba(248, 244, 238, 0.25); }
.menu { position: absolute; right: 0; top: calc(100% + 0.5rem); min-width: 15rem; background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-2); border: 1px solid var(--line); padding: 0.5rem; display: flex; flex-direction: column; z-index: 40; animation: pop-in .18s var(--ease); }
.menu__who { padding: 0.5rem 0.75rem 0.75rem; border-bottom: 1px solid var(--line); margin-bottom: 0.25rem; font-weight: 700; font-size: 0.9375rem; display: flex; flex-direction: column; }
.menu__label { font-weight: 500; color: var(--muted); font-size: 0.8125rem; }
.menu__item { display: flex; align-items: center; min-height: 2.75rem; padding: 0 0.75rem; border-radius: 0.75rem; color: var(--ink); text-decoration: none; background: none; border: 0; text-align: left; cursor: pointer; font-weight: 600; font-size: 0.9375rem; }
.menu__item:hover, .menu__item:focus-visible { background: var(--cream); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Layout ---------- */
.main { margin: 0 auto; outline: none; }
.main--app { max-width: calc(var(--col) + 2 * var(--gutter)); padding: 1.5rem var(--gutter) 5rem; }
.main--wide { max-width: calc(72rem + 2 * var(--gutter)); padding: 1.5rem var(--gutter) 5rem; }
.main--bleed { max-width: none; padding: 0; }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-title { font-family: var(--serif); font-size: clamp(2rem, 7vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; color: var(--plum); line-height: 1.08; }
.eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 0.4rem; }
.eyebrow--gold { color: var(--gold-soft); }
.lead { font-size: 1.0625rem; color: var(--muted); }
.muted { color: var(--muted); }
.subhead { font-size: 1rem; margin: 1rem 0 0.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; color: var(--muted); font-weight: 600; font-size: 0.9375rem; text-decoration: none; align-self: flex-start; }
.back-link .icon { width: 1.1rem; height: 1.1rem; }
.back-link:hover { color: var(--plum); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; min-width: 2.75rem; padding: 0.7rem 1.35rem; border-radius: 999px;
  border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; letter-spacing: 0.005em;
  cursor: pointer; text-decoration: none; transition: background-color .18s var(--ease), border-color .18s, transform .12s var(--ease), box-shadow .18s, color .18s;
}
.btn:active:not(:disabled) { transform: scale(.975); }
.btn:disabled { cursor: not-allowed; opacity: 0.55; }
.btn .icon { width: 1.15rem; height: 1.15rem; }
.btn--primary { background: var(--btn-bg); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 18px -8px rgba(122, 45, 27, 0.55); }
.btn--primary:hover:not(:disabled) { background: color-mix(in srgb, var(--coral) 72%, #000); }
.btn--secondary { background: var(--paper); color: var(--plum); border-color: rgba(61, 33, 49, 0.28); }
.btn--secondary:hover:not(:disabled) { border-color: var(--plum); background: #fff; }
.btn--ghost { background: transparent; color: var(--plum-2); padding-left: 0.85rem; padding-right: 0.85rem; text-decoration: underline; text-decoration-color: rgba(90, 46, 68, 0.35); text-underline-offset: 0.25em; }
.btn--ghost:hover:not(:disabled) { background: rgba(61, 33, 49, 0.06); text-decoration-color: currentColor; }
.btn--danger { background: var(--err); color: #fff; }
.btn--on-dark { background: rgba(248, 244, 238, 0.06); color: var(--cream); border-color: rgba(248, 244, 238, 0.45); }
.btn--on-dark:hover:not(:disabled) { background: rgba(248, 244, 238, 0.14); border-color: var(--cream); }
.btn--header { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.9375rem; background: transparent; color: var(--plum); border-color: rgba(61, 33, 49, 0.3); }
body[data-chrome="dark"] .btn--header { color: var(--cream); border-color: rgba(248, 244, 238, 0.45); }
.btn--test { background: #FFF3CC; color: #3D2A00; border: 1.5px dashed #9A5B12; border-radius: var(--r-sm); }
.btn--chip { background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 700; min-height: 2.75rem; }
.btn--chip:hover { border-color: var(--plum-2); }
.btn--small { min-height: 2.75rem; padding: 0.4rem 0.9rem; font-size: 0.9375rem; }
.btn--lg { min-height: 3.5rem; padding: 0.9rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn__dots { display: inline-flex; gap: 3px; }
.btn__dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; animation: dots 1s infinite; }
.btn__dots i:nth-child(2) { animation-delay: .15s; } .btn__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 40% { opacity: 1; } }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; align-items: center; }
.actions--center { justify-content: center; }

/* ---------- Panels ---------- */
.panel { background: var(--paper); border-radius: var(--r-lg); padding: 1.35rem; box-shadow: var(--shadow-1); border: 1px solid rgba(61, 33, 49, 0.06); display: flex; flex-direction: column; gap: 0.9rem; }
.panel--accent { border-top: 3px solid var(--coral); }
.panel__title { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; color: var(--plum); letter-spacing: -0.01em; }
.panel__lead { color: var(--muted); }
.panel--details > summary { cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; font-family: var(--serif); font-size: 1.25rem; color: var(--plum); }
.panel--details[open] > summary { margin-bottom: 0.75rem; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field__label { font-weight: 700; color: var(--ink); padding: 0; font-size: 0.9375rem; }
.field__optional { font-weight: 500; color: var(--muted); }
.field__hint { color: var(--muted); font-size: 0.875rem; }
.fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.field-row > .field { flex: 1 1 9.5rem; }
.input, .select {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; background: #fff; border: 1px solid #D6C6B8;
  border-radius: 0.9rem; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #A8959E; }
.input:hover, .select:hover { border-color: #BFA999; }
.input:focus-visible, .select:focus-visible { outline: none; border-color: var(--coral-ink); box-shadow: 0 0 0 4px rgba(217, 101, 75, 0.22); }
textarea.input { resize: vertical; min-height: 6.5rem; line-height: 1.6; }
.input--link { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125rem; background: transparent; border: 0; min-height: 2.75rem; padding: 0; }
.input--link:focus-visible { box-shadow: none; }
.input--code { font-size: 1.5rem; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
.input--paper { background-color: #FFFEFB; font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; min-height: 9rem; }
.counter { font-size: 0.8125rem; color: var(--muted); text-align: right; }
.counter--near { color: var(--warn); font-weight: 700; }
.form-error { color: #7E231F; background: #FBEAE8; border: 1px solid #F2C9C4; padding: 0.7rem 0.9rem; border-radius: var(--r-sm); font-weight: 600; font-size: 0.9375rem; }
.form-fine { display: flex; gap: 0.5rem; align-items: center; color: var(--muted); font-size: 0.875rem; justify-content: center; }
.phone-input { display: flex; align-items: stretch; gap: 0.5rem; }
.phone-input__prefix { flex: none; min-height: 3.25rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0 0.85rem; border-radius: 0.9rem; background: var(--cream); border: 1px solid var(--line); font-weight: 700; color: var(--plum); }
.flag-gh { width: 1.25rem; height: 0.85rem; border-radius: 2px; background: linear-gradient(#CE1126 0 33.3%, #FCD116 33.3% 66.6%, #006B3F 66.6%); position: relative; }
.phone-input .input { flex: 1; min-width: 0; }
.money-input { display: flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid #D6C6B8; border-radius: 1rem; padding: 0 1rem; }
.money-input:focus-within { border-color: var(--coral-ink); box-shadow: 0 0 0 4px rgba(217, 101, 75, 0.22); }
.money-input__cur { font-weight: 800; color: var(--muted); letter-spacing: 0.06em; }
.input--money { border: 0; padding: 0.5rem 0; font-family: var(--serif); font-size: 2rem; font-weight: 600; min-height: 4rem; background: transparent; color: var(--plum); }
.input--money:focus-visible { box-shadow: none; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check__input { width: 1.4rem; height: 1.4rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--coral-ink); }
.check__label { cursor: pointer; font-size: 0.9375rem; }
.file-pick { position: relative; align-self: flex-start; }
.file-pick .file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.file-pick .file-input:focus-visible + .file-pick__btn { outline: 3px solid var(--focus); outline-offset: 3px; }
.file-pick__btn { pointer-events: none; }

/* Segmented occasion chips */
.seg-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips-row { display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); padding: 0.25rem 0.1rem 0.5rem; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
.chips-row::-webkit-scrollbar { display: none; }
.seg { position: relative; flex: none; scroll-snap-align: start; }
.seg__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__label { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: 0.9375rem; cursor: pointer; white-space: nowrap; transition: background .18s, color .18s, border-color .18s; }
.seg__input:checked + .seg__label { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.seg__input:focus-visible + .seg__label { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Choice cards (network, accent) */
.choice { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.choice__grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.choice__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice__item { position: relative; display: flex; }
.choice__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__label { position: relative; flex: 1; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem; min-height: 2.75rem; border: 1.5px solid var(--line); border-radius: 1rem; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.choice__label--compact { align-items: center; justify-content: center; text-align: center; }
.choice__title { font-weight: 700; overflow-wrap: normal; }
.choice--network .choice__title { font-size: 0.875rem; }
.choice__input:checked + .choice__label { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.choice__input:checked + .choice__label::after { content: ""; position: absolute; top: -0.5rem; right: -0.5rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--plum); border: 3px solid var(--paper); box-sizing: border-box; }
.choice__input:checked + .choice__label::before { content: ""; position: absolute; z-index: 1; top: -0.12rem; right: -0.02rem; width: 0.32rem; height: 0.58rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.choice__input:focus-visible + .choice__label { outline: 3px solid var(--focus); outline-offset: 2px; }
.net { padding-top: 0.9rem; }
.net__mark { width: 1.75rem; height: 0.4rem; border-radius: 999px; background: #ccc; }
.net--mtn .net__mark { background: #FFCB05; }
.net--telecel .net__mark { background: #E30613; }
.net--at .net__mark { background: linear-gradient(90deg, #0057B8 50%, #E2231A 50%); }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 1.75rem; padding: 0.15rem 0.7rem; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; }
.chip .icon { width: 0.95rem; height: 0.95rem; }
.chip__dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.chip--neutral { background: var(--sand); color: var(--ink); }
.chip--quiet { background: rgba(61, 33, 49, 0.06); color: var(--muted); font-weight: 700; }
.chip--ok { background: #E1EFE6; color: #1F4D37; }
.chip--warn { background: #FBEBD3; color: #7A4510; }
.chip--err { background: #F8E1DF; color: #8A2722; }
.chip--accent { background: #F3E8EE; color: var(--plum); }

/* ---------- States, skeletons, toasts ---------- */
.state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 3rem 1rem; }
.state__title { font-family: var(--serif); font-size: 1.75rem; color: var(--plum); letter-spacing: -0.01em; }
.state__body { color: var(--muted); max-width: 28rem; }
.state__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 0.5rem; }
.state__icon { width: 4rem; height: 4rem; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow-1); display: inline-flex; align-items: center; justify-content: center; color: var(--coral-ink); }
.state__icon .icon { width: 1.75rem; height: 1.75rem; }
.state__icon--error, .state__icon--denied { color: var(--err); }
.state__icon--expired { color: var(--warn); }
.state__icon--offline { color: var(--muted); }
.panel .state { padding: 1.25rem 0.5rem; }
.panel .state .state__title { font-size: 1.25rem; }

.skeleton { display: flex; flex-direction: column; gap: 0.9rem; padding: 1rem 0; }
.skeleton > span:not(.sr-only) { display: block; border-radius: 1rem; background: linear-gradient(90deg, #EFE5DA 0%, #F8F1E9 45%, #EFE5DA 90%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton__title { height: 2.5rem; width: 60%; }
.skeleton__card { height: 12rem; border-radius: var(--r-lg) !important; }
.skeleton__card--low { height: 6rem; }
.skeleton__line { height: 1rem; }
.skeleton__line--long { width: 92%; } .skeleton__line--mid { width: 70%; } .skeleton__line--short { width: 40%; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
body.reveal-mode .skeleton > span:not(.sr-only) { background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.12), rgba(255,255,255,.06)); background-size: 220% 100%; }

.toasts { position: fixed; left: 0; right: 0; bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 60; pointer-events: none; padding: 0 var(--gutter); }
.toast { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--night); color: var(--cream); padding: 0.75rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-2); font-weight: 600; font-size: 0.9375rem; opacity: 0; transform: translateY(10px); transition: opacity .22s var(--ease), transform .22s var(--ease); max-width: 100%; }
.toast.is-in { opacity: 1; transform: none; }
.toast .icon { color: #9FD3B4; }
.toast--warn .icon { color: var(--gold-soft); }

/* ---------- Notices ---------- */
.notice { background: var(--sand); border-radius: var(--r); padding: 0.9rem 1.1rem; }
.notice--privacy { background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.85rem; align-items: start; }
.notice--privacy > p { grid-column: 2; color: var(--muted); font-size: 0.9375rem; }
.notice__icon { grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #F3E8EE; color: var(--plum); display: inline-flex; align-items: center; justify-content: center; }
.notice__title { font-size: 1rem; font-weight: 800; color: var(--plum); font-family: var(--sans); align-self: center; }
.notice--ok { background: #E3F0E8; color: #1F4D37; }
.notice--warn { background: #FBEBD3; color: #6A3C0D; }
.notice--err { background: #F8E1DF; color: #7E231F; }
.test-note { background: #FFF6D8; color: #3D2A00; border: 1.5px dashed #B07A1F; border-radius: var(--r-sm); padding: 0.6rem 0.9rem; font-size: 0.9375rem; }
.trust-line { display: flex; gap: 0.55rem; align-items: flex-start; color: var(--muted); font-size: 0.875rem; }
.trust-line .icon { color: var(--ok); margin-top: 0.1rem; }

/* ---------- Sheet and dialog ---------- */
.sheet, .dialog { border: 0; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 -10px 60px rgba(20, 8, 15, 0.35); }
.sheet::backdrop, .dialog::backdrop { background: rgba(26, 10, 19, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 1.75rem 1.75rem 0 0; animation: sheet-up .28s var(--ease); overflow: auto; }
.sheet.is-closing { animation: sheet-down .18s ease-in forwards; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheet-down { to { transform: translateY(40px); opacity: 0; } }
.sheet__grip { display: block; width: 2.5rem; height: 0.3rem; border-radius: 999px; background: var(--sand-2); margin: 0.6rem auto 0; }
.sheet__close { position: absolute; top: 0.75rem; right: 0.75rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(255, 253, 249, 0.85); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.sheet__body { padding: 0.75rem 1.35rem 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.sheet__hero { margin: 0 -1.35rem 0.25rem; height: 9.5rem; overflow: hidden; background: var(--night-2); }
.sheet__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.sheet--signin .sheet__grip { position: absolute; left: 50%; transform: translateX(-50%); background: rgba(248, 244, 238, 0.5); z-index: 2; margin: 0.6rem 0 0; }
.sheet--signin .sheet__body { padding-top: 0; }
.sheet__title { font-family: var(--serif); font-size: 1.75rem; color: var(--plum); letter-spacing: -0.01em; }
.sheet__lead { color: var(--muted); }
.dialog { border-radius: var(--r-lg); width: min(30rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); animation: pop-in .2s var(--ease); }
.dialog__form { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.dialog__title { font-family: var(--serif); font-size: 1.5rem; color: var(--plum); }
.dialog__actions { display: flex; flex-wrap: wrap-reverse; gap: 0.5rem; justify-content: flex-end; margin-top: 0.25rem; }
@media (min-width: 40rem) {
  .sheet { width: min(28rem, calc(100vw - 2rem)); margin: auto; border-radius: 1.75rem; max-height: calc(100vh - 3rem); animation: pop-in .22s var(--ease); }
  .sheet__grip { display: none; }
}

/* ---------- Sign-in ---------- */
.signin--bare { display: flex; flex-direction: column; gap: 0.75rem; }
.signin__title { font-size: 1.375rem; }
.signin__fine { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8125rem; color: var(--muted); }
.signin__fine .icon { width: 1rem; height: 1rem; margin-top: 0.15rem; color: var(--ok); }
.gate { display: flex; flex-direction: column; gap: 1.25rem; padding-top: 0.5rem; }
.gate__art { border-radius: var(--r-lg); overflow: hidden; height: 12rem; background: var(--night-2); }
.gate__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
body.reveal-mode .gate__title { color: var(--cream); }

/* ---------- Templates: palette, covers, title styles ---------- */
.card-face {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 1.1rem; display: flex; flex-direction: column;
  background: var(--tpl-bg); color: var(--tpl-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 1px 2px rgba(42, 26, 35, 0.08), 0 22px 44px -18px rgba(42, 26, 35, 0.45);
}
.card-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(61, 33, 49, 0.025) 1px, transparent 1.2px); background-size: 4px 4px; z-index: 3; }
.card-face[data-tone="dark"] { color: #FBF3E6; }
.card-face[data-tone="dark"]::after { background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1.2px); }
.card-face__cover { position: relative; aspect-ratio: 3 / 2; z-index: 0; overflow: hidden; }
.tpl-cover { background: var(--tpl-bg); }
.tpl-cover__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .35s; }
.tpl-cover.is-ready .tpl-cover__svg { opacity: 1; }
.card-face { container-type: inline-size; }
.card-face__text { position: relative; z-index: 2; padding: 1.1rem 1.25rem 1.4rem; text-align: center; background: var(--tpl-bg); }
.card-face__text::before { content: ""; position: absolute; left: 50%; top: 0; width: 2.5rem; height: 2px; transform: translate(-50%, -1px); background: var(--tpl-accent2); border-radius: 2px; opacity: .8; }
.card-face__brand { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.25rem; }
.card-face__title { font-family: var(--serif); font-size: clamp(1.35rem, 10.5cqi, 2.6rem); line-height: 1.05; letter-spacing: -0.015em; font-weight: 600; text-wrap: balance; overflow-wrap: break-word; }
.card-face__for { margin-top: 0.5rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.78; }

.tpl-title--serif { font-family: var(--serif); font-weight: 600; }
.tpl-title--display { font-family: var(--serif); font-weight: 800; letter-spacing: -0.03em; }
.tpl-title--script { font-family: var(--serif); font-style: italic; font-weight: 500; }
.tpl-title--bold { font-family: var(--sans) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.02em !important; }
.tpl-title--playful { font-family: var(--serif); font-weight: 800; color: var(--tpl-accent); transform: rotate(-2deg); }
.tpl-title--foil { font-family: var(--serif); font-weight: 700; color: #8A6420; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .tpl-title--foil { background: linear-gradient(100deg, #7A5418 0%, #B8862F 28%, #9A6B1F 46%, #C9973F 62%, #7A5418 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  [data-tone="dark"] .tpl-title--foil { background-image: linear-gradient(100deg, #E8C98A 0%, #FFF0C9 30%, #D9AE5B 55%, #F6DFA6 75%, #C9973F 100%); }
}
.tpl-title--neon { font-family: var(--serif); font-weight: 700; color: #FFF4F0; text-shadow: 0 0 6px color-mix(in srgb, var(--tpl-accent) 80%, transparent), 0 0 18px color-mix(in srgb, var(--tpl-accent) 55%, transparent); }

/* Cover animation vocabulary; staggered with negative delays so nothing moves in step. */
.tpl-cover__svg .anim-float, .tpl-cover__svg .anim-sway, .tpl-cover__svg .anim-twinkle, .tpl-cover__svg .anim-spin, .tpl-cover__svg .anim-drift, .tpl-cover__svg .anim-pop {
  transform-box: fill-box; transform-origin: center; animation-iteration-count: infinite; animation-duration: calc(var(--d, 6s) * var(--k, 1)); animation-delay: var(--dl, 0s);
}
.tpl-cover__svg .anim-float { --d: 6s; animation-name: a-float; animation-timing-function: ease-in-out; }
.tpl-cover__svg .anim-sway { --d: 5s; animation-name: a-sway; animation-timing-function: ease-in-out; transform-origin: 50% 0; }
.tpl-cover__svg .anim-twinkle { --d: 2.6s; animation-name: a-twinkle; animation-timing-function: ease-in-out; }
.tpl-cover__svg .anim-spin { --d: 24s; animation-name: a-spin; animation-timing-function: linear; }
.tpl-cover__svg .anim-drift { --d: 14s; animation-name: a-drift; animation-timing-function: ease-in-out; }
.tpl-cover__svg .anim-pop { --d: 3.4s; animation-name: a-pop; animation-timing-function: var(--ease); }
.anim-slow { --k: 1.45; } .anim-fast { --k: 0.78; }
.anim-d0 { --dl: 0s; } .anim-d1 { --dl: -0.7s; } .anim-d2 { --dl: -1.4s; } .anim-d3 { --dl: -2.1s; } .anim-d4 { --dl: -2.8s; } .anim-d5 { --dl: -3.5s; }
.anim-d6 { --dl: -4.2s; } .anim-d7 { --dl: -4.9s; } .anim-d8 { --dl: -5.6s; } .anim-d9 { --dl: -6.3s; } .anim-d10 { --dl: -7s; }
@keyframes a-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6%); } }
@keyframes a-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes a-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
@keyframes a-spin { to { transform: rotate(360deg); } }
@keyframes a-drift { 0%, 100% { transform: translateX(-4%); } 50% { transform: translateX(4%); } }
@keyframes a-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.12); } 90% { transform: scale(0.97); } }

.tpl-thumb { display: block; position: relative; overflow: hidden; border-radius: 0.75rem; aspect-ratio: 3 / 2; background: var(--tpl-bg); }
.tpl-thumb__img { width: 100%; height: 100%; object-fit: cover; }
.tpl-thumb--cover .tpl-thumb__img { object-position: 50% 50%; }
.tpl-thumb--fallback .tpl-thumb__img { object-fit: cover; object-position: 50% 0; transform: scale(1.6); transform-origin: 50% 0; }
.tpl-thumb--fallback::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 16%; height: 10%; border-radius: 3px; background: var(--tpl-accent); opacity: .9; box-shadow: 0 -0.9rem 0 -0.25rem var(--tpl-accent2); }

/* ---------- Card header (manage, receipt) ---------- */
.card-head { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid rgba(61, 33, 49, 0.06); }
.card-head .card-face { border-radius: 0; box-shadow: none; }
.card-head .card-face__title { font-size: clamp(1.4rem, 8cqi, 2.4rem); }
.card-head__body { padding: 0.9rem 1.25rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.card-head__chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.card-head__meta { color: var(--muted); font-size: 0.875rem; }

/* ---------- My cards ---------- */
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.card-tile { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1rem; align-items: center; padding: 0.75rem; background: var(--paper); border-radius: var(--r-lg); border: 1px solid rgba(61, 33, 49, 0.06); box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: transform .18s var(--ease), box-shadow .18s; }
.card-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card-tile:active { transform: scale(.99); }
.card-tile .tpl-thumb { box-shadow: 0 6px 14px -6px rgba(42, 26, 35, 0.35); transform: rotate(-2deg); align-self: start; margin-top: 0.25rem; }
.card-tile__body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.card-tile__title { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; color: var(--plum); font-weight: 600; transform: none; }
.card-tile__title.tpl-title--foil, .card-tile__title.tpl-title--neon, .card-tile__title.tpl-title--playful { background: none; color: var(--plum); text-shadow: none; -webkit-background-clip: border-box; background-clip: border-box; }
.card-tile__title.tpl-title--bold { font-size: 1rem !important; }
.card-tile__meta { color: var(--muted); font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.card-tile__meta .icon { width: 1rem; height: 1rem; }
.card-tile__count { font-size: 0.75rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.card-tile__go { color: var(--muted); }
.empty-hero { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.empty-hero img { width: 100%; height: 12rem; object-fit: cover; object-position: 50% 35%; }
.empty-hero .state { padding: 1.5rem 1rem 2rem; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.75rem; }
.quick-links__ops:empty { display: none; }
.quick-link { display: flex; gap: 0.85rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r); background: transparent; border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 2.75rem; transition: background .15s; }
.quick-link:hover { background: var(--paper); }
.quick-link > .icon { color: var(--coral-ink); width: 1.5rem; height: 1.5rem; }
.quick-link > span { display: flex; flex-direction: column; }
.quick-link__title { font-weight: 800; color: var(--plum); }
.quick-link__meta { font-size: 0.875rem; color: var(--muted); }

/* ---------- Landing ---------- */
.lp-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.lp-section { padding: 4.5rem 0; }
.lp-h2 { font-family: var(--serif); font-size: clamp(2rem, 7.5vw, 3.25rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: var(--plum); text-wrap: balance; }
.lp-h3 { font-family: var(--serif); font-size: 1.75rem; color: var(--plum); }
.lp-copy { display: flex; flex-direction: column; gap: 1rem; }
.lp-copy > p:not(.eyebrow) { font-size: 1.0625rem; color: #4E3D46; max-width: 34rem; }
.lp-center { text-align: center; max-width: 40rem; margin: 0 auto 2rem; display: flex; flex-direction: column; gap: 0.9rem; align-items: center; }
.lp-center > p:not(.eyebrow) { color: #4E3D46; font-size: 1.0625rem; }

.lp-hero { position: relative; background: #3B1123; color: var(--cream); overflow: hidden; }
.lp-hero__media { display: block; position: relative; }
.lp-hero__img { width: 100%; height: auto; aspect-ratio: 720 / 743; object-fit: cover; }
.lp-hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to bottom, rgba(59, 17, 35, 0) 0%, #3B1123 92%); }
.lp-hero__copy { position: relative; z-index: 1; padding: 0 1.25rem 3.5rem; margin-top: -5.5rem; display: flex; flex-direction: column; gap: 1.1rem; max-width: 40rem; }
.lp-hero__title { font-family: var(--serif); font-size: clamp(2.35rem, 10.5vw, 4.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.lp-hero__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.lp-hero__lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: #E9DCE2; max-width: 33rem; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }
.lp-hero__ctas .btn { flex: 1 1 12rem; }
.trust { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.875rem; color: #E1D0D8; }
.trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust .icon { width: 1rem; height: 1rem; color: var(--gold-soft); }
@media (min-width: 56.25rem) {
  .lp-hero { min-height: clamp(36rem, 86vh, 50rem); display: flex; align-items: center; }
  .lp-hero__media { position: absolute; inset: 0; }
  .lp-hero__img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 70% 50%; }
  .lp-hero__media::after { inset: 0; height: auto; background: linear-gradient(90deg, #340D1F 0%, rgba(52, 13, 31, 0.92) 30%, rgba(52, 13, 31, 0) 58%); }
  .lp-hero__copy { margin: 0 auto; width: 100%; max-width: 72rem; padding: 4rem 1.25rem; }
  .lp-hero__copy > * { max-width: 34rem; }
  .lp-hero__ctas .btn { flex: 0 0 auto; }
}

.lp-how { background: var(--cream); }
.lp-steps { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 0.85rem; counter-reset: s; }
.lp-step { background: var(--paper); border-radius: var(--r-lg); padding: 1.35rem 1.35rem 1.5rem; border: 1px solid rgba(61, 33, 49, 0.07); display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; box-shadow: var(--shadow-1); }
.lp-step__n { grid-row: span 2; font-family: var(--serif); font-size: 2.25rem; line-height: 1; font-weight: 400; color: var(--coral); font-style: italic; }
.lp-step__title { font-family: var(--serif); font-size: 1.35rem; color: var(--plum); }
.lp-step__text { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 40rem) { .lp-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) {
  .lp-steps { grid-template-columns: repeat(5, 1fr); }
  .lp-step { grid-template-columns: 1fr; padding: 1.5rem; }
  .lp-step__n { grid-row: auto; font-size: 2.75rem; margin-bottom: 1.25rem; }
}

.lp-split__grid { display: grid; gap: 2rem; align-items: center; }
.lp-figure { margin: 0; border-radius: 1.75rem; overflow: hidden; position: relative; box-shadow: var(--shadow-2); }
.lp-figure img { width: 100%; height: auto; }
.lp-figure--peach { background: #FAC9A8; }
.lp-voice { background: var(--paper); }
.ticks { list-style: none; padding: 0; margin: 0.25rem 0 0; display: grid; gap: 0.5rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: center; font-weight: 600; }
.ticks .icon { color: var(--ok); }
.voice-chip { position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; background: rgba(255, 253, 249, 0.94); border-radius: 999px; padding: 0.45rem 0.9rem 0.45rem 0.45rem; box-shadow: var(--shadow-2); }
.voice-chip__play { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--coral) no-repeat; position: relative; }
.voice-chip__play::after { content: ""; position: absolute; left: 0.85rem; top: 0.65rem; border-style: solid; border-width: 0.5rem 0 0.5rem 0.75rem; border-color: transparent transparent transparent #fff; }
.voice-chip__bars { display: flex; align-items: center; gap: 2px; height: 1.6rem; }
.voice-chip__bars i { width: 3px; border-radius: 2px; background: var(--coral); height: 30%; animation: bar 1.1s ease-in-out infinite; }
.voice-chip__bars i:nth-child(3n) { height: 70%; animation-delay: -.3s; } .voice-chip__bars i:nth-child(4n+1) { height: 50%; animation-delay: -.6s; } .voice-chip__bars i:nth-child(5n+2) { height: 90%; animation-delay: -.9s; }
@keyframes bar { 50% { transform: scaleY(.45); } }
.voice-chip__t { font-size: 0.8125rem; font-weight: 700; color: var(--plum); font-variant-numeric: tabular-nums; }
@media (min-width: 56.25rem) {
  .lp-split__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .lp-split--flip .lp-figure { order: 2; }
}
.lp-reveal { background: #FBF4E9; }
.lp-figure--wide { box-shadow: none; border-radius: 0; background: #FBF4E9; }
.lp-occ { background: var(--cream); }
.lp-occ__grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.lp-occ__item { background: var(--paper); border-radius: var(--r-lg); padding: 1.25rem 1rem 1.1rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; font-family: var(--serif); font-size: 1.15rem; color: var(--plum); border: 1px solid rgba(61, 33, 49, 0.06); box-shadow: var(--shadow-1); transition: transform .2s var(--ease); }
.lp-occ__item:hover { transform: translateY(-3px) rotate(-1deg); }
.lp-occ__item > img { width: 4.5rem; height: 4.5rem; }
.lp-occ__more { margin-top: 1.25rem; color: var(--muted); text-align: center; }
@media (min-width: 48rem) { .lp-occ__grid { grid-template-columns: repeat(4, 1fr); } }
.lp-price { padding-top: 0; background: var(--cream); }
.lp-price__card { text-align: center; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.lp-price__card > * { max-width: 40rem; }
.lp-price__card { border-top: 1px solid rgba(201, 151, 63, 0.5); border-bottom: 1px solid rgba(201, 151, 63, 0.5); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.lp-price__line { font-family: var(--serif); font-size: clamp(1.3rem, 4.5vw, 1.75rem); color: var(--ink); line-height: 1.3; }
.lp-price__fine { color: var(--muted); font-size: 0.9375rem; }
.lp-biz { background: var(--night); color: var(--cream); }
.lp-biz .lp-h2 { color: var(--cream); }
.lp-biz p:not(.eyebrow) { color: #E1D0D8; font-size: 1.0625rem; margin-bottom: 1.25rem; }
.lp-biz .lp-h2 { margin-bottom: 1rem; }
.lp-biz__grid { display: grid; gap: 2rem; align-items: center; }
.lp-biz__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.lp-biz__list li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--r); background: rgba(248, 244, 238, 0.05); border: 1px solid rgba(248, 244, 238, 0.1); color: #E1D0D8; }
.lp-biz__list strong { color: var(--cream); display: block; }
.lp-biz__list .icon { color: var(--gold-soft); width: 1.5rem; height: 1.5rem; }
@media (min-width: 56.25rem) { .lp-biz__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.lp-final { background: #3B1123; color: var(--cream); padding: 4.5rem 0; }
.lp-final .lp-h2 { color: var(--cream); margin-bottom: 0.75rem; }
.lp-final .lp-final__grid > div > p { color: #E9DCE2; font-size: 1.0625rem; }
.lp-final__grid { display: grid; gap: 2rem; align-items: center; }
.lp-final .signin { color: var(--ink); }
.lp-final .signin p { color: var(--muted); }
@media (min-width: 56.25rem) { .lp-final__grid { grid-template-columns: 1fr 26rem; gap: 4rem; } }
.lp-footer { background: var(--night); color: #CDB8C3; padding: 2.5rem 0 3rem; border-top: 1px solid rgba(248, 244, 238, 0.06); }
.lp-footer__grid { display: grid; gap: 1.25rem; }
.lp-footer__brand { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); }
.lp-footer__brand span { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #CDB8C3; }
.lp-footer__fine { font-size: 0.875rem; margin-top: 0.4rem; }
.lp-footer a { color: var(--gold-soft); }
@media (min-width: 48rem) { .lp-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Create ---------- */
.create { display: flex; flex-direction: column; gap: 1.5rem; }
.create__intro { display: flex; flex-direction: column; gap: 0.4rem; }
.create__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.create__form, .create__preview, .step__body > * { min-width: 0; }
.create-form { gap: 0.5rem; }
.step { padding: 1.4rem 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.step:first-child { border-top: 0; padding-top: 0.25rem; }
.step__head { display: flex; gap: 0.85rem; align-items: flex-start; }
.step__n { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--coral); color: var(--coral-ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.step__title { font-family: var(--serif); font-size: 1.5rem; color: var(--plum); letter-spacing: -0.01em; }
.step__hint { color: var(--muted); font-size: 0.9375rem; margin-top: 0.2rem; }
.step__body { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.create-form > .btn--block { margin-top: 0.5rem; }
.tpl-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.tpl-row { display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem var(--gutter) 1rem; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: thin; scroll-padding: 0 var(--gutter); }
.tpl-opt { position: relative; flex: 0 0 11.5rem; scroll-snap-align: start; }
.tpl-opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tpl-opt__label { display: flex; flex-direction: column; gap: 0.35rem; cursor: pointer; }
.tpl-opt__label .tpl-thumb { box-shadow: 0 0 0 1px rgba(61, 33, 49, 0.1), 0 8px 18px -10px rgba(42, 26, 35, 0.45); transition: transform .2s var(--ease), box-shadow .2s; }
.tpl-opt__label:hover .tpl-thumb { transform: translateY(-3px); }
.tpl-opt__name { font-weight: 800; font-size: 0.9375rem; color: var(--ink); line-height: 1.2; }
.tpl-opt__tag { font-size: 0.75rem; color: var(--muted); line-height: 1.3; }
.tpl-opt__input:checked + .tpl-opt__label .tpl-thumb { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--coral), 0 12px 24px -10px rgba(42, 26, 35, 0.5); transform: translateY(-3px); }
.tpl-opt__check { position: absolute; z-index: 2; top: 0.45rem; right: 0.45rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--coral-ink); color: #fff; display: none; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--paper); }
.tpl-opt__check .icon { width: 1rem; height: 1rem; stroke-width: 2.4; }
.tpl-opt__input:checked + .tpl-opt__label .tpl-opt__check { display: inline-flex; }
.tpl-opt__media { position: relative; display: block; }
.tpl-opt__input:focus-visible + .tpl-opt__label .tpl-thumb { outline: 3px solid var(--focus); outline-offset: 4px; }
.preview { display: flex; flex-direction: column; gap: 0.75rem; }
.preview__label { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; }
.preview__label .icon { width: 1rem; height: 1rem; color: var(--gold); }
.preview__stage { padding: 1.75rem 1.5rem 2rem; border-radius: var(--r-lg); background: radial-gradient(120% 80% at 50% 0%, #FFFDF9 0%, var(--sand) 70%); display: flex; justify-content: center; }
.preview__stage .card-face { width: min(100%, 22rem); transform: rotate(-1.2deg); }
.preview__name { font-size: 0.875rem; color: var(--muted); text-align: center; }
.preview__name strong { color: var(--plum); }
@media (min-width: 64rem) {
  .create__grid { grid-template-columns: minmax(0, 1fr) 26rem; gap: 3.5rem; align-items: start; }
  .create__preview { position: sticky; top: 5.5rem; }
  .tpl-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0.5rem 0 0; }
  .tpl-opt { flex: 0 0 calc((100% - 1.6rem) / 3); }
  .chips-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}

/* ---------- Manage ---------- */
.linkbox { display: flex; flex-direction: column; gap: 0.5rem; }
.linkbox__field { display: flex; gap: 0.6rem; align-items: center; background: var(--cream); border: 1px dashed #CDB9A8; border-radius: 0.9rem; padding: 0.3rem 0.9rem; min-width: 0; }
.linkbox__field .icon { color: var(--muted); }
.linkbox__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.linkbox__actions .btn { flex: 1 1 8rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.stat { background: var(--cream); border-radius: var(--r); padding: 0.9rem 1rem; display: flex; flex-direction: column; }
.stat__n { font-family: var(--serif); font-size: 2.25rem; font-weight: 600; color: var(--plum); line-height: 1.05; }
.stat__label { color: var(--muted); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.kv { margin: 0; display: flex; flex-direction: column; }
.kv__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.kv__row:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.kv__row--strong dt, .kv__row--strong dd { color: var(--ink); font-weight: 800; }
.kv__row--muted dd { color: var(--warn); }
.kv__row--total dd { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--plum); }
.kv__row--total { align-items: baseline; border-top: 1px solid var(--ink); }
.kv--compact .kv__row { padding: 0.25rem 0; font-size: 0.875rem; }
.submissions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.submission { display: flex; flex-direction: column; gap: 0.5rem; }
.submission.is-hidden .message { opacity: 0.65; border-style: dashed; }
.submission__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* ---------- Messages (paper notes) ---------- */
.message {
  position: relative; background: var(--tpl-paper); color: var(--ink); border-radius: 0.9rem; padding: 1.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; gap: 0.85rem;
  box-shadow: 0 1px 1px rgba(42, 26, 35, 0.06), 0 10px 24px -14px rgba(42, 26, 35, 0.35); border: 1px solid rgba(61, 33, 49, 0.06);
  background-image: radial-gradient(rgba(61, 33, 49, 0.018) 1px, transparent 1.2px); background-size: 4px 4px;
}
.note--0 { background-color: var(--tpl-paper); }
.note--1 { background-color: #FCF0EA; background-color: color-mix(in srgb, var(--tpl-accent) 10%, #FFFDF9); }
.note--2 { background-color: #FBF3E3; background-color: color-mix(in srgb, var(--tpl-accent2) 15%, #FFFDF9); }
.note--3 { background-color: #F7F1EA; background-color: color-mix(in srgb, var(--tpl-bg) 55%, #FFFDF9); }
.note--4 { background-color: #FFFFFF; }
[data-tone="dark"] .message { color: var(--ink); }
[data-tone="dark"] .note--0 { background-color: #FFFDF9; }
[data-tone="dark"] .note--1 { background-color: #FBEFE6; }
[data-tone="dark"] .note--2 { background-color: #FBF2DE; }
[data-tone="dark"] .note--3 { background-color: #F4ECF2; }
[data-tone="dark"] .note--4 { background-color: #F7F2EA; }
.message__sticker .sticker { width: 5.5rem; height: 5.5rem; filter: drop-shadow(0 4px 6px rgba(42, 26, 35, 0.18)); }
.message__text { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; white-space: pre-wrap; color: #2E1E27; font-weight: 400; }
.message__from { font-weight: 800; color: var(--plum); font-size: 0.9375rem; }
.message__from-label { font-weight: 500; color: var(--muted); }
.sticker-tap { position: relative; align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 1rem; }
.sticker-tap .sticker { transition: transform .2s var(--ease); }
.sticker-tap:hover .sticker { animation: wiggle .5s ease-in-out; }
.sticker-tap.is-pop .sticker { animation: pop .45s var(--ease); }
@keyframes wiggle { 25% { transform: rotate(-8deg); } 50% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25) rotate(-6deg); } 100% { transform: scale(1); } }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--tpl-accent2); animation: burst .6s var(--ease) forwards; }
.burst i:nth-child(2n) { background: var(--tpl-accent); }
.burst i:nth-child(1) { --bx: 0; --by: -46px; } .burst i:nth-child(2) { --bx: 33px; --by: -33px; } .burst i:nth-child(3) { --bx: 46px; --by: 0; } .burst i:nth-child(4) { --bx: 33px; --by: 33px; }
.burst i:nth-child(5) { --bx: 0; --by: 46px; } .burst i:nth-child(6) { --bx: -33px; --by: 33px; } .burst i:nth-child(7) { --bx: -46px; --by: 0; } .burst i:nth-child(8) { --bx: -33px; --by: -33px; }
@keyframes burst { from { transform: translate(-50%, -50%) scale(1); opacity: 1; } to { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(0.3); opacity: 0; } }
.photo-frame { border-radius: 0.6rem; overflow: hidden; background: var(--sand); min-height: 6rem; display: flex; align-items: center; justify-content: center; }
.photo-frame.is-loading { min-height: 12rem; background: linear-gradient(90deg, #EFE5DA 0%, #F8F1E9 45%, #EFE5DA 90%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.photo-frame.is-loading[data-ratio="tall"] { aspect-ratio: 3 / 4; min-height: 0; }
.photo-frame.is-loading[data-ratio="wide"] { aspect-ratio: 4 / 3; min-height: 0; }
.photo-frame > img { align-self: stretch; }
.photo-frame__label { color: var(--muted); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; }
.photo { width: 100%; max-height: 28rem; object-fit: cover; }
.media-error { padding: 1rem; color: var(--muted); display: inline; }

/* ---------- Voice player ---------- */
.voice { display: flex; flex-direction: column; gap: 0.5rem; background: rgba(61, 33, 49, 0.05); border-radius: 1rem; padding: 0.6rem 0.8rem; }
.voice__row { display: flex; align-items: center; gap: 0.8rem; }
.voice__play { flex: none; width: 3rem; height: 3rem; border-radius: 50%; border: 0; cursor: pointer; background: var(--plum); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: transform .12s var(--ease); }
.voice__play:active { transform: scale(.94); }
.voice__icon { width: 0; height: 0; border-style: solid; border-width: 0.5rem 0 0.5rem 0.8rem; border-color: transparent transparent transparent #fff; margin-left: 0.2rem; }
.voice__play[data-state="playing"] .voice__icon { width: 0.85rem; height: 1rem; border: 0; margin: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65% 100%); }
.voice__play[aria-busy="true"] { opacity: 0.7; }
.voice__track { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.voice__range { width: 100%; min-height: 2.75rem; accent-color: var(--plum); margin: 0; }
.voice__time { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 700; margin-top: -0.4rem; }
.voice__status { font-size: 0.875rem; color: var(--err); }
.voice__text { font-size: 0.9375rem; font-style: italic; color: #4E3D46; }
.voice__text-label { color: var(--muted); font-style: normal; font-weight: 600; }

/* ---------- Contribute ---------- */
.c-hero { display: grid; gap: 1.25rem; justify-items: center; text-align: center; }
.c-hero .card-face { width: min(88%, 21rem); transform: rotate(-1.5deg); }
.c-hero__copy { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.c-hero__meta { color: var(--muted); font-size: 0.9375rem; }
.c-hero__meta .icon { display: inline-block; vertical-align: -0.25em; margin-right: 0.35rem; width: 1.1rem; height: 1.1rem; }
@media (min-width: 40rem) { .c-hero { grid-template-columns: 17rem 1fr; text-align: left; justify-items: start; align-items: center; } .c-hero .card-face { width: 100%; } .c-hero__copy { align-items: flex-start; } }
.composer { gap: 1rem; }
.composer__card { background: var(--paper); border-radius: var(--r-lg); padding: 1.35rem; box-shadow: var(--shadow-1); border: 1px solid rgba(61, 33, 49, 0.06); display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.composer__title { font-family: var(--serif); font-size: 1.375rem; color: var(--plum); }
.composer__end { display: flex; flex-direction: column; gap: 1rem; padding: 0.25rem 0.25rem 0; }
.sticker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(3.75rem, 1fr)); gap: 0.4rem; }
.sticker-set .sticker-grid { grid-auto-flow: column; grid-template-rows: repeat(2, 4rem); grid-auto-columns: 4rem; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem var(--gutter) 0.75rem; margin: 0 calc(-1.35rem); padding-left: 1.35rem; padding-right: 1.35rem; scroll-padding: 0 1.35rem; scrollbar-width: thin; }
.sticker-set .sticker-btn { scroll-snap-align: start; }
@media (min-width: 40rem) { .sticker-set .sticker-grid { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(auto-fill, minmax(3.75rem, 1fr)); overflow: visible; margin: 0; padding: 0; } }
.sticker-btn { aspect-ratio: 1; min-height: 2.75rem; padding: 0.3rem; border-radius: 1rem; border: 1.5px solid transparent; background: var(--cream); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s var(--ease), background .15s; }
.sticker-btn img { width: 100%; height: 100%; object-fit: contain; }
.sticker-btn:hover { background: #fff; transform: translateY(-2px) rotate(-3deg); }
.sticker-btn[aria-pressed="true"] { border-color: var(--coral); background: #fff; box-shadow: 0 6px 14px -8px rgba(122, 45, 27, 0.6); }
.sticker-btn.is-pop img { animation: pop .45s var(--ease); }
.sticker-picked { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; background: var(--cream); border-radius: var(--r); padding: 0.5rem 0.75rem; }
.sticker-picked:empty { display: none; }
.sticker--preview { width: 3.25rem; height: 3.25rem; }
.sticker-picked__name { font-weight: 700; }
.media-tiles { display: grid; gap: 0.85rem; }
@media (min-width: 40rem) { .media-tiles { grid-template-columns: 1fr 1fr; align-items: start; } }
.media-tile { background: var(--cream); border-radius: var(--r); padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; border: 1px solid rgba(61, 33, 49, 0.06); }
.media-tile__title { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 800; color: var(--plum); font-family: var(--sans); }
.media-tile__title .icon { color: var(--coral-ink); }
.media-tile__pick { display: flex; flex-direction: column; gap: 0.6rem; }
.photo-pick { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.photo-pick:empty { display: none; }
.photo-pick__img { width: 5.5rem; height: 6.5rem; object-fit: cover; border: 0.35rem solid #fff; border-bottom-width: 1.1rem; box-shadow: 0 6px 14px -6px rgba(42, 26, 35, 0.4); transform: rotate(-3deg); }
.media-edit { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.media-edit > .recorder { align-self: stretch; }
.media-edit__state { font-weight: 600; }
.media-edit__state--warn { color: var(--warn); }

/* Recorder */
.recorder { display: flex; flex-direction: column; gap: 0.75rem; }
.recorder__explain { color: var(--muted); font-size: 0.875rem; }
.rec-btn { display: inline-flex; align-items: center; gap: 0.85rem; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 800; color: var(--plum); min-height: 2.75rem; border-radius: 999px; text-align: left; }
.rec-btn__circle { width: 4rem; height: 4rem; border-radius: 50%; background: var(--btn-bg); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px -10px rgba(122, 45, 27, 0.8); transition: transform .15s var(--ease); flex: none; position: relative; }
.rec-btn__circle .icon { width: 1.6rem; height: 1.6rem; }
.rec-btn:hover .rec-btn__circle { transform: scale(1.04); }
.rec-btn:active .rec-btn__circle { transform: scale(.95); }
.rec-btn--stop .rec-btn__circle { background: var(--plum); }
.rec-btn--stop .rec-btn__circle::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--coral); animation: ring 1.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.stop-square { width: 1.1rem; height: 1.1rem; background: #fff; display: inline-block; border-radius: 3px; }
.rec-dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--err); display: inline-block; flex: none; }
.rec-dot--live { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.recorder__live { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; color: var(--err); flex-wrap: wrap; }
.recorder__time { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700; margin-left: auto; }
.recorder__meter { width: 100%; height: 3.5rem; color: var(--coral); display: block; }
.recorder__bar { width: 100%; height: 0.35rem; accent-color: var(--coral-ink); }
.recorder__msg { font-size: 0.875rem; border-radius: 0.75rem; padding: 0.5rem 0.75rem; background: var(--sand); }
.recorder__msg[data-tone="warn"] { background: #FBEBD3; color: #6A3C0D; }
.recorder__msg[data-tone="err"] { background: #F8E1DF; color: #7E231F; }
.recorder__alt > summary { cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; color: var(--plum-2); font-weight: 700; font-size: 0.9375rem; }
.recorder__fallback { display: flex; flex-direction: column; gap: 0.5rem; }
.recorder__done { font-weight: 800; color: var(--plum); }
.recorder__pending { color: var(--muted); }

/* Uploads */
.uploads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.uploads:empty { display: none; }
.upload { background: var(--paper); border-radius: var(--r-sm); padding: 0.65rem 0.9rem; border: 1px solid var(--line); }
.upload__head { display: flex; justify-content: space-between; gap: 0.5rem; font-weight: 700; flex-wrap: wrap; }
.upload__status { color: var(--muted); font-weight: 500; }
.upload__row { display: flex; align-items: center; gap: 0.6rem; }
.upload__bar { flex: 1; height: 0.4rem; accent-color: var(--ok); min-width: 4rem; }
.upload__pct { font-variant-numeric: tabular-nums; font-size: 0.8125rem; width: 2.75rem; text-align: right; }
.send-block { display: flex; flex-direction: column; gap: 0.9rem; }
.reveal-preview { background: var(--tpl-bg); padding: 1.25rem; border-radius: var(--r-lg); }
.reveal-preview[data-tone="dark"] { background: linear-gradient(160deg, var(--tpl-bg), #120812); }

/* ---------- Gift checkout ---------- */
.gift__head { display: flex; align-items: center; gap: 0.75rem; }
.gift__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #FBEDE3; color: var(--coral-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.quick-amounts { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.receipt-card { background: var(--cream); border-radius: var(--r); padding: 0.4rem 1.1rem; position: relative; border: 1px solid var(--line); }
.pay-status { display: flex; flex-direction: column; gap: 0.75rem; }
.test-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.test-actions:empty { display: none; }
.test-actions__label { font-size: 0.75rem; font-weight: 800; color: #6A3C0D; text-transform: uppercase; letter-spacing: 0.08em; }
.payments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.payment { border: 1px solid var(--line); border-radius: var(--r); padding: 0.85rem; display: flex; flex-direction: column; gap: 0.25rem; }
.payment__row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.payment__amount { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.payment__meta { font-size: 0.875rem; color: var(--muted); }
.payment .btn { align-self: flex-start; }

/* ---------- Lists, workspaces, tables, ops ---------- */
.row-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.row-list > li { border-bottom: 1px solid var(--line); }
.row-list > li:last-child { border-bottom: 0; }
.row-link, .row { display: flex; align-items: center; gap: 0.6rem; min-height: 3.25rem; padding: 0.5rem 0; color: inherit; text-decoration: none; flex-wrap: wrap; }
.row-link__title, .row__title { flex: 1; font-weight: 700; min-width: 8rem; }
.row-link:hover .row-link__title { text-decoration: underline; }
.ws-head { display: flex; gap: 1rem; align-items: center; }
.ws-head__swatch { width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: var(--coral); flex: none; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.25); }
.ws-head > div { display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-start; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: 0.5rem; }
.swatch { position: relative; display: flex; }
.swatch__label { flex: 1; display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.4rem 0.65rem; border: 1.5px solid var(--line); border-radius: 0.9rem; cursor: pointer; background: #fff; font-weight: 600; }
.swatch__dot { width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--coral); flex: none; }
.choice__input:checked + .swatch__label { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); font-weight: 800; }
.choice__input:focus-visible + .swatch__label { outline: 3px solid var(--focus); outline-offset: 2px; }
.table-wrap { overflow-x: auto; max-width: 100%; }
.table { width: 100%; min-width: 26rem; border-collapse: collapse; font-size: 0.9375rem; overflow-wrap: normal; }
.table caption { text-align: left; color: var(--muted); font-size: 0.875rem; padding-bottom: 0.5rem; }
.table th, .table td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ops-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.ops-item { border: 1px solid var(--line); border-radius: var(--r); padding: 0.9rem; display: flex; flex-direction: column; gap: 0.5rem; background: #fff; }
.ops-item__id { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.8125rem; color: var(--muted); }

/* ---------- Reveal ---------- */
body.reveal-mode { background: #1B0A13; color: var(--cream); color-scheme: dark; }
html:has(body.reveal-mode) { background: #1B0A13; }
body.reveal-mode .main::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(90% 55% at 50% 18%, #4B1A2E 0%, #2A0F1C 55%, #1B0A13 100%); }
body.reveal-mode .page-title, body.reveal-mode .state__title { color: var(--cream); }
body.reveal-mode .state__body { color: #E1D0D8; }
body.reveal-mode .state__icon { background: rgba(255, 255, 255, 0.08); color: var(--gold-soft); box-shadow: none; }
body.reveal-mode .btn--ghost { color: var(--cream); text-decoration-color: rgba(248, 244, 238, 0.4); }
body.reveal-mode .panel { color: var(--ink); }
.reveal-stage { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; padding-top: 0.5rem; overflow-x: clip; }
.reveal-stage__top { align-self: flex-end; }
.reveal-stage__title { font-family: var(--serif); font-size: clamp(2.25rem, 10vw, 3.25rem); font-weight: 500; letter-spacing: -0.02em; color: var(--cream); }
.reveal-stage__lead { color: #E6D3DC; font-size: 1.125rem; font-family: var(--serif); font-style: italic; }
.reveal-stage__hint { color: #BFA8B4; font-size: 0.8125rem; }
.envelope-wrap { position: relative; width: min(24rem, 100%); margin: 1.75rem 0 1.25rem; }
.spotlight { position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(232, 201, 138, 0.22) 0%, rgba(232, 201, 138, 0.06) 40%, transparent 65%); pointer-events: none; }
.envelope { position: relative; width: 100%; animation: env-idle 4.5s ease-in-out infinite; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.45)); }
.envelope__svg { width: 100%; height: auto; overflow: visible; display: block; }
.envelope__fallback { aspect-ratio: 4 / 3; border-radius: 1rem; background: linear-gradient(160deg, var(--coral), #B4472F); }
.envelope #env-flap { transform-box: fill-box; transform-origin: 50% 0; }
.envelope #env-letter, .envelope #env-seal { transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes env-idle { 0%, 100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-6px) rotate(0.6deg); } }
.reveal-stage.is-opening .envelope { animation: none; }
.reveal-stage.is-opening .envelope #env-seal { animation: seal-off 0.35s ease-in forwards; }
.reveal-stage.is-opening .envelope #env-flap { animation: flap-open 0.65s 0.2s cubic-bezier(.4, 0, .2, 1) forwards; }
.reveal-stage.is-opening .envelope #env-letter { animation: letter-rise 0.9s 0.8s cubic-bezier(.2, .7, .2, 1) forwards; }
.reveal-stage.is-opening .envelope-wrap { animation: env-out 0.45s 1.75s ease-in forwards; }
.reveal-stage.is-opening > .btn, .reveal-stage.is-opening .reveal-stage__hint { visibility: hidden; }
@keyframes seal-off { to { opacity: 0; transform: scale(0.6); } }
@keyframes flap-open { 0% { transform: scaleY(1); } 100% { transform: scaleY(-1); opacity: 0; } }
@keyframes letter-rise { to { transform: translateY(-96px); } }
@keyframes env-out { to { opacity: 0; transform: scale(1.05); } }
.confetti { position: absolute; inset: -10% 0 auto 0; height: 120%; pointer-events: none; overflow: visible; }
.confetti span { position: absolute; top: 30%; left: 50%; width: 0.45rem; height: 0.8rem; border-radius: 2px; opacity: 0; background: #E8C98A; }
.confetti span:nth-child(3n) { background: #F2D9A4; width: 0.55rem; height: 0.55rem; border-radius: 50%; }
.confetti span:nth-child(3n+1) { background: #C9973F; }
.confetti span:nth-child(4n) { background: #FFF0C9; height: 0.4rem; }
.reveal-stage.is-opening .confetti span { animation: confetti 1.3s 1.0s cubic-bezier(.15, .6, .35, 1) forwards; }
.confetti span:nth-child(1) { --x: -9rem; --y: -7rem; --r: 220deg; } .confetti span:nth-child(2) { --x: -7rem; --y: -9rem; --r: -160deg; }
.confetti span:nth-child(3) { --x: -5rem; --y: -10rem; --r: 300deg; } .confetti span:nth-child(4) { --x: -3rem; --y: -11rem; --r: -240deg; }
.confetti span:nth-child(5) { --x: -1rem; --y: -10.5rem; --r: 180deg; } .confetti span:nth-child(6) { --x: 1rem; --y: -11rem; --r: -200deg; }
.confetti span:nth-child(7) { --x: 3rem; --y: -10rem; --r: 260deg; } .confetti span:nth-child(8) { --x: 5rem; --y: -9.5rem; --r: -300deg; }
.confetti span:nth-child(9) { --x: 7rem; --y: -8rem; --r: 200deg; } .confetti span:nth-child(10) { --x: 9rem; --y: -6rem; --r: -220deg; }
.confetti span:nth-child(11) { --x: -8rem; --y: -3rem; --r: 140deg; } .confetti span:nth-child(12) { --x: 8rem; --y: -3.5rem; --r: -140deg; }
.confetti span:nth-child(13) { --x: -6rem; --y: -5rem; --r: 90deg; } .confetti span:nth-child(14) { --x: 6rem; --y: -5.5rem; --r: -90deg; }
.confetti span:nth-child(15) { --x: -2rem; --y: -7rem; --r: 120deg; } .confetti span:nth-child(16) { --x: 2rem; --y: -7.5rem; --r: -120deg; }
.confetti span:nth-child(17) { --x: -4rem; --y: -12rem; --r: 60deg; } .confetti span:nth-child(18) { --x: 4rem; --y: -12rem; --r: -60deg; }
.confetti span:nth-child(19) { --x: -10rem; --y: -2rem; --r: 40deg; } .confetti span:nth-child(20) { --x: 10rem; --y: -1.5rem; --r: -40deg; }
.confetti span:nth-child(21) { --x: -0.5rem; --y: -13rem; --r: 90deg; } .confetti span:nth-child(22) { --x: 0.5rem; --y: -6rem; --r: -90deg; }
@keyframes confetti {
  0% { opacity: 0; transform: translate(-50%, 0) rotate(0); }
  15% { opacity: 1; } 75% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(var(--y) + 4rem)) rotate(var(--r)); }
}
.sound-toggle { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0 0.95rem; border-radius: 999px; border: 1px solid rgba(248, 244, 238, 0.35); background: rgba(248, 244, 238, 0.06); color: var(--cream); font-weight: 700; font-size: 0.875rem; cursor: pointer; }
.sound-toggle[aria-pressed="false"] { color: #BFA8B4; }
.sound-toggle:hover { background: rgba(248, 244, 238, 0.12); }

.reveal-open { animation: card-in 0.5s var(--ease); position: relative; }
.reveal-open > :not(.ambient-host) { position: relative; z-index: 1; }
.reveal-open__bar { display: flex; justify-content: flex-end; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.ambient-host { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ambient { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.reveal-card { background: var(--tpl-bg); color: var(--tpl-ink); border-radius: 1.75rem; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); }
.reveal-card[data-tone="dark"] { background: linear-gradient(180deg, var(--tpl-bg) 0%, #0F0710 100%); color: #FBF3E6; }
.reveal-card__head { position: relative; }
.reveal-card__head .card-face { border-radius: 0; box-shadow: none; }
.reveal-card__head .card-face__text { padding-top: 1.5rem; }
.reveal-card__head .card-face__title { font-size: clamp(1.9rem, 11cqi, 3.4rem); outline: none; }
.reveal-card__count { text-align: center; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.9rem 1rem 0; opacity: 0.75; }
.notes { padding: 1.25rem 1rem 1.75rem; columns: 1; column-gap: 1rem; }
.notes > .message { break-inside: avoid; margin-bottom: 1.1rem; }
@media (min-width: 36rem) { .notes { columns: 2; padding: 1.5rem; } }
.tilt--0 { transform: rotate(-1.1deg); } .tilt--1 { transform: rotate(0.8deg); } .tilt--2 { transform: rotate(-0.4deg); } .tilt--3 { transform: rotate(1.3deg); }
.notes .message__sticker .sticker { transform: rotate(-6deg); }
.notes .tilt--1 .message__sticker .sticker, .notes .tilt--3 .message__sticker .sticker { transform: rotate(7deg); }
.notes .photo-frame { background: #fff; padding: 0.55rem 0.55rem 1.6rem; border-radius: 3px; box-shadow: 0 8px 18px -8px rgba(42, 26, 35, 0.45); transform: rotate(-1.5deg); }
.notes .tilt--1 .photo-frame, .notes .tilt--3 .photo-frame { transform: rotate(1.6deg); }
.notes .photo { max-height: 22rem; border-radius: 1px; }
.notes--animate > .message { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.notes--animate > .message.is-in { opacity: 1; translate: 0 0; }
.notes--animate > .delay--1 { transition-delay: .08s; } .notes--animate > .delay--2 { transition-delay: .16s; } .notes--animate > .delay--3 { transition-delay: .24s; }
.gift-note { display: flex; gap: 1rem; align-items: flex-start; background: rgba(248, 244, 238, 0.06); border: 1px solid rgba(248, 244, 238, 0.16); border-radius: var(--r-lg); padding: 1.25rem; color: var(--cream); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gift-note > div { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.gift-note__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(232, 201, 138, 0.15); color: var(--gold-soft); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gift-note__title { font-family: var(--serif); font-size: 1.375rem; color: var(--cream); }
.gift-note p { color: #E6D3DC; }

.noscript { padding: 2rem var(--gutter); text-align: center; }

@media (min-width: 40rem) {
  .main--app { padding-top: 2.25rem; }
  .panel, .composer__card { padding: 1.75rem; }
}

@media (max-width: 22rem) {
  .brand__by { display: none; }
  .card-tile { grid-template-columns: 5.5rem 1fr; }
  .card-tile__go { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .confetti, .ambient { display: none; }
  .notes--animate > .message { opacity: 1; translate: none; }
  .tpl-cover__svg { opacity: 1; }
}

/* ---------- Made in Ghana ---------- */
.star-mark { display: inline-block; width: 0.85rem; height: 0.85rem; margin-right: 0.4rem; vertical-align: -0.08em; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.seg .star-mark { color: #C8352E; margin-right: 0.35rem; }
.seg__input:checked + .seg__label .star-mark { color: #F0C94A; }
.chips-row--small { margin-bottom: 0.25rem; }
.chips-row--small .seg__label { min-height: 2.75rem; font-size: 0.875rem; padding: 0 0.95rem; }
.tpl-opt__gh { display: block; font-weight: 800; color: #1E5B3A; letter-spacing: 0.02em; }
.lp-ghana { background: var(--night); color: var(--cream); overflow: hidden; }
.lp-ghana .lp-h2 { color: var(--cream); }
.lp-ghana__head { display: flex; flex-direction: column; gap: 0.9rem; max-width: 40rem; }
.lp-ghana__head p:not(.eyebrow) { color: #E1D0D8; font-size: 1.0625rem; }
.lp-ghana .eyebrow .star-mark { color: #F0C94A; }
.lp-ghana__strip { list-style: none; margin: 2.25rem 0 0; padding: 0.5rem max(1.25rem, calc((100vw - 72rem) / 2 + 1.25rem)) 1.25rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(1.25rem, calc((100vw - 72rem) / 2 + 1.25rem)); scrollbar-width: thin; scrollbar-color: rgba(248, 244, 238, 0.3) transparent; }
.lp-ghana__item { flex: 0 0 min(78vw, 19rem); scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.3rem; }
.lp-ghana__item .tpl-thumb { border-radius: 1.1rem; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(248, 244, 238, 0.08); margin-bottom: 0.6rem; transition: transform .25s var(--ease); }
.lp-ghana__item:hover .tpl-thumb { transform: translateY(-4px) rotate(-0.6deg); }
.lp-ghana__name { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }
.lp-ghana__tag { font-size: 0.875rem; color: #CDB8C3; }
.lp-occ__item .tpl-thumb { width: 100%; border-radius: 0.9rem; margin-bottom: 0.35rem; }
.lp-occ__item { padding: 0.6rem 0.6rem 1rem; }
.lp-occ__label { font-family: var(--serif); font-size: 1.15rem; color: var(--plum); }
.seg__count { font-weight: 600; opacity: 0.6; margin-left: 0.15rem; }
/* Design browser: two swipeable rows on phones, a grid on wide screens. */
@media (max-width: 63.99rem) {
  .tpl-row { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 10.5rem; gap: 1rem 0.8rem; align-items: start; }
  .tpl-opt { flex: none; }
}
.lp-fans { background: var(--paper); overflow: hidden; }
.lp-fans__lead { color: #4E3D46; font-size: 1.0625rem; margin-top: 0.9rem; max-width: 36rem; }
.lp-fans__strip { scrollbar-color: rgba(61, 33, 49, 0.25) transparent; }
.lp-fans .lp-ghana__name { color: var(--plum); }
.lp-fans .lp-ghana__tag { color: var(--muted); }
.lp-fans .tpl-thumb { box-shadow: 0 14px 28px -16px rgba(42, 26, 35, 0.5); }
.tpl-opt__tag { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Cover photo ---------- */
.card-face.has-photo { color: #FFFDF9; min-height: 18rem; }
.card-face.has-photo .card-face__cover { visibility: hidden; }
.card-face__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.card-face.has-photo .card-face__text { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(20, 8, 14, 0.88) 0%, rgba(20, 8, 14, 0.6) 55%, rgba(20, 8, 14, 0) 100%); padding-top: 4rem; }
.card-face.has-photo .card-face__title { color: #FFFDF9; background: none; -webkit-background-clip: border-box; background-clip: border-box; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.card-face.has-photo .card-face__text::before { background: var(--gold-soft); }
.card-face.is-photo-loading::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #3a2430, #4a2e3c, #3a2430); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }

/* ---------- Tiers: premium and Kente ---------- */
.tpl-lock { position: absolute; z-index: 2; left: 0.45rem; top: 0.45rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: linear-gradient(140deg, #F6DFA6, #C9973F 60%, #8A6420); color: #2B1A12; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.tpl-lock .icon { width: 0.95rem; height: 0.95rem; stroke-width: 2.2; }
.tpl-opt__tier { display: inline-flex; align-self: flex-start; align-items: center; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; background: #F6E7C3; color: #6A4A12; }
.tpl-opt__tier--kente { background: linear-gradient(90deg, #1E5B3A, #C9973F, #A3302A); color: #fff; }

/* ---------- Make it special ---------- */
.panel--special { background: linear-gradient(160deg, #FFFDF9 0%, #FBF1E3 100%); border: 1px solid rgba(201, 151, 63, 0.35); }
.special__head { display: flex; gap: 0.9rem; align-items: flex-start; }
.special__mark { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: linear-gradient(140deg, #F6DFA6, #C9973F); color: #3A2414; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.special__owned { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.upgrade-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.upgrade { display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center; padding: 0.85rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.upgrade.is-owned { background: #F3F8F4; border-color: #CFE3D6; }
.upgrade__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--cream); color: var(--coral-ink); display: inline-flex; align-items: center; justify-content: center; }
.upgrade__text { display: flex; flex-direction: column; min-width: 0; }
.upgrade__title { font-weight: 800; color: var(--plum); }
.upgrade__body { font-size: 0.875rem; color: var(--muted); }
.upgrade .btn { min-width: 0; white-space: nowrap; }
.upgrade { grid-template-columns: auto minmax(0, 1fr) auto; }
.upgrades { display: flex; flex-direction: column; gap: 0.9rem; }
.upgrades__sub { font-family: var(--serif); font-size: 1.375rem; color: var(--plum); }
.buy { display: flex; flex-direction: column; gap: 0.9rem; }
.sheet--upgrades .sheet__body, .sheet--buy .sheet__body, .sheet--paywall .sheet__body { padding-top: 2.75rem; }
.paywall { display: flex; flex-direction: column; gap: 1rem; }
.cover-preview { border-radius: var(--r); overflow: hidden; background: var(--sand); aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; }
.cover-preview:empty { display: none; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.notice .icon { display: inline-block; vertical-align: -0.2em; width: 1.1rem; height: 1.1rem; }
.save-note { display: flex; gap: 0.5rem; align-items: center; }

/* ---------- Tabs ---------- */
.tabs-wrap { display: flex; flex-direction: column; gap: 1rem; }
.tabs { display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.9rem; padding: 0 0.9rem; border: 0; background: none; cursor: pointer; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--plum); border-bottom-color: var(--coral); }
.tab__count { font-size: 0.75rem; font-weight: 800; background: var(--sand); color: var(--ink); border-radius: 999px; padding: 0.05rem 0.45rem; }

/* ---------- Business ---------- */
.credits { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.credits__n { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--plum); line-height: 1; }
.credits__label { font-weight: 700; }
.credit-offers { display: grid; gap: 0.75rem; }
@media (min-width: 36rem) { .credit-offers { grid-template-columns: 1fr 1fr; } }
.offer { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem; background: #fff; }
.offer__title { font-weight: 800; color: var(--plum); }
.offer__body { font-size: 0.875rem; color: var(--muted); }
.offer__price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 0.25rem 0; }
.offer .btn { align-self: flex-start; }
.person__avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--sand); color: var(--plum); font-weight: 800; font-size: 0.8125rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.person__meta { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--muted); }
.celebration { align-items: center; }
.celebration .check__input { margin: 0; }
.celebration .row__title { cursor: pointer; }

/* ---------- Video ---------- */
.vplayer { border-radius: 0.75rem; overflow: hidden; background: #1B0A13; }
.vplayer__start { width: 100%; aspect-ratio: 16 / 10; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; color: #FBF3E6; background: radial-gradient(80% 80% at 50% 40%, #4B1A2E, #1B0A13); font-weight: 700; }
.vplayer__play { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(255, 253, 249, 0.92); position: relative; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.vplayer__play::after { content: ""; position: absolute; left: 1.55rem; top: 1.15rem; border-style: solid; border-width: 0.85rem 0 0.85rem 1.3rem; border-color: transparent transparent transparent var(--plum); }
.vplayer__label { font-size: 0.875rem; }
.vplayer__video { width: 100%; max-height: 32rem; display: block; background: #000; }
.vrec__stage { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 3 / 4; }
.vrec__live { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.vrec__badge { position: absolute; left: 0.75rem; right: 0.75rem; top: 0.75rem; background: rgba(0, 0, 0, 0.55); color: #fff; border-radius: 999px; padding: 0.35rem 0.85rem; }
.vrec__badge .recorder__time { color: #fff; }
.vrec__review { width: 100%; border-radius: var(--r); background: #000; max-height: 28rem; }

/* ---------- Event poster ---------- */
.poster { background: #FFFDF9; border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; display: flex; flex-direction: column; }
.poster__face .card-face { border-radius: 0; box-shadow: none; }
.poster__body { padding: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.poster__kicker { font-family: var(--serif); font-size: 2rem; color: var(--plum); }
.poster__lead { color: #4E3D46; max-width: 26rem; }
.poster__qr { width: min(17rem, 80%); }
.poster__qr .qr { width: 100%; height: auto; display: block; }
.poster__steps { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 800; color: var(--plum); }
.poster__brand { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }

/* ---------- Keepsake ---------- */
.keepsake { background: var(--tpl-paper, #FFFDF9); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.keepsake__cover .card-face { border-radius: 1rem; }
.keepsake__meta { text-align: center; color: var(--muted); font-weight: 600; }
.keepsake__notes { columns: 1; column-gap: 1rem; }
.keepsake__notes > .message { break-inside: avoid; margin-bottom: 1rem; }
@media (min-width: 36rem) { .keepsake__notes { columns: 2; } }
.keepsake__voice { font-size: 0.875rem; color: var(--muted); font-style: italic; }
.keepsake__brand { text-align: center; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.keepsake-video { display: flex; flex-direction: column; gap: 0.75rem; }
.keepsake-video__player { width: min(100%, 20rem); aspect-ratio: 9 / 16; background: #000; border-radius: var(--r); }

/* ---------- Landing: Kente Collection ---------- */
.lp-kente { background: #14100A radial-gradient(90% 70% at 85% 20%, rgba(201, 151, 63, 0.18), transparent 60%); color: #F6EBD7; overflow: hidden; border-top: 4px solid; border-image: linear-gradient(90deg, #1E5B3A, #C9973F, #A3302A, #C9973F, #1E5B3A) 1; }
.lp-kente .lp-h2 { color: #FFF4DE; }
.lp-kente__grid { display: grid; gap: 2.5rem; align-items: center; }
.lp-kente__copy { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.lp-kente__copy > p:not(.eyebrow) { color: #E2D3B8; font-size: 1.0625rem; max-width: 34rem; }
.lp-kente__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.lp-kente__points li { display: flex; gap: 0.6rem; align-items: center; color: #F6EBD7; font-weight: 600; }
.lp-kente__points .icon { color: #E8C98A; }
.lp-kente__fan { position: relative; height: 15rem; }
.lp-kente__card { position: absolute; width: 62%; left: 19%; top: 1.5rem; border-radius: 1rem; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(232, 201, 138, 0.35); transform-origin: 50% 120%; }
.lp-kente__card .tpl-thumb { border-radius: 1rem; }
.lp-kente__card--0 { transform: rotate(-10deg) translateX(-18%); }
.lp-kente__card--1 { transform: rotate(9deg) translateX(18%); }
.lp-kente__card--2 { transform: translateY(-0.5rem); z-index: 1; }
.lp-kente .lp-ghana__name { color: #FFF4DE; }
.lp-kente .lp-ghana__tag { color: #CBB892; }
.lp-kente__strip { scrollbar-color: rgba(232, 201, 138, 0.35) transparent; }
@media (min-width: 56.25rem) { .lp-kente__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .lp-kente__fan { height: 20rem; } }

/* ---------- Quiet (in memory) and brand hiding ---------- */
body[data-hide-brand="1"] .brand { visibility: hidden; }
.reveal-stage.is-quiet .envelope { animation: none; }
.is-quiet .sticker-tap .sticker, .is-quiet .message__sticker .sticker { animation: none !important; }
.is-quiet .notes .tilt--0, .is-quiet .notes .tilt--1, .is-quiet .notes .tilt--2, .is-quiet .notes .tilt--3 { transform: none; }

/* ---------- Print: poster and keepsake ---------- */
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; }
  .site-header, .test-banner, .offline-banner, .toasts, .no-print, .skip-link, #live { display: none !important; }
  .main { max-width: none !important; padding: 0 !important; }
  .poster { box-shadow: none; border-radius: 0; min-height: 270mm; }
  .poster__qr { width: 90mm; }
  .keepsake { box-shadow: none; border-radius: 0; padding: 0; }
  .keepsake__notes { columns: 2; }
  .message { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .voice__row, .voice__status, .vplayer { display: none !important; }
  .tpl-cover__svg * { animation: none !important; }
  .card-face { box-shadow: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.upgrades > .btn--ghost { align-self: flex-start; }
