/* Love Party — public site & partner space.
   Editorial night: deep aubergine paper, ivory type, one rose accent,
   champagne hairlines. Fraunces (display, with italics) + Manrope (text).
   The admin dashboard keeps website.css. */


:root {
  color-scheme: dark;
  --night: #120810;
  --night-2: #170b14;
  --surface: #1e0f1a;
  --surface-2: #271422;
  --surface-3: #321b2c;
  --ivory: #f6ede5;
  --text: rgba(246, 237, 229, 0.86);
  --muted: rgba(246, 237, 229, 0.64);
  --faint: rgba(246, 237, 229, 0.44);
  --line: rgba(232, 205, 180, 0.13);
  --line-strong: rgba(232, 205, 180, 0.26);
  --rose: #ee6283;
  --rose-soft: #f6a9bb;
  --rose-deep: #b23a5c;
  --champagne: #dcbb8e;
  --champagne-soft: #ecd8bb;
  --ok: #63d2a4;
  --warn: #e9bb6c;
  --bad: #f2908f;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.85);
  /* Old tokens still used by a few shared partials. */
  --ink-900: var(--night); --ink-700: var(--surface-2); --ink-600: var(--surface-3);
  --pink: var(--rose); --pink-soft: var(--rose-soft); --rose-gold: var(--champagne);
  --gold: var(--champagne); --cream: var(--ivory); --grape: var(--rose-deep);
  --love-gradient: linear-gradient(120deg, #ee6283 0%, #f08a6e 60%, #e9bb6c 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  background: var(--night);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ivory); margin: 0; line-height: 1.08; letter-spacing: -0.015em; font-optical-sizing: auto; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
ul, ol { margin: 0; padding: 0; }
em, .it { font-style: italic; }
strong { color: var(--ivory); font-weight: 700; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 0.9em; }
::selection { background: rgba(238, 98, 131, 0.38); color: #fff; }
*:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 999px; }

/* Grain + light — the paper the whole site is printed on. */
.app-bg { position: relative; min-height: 100vh; display: flex; flex-direction: column; isolation: isolate;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(178, 58, 92, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(220, 187, 142, 0.07), transparent 60%),
    var(--night); }
.app-bg::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main { flex: 1; }

/* ---------------------------------------------------------------- layout */
.container, .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow, .wrap-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.hint { font-size: 13px; color: var(--muted); line-height: 1.55; }
.link { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--rose); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ivory); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: border-color .2s, gap .2s; }
.link-arrow:hover { border-color: var(--rose); gap: 12px; }

/* ---------------------------------------------------------------- type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--champagne); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.plain::before { display: none; }
.display { font-size: clamp(44px, 7.6vw, 104px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 350; }
.h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 350; }
.h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 350; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; font-weight: 400; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--rose-soft); font-weight: 300; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 40em; }
.num { font-family: var(--font-display); font-variant-numeric: lining-nums tabular-nums; }
.kicker-num { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--champagne); }

/* Section head: number + title on the left, aside on the right. */
.section-head { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h2 { margin-top: 16px; max-width: 16em; }
.section-head .aside { color: var(--muted); max-width: 30em; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.3fr 1fr; gap: 48px; } .section-head .aside { justify-self: end; } }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-family: var(--font-sans); font-weight: 700; letter-spacing: .01em; cursor: pointer; border: 1px solid transparent; text-align: center; white-space: nowrap; transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .ico { width: 17px; height: 17px; }
.btn-md { padding: 11px 20px; font-size: 14px; min-height: 44px; }
.btn-lg { padding: 15px 28px; font-size: 15px; min-height: 54px; }
.btn-sm { padding: 7px 14px; font-size: 13px; min-height: 34px; }
.btn-primary { background: var(--rose); color: #1a0710; box-shadow: 0 14px 40px -18px rgba(238, 98, 131, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: #f37793; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--champagne); background: rgba(220, 187, 142, .06); }
.btn-ivory { background: var(--ivory); color: var(--night); }
.btn-ivory:hover { background: #fff; transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------- surfaces */
.glass, .panel { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--r-lg); }
.glass-strong, .panel-strong { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.frame { position: relative; }
.frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line-strong); border-radius: calc(var(--r-lg) + 4px); z-index: -1; pointer-events: none; }

