@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens (Luvara_Branding, verbindlich) ---------- */
:root {
  --violet: #4A2A73;
  --violet-hover: #5E3B8F;
  --violet-active: #382058;
  --gold: #D9A62E;
  --gold-hover: #E5B84E;
  --gold-active: #C2920F;
  --on-gold: #3A2A06;
  --on-gold-active: #2A1F04;

  --bg: #FAF8F5;
  --card: #F1EDE7;
  --ink: #221A2E;
  --muted: #5C5566;
  --line: #E3DDD4;
  --line-strong: #CFC6BA;
  --link: #4A2A73;
  --green: #2E7D5B;
  --stage: #4A2A73;
  --stage-deep: #382058;
  --focus: #4A2A73;

  --phone-bg: #FAF8F5;
  --phone-card: #F1EDE7;
  --phone-ink: #221A2E;
  --phone-muted: #5C5566;
  --phone-body: #15101C;

  --sh: 34 26 46;
  --emboss: inset 0 1px 0 rgb(255 255 255 / .75), inset 0 -1px 0 rgb(34 26 46 / .05);
  --rest: 0 1px 2px rgb(var(--sh) / .06), 0 8px 18px -12px rgb(var(--sh) / .22);
  --lift: 0 2px 4px rgb(var(--sh) / .08), 0 28px 56px -24px rgb(var(--sh) / .42);
  --foil: inset 0 1px 0 rgb(255 255 255 / .45), 0 1px 2px rgb(var(--sh) / .2), 0 8px 18px -10px rgb(var(--sh) / .45);

  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 144px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1523;
    --card: #251D33;
    --ink: #F0EAF7;
    --muted: #B8AECB;
    --line: #3A3149;
    --line-strong: #4A3F5C;
    --link: #A78FD1;
    --green: #4CAF85;
    --stage: #382058;
    --stage-deep: #2A1844;
    --focus: #A78FD1;
    --sh: 6 3 12;
    --emboss: inset 0 1px 0 rgb(255 255 255 / .06), inset 0 0 0 1px #3A3149;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; }
h3 { font-size: 1.3125rem; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 36em; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.stage :focus-visible, .price-card :focus-visible { outline-color: var(--gold); }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .15s, color .2s;
}
.btn--sm { height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--on-gold); box-shadow: var(--foil); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--gold:active { background: var(--gold-active); color: var(--on-gold-active); transform: translateY(1px); }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / .42); background: transparent; }
.btn--ghost:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .7); }
.btn--line { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.i--arrow { transition: transform .2s var(--ease); }
.btn:hover .i--arrow { transform: translateX(2px); }

/* ---------- Topbar + Nav ---------- */
.topbar { background: var(--card); color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.topbar__in { display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); padding-block: 9px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .i { width: 16px; height: 16px; color: var(--link); }

.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.375rem/1 var(--display); letter-spacing: -.03em; }
.mark { width: 30px; height: 30px; }
.mark__card { fill: var(--violet); }
.mark__chip { fill: var(--gold); }
@media (prefers-color-scheme: dark) { .mark__card { fill: #A78FD1; } }
.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 999px; color: var(--muted); font-size: .9375rem; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.nav__links a:hover { background: var(--card); color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__login { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.sheet { border-top: 1px solid var(--line); background: var(--bg); padding-block: 8px 24px; }
.sheet__links { list-style: none; margin: 0; padding: 0; }
.sheet__links a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 1.375rem/1.1 var(--display); letter-spacing: -.02em; }
.sheet__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }

@media (max-width: 960px) {
  .nav__links, .nav__login, .nav__actions > .btn { display: none; }
  .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 480px) { .topbar__hide-sm { display: none !important; } }

/* ---------- Stage (violet slab) ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  margin-inline: clamp(0px, 1.2vw, 16px);
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--stage);
  color: #fff;
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 92% 8%, rgb(255 255 255 / .055) 0 1px, transparent 1px 9px);
  -webkit-mask-image: radial-gradient(70% 70% at 90% 10%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 90% 10%, #000, transparent 75%);
}
.stage .lead { color: color-mix(in srgb, #fff 80%, var(--stage)); }

/* ---------- Hero ---------- */
.hero { padding-top: 8px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: clamp(40px, 6vw, 88px); align-items: center; padding-block: clamp(56px, 7vw, 104px); }
.hero__title { font-size: clamp(2.375rem, 1.3rem + 3.3vw, 4.25rem); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
.hero__title span { display: block; }
.hero__title-b { font-weight: 500; color: color-mix(in srgb, #fff 80%, var(--stage)); margin-top: .12em; }
.hero__lead { margin-top: 24px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: color-mix(in srgb, #fff 80%, var(--stage)); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 36px 0 0; }
.pills li { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .05); }
.hero__visual { position: relative; display: grid; justify-items: center; gap: 24px; }
.hero__device { position: relative; width: 100%; height: 600px; display: grid; place-items: center; }
.picker-wrap { display: grid; justify-items: center; gap: 12px; }
.picker__hint { font-size: .875rem; color: color-mix(in srgb, #fff 78%, var(--stage)); text-align: center; }
.picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.picker button {
  width: 120px; aspect-ratio: 1.586; padding: 9px 10px; border: 0; border-radius: 10px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; text-align: left; color: #fff; font: inherit;
  background: linear-gradient(150deg, color-mix(in oklab, var(--p) 74%, #221A2E), color-mix(in oklab, var(--p) 52%, #221A2E));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 12px 24px -16px rgb(14 6 24 / .8);
  opacity: .8; transition: opacity .2s, transform .3s var(--ease), box-shadow .2s;
}
.picker button:hover { opacity: 1; transform: translateY(-2px); }
.picker [aria-checked="true"] { opacity: 1; transform: translateY(-4px); box-shadow: 0 0 0 2px var(--stage), 0 0 0 4px var(--gold), 0 12px 24px -16px rgb(14 6 24 / .8); }
.picker__mono { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .6); font: 700 .625rem/1 var(--display); }
.picker strong { display: block; font: 600 .8125rem/1.15 var(--display); }
.picker small { display: block; font-size: .6875rem; opacity: .8; }
.member-card--tilt.is-flip { animation: flip .8s var(--ease); }
@keyframes flip { 0% { transform: rotate(-9deg) rotateY(0); } 30% { transform: rotate(-9deg) rotateY(90deg); } 31% { transform: rotate(-9deg) rotateY(-90deg); } 100% { transform: rotate(-9deg) rotateY(0); } }
.demo-note { margin-top: 12px; color: var(--muted); font-size: .8125rem; text-align: right; }

.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 16px;
  background: #FAF8F5; color: #221A2E;
  box-shadow: 0 24px 48px -24px rgb(14 6 24 / .7), inset 0 1px 0 #fff;
  animation: bob 6s ease-in-out infinite;
}
.float strong { display: block; font: 700 1rem/1.15 var(--display); letter-spacing: -.01em; }
.float small { display: block; color: #5C5566; font-size: .8125rem; }
.float { pointer-events: none; }
.float--a { left: -64px; top: 120px; }
.float--b { right: -32px; bottom: 120px; animation-delay: -3s; }
.float__dot { width: 12px; height: 12px; margin: 0 4px 0 8px; border-radius: 50%; background: #2E7D5B; box-shadow: 0 0 0 4px rgb(46 125 91 / .18); }
@keyframes bob { 50% { transform: translateY(-8px); } }

.seal { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--on-gold); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 0 0 3px rgb(58 42 6 / .12); flex: none; }
.seal .i { width: 18px; height: 18px; }
.seal--sm { width: 34px; height: 34px; }

/* ---------- Member card ---------- */
.member-card {
  --pc1: color-mix(in oklab, var(--p) 74%, #221A2E);
  --pc2: color-mix(in oklab, var(--p) 52%, #221A2E);
  position: relative; overflow: hidden;
  width: 300px; aspect-ratio: 1.586; padding: 18px 20px;
  border-radius: 16px; color: #fff;
  background: linear-gradient(150deg, var(--pc1), var(--pc2));
  box-shadow: 0 30px 60px -28px rgb(14 6 24 / .75), inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -1px 0 rgb(0 0 0 / .15);
  display: grid; grid-template-rows: auto 1fr auto auto;
}
.member-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 0, rgb(255 255 255 / .07) 0 1px, transparent 1px 7px);
}
.member-card__top { display: flex; align-items: center; gap: 10px; }
.member-card__mono { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .6); font: 700 .75rem/1 var(--display); }
.member-card__name { font: 600 1.0625rem/1.1 var(--display); letter-spacing: -.01em; }
.member-card__chip { align-self: center; width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #E5B84E, #C2920F); box-shadow: inset 0 0 0 1px rgb(58 42 6 / .25); }
.member-card__no { font-size: .9375rem; font-weight: 500; letter-spacing: .14em; font-variant-numeric: tabular-nums; opacity: .9; }
.member-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.member-card--tilt { position: absolute; z-index: 0; left: 0; bottom: 70px; transform: rotate(-9deg); }

.tier { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; }
.tier--lg { height: 28px; padding: 0 12px; font-size: .8125rem; }

/* ---------- Phone ---------- */
.phone {
  --p-ink: color-mix(in oklab, var(--p) 66%, #221A2E);
  --p-tint: color-mix(in oklab, var(--p) 13%, #FAF8F5);
  --p-line: color-mix(in oklab, var(--p) 28%, #FAF8F5);
  position: relative; z-index: 2;
  width: 290px; aspect-ratio: 290 / 600; padding: 11px;
  border-radius: 46px; background: var(--phone-body);
  box-shadow: 0 40px 80px -30px rgb(14 6 24 / .8), inset 0 0 0 1.5px #2C2436;
  transition: --p .7s;
}
.phone__island { position: absolute; z-index: 3; top: 20px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 999px; background: #000; }
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 36px;
  background: var(--phone-bg); color: var(--phone-ink);
  font-size: 13px; line-height: 1.35;
  display: flex; flex-direction: column;
}
.ps { display: flex; flex-direction: column; flex: 1; min-height: 0; animation: screen-in .45s var(--ease); }
@keyframes screen-in { from { opacity: 0; transform: translateY(8px); } }
.ps__status { display: flex; justify-content: space-between; padding: 16px 26px 0; font-weight: 700; font-size: 12px; height: 46px; }
.ps__status i { display: inline-block; width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .8; }
.ps__head { display: flex; align-items: center; gap: 8px; padding: 6px 18px 10px; }
.ps__logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--p-ink); color: #fff; font: 700 11px/1 var(--display); transition: background-color .7s; }
.ps__name { font: 700 14px/1.1 var(--display); letter-spacing: -.01em; }
.ps__bell { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--phone-card); display: grid; place-items: center; }
.ps__bell .i { width: 15px; height: 15px; }
.ps__body { flex: 1; min-height: 0; overflow: hidden; padding: 4px 14px 10px; display: flex; flex-direction: column; gap: 10px; }
.ps__body > * { flex-shrink: 0; }
.ps__hi { font: 700 20px/1.1 var(--display); letter-spacing: -.02em; padding: 0 4px; }
.ps__hi small { display: block; font: 500 12px/1.4 var(--body); color: var(--phone-muted); letter-spacing: 0; margin-top: 2px; }
.ps__card { background: var(--phone-card); border-radius: 14px; padding: 12px; }
.ps__points { color: #fff; border-radius: 14px; padding: 14px; background: linear-gradient(150deg, color-mix(in oklab, var(--p) 74%, #221A2E), color-mix(in oklab, var(--p) 52%, #221A2E)); transition: background .7s; position: relative; overflow: hidden; }
.ps__points-row { display: flex; width: 100%; justify-content: space-between; align-items: center; }
.ps__points strong { font: 700 26px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ps__points small { opacity: .8; font-size: 11px; }
.ps__bar { display: block; height: 6px; border-radius: 999px; background: rgb(255 255 255 / .22); margin: 10px 0 6px; overflow: hidden; }
.ps__bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--gold); }
.ps__row { display: flex; align-items: center; gap: 10px; }
.ps__row strong { display: block; font-size: 13px; }
.ps__row small { display: block; color: var(--phone-muted); font-size: 11px; }
.ps__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--p-tint); color: var(--p-ink); flex: none; transition: background-color .7s, color .7s; }
.ps__ico .i { width: 16px; height: 16px; }
.ps__chip { margin-left: auto; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--p-ink); color: #fff; transition: background-color .7s; white-space: nowrap; }
.ps__chip--gold { background: var(--gold); color: var(--on-gold); }
.ps__label { font-size: 11px; font-weight: 700; color: var(--phone-muted); letter-spacing: .04em; padding: 2px 4px 0; }
.ps__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ps__slots span { text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid var(--p-line); font-weight: 600; font-size: 12px; font-variant-numeric: tabular-nums; }
.ps__slots .off { opacity: .35; text-decoration: line-through; }
.ps__slots .sel { background: var(--p-ink); border-color: var(--p-ink); color: #fff; }
.ps__days { display: flex; gap: 6px; }
.ps__days span { flex: 1; text-align: center; padding: 6px 0; border-radius: 10px; background: var(--phone-card); font-size: 11px; }
.ps__days b { display: block; font: 700 15px/1.2 var(--display); }
.ps__days .sel { background: var(--p-tint); box-shadow: inset 0 0 0 1.5px var(--p-ink); }
.ps__cta { margin-top: auto; text-align: center; padding: 12px; border-radius: 999px; background: var(--p-ink); color: #fff; font-weight: 700; transition: background-color .7s; }
.ps__cta--gold { background: var(--gold); color: var(--on-gold); }
.ps__method { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid #E3DDD4; font-weight: 600; }
.ps__method.sel { border-color: var(--p-ink); box-shadow: inset 0 0 0 1px var(--p-ink); background: var(--p-tint); }
.ps__method small { margin-left: auto; color: var(--phone-muted); font-weight: 500; font-size: 11px; }
.ps__radio { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #CFC6BA; flex: none; }
.ps__method.sel .ps__radio { border: 4px solid var(--p-ink); }
.ps__total { display: flex; justify-content: space-between; font-weight: 700; padding: 0 4px; }
.ps__qr { margin: 6px auto 0; width: 150px; height: 150px; padding: 12px; background: #fff; border-radius: 16px; color: #221A2E; box-shadow: 0 0 0 1px #E3DDD4; }
.ps__qr svg { width: 100%; height: 100%; }
.ps__center { text-align: center; padding: 0 10px; color: var(--phone-muted); font-size: 12px; }
.ps__toast { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #221A2E; color: #fff; animation: toast-in .6s var(--ease) .2s both; }
.ps__toast strong { font: 700 16px/1 var(--display); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
.ps__stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.ps__stamps span { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--p-line); }
.ps__stamps .on { border: 0; background: var(--p-ink); transition: background-color .7s; }
.ps__stamps .new { border: 0; background: var(--gold); animation: pop .5s var(--ease) .5s both; }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.2); } }
.ps__lock { flex: 1; display: flex; flex-direction: column; color: #fff; background: linear-gradient(170deg, color-mix(in oklab, var(--p) 60%, #221A2E), #15101C); padding: 54px 12px 16px; transition: background .7s; }
.ps__clock { text-align: center; font: 600 54px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ps__date { text-align: center; opacity: .75; font-size: 13px; margin: 6px 0 26px; }
.ps__notif { display: flex; gap: 10px; padding: 12px; border-radius: 18px; background: rgb(250 248 245 / .92); color: #221A2E; animation: toast-in .7s var(--ease) .3s both; }
.ps__notif .ps__logo { flex: none; }
.ps__notif strong { font-size: 12px; }
.ps__notif small { float: right; color: #5C5566; font-size: 11px; }
.ps__notif p { font-size: 12.5px; margin-top: 2px; }
.ps__tabs { display: flex; justify-content: space-around; padding: 8px 6px 18px; border-top: 1px solid #E3DDD4; background: var(--phone-bg); }
.ps__tabs span { display: grid; justify-items: center; gap: 2px; font-size: 9.5px; font-weight: 600; color: var(--phone-muted); }
.ps__tabs .i { width: 18px; height: 18px; }
.ps__tabs .on { color: var(--p-ink); transition: color .7s; }
.ps__empty { margin: auto; text-align: center; color: var(--phone-muted); font-size: 12px; padding: 20px; }

/* Live preview */
.phone--live .ps__body { overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; padding-bottom: 14px; }
.phone--live .ps__body::-webkit-scrollbar { display: none; }
:where(.ps) button { font: inherit; color: inherit; text-align: left; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ps button.ps__card, .ps button.ps__points, .ps button.ps__item, .ps button.ps__method, .ps button.ps__cta { width: 100%; display: flex; }
.ps button.ps__points { display: block; text-align: left; }
.ps button.ps__cta { justify-content: center; margin-top: 4px; }
.ps button:disabled { cursor: default; }
.ps button.ps__cta:disabled { opacity: .45; }
.ps button.ps__card:hover, .ps button.ps__item:hover { filter: brightness(.97); }
.ps :focus-visible { outline: 2px solid var(--p-ink); outline-offset: 2px; border-radius: 10px; }
.ps--still { animation: none; }
.ps__tabs button { display: grid; justify-items: center; gap: 2px; min-width: 44px; min-height: 40px; font-size: 9.5px; font-weight: 600; color: var(--phone-muted); }
.ps__tabs button.on { color: var(--p-ink); }
.ps__back { display: inline-flex !important; align-items: center; gap: 2px; min-height: 30px; font-size: 12px; font-weight: 700; color: var(--p-ink) !important; }
.ps__back .i { width: 16px; height: 16px; }
.ps__days button { flex: 1; text-align: center !important; padding: 6px 0 !important; border-radius: 10px; background: var(--phone-card) !important; font-size: 11px; }
.ps__days button b { display: block; font: 700 15px/1.2 var(--display); }
.ps__days button.sel { background: var(--p-tint) !important; box-shadow: inset 0 0 0 1.5px var(--p-ink); }
.ps__slots button { text-align: center !important; padding: 8px 0 !important; border-radius: 10px; border: 1px solid var(--p-line) !important; font-weight: 600; font-size: 12px; font-variant-numeric: tabular-nums; }
.ps__slots button:disabled { opacity: .35; text-decoration: line-through; }
.ps__slots button.sel { background: var(--p-ink) !important; border-color: var(--p-ink) !important; color: #fff; }
.ps__item { align-items: center; gap: 10px; padding: 10px 12px !important; border-radius: 14px; background: var(--phone-card) !important; display: flex; }
.ps__item strong { display: block; font-size: 13px; }
.ps__item small { display: block; color: var(--phone-muted); font-size: 11px; }
.ps__item--nav { justify-content: space-between; }
.ps__item--nav .i { width: 16px; height: 16px; color: var(--phone-muted); }
.ps__price { margin-left: auto; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps__price s { display: block; color: var(--phone-muted); font-weight: 500; font-size: 10.5px; }
.ps__cta--line { background: transparent !important; color: var(--p-ink) !important; box-shadow: inset 0 0 0 1.5px var(--p-ink); }
.ps__note { font-size: 11px; color: var(--phone-muted); text-align: center; }
.ps__spread { display: flex; justify-content: space-between; align-items: baseline; }
.ps__spread small { color: var(--phone-muted); }
.ps__row--locked { opacity: .7; }
.ps__done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 26px 6px 0; }
.ps__done .ps__hi { padding: 0; }
.ps__check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--p-ink); color: #fff; animation: pop .5s var(--ease); }
.ps__check .i { width: 26px; height: 26px; stroke-width: 2.2; }
.ps__code { text-align: center; padding: 18px 8px; border-radius: 14px; border: 1.5px dashed var(--p-line); font: 700 24px/1 var(--display); letter-spacing: .1em; color: var(--p-ink); }
.ps__me { display: flex; align-items: center; gap: 12px; padding: 4px 4px 2px; }
.ps__me strong { display: block; font: 700 17px/1.2 var(--display); margin-bottom: 4px; outline: none; }
.ps__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--p-tint); color: var(--p-ink); font: 700 16px/1 var(--display); flex: none; }
.ps__save { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: #221A2E; color: #fff; }
.ps__save small { opacity: .75; font-size: 11px; }
.ps__save strong { font: 700 24px/1.1 var(--display); letter-spacing: -.02em; }
.ps__meter { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--p-line); overflow: hidden; }
.ps__meter i { display: block; height: 100%; background: var(--p-ink); }
.ps__list { display: grid; gap: 8px; font-size: 12px; }
.ps__list span { display: flex; gap: 8px; align-items: center; }
.ps__list .i { width: 14px; height: 14px; color: var(--p-ink); }
.ps__toggle { position: relative; margin-left: auto; width: 34px; height: 20px; border-radius: 999px; background: #CFC6BA; flex: none; transition: background-color .2s; }
.ps__toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.ps__toggle.on { background: #2E7D5B; }
.ps__toggle.on::after { transform: translateX(14px); }
.ps__hi[data-title] { outline: none; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.section__head { max-width: 44rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head .lead { margin-top: 18px; }
.card { background: var(--card); border-radius: 20px; box-shadow: var(--emboss), var(--rest); }

/* Loop */
.loop { overflow-x: clip; }
.loop__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.loop__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: s; }
.loop__steps button {
  position: relative; width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 12px; text-align: left;
  padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: inherit; font: inherit; cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.loop__steps button:hover { background: var(--card); }
.loop__steps [aria-selected="true"] { background: var(--card); box-shadow: var(--emboss), var(--rest); }
.idx { font: 600 1rem/1.4 var(--display); letter-spacing: .04em; color: var(--muted); }
[aria-selected="true"] .idx { color: var(--link); }
.loop__txt strong { display: block; font: 600 1.25rem/1.25 var(--display); letter-spacing: -.015em; }
.loop__txt span { display: block; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
[aria-selected="true"] .loop__txt span { max-height: 8em; opacity: 1; margin-top: 6px; }
.loop__steps [aria-selected="true"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform-origin: left; animation: tick var(--dur, 5s) linear; }
.loop__steps.is-paused [aria-selected="true"]::after { animation: none; transform: scaleX(0); }
@keyframes tick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.loop__stage { position: relative; display: grid; justify-items: center; gap: 20px; padding-block: 24px; }
.loop__ring { position: absolute; top: 50%; left: 50%; width: min(560px, 120%); aspect-ratio: 1; transform: translate(-50%, -54%); pointer-events: none; }
.loop__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loop__track { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.loop__progress { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 578; transition: stroke-dashoffset .8s var(--ease); }
.loop__controls { position: relative; display: grid; justify-items: center; gap: 10px; }
.loop__again { color: var(--muted); font-size: .9375rem; opacity: 0; transition: opacity .4s; }
.loop__again.is-on { opacity: 1; }

/* Feature split */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature--flip .feature__copy { order: 2; }
.feature__copy .lead { margin-top: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%233A2A06' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* Calculator */
.calc { padding: clamp(22px, 3vw, 32px); display: grid; gap: 22px; }
.calc__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.calc__note { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.range { display: grid; gap: 10px; }
.range__row { display: flex; justify-content: space-between; font-weight: 600; }
.range output { font: 700 1.125rem/1 var(--display); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--violet) var(--fill, 50%), var(--line) var(--fill, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--violet) var(--fill, 50%), var(--line) var(--fill, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--gold); box-shadow: var(--foil); border: 0; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); box-shadow: var(--foil); border: 0; }
@media (prefers-color-scheme: dark) {
  input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(to right, #A78FD1 var(--fill, 50%), var(--line) var(--fill, 50%)); }
  input[type=range]::-moz-range-track { background: linear-gradient(to right, #A78FD1 var(--fill, 50%), var(--line) var(--fill, 50%)); }
}
.calc__result { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; padding: 18px; border-radius: 14px; background: var(--violet); color: #fff; }
.calc__label { display: block; font-size: .8125rem; font-weight: 600; color: rgb(255 255 255 / .75); }
.calc__big { display: block; font: 700 clamp(2rem, 1.4rem + 2vw, 2.75rem)/1.05 var(--display); letter-spacing: -.04em; margin-top: 4px; }
.calc__mid { display: block; font: 700 1.5rem/1.05 var(--display); letter-spacing: -.03em; margin-top: 10px; }
.calc__bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; }
.calc__bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--violet) 22%, var(--card)); transition: height .5s var(--ease); }
.calc__bars i:last-child { background: var(--gold); }
@media (prefers-color-scheme: dark) { .calc__bars i { background: #3A3149; } }

/* Checkout */
.checkout { padding: clamp(20px, 3vw, 28px); display: grid; gap: 16px; }
.checkout__item { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.checkout__item > span:nth-child(2) { flex: 1; }
.checkout__item strong { display: block; }
.checkout__item small { color: var(--muted); }
.checkout__item > strong { font: 700 1.5rem/1 var(--display); letter-spacing: -.03em; }
.checkout__thumb { width: 52px; height: 52px; border-radius: 14px; background: radial-gradient(circle at 30% 30%, #F4D4E6, #C9609E); flex: none; }
.checkout__h { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.methods { display: grid; gap: 8px; }
.methods button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: inherit; font: 600 1rem/1 var(--body); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s; }
.methods button:hover { border-color: var(--line-strong); }
.methods [aria-checked="true"] { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.m-ico { display: grid; place-items: center; width: 34px; height: 24px; border-radius: 6px; background: var(--card); font-size: .8125rem; font-weight: 700; }
.methods__tag { margin-left: auto; height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: .75rem; font-weight: 700; }
.checkout__foot { display: grid; gap: 12px; }
.checkout__hint { font-size: .875rem; color: var(--muted); min-height: 1.4em; }
.checkout .btn { pointer-events: none; }

/* Automation */
.auto__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; padding-block: clamp(56px, 7vw, 104px); }
.auto__copy .lead { margin-top: 18px; }
.auto__ui { display: grid; gap: 20px; }
.triggers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.triggers button {
  position: relative; overflow: hidden; width: 100%; min-height: 64px; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 18px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .03);
  color: #fff; font: inherit; cursor: pointer; transition: background-color .25s, border-color .25s;
}
.triggers button:hover { background: rgb(255 255 255 / .07); }
.triggers [aria-pressed="true"] { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .34); }
.triggers [aria-pressed="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #fff; transform-origin: left; animation: tick 4.5s linear; }
.triggers.is-paused [aria-pressed="true"]::after { animation: none; transform: scaleX(0); }
.light { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .25); flex: none; transition: background-color .25s, box-shadow .25s; }
[aria-pressed="true"] .light { background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .18); }
.triggers__when { flex: 1; font-weight: 600; }
.triggers__when small { display: block; font-size: .75rem; font-weight: 600; color: rgb(255 255 255 / .6); }
.triggers .i { opacity: .6; }
.triggers__then { font-size: .8125rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .12); white-space: nowrap; }
[aria-pressed="true"] .triggers__then { background: #FAF8F5; color: #221A2E; }
.push { display: flex; gap: 12px; padding: 14px 16px; border-radius: 20px; background: rgb(250 248 245 / .96); color: #221A2E; box-shadow: 0 30px 60px -28px rgb(14 6 24 / .8); max-width: 420px; justify-self: end; }
.push__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #8E3F6D; color: #fff; font: 700 .875rem/1 var(--display); flex: none; }
.push__body { display: grid; gap: 2px; font-size: .9375rem; }
.push__meta { display: flex; justify-content: space-between; gap: 12px; }
.push__meta small { color: #5C5566; }
[data-push-text] { transition: opacity .25s; }

/* Rewards */
.rewards { padding: clamp(22px, 3vw, 32px); display: grid; gap: 24px; }
.tiers { position: relative; }
.tiers__rail { position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; background: var(--line-strong); }
.tiers__rail span { display: block; height: 100%; background: var(--gold); }
.tiers ol { position: relative; list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.tiers li { display: grid; justify-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.tiers__seal { width: 36px; height: 36px; border-radius: 50%; border: 2px dashed var(--m); background: var(--card); }
.tiers .is-reached .tiers__seal { border: 0; background: var(--m); }
.tiers .is-current .tiers__seal { border: 0; background: var(--gold); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold); }
.tiers .is-current { color: var(--ink); }
.stamps { padding: 18px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.stamps__head { display: flex; justify-content: space-between; font-weight: 600; }
.stamps__head .num { color: var(--muted); }
.stamps__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 48px)); justify-content: space-between; gap: 10px; margin-top: 14px; }
.stamps__grid span { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line-strong); display: grid; place-items: center; }
.stamps__grid .on { border: 0; background: var(--violet); }
@media (prefers-color-scheme: dark) { .stamps__grid .on { background: #A78FD1; } }
.stamps__grid .gift { border: 0; background: var(--gold); color: var(--on-gold); }
.reward-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reward-row strong { display: block; }
.reward-row small { color: var(--green); font-weight: 600; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border-radius: 20px; padding: 22px 22px 24px; box-shadow: var(--emboss), var(--rest); display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--emboss), var(--lift); }
.tile p { color: var(--muted); }
.tile--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.tile--wide .tile__copy { display: grid; gap: 10px; }
.tile--violet { background: var(--violet); color: #fff; box-shadow: var(--rest); }
.tile--violet p { color: rgb(255 255 255 / .8); }
.tile--violet h3 { font-size: 2rem; letter-spacing: -.03em; }
.leader { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.leader__row { display: grid; grid-template-columns: 22px 72px 1fr; gap: 10px; align-items: center; font-weight: 600; font-size: .9375rem; }
.leader__row .num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgb(255 255 255 / .14); font-size: .75rem; }
.leader__row:first-child .num { background: var(--gold); color: var(--on-gold); }
.leader__bar { height: 8px; border-radius: 999px; background: rgb(255 255 255 / .12); overflow: hidden; }
.leader__bar i { display: block; height: 100%; border-radius: inherit; background: rgb(255 255 255 / .85); }
.leader__row:first-child .leader__bar i { background: var(--gold); }
.leader__note { font-size: .75rem; color: rgb(255 255 255 / .6); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.slots span { text-align: center; padding: 8px 0; border-radius: 10px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .875rem; font-variant-numeric: tabular-nums; }
.slots .off { opacity: .4; text-decoration: line-through; }
.slots .sel { background: var(--violet); color: #fff; box-shadow: none; }
@media (prefers-color-scheme: dark) { .slots .sel { background: #A78FD1; color: #1A1523; } }
.invite { display: grid; gap: 4px; padding: 16px; border-radius: 14px; margin-bottom: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-left: 4px solid var(--gold); }
.invite span { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.invite strong { font: 700 1.5rem/1 var(--display); letter-spacing: .08em; }
.qr { width: 96px; height: 96px; padding: 10px; border-radius: 14px; background: #fff; color: #221A2E; box-shadow: inset 0 0 0 1px #E3DDD4; margin-bottom: 8px; --card: #fff; }
.qr svg { width: 100%; height: 100%; }
.mini-push { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line), 0 12px 24px -16px rgb(var(--sh) / .5); margin-bottom: 8px; font-size: .875rem; }
.mini-push strong { display: block; }
.mini-push .push__ico { width: 32px; height: 32px; font-size: .75rem; }
.roles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { padding: 10px 16px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.roles li:first-child { background: var(--violet); color: #fff; box-shadow: none; }
@media (prefers-color-scheme: dark) { .roles li:first-child { background: #A78FD1; color: #1A1523; } }
.ai-img { position: relative; height: 96px; border-radius: 14px; margin-bottom: 8px; background: radial-gradient(60% 90% at 25% 30%, #F4D4E6, transparent), radial-gradient(70% 90% at 80% 70%, #D7C7EE, transparent), #EFE6F1; }
.ai-img__badge { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #2E7D5B; font-size: .75rem; font-weight: 700; }
.ai-img__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.builder__panel { padding: clamp(22px, 3vw, 32px); display: grid; gap: 24px; }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: .875rem; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 10px; }
.field > span { margin-bottom: 0; }
.field input[type=text] { height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 600 1.0625rem/1 var(--body); }
.field input[type=text]:focus-visible { outline-offset: 1px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; width: 44px; height: 44px; margin: 0; cursor: pointer; }
.swatches span[style] { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--s); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 6px 12px -8px rgb(var(--sh) / .6); transition: transform .2s var(--ease), box-shadow .2s; }
.swatches input:checked + span { transform: scale(1.06); box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--gold); }
.swatches input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 6px; }
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.switch { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 6px; border-radius: 999px; font-weight: 600; font-size: .9375rem; cursor: pointer; position: relative; }
.switch:hover { background: var(--bg); }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch__track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); flex: none; transition: background-color .25s; }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .3s var(--ease); }
.switch input:checked + .switch__track { background: var(--green); }
.switch input:checked + .switch__track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--focus); outline-offset: 3px; }
.store-badges { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.store-badges strong { display: block; }
.store-badges small { color: var(--muted); }
.store-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; font: 700 1.125rem/1 var(--display); background: linear-gradient(150deg, color-mix(in oklab, var(--p, #C9609E) 74%, #221A2E), color-mix(in oklab, var(--p, #C9609E) 52%, #221A2E)); flex: none; transition: background .7s; }
.builder__preview { display: grid; place-items: center; }
.builder__steps { grid-column: 1 / -1; list-style: none; margin: clamp(16px, 3vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.builder__steps li { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.builder__steps strong { font: 600 1.3125rem/1.2 var(--display); letter-spacing: -.015em; }
.builder__steps li > span:last-child { color: var(--muted); }

/* Security */
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sec-list li { display: grid; align-content: start; gap: 8px; padding: 20px; border-radius: 20px; background: var(--card); box-shadow: var(--emboss); }
.sec-list strong { font: 600 1.125rem/1.25 var(--display); letter-spacing: -.01em; margin-top: 6px; }
.sec-list li > span:last-child { color: var(--muted); font-size: .9375rem; }

/* Pricing */
.pricing__grid { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(40px, 6vw, 88px); align-items: center; }
.pricing__copy .lead { margin-top: 18px; }
.price-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 3vw, 36px); border-radius: 28px; color: #fff;
  background: linear-gradient(160deg, var(--violet-hover), var(--violet) 55%, var(--violet-active));
  box-shadow: var(--lift); display: grid; gap: 14px;
}
.price-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-radial-gradient(circle at 100% 0, rgb(255 255 255 / .06) 0 1px, transparent 1px 8px); -webkit-mask-image: radial-gradient(60% 60% at 100% 0, #000, transparent); mask-image: radial-gradient(60% 60% at 100% 0, #000, transparent); }
.price-card__top { display: flex; justify-content: space-between; align-items: center; }
.price-card__label { font-weight: 600; color: rgb(255 255 255 / .8); }
.price-card__price { display: flex; align-items: baseline; gap: 8px; }
.price-card__price strong { font: 700 clamp(3rem, 2rem + 3vw, 4.25rem)/1 var(--display); letter-spacing: -.04em; }
.price-card__price span { color: rgb(255 255 255 / .8); font-weight: 600; }
.price-card__regular { color: rgb(255 255 255 / .7); font-size: .9375rem; margin-top: -6px; }
.price-card__list { list-style: none; margin: 8px 0 12px; padding: 16px 0 0; border-top: 1px solid rgb(255 255 255 / .16); display: grid; gap: 10px; }
.price-card__list li { display: flex; gap: 10px; }
.price-card__list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%233A2A06' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none; font: 600 1.3125rem/1.3 var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%235C5566' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 40em; }

/* Close */
.close__in { text-align: center; padding-block: clamp(64px, 8vw, 120px) 0; display: grid; justify-items: center; }
.close__in h2 { font-size: clamp(2.25rem, 1.3rem + 3.2vw, 4.25rem); max-width: 14em; }
.close__in .lead { margin-top: 18px; }
.close__in .hero__ctas { justify-content: center; }
.fan { position: relative; height: 230px; width: 100%; max-width: 640px; margin-top: 48px; }
.fan .member-card { position: absolute; left: 50%; bottom: -40px; margin-left: -150px; transform-origin: 50% 120%; transition: transform .6s var(--ease); }
.fan .member-card:nth-child(1) { transform: rotate(-14deg) translateX(-40px); }
.fan .member-card:nth-child(2) { transform: rotate(9deg) translateX(40px); }
.fan .member-card:nth-child(3) { transform: rotate(-2deg) translateY(-10px); }
.fan:hover .member-card:nth-child(1) { transform: rotate(-20deg) translateX(-90px); }
.fan:hover .member-card:nth-child(2) { transform: rotate(15deg) translateX(90px); }

/* Footer */
.section.close { padding-bottom: clamp(48px, 6vw, 80px); }
.footer { border-top: 1px solid var(--line); margin-top: var(--section); padding-block: 56px 28px; }
.close + .footer, main + .footer { margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: grid; gap: 14px; justify-items: start; }
.footer__brand p { color: var(--muted); max-width: 22em; }
.footer__h { font-weight: 700; margin-bottom: 10px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; }
.footer__list a:hover { color: var(--ink); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

/* Legal */
.legal__in { padding-block: var(--section); display: grid; gap: 20px; justify-items: start; }
.legal__in h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); letter-spacing: -.03em; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero__grid { grid-template-columns: 1fr; }
  .sec-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
}
@media (max-width: 960px) {
  .loop__grid, .feature__grid, .auto__grid, .pricing__grid, .faq__grid { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .builder { grid-template-columns: 1fr; }
  .builder__preview { order: -1; }
  .push { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .loop__stage { order: -1; }
}
@media (max-width: 720px) {
  .member-card--tilt { display: none; }
  .float { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; grid-template-columns: 1fr; }
  .sec-list { grid-template-columns: 1fr 1fr; }
  .builder__steps { grid-template-columns: 1fr; }
  .toggles { grid-template-columns: 1fr; }
  .calc__result { grid-template-columns: 1fr; }
  .demo-note { text-align: left; }
  .triggers__then { display: none; }
  .fan .member-card { width: 240px; margin-left: -120px; }
  .fan { height: 190px; }
}
@media (max-width: 420px) {
  .phone { width: 262px; }
  .hero__device { height: 560px; }
  .picker { gap: 8px; flex-wrap: nowrap; }
  .picker button { width: 104px; padding: 7px 8px; }
  .picker strong { font-size: .75rem; }
  .sec-list { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .float { padding: 8px 12px 8px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Payment logos ---------- */
.pm-set { display: inline-flex; gap: 4px; flex: none; }
.pm {
  display: inline-grid; place-items: center; width: 40px; height: 26px; border-radius: 6px;
  background: #fff; box-shadow: inset 0 0 0 1px #E3DDD4; color: #000; flex: none;
}
.pm svg { width: 30px; height: 20px; }
.pm--mastercard svg { width: 26px; height: 17px; }
.pm--visa svg, .pm--paypal svg { width: 32px; }
.pm--klarna { background: #FFB3C7; box-shadow: none; }
.pm--klarna svg { width: 16px; height: 14px; }
.pm--lg { width: 64px; height: 42px; border-radius: 8px; }
.pm--lg svg { width: 46px; height: 30px; }
.pm--lg.pm--mastercard svg { width: 38px; height: 25px; }
.pm--lg.pm--klarna svg { width: 24px; height: 22px; }
.methods button { gap: 14px; }
.ps__method { gap: 8px !important; }
.ps__method .pm { width: 34px; height: 22px; }
.ps__method .pm svg { width: 26px; height: 17px; }
.ps__method .pm--klarna svg { width: 13px; height: 12px; }
.ps__method .pm-set { gap: 3px; }
.ps__item .pm { width: 34px; height: 22px; }
.ps__item .pm svg { width: 26px; height: 17px; }

.paystrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 24px; padding: 20px 24px; border-radius: 20px; background: var(--card); box-shadow: var(--emboss); }
.paystrip > p:first-child { font-weight: 600; }
.paystrip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.paystrip__stripe { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9375rem; }
.paystrip__stripe svg { width: 18px; height: 18px; }
.paystrip__stripe strong { color: var(--ink); }

/* ---------- Hero quick jumps ---------- */
.jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jumps button {
  min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgb(255 255 255 / .28); background: rgb(255 255 255 / .06); color: #fff;
  font: 600 .8125rem/1 var(--body); transition: background-color .2s, border-color .2s;
}
.jumps button:hover { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .5); }

/* ---------- Builder: custom colour + font ---------- */
.swatch-custom span[style] { background: conic-gradient(from 0deg, #C9609E, #8B5FC9, #4A86D8, #3F9C74, #D9A62E, #C95F4A, #C9609E) !important; position: relative; }
.swatch-custom span[style]::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--s); box-shadow: 0 0 0 2px #fff; }
.hexrow { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.hexrow input[type=color] { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); cursor: pointer; }
.hexrow input[type=color]::-webkit-color-swatch-wrapper { padding: 4px; }
.hexrow input[type=color]::-webkit-color-swatch { border: 0; border-radius: 8px; }
.hexrow input[type=text] { width: 110px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 600 .9375rem/1 var(--body); font-variant-numeric: tabular-nums; text-transform: uppercase; }
.hexrow input[aria-invalid] { border-color: #B3362E; }
.hexrow__note { font-size: .875rem; color: var(--muted); }
.field select {
  height: 52px; padding: 0 44px 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); color: var(--ink); font: 600 1rem/1 var(--body);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%235C5566' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/20px no-repeat;
}
.phone[data-phone="builder"] .phone__screen { --display: var(--app-display); font-family: var(--app-body); }
@media (max-width: 420px) {
  .paystrip ul { gap: 8px; }
  .pm--lg { width: 54px; height: 36px; }
  .pm--lg svg { width: 40px; height: 26px; }
}