.tag-badge, .pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid var(--line-strong); padding: 4px 11px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--champagne-soft); background: rgba(220,187,142,.05); white-space: nowrap; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; transition: background-color .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(18, 8, 16, .82); border-color: var(--line); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); }
.site-header-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-wordmark { height: auto; width: 104px; max-width: 34vw; object-fit: contain; }
.brand-sub { display: none; padding-left: 12px; border-left: 1px solid var(--line-strong); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }
@media (min-width: 560px) { .brand-sub { display: inline; } }
.nav-links { display: none; align-items: center; gap: 2px; margin: 0 auto; }
.nav-links a { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { margin-left: auto; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; color: var(--ivory); background: transparent; border: 1px solid var(--line-strong); cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: rgba(18, 8, 16, .97); backdrop-filter: blur(20px); padding: 12px var(--gutter) 28px; max-height: calc(100dvh - 72px); overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 24px; color: var(--ivory); }
.mobile-nav a:not(.btn)::after { content: "→"; font-family: var(--font-sans); font-size: 16px; color: var(--champagne); }
.mobile-nav .btn { margin-top: 20px; width: 100%; }
@media (min-width: 1000px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-cta { margin-left: 0; }
  .nav-toggle, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); }
.footer-statement { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(40px, 5vw, 56px); display: grid; gap: 28px; align-items: end; }
.footer-statement p.big { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 6vw, 76px); line-height: 1; letter-spacing: -0.03em; color: var(--ivory); }
.footer-statement p.big em { color: var(--rose-soft); }
@media (min-width: 900px) { .footer-statement { grid-template-columns: 1.6fr 1fr; } .footer-statement .btn-row { justify-content: flex-end; } }
.footer-grid { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter); display: grid; gap: 36px; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.footer-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: auto; } }
.footer-about { max-width: 320px; font-size: 14px; color: var(--muted); margin-top: 16px; }
.footer-col-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: var(--champagne); }
.footer-links { display: grid; gap: 10px; margin-top: 16px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color .2s; width: fit-content; }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter) 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--faint); }
.footer-mini { border-top: 1px solid var(--line); }
.footer-mini .footer-bottom { border: 0; }

/* ---------------------------------------------------------------- forms */
.field-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--text); margin-bottom: 8px; }
.field-input { width: 100%; min-height: 52px; border-radius: 12px; border: 1px solid var(--line-strong); background-color: rgba(255,255,255,.03);
  /* 16px: below that, iPhone zooms in on focus. */
  padding: 13px 16px; font-size: 16px; line-height: 1.4; color: var(--ivory); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field-input::placeholder { color: var(--faint); }
.field-input:hover { border-color: rgba(232,205,180,.4); }
.field-input:focus { outline: none; border-color: var(--rose); background-color: rgba(255,255,255,.05); box-shadow: 0 0 0 4px rgba(238, 98, 131, .14); }
.field-input[readonly] { opacity: .7; }
.field-input[aria-invalid="true"], .field-error .field-input { border-color: rgba(242,144,143,.75); }
textarea.field-input { min-height: 130px; resize: vertical; }
select.field-input { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23dcbb8e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
select.field-input option, select.field-input optgroup { background-color: var(--surface-2); color: var(--ivory); }
input[type="file"].field-input { padding: 10px 12px; min-height: auto; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--rose); width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; cursor: pointer; }
.field-hint { margin-top: 7px; font-size: 12.5px; color: var(--faint); }
.field-error-text { margin-top: 7px; font-size: 13px; color: var(--bad); }
.form-stack { display: grid; gap: 20px; }
.form-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.form-grid-2 > * { min-width: 0; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.02); cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); transition: border-color .2s, background-color .2s; }
.choice-card:hover { border-color: rgba(232,205,180,.45); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card .choice-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex-shrink: 0; transition: all .2s; }
.choice-card:has(input:checked) { border-color: var(--rose); background: rgba(238, 98, 131, .08); color: var(--ivory); }
.choice-card:has(input:checked) .choice-dot { border-color: var(--rose); background: radial-gradient(circle, var(--rose) 42%, transparent 48%); }
.choice-card:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(238, 98, 131, .2); }
@media (max-width: 420px) { .choice-grid { grid-template-columns: 1fr; } }
.check-line { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Notices */
.notice { padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); }
.notice.success, .notice.ok { border-color: rgba(99,210,164,.4); background: rgba(99,210,164,.08); color: #c5f1dd; }
.notice.error, .notice.bad { border-color: rgba(242,144,143,.45); background: rgba(242,144,143,.08); color: #fbd0cf; }
.notice.warning, .notice.warn { border-color: rgba(233,187,108,.45); background: rgba(233,187,108,.08); color: #f5ddb0; }

/* ---------------------------------------------------------------- icons & media */
.ico { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.icon-ring { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--champagne); flex-shrink: 0; }
.icon-ring.rose { color: var(--rose-soft); border-color: rgba(238,98,131,.4); }
.product-art { display: block; width: 100%; max-width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 14px; }
.product-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; color: var(--rose-soft); border: 1px solid rgba(238,98,131,.35); }
.item-icon { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; align-items: center; justify-content: center; color: var(--champagne); margin-right: 6px; vertical-align: middle; }

/* ---------------------------------------------------------------- home: hero */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero .display { margin-top: 26px; }
.hero .lead { margin-top: 28px; }
.hero .btn-row { margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--faint); max-width: 36em; }
.hero-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hero-visual { position: relative; margin-right: 14px; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); filter: saturate(1.05) brightness(1.08); }
.hero-visual .frame-img { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-visual .frame-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18,8,16,.85)); }
.hero-caption { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: flex; gap: 14px; align-items: flex-start; }
.hero-caption p { font-size: 14px; line-height: 1.5; color: var(--text); }
.hero-seal { position: absolute; top: -26px; left: -26px; z-index: 3; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--night); border: 1px solid var(--line-strong); font-family: var(--font-display); font-style: italic; font-size: 14px; line-height: 1.15; color: var(--champagne-soft); transform: rotate(-8deg); }
.hero-seal strong { display: block; font-style: normal; font-size: 30px; font-weight: 400; color: var(--rose-soft); }
@media (max-width: 640px) { .hero-seal { width: 86px; height: 86px; top: -18px; left: -8px; font-size: 12px; } .hero-seal strong { font-size: 24px; } }
.facts { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.facts li { padding: 26px 20px 24px 0; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts li:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
.facts li:nth-child(4) { border-top: 1px solid var(--line); }
.facts .value { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 52px); line-height: 1; color: var(--ivory); letter-spacing: -0.02em; }
.facts .label { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
@media (min-width: 800px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 1px solid var(--line); padding-left: 20px; border-top: 0; }
  .facts li:nth-child(4) { border-top: 0; }
}
.launch-countdown { margin-top: 22px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; }
.launch-countdown-label { font-size: 13px; font-weight: 600; color: var(--champagne-soft); }
.launch-countdown-value { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 14px; color: #1a0710; background: var(--champagne); padding: 6px 14px; border-radius: 999px; }

/* Members online */
.online-band { display: grid; gap: 20px; align-items: center; padding: 22px 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .online-band { grid-template-columns: auto 1fr auto; gap: 28px; } }
.faces { display: flex; align-items: center; }
.faces span { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: inline-block; border: 2px solid var(--night); background: var(--surface-3); }
.faces span + span { margin-left: -14px; }
.faces img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) saturate(1.2); transform: scale(1.15); }
.faces .ph { background: linear-gradient(135deg, var(--rose-deep), var(--champagne)); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; box-shadow: 0 0 0 4px rgba(99,210,164,.16); vertical-align: 2px; }

/* Partner picks */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; list-style: none; }
.pick { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.pick:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pick-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, rgba(178,58,92,.4), rgba(39,20,34,1)); display: grid; place-items: center; color: var(--champagne); }
.pick-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick-body { display: block; padding: 16px 18px 18px; }
.pick-meta { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--champagne); }
.pick-title { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 19px; line-height: 1.2; color: var(--ivory); }
.pick-price { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* Manifesto */
.manifesto { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .manifesto { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.manifesto-quote { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.025em; color: var(--ivory); }
.manifesto-quote em { color: var(--rose-soft); }
.principles { list-style: none; counter-reset: p; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--champagne); padding-top: 3px; }
.principles h3 { font-size: 22px; }
.principles p { color: var(--muted); font-size: 15px; }

/* Universes */
.universes { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.universe { position: relative; padding: 30px 0 34px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 6px 18px; }
.universe .n { grid-row: span 3; font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--faint); padding-top: 6px; }
.universe h3 { font-size: clamp(26px, 2.6vw, 32px); display: flex; align-items: center; gap: 12px; }
.universe h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent, var(--rose)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent, var(--rose)) 18%, transparent); }
.universe .tagline { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, var(--champagne)); }
.universe .desc { color: var(--muted); font-size: 15px; max-width: 34em; }
@media (min-width: 900px) {
  .universes { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .universe { grid-template-columns: 1fr; padding: 32px 26px 40px; border-bottom: 0; align-content: start; gap: 14px; }
  .universe + .universe { border-left: 1px solid var(--line); }
  .universe:first-child { padding-left: 0; }
  .universe .n { grid-row: auto; padding: 0; }
}

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.step { counter-increment: step; position: relative; padding: 34px 0; border-top: 1px solid var(--line); }
.step::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 300; font-size: 76px; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--champagne); letter-spacing: -0.04em; }
.step h3 { margin-top: 22px; font-size: 24px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 30em; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* Games strip */
.game-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 700px) { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.game-cover-card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; border: 1px solid var(--line); background: var(--surface); }
.game-cover-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(1.05) brightness(1.1); }
.game-cover-card:hover img { transform: scale(1.04); }
.game-cover-card .name { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(18,8,16,.92)); font-family: var(--font-display); font-size: 17px; color: var(--ivory); }

/* Alcove 18+ */
.alcove { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center;
  background: radial-gradient(700px 400px at 90% 0%, rgba(238,98,131,.28), transparent 60%), radial-gradient(500px 360px at 0% 100%, rgba(220,187,142,.12), transparent 60%), #1b0a16;
  border: 1px solid rgba(238,98,131,.25); }
@media (min-width: 900px) { .alcove { grid-template-columns: 1.5fr .5fr; } }
.alcove .h2 { margin-top: 18px; }
.alcove p.body { margin-top: 18px; color: var(--muted); max-width: 36em; }
.alcove-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.alcove-mark { justify-self: center; width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(238,98,131,.35); box-shadow: 0 0 0 18px rgba(238,98,131,.04), 0 0 0 40px rgba(238,98,131,.03), inset 0 0 60px rgba(238,98,131,.15); font-family: var(--font-display); font-style: italic; font-size: 58px; font-weight: 300; color: var(--rose-soft); }

/* Tiers */
.tiers { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.tier { position: relative; padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tier .n { display: block; font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--faint); }
.tier .t { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 18px; color: var(--text); }
.tier.done .n { color: var(--rose-soft); }
.tier.done .t { color: var(--ivory); }
.tier.done::before { content: ""; position: absolute; top: -1px; left: 0; right: 12px; height: 2px; background: var(--rose); }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(9, minmax(0, 1fr)); } .tier { border-bottom: 0; } }

/* Trust list */
.trust-grid { list-style: none; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.trust-card { padding: 30px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 46px 1fr; gap: 6px 18px; }
.trust-card .icon { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--champagne); }
.trust-card h3 { font-size: 21px; padding-top: 2px; }
.trust-card p { color: var(--muted); font-size: 15px; }
@media (min-width: 800px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .trust-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-card { grid-template-columns: 1fr; gap: 14px; align-content: start; }
  .trust-card .icon { grid-row: auto; }
}

/* FAQ */
.faq-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; } .faq-layout .sticky { position: sticky; top: 110px; align-self: start; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; color: var(--ivory); transition: color .2s; }
.faq-item summary:hover { color: var(--rose-soft); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; margin-top: -2px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dcbb8e' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform .35s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 54px 26px 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

/* Final CTA */
.cta-final { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 110px) var(--gutter); border-radius: 32px; border: 1px solid var(--line-strong);
  background: radial-gradient(600px 300px at 50% 0%, rgba(238,98,131,.25), transparent 70%), var(--surface); }
.cta-final .h1 { max-width: 13em; margin: 22px auto 0; }
.cta-final .lead { margin: 22px auto 0; }
.cta-final .btn-row { justify-content: center; margin-top: 36px; }

/* ---------------------------------------------------------------- page head (inner pages) */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head .h1 { margin-top: 20px; max-width: 15em; }
.page-head .lead { margin-top: 22px; }
.page-head-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1000px) { .page-head-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

/* ---------------------------------------------------------------- games catalogue */
.filters { margin-top: 36px; display: grid; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-wrap { position: relative; max-width: 520px; }
.search-wrap .field-input { padding-left: 46px; border-radius: 999px; }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.filter-row { display: grid; gap: 10px; }
.filter-row legend, .filter-title { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); padding: 0; margin-bottom: 10px; }
fieldset.filter-row { border: 0; margin: 0; padding: 0; min-width: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 15px; font-size: 13.5px; font-weight: 600; cursor: pointer; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--ivory); border-color: rgba(232,205,180,.45); }
.chip.active { background: var(--ivory); border-color: var(--ivory); color: var(--night); }
.filter-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.reset-link { display: inline-flex; align-items: center; gap: 6px; color: var(--rose-soft); font-weight: 700; font-size: 13.5px; background: none; border: none; cursor: pointer; }
.games-list { list-style: none; margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 640px) { .games-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .games-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.game-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .45s var(--ease); }
.game-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.game-card-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(1.05) brightness(1.1); }
.game-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.game-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.game-card-top .universe-icons { display: flex; gap: 8px; color: var(--faint); }
.game-card h2 { margin-top: 14px; font-size: 24px; }
.game-card .mechanic { margin-top: 10px; flex: 1; font-size: 14.5px; color: var(--muted); }
.empty-state { margin-top: 40px; padding: 56px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }

/* ---------------------------------------------------------------- pricing */
.rule-banner { margin-top: 36px; display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px 24px; max-width: 820px; border-left: 2px solid var(--rose); background: rgba(238,98,131,.05); border-radius: 0 var(--r) var(--r) 0; }
.rule-banner p { font-size: 15px; color: var(--text); }
.shop-section { padding: clamp(56px, 7vw, 96px) 0 0; }
.shop-head { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.shop-head .h3 { font-size: clamp(26px, 3vw, 38px); margin-top: 12px; }
.shop-head .desc { color: var(--muted); font-size: 15px; max-width: 36em; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; } .shop-head .desc { justify-self: end; } }
.card-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.price-card.highlight { border-color: rgba(238,98,131,.55); background: linear-gradient(180deg, rgba(238,98,131,.08), transparent 60%), var(--surface); }
.price-card .product-art { margin-bottom: 18px; }
.price-card h3 { font-size: 21px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.price-card .desc { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.price-card .price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-size: 30px; font-weight: 400; color: var(--ivory); letter-spacing: -0.02em; }
.price-card .price small { font-family: var(--font-sans); font-size: 13px; color: var(--faint); letter-spacing: 0; }
.price-card .price-real { margin-top: auto; padding-top: 18px; font-family: var(--font-display); font-size: 22px; color: var(--ivory); display: flex; align-items: center; gap: 8px; }
.price-card .foot { margin-top: 8px; font-size: 11.5px; color: var(--faint); }
.popular-badge { position: absolute; top: 16px; right: 16px; z-index: 1; border-radius: 999px; background: var(--rose); padding: 4px 11px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #1a0710; }
.perk-list { margin-top: 18px; display: grid; gap: 10px; list-style: none; }
.perk-list li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.perk-list .ico { color: var(--champagne); margin-top: 3px; }
.swatch-row { margin-top: 14px; display: flex; gap: 6px; list-style: none; }
.swatch-row li { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.coin { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; }
.two-col { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.gift-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.gift-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 10px; text-align: center; border: 1px solid var(--line); border-radius: var(--r); }
.gift-chip .name { font-family: var(--font-display); font-size: 15px; color: var(--ivory); }
.gift-chip .cost { font-size: 12px; color: var(--champagne); }
.box-list { list-style: none; border-top: 1px solid var(--line); }
.box-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.box-row .product-art { width: 56px; border-radius: 10px; }
.box-row h3 { font-size: 18px; }
.footnote { margin-top: clamp(56px, 7vw, 96px); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.footnote p { flex: 1; min-width: 220px; font-size: 14.5px; color: var(--muted); }

/* ---------------------------------------------------------------- safety */
.advice { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface); }
@media (min-width: 900px) { .advice { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.advice .h3 { font-size: clamp(26px, 3vw, 36px); }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--text); }
.check-list .ico { color: var(--champagne); margin-top: 4px; }
.fineprint { margin-top: 18px; font-size: 13px; color: var(--faint); line-height: 1.65; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding-top: clamp(40px, 5vw, 64px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 72px; } }
.form-panel { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface); }
.contact-infos { list-style: none; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-label { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.info-value { margin-top: 4px; font-family: var(--font-display); font-size: 19px; color: var(--ivory); word-break: break-word; }
.sent-state { padding: 40px 0; text-align: center; }

/* ---------------------------------------------------------------- download */
.install-cards { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); padding-top: clamp(40px, 5vw, 64px); }
@media (min-width: 960px) { .install-cards { grid-template-columns: 1.15fr .85fr; } }
.install-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 22px; align-content: start; }
.install-card.main { border-color: var(--line-strong); }
.install-card-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.install-card-head h2 { font-size: 30px; }
.num-list { list-style: none; counter-reset: n; display: grid; gap: 14px; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--text); font-size: 15px; line-height: 1.6; }
.num-list li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--champagne); margin-top: 1px; }
.hash-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hash-box code { flex: 1; min-width: 0; word-break: break-all; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.25); font-size: 12.5px; color: var(--champagne-soft); }

/* ---------------------------------------------------------------- waitlist */
.wl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.wl-grid > * { min-width: 0; }
@media (min-width: 1000px) { .wl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; } .wl-intro { position: sticky; top: 110px; } }
.wl-perks { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.wl-perks li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.wl-perks strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 19px; color: var(--ivory); margin-bottom: 2px; }
.wl-form { display: grid; gap: 22px; }

/* ---------------------------------------------------------------- legal */
.legal-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 72px; } .legal-toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; } }
.legal-toc ol { list-style: none; margin-top: 14px; display: grid; gap: 2px; counter-reset: t; }
.legal-toc li { counter-increment: t; }
.legal-toc a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 8px 0; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); transition: color .2s; }
.legal-toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--font-display); font-style: italic; color: var(--faint); }
.legal-toc a:hover { color: var(--ivory); }
.legal-body { max-width: 720px; }
.legal-section { scroll-margin-top: 100px; padding-top: 40px; }
.legal-section:first-child { padding-top: 0; }
.legal-section h2 { font-size: clamp(24px, 2.6vw, 30px); }
.legal-section p { margin-top: 16px; font-size: 15.5px; line-height: 1.8; color: var(--text); }
.legal-section ul { margin-top: 16px; list-style: none; display: grid; gap: 10px; }
.legal-section li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.legal-section li::before { content: ""; width: 6px; height: 1px; margin-top: 14px; background: var(--champagne); }
.legal-section a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.legal-placeholder { color: var(--champagne); font-style: italic; }
.legal-disclaimer { margin-top: 26px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(233,187,108,.4); background: rgba(233,187,108,.07); font-size: 13.5px; color: #f5ddb0; max-width: 720px; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 44px; font-size: clamp(24px, 2.6vw, 30px); }
.prose p, .prose li { margin-top: 14px; font-size: 15.5px; line-height: 1.8; color: var(--text); }
.prose ol { padding-left: 20px; }

/* ---------------------------------------------------------------- store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.store-badges.compact { margin-top: 22px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px; background: rgba(0,0,0,.4); color: var(--ivory); border: 1px solid var(--line-strong); transition: border-color .2s, transform .2s; }
.store-badge:hover { border-color: var(--champagne); transform: translateY(-1px); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 14.5px; }
.store-badge small { font-weight: 500; font-size: 10px; opacity: .7; }
.store-badge.soon { opacity: .55; cursor: default; }
.store-badge.soon:hover { transform: none; border-color: var(--line-strong); }

/* ---------------------------------------------------------------- dialogs (iOS guide) */
.install-guide { padding: 0; border: 0; background: transparent; color: var(--text); max-width: min(460px, calc(100vw - 32px)); width: 100%; }
.install-guide::backdrop { background: rgba(8, 3, 7, .72); backdrop-filter: blur(4px); }
.install-guide-card { position: relative; padding: 32px 26px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.install-guide-card h2 { margin-top: 12px; font-size: 28px; }
.install-guide-lead { margin-top: 8px; color: var(--muted); }
.install-guide-card ol { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text); }
.install-guide-actions { margin-top: 24px; display: grid; gap: 10px; }
.install-guide-actions .btn { width: 100%; }
.install-guide-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); font-size: 20px; line-height: 1; cursor: pointer; }

/* ---------------------------------------------------------------- age gate */
.age-gate { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 3, 7, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.age-gate[hidden] { display: none; }
.age-gate-card { width: 100%; max-width: 440px; padding: 40px 30px 32px; border-radius: var(--r-lg); text-align: center; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); color: var(--text); }
.age-gate-badge { display: inline-grid; place-items: center; width: 72px; height: 72px; margin: 0 0 18px; border-radius: 50%; border: 1px solid rgba(238,98,131,.5); font-family: var(--font-display); font-size: 24px; color: var(--rose-soft); }
.age-gate-card h2 { font-size: 28px; margin-bottom: 12px; }
.age-gate-text, .age-gate-refused { color: var(--muted); margin: 0 0 24px; }
.age-gate-refused { margin: 0; color: var(--rose-soft); font-weight: 600; }
.age-gate-actions { display: grid; gap: 10px; }
.age-gate-actions[hidden] { display: none; }
.age-gate-actions button { min-height: 52px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent; }
.age-gate-yes { background: var(--rose); color: #1a0710; }
.age-gate-no { background: transparent; color: var(--muted); border-color: var(--line-strong) !important; }

/* ---------------------------------------------------------------- error pages */
.error-page { min-height: 64vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px var(--gutter); }
.error-page .code { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(110px, 20vw, 200px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--champagne); letter-spacing: -0.04em; }
.error-page h1 { margin-top: 18px; font-size: clamp(30px, 4vw, 44px); }
.error-page p { margin-top: 14px; max-width: 460px; color: var(--muted); }
.error-page .btn-row { justify-content: center; margin-top: 30px; }

/* ---------------------------------------------------------------- auth (sign-in pages) */
.auth { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 160px); }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-aside { display: none; position: relative; overflow: hidden; padding: 64px 56px; border-right: 1px solid var(--line);
  background: radial-gradient(600px 400px at 0% 100%, rgba(238,98,131,.22), transparent 60%), radial-gradient(500px 300px at 100% 0%, rgba(220,187,142,.1), transparent 60%), var(--night-2); }
@media (min-width: 960px) { .auth-aside { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-aside .quote { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -0.025em; color: var(--ivory); max-width: 11em; }
.auth-aside .quote em { color: var(--rose-soft); }
.auth-aside ul { list-style: none; border-top: 1px solid var(--line); margin-top: 40px; }
.auth-aside li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.auth-aside li .ico { color: var(--champagne); margin-top: 3px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .h2 { margin-top: 18px; font-size: clamp(32px, 4vw, 44px); }
.auth-card .lead { margin-top: 14px; font-size: 15.5px; }
.auth-card form { margin-top: 30px; }
.auth-links { margin-top: 24px; display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.auth-links a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.auth-links a:hover { text-decoration-color: var(--rose); }
.auth-sep { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- ticket */
.ticket { max-width: 520px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) var(--gutter) 96px; }
.ticket-card { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-strong); overflow: hidden; box-shadow: var(--shadow); }
.ticket-top { padding: 28px 26px 24px; background: radial-gradient(400px 200px at 100% 0%, rgba(238,98,131,.2), transparent 70%); }
.ticket-top h1 { margin-top: 14px; font-size: clamp(28px, 6vw, 36px); }
.ticket-top .when { margin-top: 10px; font-size: 14px; color: var(--muted); }
.ticket-perf { position: relative; height: 0; border-top: 1px dashed var(--line-strong); margin: 0 18px; }
.ticket-perf::before, .ticket-perf::after { content: ""; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); border: 1px solid var(--line-strong); }
.ticket-perf::before { left: -31px; } .ticket-perf::after { right: -31px; }
.ticket-body { padding: 24px 26px 28px; }
.ticket-state { padding: 22px; border-radius: var(--r); text-align: center; border: 1px solid; }
.ticket-state .big { font-family: var(--font-display); font-size: 30px; letter-spacing: .02em; }
.ticket-state.valid { border-color: rgba(99,210,164,.55); background: rgba(99,210,164,.08); color: #b9f0d8; }
.ticket-state.bad { border-color: rgba(242,144,143,.55); background: rgba(242,144,143,.08); color: #fbd0cf; }
.ticket-state.early { border-color: rgba(233,187,108,.55); background: rgba(233,187,108,.08); color: #f5ddb0; }
.ticket-state.neutral { border-color: var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); }
.ticket-holder { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.ticket-holder img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); }
.ticket-holder .name { font-family: var(--font-display); font-size: 22px; color: var(--ivory); }

/* ---------------------------------------------------------------- partner space */
.ps-shell { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 140px); max-width: 1320px; margin: 0 auto; }
@media (min-width: 1000px) { .ps-shell { grid-template-columns: 260px minmax(0, 1fr); } }
.ps-side { padding: 24px var(--gutter) 0; }
@media (min-width: 1000px) { .ps-side { position: sticky; top: 72px; align-self: start; height: calc(100vh - 72px); padding: 36px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; } }
.ps-who { display: none; }
@media (min-width: 1000px) { .ps-who { display: block; margin-bottom: 28px; } }
.ps-who .name { font-family: var(--font-display); font-size: 22px; color: var(--ivory); line-height: 1.2; }
.ps-who .roles { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ps-tabs { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.ps-tabs::-webkit-scrollbar { display: none; }
.ps-tab { position: relative; display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 10px; transition: color .2s, background-color .2s; }
.ps-tab .ico { color: var(--faint); transition: color .2s; }
.ps-tab:hover { color: var(--ivory); }
.ps-tab.on { color: var(--ivory); background: rgba(255,255,255,.05); }
.ps-tab.on .ico { color: var(--rose-soft); }
.ps-tab .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rose); color: #1a0710; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
@media (min-width: 1000px) {
  .ps-tabs { flex-direction: column; overflow: visible; border: 0; gap: 2px; }
  .ps-tab { padding: 11px 14px; }
  .ps-tab.on::before { content: ""; position: absolute; left: -24px; top: 8px; bottom: 8px; width: 2px; background: var(--rose); }
}
.ps-side-foot { display: none; }
@media (min-width: 1000px) { .ps-side-foot { display: block; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); } .ps-side-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; } }
.ps { padding: 28px var(--gutter) 96px; min-width: 0; }
@media (min-width: 1000px) { .ps { padding: 44px 48px 110px; } }
.ps-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.ps-top h1 { margin-top: 12px; font-size: clamp(32px, 4vw, 48px); font-weight: 350; }
.ps-top h1 em { color: var(--rose-soft); font-weight: 300; }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.ps-card { padding: 24px 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.ps-card .k { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--faint); }
.ps-card .v { margin-top: 12px; font-family: var(--font-display); font-weight: 350; font-size: clamp(28px, 3vw, 38px); line-height: 1; color: var(--ivory); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.ps-card .v.accent { color: var(--rose-soft); }
.ps-card .hint { margin-top: 10px; }
.ps h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 44px; }
.ps h2 + .hint { margin-top: 8px; }
.ps-box { margin-top: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ps-box.empty { border-style: dashed; background: transparent; color: var(--muted); }
.share-box { margin-top: 18px; display: grid; gap: 14px; padding: 24px; border-radius: var(--r-lg); border: 1px solid rgba(238,98,131,.35); background: linear-gradient(135deg, rgba(238,98,131,.08), transparent 60%), var(--surface); }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-row code { flex: 1; min-width: 0; word-break: break-all; padding: 12px 14px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--line); font-size: 13.5px; color: var(--ivory); }
.ps-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ps-wrap.plain { border: 0; background: transparent; overflow: visible; }
.ps-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ps-table th { text-align: left; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--faint); padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ps-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.ps-table tbody tr:last-child td { border-bottom: 0; }
.ps-table tbody tr:hover td { background: rgba(255,255,255,.015); }
.ps-table td strong { font-weight: 700; }
.ps-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; border: 1px solid var(--line-strong); color: var(--text); white-space: nowrap; }
.ps-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ps-pill.ok { color: var(--ok); border-color: rgba(99,210,164,.35); }
.ps-pill.wait { color: var(--warn); border-color: rgba(233,187,108,.35); }
.ps-pill.no { color: var(--bad); border-color: rgba(242,144,143,.35); }
.ps-msg { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); }
.ps-msg.success { border-color: rgba(99,210,164,.4); background: rgba(99,210,164,.08); color: #c5f1dd; }
.ps-msg.error { border-color: rgba(242,144,143,.45); background: rgba(242,144,143,.08); color: #fbd0cf; }
.ps-msg.warning, .ps-msg.info { border-color: rgba(233,187,108,.4); background: rgba(233,187,108,.07); color: #f5ddb0; }
.ps-form { display: grid; gap: 16px; }
.ps-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--text); }
.ps-form .helptext, .ps-form .help { display: block; margin-top: 6px; font-size: 12px; color: var(--faint); }
.ps-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ps-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-order { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); padding: 20px 22px; border-bottom: 1px solid var(--line); }
.ps-order:last-child { border-bottom: 0; }
@media (min-width: 800px) { .ps-order { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; } }
.ps-order .title { font-family: var(--font-display); font-size: 19px; color: var(--ivory); }
.ps-order form { display: grid; gap: 8px; margin: 0; }
.ps-doc { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ps-doc:last-child { border-bottom: 0; }
.ps-doc .title { font-family: var(--font-display); font-size: 19px; color: var(--ivory); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ps-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; }
.ps-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ps-back:hover { color: var(--ivory); }
.ps-modal { border: none; padding: 0; background: transparent; color: var(--text); width: min(680px, calc(100vw - 20px)); max-width: none; max-height: calc(100dvh - 20px); }
.ps-modal::backdrop { background: rgba(8, 3, 7, .78); backdrop-filter: blur(4px); }
.ps-modal-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 0 26px 26px; max-height: calc(100dvh - 20px); overflow-y: auto; box-shadow: var(--shadow); }
.ps-modal-head { position: sticky; top: 0; z-index: 1; background: var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.ps-modal-head h2 { margin: 0; font-size: 24px; }
.ps-modal-close { flex-shrink: 0; background: transparent; border: 1px solid var(--line-strong); color: var(--ivory); width: 38px; height: 38px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.ps-scanner { margin-top: 16px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }
@media (max-width: 720px) {
  .ps-table { font-size: 13.5px; }
  /* Each list row becomes a card: « column : value ». */
  .ps-table.stack thead { display: none; }
  .ps-table.stack, .ps-table.stack tbody, .ps-table.stack tr, .ps-table.stack td { display: block; width: 100%; }
  .ps-table.stack tr { padding: 12px 18px; border-bottom: 1px solid var(--line); }
  .ps-table.stack tbody tr:last-child { border-bottom: 0; }
  .ps-table.stack td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 14px; text-align: right; }
  .ps-table.stack td[data-label]::before { content: attr(data-label); text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }
  .ps-table.stack td[colspan] { justify-content: center; text-align: center; }
  .ps-actions, .ps-actions .btn { width: 100%; }
}
/* The door scanner's buttons carry dashboard classes too. */
.ticket-scanner .dash-btn { min-height: 44px; }

/* The partner shell is wider than the public pages: its header follows. */
.ps-header .site-header-inner { max-width: 1320px; }
