/* vpnlou.de — Loude Reseller Panel storefront.
   Палитра «бархат и латунь»: глубокий кларет, латунные огни, кремовый текст. */

:root {
  color-scheme: dark;
  --bg: #0a0609;
  --bg-2: #120a0f;
  --surface: rgba(34, 18, 27, 0.62);
  --surface-solid: #1b0f16;
  --raised: rgba(255, 240, 230, 0.05);
  --glass: rgba(30, 15, 23, 0.55);
  --glass-hi: rgba(255, 236, 222, 0.08);
  --line: rgba(243, 235, 228, 0.08);
  --line-2: rgba(243, 235, 228, 0.16);
  --text: #f3ebe4;
  --muted: #b09c97;
  --faint: #6f5b5c;
  --brass: #e0a84e;
  --brass-2: #f7d08a;
  --brass-3: #b8763a;
  --brass-ink: #1c1004;
  --brass-glow: rgba(224, 168, 78, 0.38);
  --claret: #b02a55;
  --claret-deep: #4a0f24;
  --claret-glow: rgba(176, 42, 85, 0.35);
  --ok: #8fe0b0;
  --warn: #f2c36b;
  --err: #ff8f80;
  --track: rgba(243, 235, 228, 0.1);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6), 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 80px 160px -60px rgba(74, 15, 36, 0.8);
  --grain-op: 0.07;

  --f-display: "Unbounded", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-xl: 32px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #faf5f2;
    --bg-2: #f3e9e4;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: #ffffff;
    --raised: rgba(74, 15, 36, 0.04);
    --glass: rgba(255, 252, 250, 0.66);
    --glass-hi: rgba(255, 255, 255, 0.9);
    --line: rgba(74, 15, 36, 0.09);
    --line-2: rgba(74, 15, 36, 0.17);
    --text: #24070f;
    --muted: #6f5157;
    --faint: #a98d92;
    --brass: #b06d12;
    --brass-2: #cf8a24;
    --brass-3: #8a520b;
    --brass-ink: #fffaf3;
    --brass-glow: rgba(176, 109, 18, 0.28);
    --claret: #a3204b;
    --claret-deep: #f2d9df;
    --claret-glow: rgba(163, 32, 75, 0.16);
    --ok: #13834a;
    --warn: #8e5a00;
    --err: #b3261e;
    --track: rgba(74, 15, 36, 0.1);
    --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 2px rgba(74, 15, 36, 0.06), 0 12px 32px -14px rgba(74, 15, 36, 0.18), 0 40px 80px -40px rgba(74, 15, 36, 0.18);
    --shadow-2: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 30px 60px -24px rgba(74, 15, 36, 0.22), 0 80px 160px -60px rgba(163, 32, 75, 0.22);
    --grain-op: 0.045;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--brass); color: var(--brass-ink); }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 1, "tnum" 1; letter-spacing: -0.01em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--brass); color: var(--brass-ink); padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
  mix-blend-mode: overlay;
}
@media (prefers-color-scheme: light) { .grain { mix-blend-mode: multiply; filter: invert(1); } }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* custom cursor */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--brass-2); }
.cursor-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brass-2) 60%, transparent);
  transition: opacity .3s, width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor-ring.hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: color-mix(in srgb, var(--brass) 12%, transparent); border-color: transparent; }
.cursor-ring.text { width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 2px; background: var(--brass-2); border-color: transparent; }
.cursor-ring.down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.modal-open .cursor-dot, .modal-open .cursor-ring { z-index: 2147483647; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 60; transition: background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.top.scrolled { background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name span { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 6px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--raised); }
.top-actions { display: flex; align-items: center; gap: 8px; }

.lang-pick { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 10px 0 8px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
  color: var(--text); font: 500 12px var(--f-mono); letter-spacing: .04em; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lang-btn:hover, .lang-pick.open .lang-btn { border-color: var(--brass); background: var(--raised); }
.lang-flag {
  width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 1px var(--line-2);
}
.lang-chev { width: 12px; height: 12px; color: var(--muted); transition: transform .2s; }
.lang-pick.open .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 196px;
  margin: 0; padding: 6px; list-style: none; border-radius: 16px;
  border: 1px solid var(--line-2); background: var(--surface-solid); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.lang-pick.up .lang-menu { top: auto; bottom: calc(100% + 8px); transform-origin: bottom right; transform: translateY(6px) scale(.98); }
.lang-pick.open .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.lang-menu [role="option"] {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  color: var(--text); font-size: 14px; cursor: pointer; outline: none;
  transition: background-color .15s;
}
.lang-menu [role="option"]:hover, .lang-menu [role="option"]:focus-visible { background: var(--raised); }
.lang-menu [role="option"][aria-selected="true"] { background: var(--glass-hi); }
.lang-menu [role="option"][aria-selected="true"] .lang-code { color: var(--brass); }
.lang-name { flex: 1; }
.lang-menu .lang-code { font: 500 11px var(--f-mono); letter-spacing: .06em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .lang-menu, .lang-chev { transition: none; } }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .3s, background-color .2s, color .2s, opacity .2s;
  isolation: isolate; will-change: transform;
}
.btn-sm { --h: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-brass {
  color: var(--brass-ink);
  background: linear-gradient(180deg, var(--brass-2), var(--brass) 55%, var(--brass-3));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 -1px 0 rgba(0, 0, 0, .15) inset, 0 8px 24px -8px var(--brass-glow), 0 0 0 1px color-mix(in srgb, var(--brass-3) 60%, transparent);
  overflow: hidden;
}
.btn-brass::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-brass:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 -1px 0 rgba(0, 0, 0, .15) inset, 0 14px 36px -8px var(--brass-glow), 0 0 0 1px var(--brass-3); }
.btn-brass:hover::after { transform: translateX(120%); }
.btn-brass.done { background: var(--ok); }
.btn-glass {
  color: var(--text); background: var(--glass-hi);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 1px 0 rgba(255, 255, 255, .06) inset;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { box-shadow: 0 0 0 1px var(--brass) inset; color: var(--brass-2); }
@media (prefers-color-scheme: light) { .btn-glass:hover { color: var(--brass-3); } }
.btn-ghost { color: var(--text); background: transparent; box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--brass) inset; }
.btn:active { transform: scale(.97); }

/* glass primitive */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1);
}

/* ---------- ribbon ---------- */
.ribbon { position: relative; z-index: 61; background: linear-gradient(90deg, var(--brass-3), var(--brass), var(--brass-2)); color: var(--brass-ink); font-size: 14px; font-weight: 500; }
.ribbon .wrap { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
#ribbon-text { flex: 0 1 auto; min-width: 0; line-height: 1.35; }
.ribbon a { white-space: nowrap; }
.ribbon-dot { flex: none; }
.ribbon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass-ink); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ribbon a { font-weight: 700; color: inherit; }
.ribbon .x { margin-left: auto; flex: none; background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; padding: 2px 8px; opacity: .7; }
.ribbon .x:hover { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; padding: 24px 0 96px; margin-top: -72px; padding-top: 120px; overflow: hidden; isolation: isolate; }
.hero-shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.hero-shader.on { opacity: 1; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at 78% 38%, var(--claret-glow), transparent 70%),
    radial-gradient(40% 40% at 70% 30%, color-mix(in srgb, var(--brass) 18%, transparent), transparent 70%),
    radial-gradient(60% 50% at 10% 100%, color-mix(in srgb, var(--claret) 16%, transparent), transparent 70%),
    var(--bg);
}
.webgl .hero-bg { opacity: 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  margin: 0;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass) 25%, transparent), 0 0 16px var(--brass-glow); }
h1, h2, h3 { margin: 0; font-weight: 600; }
.h1 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(38px, 6.3vw, 96px); line-height: 0.98; letter-spacing: -0.055em;
  margin: 28px 0 28px;
}
.h1 .l1, .h1 .l2 { display: block; }
.h1 .l2 {
  background: linear-gradient(100deg, var(--brass-2) 0%, var(--brass) 35%, var(--claret) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.08em; width: fit-content; max-width: 100%;
}
.kinetic .w { display: inline-block; white-space: nowrap; }
.kinetic .c { display: inline-block; }
.kinetic.go:not(.static) .c { animation: char-in 1s var(--ease-out) both; animation-delay: calc(var(--i) * 26ms + 120ms); }
.kinetic.l2.go:not(.static) .c { animation-delay: calc(var(--i) * 26ms + 420ms); }
@keyframes char-in { from { opacity: 0; transform: translateY(0.6em) rotate(6deg); filter: blur(10px); } }
/* пока буквы летят — сплошная латунь; после — градиент родителя просвечивает */
.h1 .l2 .c { color: var(--brass-2); transition: color .8s ease; }
.h1 .l2.settled .c, .h1 .l2.static .c { color: transparent; }
@media (prefers-color-scheme: light) { .h1 .l2 .c { color: var(--brass); } }
.lead { font-size: clamp(16px, 1.45vw, 19px); color: var(--muted); max-width: 36em; margin: 0 0 36px; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.hero-chips li { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); }
.reveal-up { animation: rise 1.1s var(--ease-out) both; }
.hero-copy > .eyebrow { animation-delay: 0s; }
.hero-copy > .lead { animation-delay: .75s; }
.hero-copy > .hero-cta { animation-delay: .9s; }
.hero-copy > .hero-chips { animation-delay: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; animation: globe-in 1.8s .3s var(--ease-out) both; }
@keyframes globe-in { from { opacity: 0; transform: scale(.9); } }
.globe { width: 100%; height: 100%; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  font-size: 12px; white-space: nowrap; animation: bob 6s ease-in-out infinite;
}
.float .mono { font-size: 11.5px; }
.float em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.float svg { width: 16px; height: 16px; color: var(--brass); flex: none; }
.float.f1 { top: 14%; left: -4%; animation-delay: -1s; }
.float.f2 { top: 50%; right: -6%; animation-delay: -3s; }
.float.f3 { bottom: 10%; left: 6%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; text-decoration: none; color: var(--faint); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--brass), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brass-2); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- strip ---------- */
.strip { position: relative; padding: 24px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: linear-gradient(180deg, var(--bg-2), var(--bg)); padding: 32px 28px; display: grid; gap: 8px; align-content: start; }
.stat b { font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--text) 55%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.marquee { margin-top: 56px; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee-set span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: clamp(20px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; color: var(--text); }
.marquee-set span svg { width: 1em; height: 1em; color: var(--brass); }
.marquee-set .m-sep { font-family: var(--f-mono); font-size: clamp(13px, 1.3vw, 16px); color: var(--muted); letter-spacing: 0; }
.marquee-set .m-sep::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--claret); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0 0 20px; }
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.h2 { font-family: var(--f-display); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600; text-wrap: balance; }
.sec-head:not(:has(> p)) { grid-template-columns: minmax(0, 1fr); }
.sec-head:not(:has(> p)) .h2 { max-width: 16em; }
.sec-head > p { color: var(--muted); margin: 0; max-width: 32em; font-size: 17px; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2n) { transition-delay: .06s; }
.bento .reveal:nth-child(3n) { transition-delay: .12s; }
.tiers .reveal:nth-child(2) { transition-delay: .08s; }
.tiers .reveal:nth-child(3) { transition-delay: .16s; }
.tiers .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- how ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; min-height: 44vh; padding: 28px 0; border-top: 1px solid var(--line); cursor: pointer; transition: opacity .5s; opacity: .35; }
.step:last-child { min-height: 30vh; }
.step.is-on, .step.is-done { opacity: 1; }
.step.is-done { opacity: .6; }
.step-n { font-size: 13px; color: var(--muted); padding-top: 8px; transition: color .4s; }
.step.is-on .step-n { color: var(--brass); }
.step h3 { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 14px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 16.5px; max-width: 28em; }

.stage {
  position: sticky; top: 14vh; height: min(72vh, 600px); border-radius: var(--r-xl);
  background:
    radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, var(--claret) 22%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow-2);
  display: grid; place-items: center;
}
.stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); opacity: .6; }
.stage-glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--brass-glow), transparent 65%); filter: blur(20px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.stage-progress { position: absolute; left: 24px; right: 24px; top: 20px; height: 2px; background: var(--track); border-radius: 2px; overflow: hidden; }
.stage-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brass-3), var(--brass-2)); transform-origin: left; transform: scaleX(.25); transition: transform .8s var(--ease-out); }
.vis { position: absolute; inset: 0; display: grid; place-items: center; padding: 48px 24px 24px; opacity: 0; transform: translateY(30px) scale(.96); filter: blur(8px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s; pointer-events: none; }
.vis.is-on { opacity: 1; transform: none; filter: none; }

.receipt { width: min(380px, 100%); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; }
.r-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.net-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line-2); color: var(--text); }
.tron-dot { width: 8px; height: 8px; border-radius: 50%; background: #eb0029; }
.r-amt { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.05em; line-height: 1; }
.r-amt span { color: var(--brass); }
.r-amt small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.r-addr { font-size: 11px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--raised); word-break: break-all; }
.r-wait { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--track); border-top-color: var(--brass); animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.cred-card { width: min(360px, 100%); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.cc-head { display: flex; align-items: center; gap: 12px; font-size: 17px; margin-bottom: 4px; }
.ok-ring { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 8%, transparent); }
.ok-ring svg { width: 22px; height: 22px; }
.vis.is-on .ok-ring svg path { stroke-dasharray: 24; animation: draw .8s .3s var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 24; } }
.cc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); font-size: 13px; }
.cc-row small { color: var(--muted); }

.key-card { width: min(420px, 100%); border-radius: var(--r-lg); padding: 20px; display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; align-items: center; }
.kc-qr { aspect-ratio: 1; border-radius: 14px; background: #fff; color: #170a10; padding: 8px; }
.kc-qr svg { width: 100%; height: 100%; }
.vis.is-on .kc-qr { animation: qr-pop .8s var(--ease-out) both; }
@keyframes qr-pop { from { clip-path: inset(0 0 100% 0); } }
.kc-info { display: grid; gap: 8px; min-width: 0; }
.kc-info small { color: var(--muted); font-size: 12.5px; }
.kc-info b { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.kc-days { justify-self: start; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.kc-btn { margin-top: 4px; text-align: center; padding: 10px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--brass-ink); background: linear-gradient(180deg, var(--brass-2), var(--brass)); }

.phone { width: 220px; height: 420px; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #3a2a30, #120a0e); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, var(--shadow-2); position: relative; }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 31px; background: radial-gradient(80% 60% at 50% 45%, rgba(143, 224, 176, .16), transparent 70%), #0b0709; display: grid; justify-items: center; align-content: center; gap: 18px; color: #f3ebe4; }
.ph-app { position: absolute; top: 56px; font-family: var(--f-display); font-size: 14px; font-weight: 600; }
.ph-ring { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.ph-ring span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143, 224, 176, .5); animation: ring 2.6s var(--ease) infinite; }
.ph-ring span:nth-child(2) { animation-delay: .85s; }
.ph-ring span:nth-child(3) { animation-delay: 1.7s; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.ph-ring b { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #8fe0b0; color: #0b2a18; box-shadow: 0 0 40px rgba(143, 224, 176, .5); }
.ph-ring b svg { width: 32px; height: 32px; }
.ph-state { font-weight: 600; font-size: 18px; }
.ph-key { font-size: 10px; color: #b09c97; }

/* ---------- demo panel ---------- */
.panel-sec { overflow: clip; }
.demo-stage { perspective: 1800px; perspective-origin: 50% 0%; padding: 0 var(--gutter); max-width: calc(var(--maxw) + 80px); margin: 0 auto; }
.demo {
  position: relative; transform-origin: 50% 100%; transform-style: preserve-3d;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-2), 0 0 120px -30px var(--claret-glow);
  font-size: 13px;
}
.demo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, color-mix(in srgb, var(--brass) 50%, transparent), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 3; }
.demo-stage.static .demo { animation: none; }
.demo-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--raised); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.demo-bar i:nth-child(1) { background: #ff5f57; } .demo-bar i:nth-child(2) { background: #febc2e; } .demo-bar i:nth-child(3) { background: #28c840; }
.demo-bar .url { margin: 0 auto; padding: 4px 16px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line); font-size: 11px; color: var(--muted); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-body { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 520px; }
.demo-side { border-right: 1px solid var(--line); padding: 16px 10px; display: grid; align-content: start; gap: 2px; }
.ds-brand { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 14px; padding: 4px 10px 16px; color: var(--text); }
.ds-brand svg { width: 20px; height: 20px; color: var(--brass); }
.demo-side > span { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.demo-side > span b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.demo-side > span.on { background: var(--raised); color: var(--text); box-shadow: 0 0 0 1px var(--line) inset; }
.demo-side em { font-style: normal; font-family: var(--f-mono); font-size: 10px; background: var(--brass); color: var(--brass-ink); border-radius: 6px; padding: 1px 6px; }
.demo-main { padding: 20px 20px 44px; min-width: 0; position: relative; }
.demo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.dstat { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--raised); overflow: hidden; }
.dstat small { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 6px; }
.dstat b { font-size: 26px; font-weight: 500; letter-spacing: -0.04em; }
.dstat svg { position: absolute; right: 12px; bottom: 14px; width: 40%; height: 22px; color: var(--brass); opacity: .8; }
.dstat .pulse { position: absolute; right: 16px; top: 16px; }
.demo-tools { display: flex; gap: 10px; margin-bottom: 12px; }
.d-search { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 38px; border-radius: 10px; border: 1px solid var(--line); color: var(--faint); min-width: 0; }
.d-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-search svg, .d-create svg { width: 16px; height: 16px; flex: none; }
.d-create { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--brass); color: var(--brass-ink); font-weight: 600; white-space: nowrap; }
.demo-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mrow {
  width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: transparent; text-align: left;
  transition: background-color .2s, border-color .2s, transform .3s var(--ease-out);
}
.mrow:hover { background: var(--raised); border-color: var(--line-2); transform: translateX(2px); }
.mrow.sel { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 8%, transparent); }
.mrow-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--raised); color: var(--muted); }
.mrow-ic svg { width: 16px; height: 16px; }
.mrow-main { display: grid; min-width: 0; }
.mrow .k { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow .n { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow-traffic { font-size: 11px; color: var(--ok); min-width: 76px; text-align: right; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); background: color-mix(in srgb, currentColor 8%, transparent); justify-self: start; }
.st .pulse { width: 6px; height: 6px; }
.st-online { color: var(--ok); } .st-active { color: var(--text); } .st-expiring { color: var(--warn); } .st-trial { color: var(--brass); } .st-paused { color: var(--muted); } .st-new { color: var(--faint); }
.demo-hint { position: absolute; right: 20px; bottom: 16px; font-family: var(--f-mono); font-size: 11px; color: var(--brass); display: inline-flex; align-items: center; gap: 8px; transition: opacity .3s; }
.demo-hint::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); animation: blink 1.2s infinite; }
.demo.touched .demo-hint { opacity: 0; }
.demo-sheet {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: 340px; z-index: 4;
  border-radius: 18px; padding: 18px; display: grid; gap: 14px; align-content: start; overflow-y: auto;
  background: var(--glass); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
  transform: translateX(calc(100% + 24px)); opacity: 0; transition: transform .55s var(--ease-out), opacity .4s; pointer-events: none;
}
.demo-sheet.open { transform: none; opacity: 1; pointer-events: auto; }
.sh-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sh-head b { display: block; font-size: 13.5px; font-weight: 500; }
.sh-head small { color: var(--muted); }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s, transform .3s var(--ease-out); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { color: var(--text); border-color: var(--text); transform: rotate(90deg); }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm svg { width: 14px; height: 14px; }
.sh-live { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 10%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); font-size: 12.5px; }
.sh-live.off { background: var(--raised); border-color: var(--line); color: var(--muted); }
.sh-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.sh-grid { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.sh-qr { aspect-ratio: 1; background: #fff; color: #170a10; border-radius: 12px; padding: 6px; }
.sh-qr svg { width: 100%; height: 100%; }
.sh-grid dl { margin: 0; display: grid; gap: 8px; }
.sh-grid dt { color: var(--muted); font-size: 11px; }
.sh-grid dd { margin: 0; font-size: 12px; }
.sh-grid dd.bump { animation: bump .6s var(--ease-out); color: var(--brass-2); }
@keyframes bump { 30% { transform: scale(1.12); } }
.sh-actions { display: grid; gap: 8px; }
.sh-actions .btn { width: 100%; justify-content: flex-start; font-size: 13px; }

/* bento */
.feat-kicker { margin-top: clamp(80px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bcard {
  position: relative; border-radius: var(--r-lg); padding: 28px; overflow: hidden; min-height: 220px;
  background: linear-gradient(180deg, var(--raised), transparent 120%), var(--bg-2);
  border: 1px solid var(--line); isolation: isolate;
  transition: border-color .3s, transform .5s var(--ease-out);
}
.bcard::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brass) 14%, transparent), transparent 60%); }
.bcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--brass), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.bcard:hover::before, .bcard:hover::after { opacity: 1; }
.bcard:hover { transform: translateY(-4px); }
.b-wide { grid-column: span 2; }
.bi { width: 28px; height: 28px; color: var(--brass); margin-bottom: 40px; }
.bcard h3 { font-family: var(--f-display); font-size: 19px; letter-spacing: -0.03em; margin-bottom: 10px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bcard p { margin: 0; color: var(--muted); font-size: 15px; max-width: 34em; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .02em; font-weight: 500; color: var(--brass-ink); background: var(--brass); }
.tag.dim { background: transparent; color: var(--muted); box-shadow: 0 0 0 1px var(--line-2) inset; }
.msg-preview { position: absolute; right: 24px; top: 24px; display: grid; gap: 6px; font-size: 11px; padding: 14px 16px; border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, var(--brass) 14%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--brass) 30%, transparent); color: var(--text); transform: rotate(2deg); }
.msg-preview span:last-child { color: var(--brass); }
.code { position: absolute; right: 24px; top: 24px; margin: 0; font-size: 11.5px; line-height: 1.7; padding: 14px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); color: var(--muted); }
.c-k { color: var(--claret); font-weight: 500; } .c-s { color: var(--brass-2); } .c-n { color: var(--ok); } .c-p { color: var(--text); } .c-c { color: var(--faint); }
@media (prefers-color-scheme: light) { .c-s { color: var(--brass-3); } }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 20px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(var(--brass), color-mix(in srgb, var(--brass) 20%, transparent)); height: 30%; transform-origin: bottom; transition: transform .8s var(--ease-out); transform: scaleY(.2); }
.reveal.in .bars i { transform: none; }
.bars i:nth-child(1) { height: 30%; } .bars i:nth-child(2) { height: 45%; } .bars i:nth-child(3) { height: 38%; } .bars i:nth-child(4) { height: 60%; }
.bars i:nth-child(5) { height: 52%; } .bars i:nth-child(6) { height: 70%; } .bars i:nth-child(7) { height: 64%; } .bars i:nth-child(8) { height: 82%; }
.bars i:nth-child(9) { height: 76%; } .bars i:nth-child(10) { height: 90%; } .bars i:nth-child(11) { height: 85%; } .bars i:nth-child(12) { height: 100%; }
.bars i:nth-child(n) { transition-delay: calc(var(--d, 0) * 1ms); }
.tiers-row { display: flex; gap: 6px; margin-top: 20px; }
.tiers-row i { width: 22px; height: 22px; border-radius: 6px; transform: rotate(45deg) scale(.8); }
.t-br { background: linear-gradient(135deg, #e3a06a, #8a4b24); } .t-si { background: linear-gradient(135deg, #f1f1f1, #8d8d96); } .t-go { background: linear-gradient(135deg, #ffe08a, #b7801b); }
.t-pl { background: linear-gradient(135deg, #e8f3ff, #8aa6c2); } .t-di { background: linear-gradient(135deg, #c8fbff, #4fb8d6); } .t-ob { background: linear-gradient(135deg, #5b4a6e, #0d0a12); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset; }

/* ---------- pricing ---------- */
.pricing { overflow: clip; }
.pricing-glow { position: absolute; left: 50%; top: 30%; width: 1100px; height: 700px; margin-left: -550px; background: radial-gradient(closest-side, var(--claret-glow), transparent), radial-gradient(40% 40% at 60% 60%, color-mix(in srgb, var(--brass) 14%, transparent), transparent); pointer-events: none; filter: blur(20px); }
.calc-skeleton { height: 520px; }
.skeleton { background: linear-gradient(90deg, var(--raised), color-mix(in srgb, var(--text) 8%, transparent), var(--raised)); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: var(--r-xl); }
@keyframes sk { to { background-position: -200% 0; } }
.load-error { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }

.calc {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border-radius: var(--r-xl); background: var(--glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-2); overflow: hidden; isolation: isolate;
}
.calc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--brass) 75%, var(--brass-2) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 6s linear infinite; opacity: .9;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-ang { to { --ang: 360deg; } }
.calc.tier-up::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 80% 30%, var(--brass-glow), transparent 70%); animation: flash-bg 1s var(--ease-out) both; pointer-events: none; }
@keyframes flash-bg { from { opacity: 1; } to { opacity: 0; } }
.calc-in { padding: clamp(24px, 4vw, 48px); display: grid; gap: 40px; align-content: start; }
.calc-out { position: relative; padding: clamp(24px, 4vw, 48px); background: linear-gradient(180deg, color-mix(in srgb, var(--claret-deep) 40%, transparent), transparent), var(--raised); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.field-label .mono { font-size: 11px; color: var(--faint); }
.seats-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seats-input {
  width: 3.3ch; transition: width .2s; min-width: 0; background: transparent; border: 0; padding: 0; color: var(--text);
  font-size: clamp(48px, 7vw, 88px); font-weight: 500; letter-spacing: -0.06em; line-height: 1;
  -moz-appearance: textfield; appearance: textfield; caret-color: var(--brass);
}
.seats-input::-webkit-outer-spin-button, .seats-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seats-input:focus { outline: none; }
.seats-input[aria-invalid=true] { color: var(--err); }
.seats-unit { color: var(--muted); font-size: 16px; }
.step-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--raised); font-size: 20px; line-height: 1; color: var(--text); display: grid; place-items: center; transition: border-color .2s, transform .3s var(--ease-out), background-color .2s; }
.step-btn:hover { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 12%, transparent); }
.step-btn:active { transform: scale(.9); }

.range { position: relative; margin-top: 28px; --p: .3; }
.track { position: absolute; left: 0; right: 0; top: 15px; height: 6px; border-radius: 6px; background: var(--track); overflow: visible; }
.track-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--claret), var(--brass), var(--brass-2)); transform-origin: left; transform: scaleX(.3); box-shadow: 0 0 20px var(--brass-glow); }
.tick { position: absolute; top: -4px; width: 2px; height: 14px; margin-left: -1px; border-radius: 2px; background: var(--line-2); }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; margin: 0; position: relative; z-index: 2; cursor: pointer; }
.range input[type=range]::-webkit-slider-runnable-track { height: 36px; background: transparent; }
.range input[type=range]::-moz-range-track { height: 36px; background: transparent; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: 4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--brass-2) 40%, var(--brass)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brass) 22%, transparent), 0 6px 20px -4px var(--brass-glow); transition: box-shadow .2s, transform .2s; }
.range input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--brass-2) 40%, var(--brass)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brass) 22%, transparent); }
.range input[type=range]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 10px color-mix(in srgb, var(--brass) 18%, transparent), 0 6px 20px -4px var(--brass-glow); }
.range input[type=range]:active::-webkit-slider-thumb { transform: scale(1.1); }
.range input[type=range]:focus-visible { outline: none; }
.range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--brass-2); }
.zone-labels { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 10px; }
.zl { background: none; border: 0; padding: 4px 0; text-align: left; display: grid; gap: 2px; color: var(--faint); transition: color .3s; min-width: 0; }
.zl span { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zl b { font-size: 10.5px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zl:hover { color: var(--muted); }
.zl.cur { color: var(--brass-2); }
@media (prefers-color-scheme: light) { .zl.cur { color: var(--brass-3); } }

.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); }
.seg button {
  border: 0; background: transparent; border-radius: 14px; padding: 12px 4px; display: grid; gap: 2px; justify-items: center;
  color: var(--muted); transition: background-color .3s, color .3s, box-shadow .3s;
}
.seg button b { font-weight: 600; font-size: 15px; color: inherit; white-space: nowrap; }
.seg button small { font-family: var(--f-mono); font-size: 10.5px; color: var(--ok); min-height: 1.3em; }
.seg button[aria-pressed=true] { background: var(--glass-hi); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset, var(--shadow-1); }
.seg button:hover { color: var(--text); }

.hint { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--brass) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent); font-size: 14px; animation: rise .5s var(--ease-out); }
.hint svg { width: 18px; height: 18px; color: var(--brass); flex: none; }
.hint span { flex: 1 1 200px; }
.hint button { border: 0; padding: 8px 14px; border-radius: 999px; background: var(--brass); color: var(--brass-ink); font-weight: 600; font-size: 13px; }

.out-tier { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; }
.lbl { display: block; color: var(--muted); font-size: 13px; }
.tier-name { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.05em; font-weight: 600; line-height: 1.1; }
.tier-name.flash { animation: tier-flash .9s var(--ease-out); }
@keyframes tier-flash { 0% { transform: translateY(10px) scale(.96); opacity: 0; filter: blur(6px); color: var(--brass-2); } 60% { color: var(--brass-2); } }
.tier-burst { position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-radius: 50%; }
.tier-burst.go::before, .tier-burst.go::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; border: 2px solid var(--brass); animation: burst .9s var(--ease-out) both; }
.tier-burst.go::after { animation-delay: .12s; border-color: var(--claret); }
@keyframes burst { from { transform: scale(.1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.out-lines { display: grid; gap: 12px; margin: 0; padding: 16px 0; list-style: none; font-size: 14px; border-block: 1px solid var(--line); }
.out-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.out-lines li span:last-child { color: var(--text); font-family: var(--f-mono); font-size: 12.5px; text-align: right; }
.out-lines li.save span:last-child { color: var(--ok); }
.out-total-wrap { display: grid; gap: 8px; }
.out-total { font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.out-total small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.out-foot { margin-top: auto; display: grid; gap: 12px; }
.out-foot p { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }

.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tier {
  position: relative; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 18px; align-content: start; text-align: left;
  background: linear-gradient(180deg, var(--raised), transparent), var(--bg-2);
  border: 1px solid var(--line); isolation: isolate; overflow: hidden;
  transition: border-color .3s, transform .5s var(--ease-out), box-shadow .4s;
}
.tier::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--brass) 12%, transparent), transparent 60%); }
.tier:hover::before { opacity: 1; }
.tier:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tier.cur { border-color: color-mix(in srgb, var(--brass) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 40%, transparent), 0 20px 60px -20px var(--brass-glow); }
.tier.rec { border-color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--claret-deep) 55%, transparent), transparent 70%), var(--bg-2); box-shadow: 0 30px 80px -30px var(--claret-glow), 0 0 60px -20px var(--brass-glow); }
.tier.rec::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), var(--brass-2), var(--claret), var(--brass), var(--brass-3), var(--brass-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 5s linear infinite;
}
.rec-badge { position: absolute; top: 16px; right: 16px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--brass-ink); background: linear-gradient(90deg, var(--brass-2), var(--brass)); box-shadow: 0 4px 16px -4px var(--brass-glow); }
.tier-top { display: grid; gap: 4px; }
.tier h3 { font-family: var(--f-display); font-size: 22px; letter-spacing: -0.04em; font-weight: 600; }
.tier .range-lbl { font-size: 11px; color: var(--muted); }
.tier .price { font-size: 36px; letter-spacing: -0.06em; line-height: 1; font-weight: 500; }
.tier .price small { display: block; margin-top: 8px; font-family: var(--f-body); font-size: 12.5px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 13.5px; }
.tier li { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); border-top: 1px solid var(--line); padding: 9px 0; }
.tier li span:last-child { color: var(--text); text-align: right; display: inline-flex; align-items: center; gap: 4px; }
.tier li .yes { color: var(--ok); }
.tier li .yes svg { width: 14px; height: 14px; }
.tier li .no { color: var(--faint); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-lead { color: var(--muted); margin: 24px 0 0; }
.faq-lead a { color: var(--brass); text-decoration: none; border-bottom: 1px solid currentColor; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative; font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.03em; transition: color .2s; }
.faq summary:hover { color: var(--brass-2); }
@media (prefers-color-scheme: light) { .faq summary:hover { color: var(--brass-3); } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: linear-gradient(var(--brass), var(--brass)) center/12px 1.5px no-repeat, linear-gradient(var(--brass), var(--brass)) center/1.5px 12px no-repeat;
  transition: transform .4s var(--ease-out), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: color-mix(in srgb, var(--brass) 12%, transparent); }
.faq-a { overflow: hidden; }
.faq details[open] .faq-a { animation: open .5s var(--ease-out); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }
.faq-a p { margin: 0 0 26px; color: var(--muted); max-width: 42em; font-size: 16px; }

/* ---------- footer ---------- */
.foot { position: relative; border-top: 1px solid var(--line); padding: 64px 0 32px; overflow-x: clip; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
.foot-tag { margin: 0; color: var(--muted); max-width: 26em; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-links a svg { width: 18px; height: 18px; color: #2aabee; }
.foot-links a:hover { color: var(--text); }
.foot-mark {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(96px, 24vw, 340px); letter-spacing: -0.08em; line-height: .8;
  margin: 56px 0 16px -0.04em; user-select: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brass) 55%, transparent), transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot small { color: var(--faint); font-size: 12.5px; }

/* ---------- dialog ---------- */
dialog.sheet {
  border: 0; padding: 0; width: min(580px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  border-radius: 28px; color: var(--text); overflow: auto;
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-2);
  overscroll-behavior: contain;
}
dialog.sheet::backdrop { background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog.sheet[open] { animation: dlg-in .5s var(--ease-out); }
dialog.sheet[open]::backdrop { animation: fade .4s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.sheet-form { display: grid; gap: 20px; padding: clamp(20px, 4vw, 36px); }
.sheet-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-head h2 { font-family: var(--f-display); font-size: 24px; letter-spacing: -0.04em; font-weight: 600; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode { position: relative; }
.mode input, .net-card input { position: absolute; opacity: 0; pointer-events: none; }
.mode > span { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .3s; height: 100%; }
.mode b { font-weight: 600; font-size: 14.5px; }
.mode small { font-size: 12px; color: var(--muted); }
.mode input:checked + span { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 9%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 16%, transparent); }
.mode input:focus-visible + span, .net-card input:focus-visible + .net-body { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.fld { display: grid; gap: 8px; }
.fld > label, .fld > .lbl, .fld > legend { font-size: 13px; color: var(--muted); padding: 0; }
.fld > legend { margin-bottom: 8px; }
.inp { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--raised); color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.inp::placeholder { color: var(--faint); }
.inp:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass) 18%, transparent); }
.inp[aria-invalid=true] { border-color: var(--err); }
select.inp { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select.inp option { background: var(--surface-solid); color: var(--text); }
.fld .help { font-size: 12.5px; color: var(--faint); }
.fld .err { font-size: 13px; color: var(--err); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.net-card { position: relative; }
.net-body { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .3s; height: 100%; }
.net-body > svg { width: 32px; height: 32px; flex: none; }
.net-txt { display: grid; gap: 1px; min-width: 0; }
.net-txt b { font-size: 13.5px; font-weight: 600; }
.net-txt small { font-size: 12px; color: var(--muted); }
.net-check { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; transition: border .2s, background-color .2s; position: relative; }
.net-card input:checked + .net-body { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 9%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 16%, transparent); }
.net-card input:checked + .net-body .net-check { border: 5px solid var(--brass); }
.sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 20px; border-top: 1px dashed var(--line-2); }
.sum .lbl { color: var(--muted); font-size: 14px; }
.sum b { font-size: 28px; font-weight: 500; letter-spacing: -0.05em; }
.form-err { padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--err) 12%, transparent); border: 1px solid color-mix(in srgb, var(--err) 45%, transparent); font-size: 14px; }

/* ---------- toast & confetti ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 2147483000;
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; max-width: calc(100vw - 32px);
  background: var(--text); color: var(--bg); box-shadow: var(--shadow-2);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2147483001; pointer-events: none; }

/* ---------- order page ---------- */
.order-page { position: relative; padding: clamp(32px, 6vw, 72px) 0 96px; isolation: isolate; min-height: 72vh; }
.order-page::before { content: ""; position: absolute; inset: -72px 0 auto; height: 700px; z-index: -1; background: radial-gradient(50% 60% at 70% 20%, var(--claret-glow), transparent 70%), radial-gradient(30% 40% at 30% 10%, color-mix(in srgb, var(--brass) 12%, transparent), transparent 70%); pointer-events: none; }
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.order-head h1 { font-family: var(--f-display); font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.05em; font-weight: 600; line-height: 1; }
.order-meta { font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.order-meta .net-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--glass-hi); border: 1px solid var(--line-2); color: var(--text); font-family: var(--f-body); font-size: 13px; font-weight: 600; }
.net-badge svg { width: 22px; height: 22px; }

.stepper { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 32px; padding: 0; list-style: none; }
.stepper::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 17px; height: 2px; background: var(--track); border-radius: 2px; }
.stepper-fill { position: absolute; left: 12.5%; top: 17px; height: 2px; width: 75%; border-radius: 2px; background: linear-gradient(90deg, var(--brass-3), var(--brass-2)); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out); box-shadow: 0 0 12px var(--brass-glow); }
.stepper li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 12.5px; color: var(--faint); transition: color .4s; z-index: 1; }
.stepper .sdot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--track); transition: border-color .4s, background-color .4s, box-shadow .4s; }
.stepper .sdot svg { width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease-out); }
.stepper li.done { color: var(--muted); }
.stepper li.done .sdot { background: var(--brass); border-color: var(--brass); color: var(--brass-ink); }
.stepper li.done .sdot svg { opacity: 1; transform: none; }
.stepper li.now { color: var(--text); font-weight: 500; }
.stepper li.now .sdot { border-color: var(--brass); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brass) 16%, transparent); }
.stepper li.now .sdot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); animation: blink 1.2s ease-in-out infinite; }
.stepper li.now.done .sdot::after { display: none; }

.pay { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.card { position: relative; border-radius: var(--r-xl); padding: clamp(20px, 3.5vw, 36px); min-width: 0; background: var(--glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-1); }
.card-lbl { font-size: 13px; color: var(--muted); margin: 0 0 12px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.receipt-card { overflow: hidden; }
.receipt-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; background: radial-gradient(circle at 10px 12px, var(--bg) 7px, transparent 7.5px) 0 0 / 20px 12px repeat-x; opacity: .9; }
.amount-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.amount { font-size: clamp(44px, 9vw, 96px); font-weight: 500; letter-spacing: -0.07em; line-height: 1; overflow-wrap: anywhere; }
.amount .c { background: linear-gradient(180deg, var(--brass-2), var(--brass)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.amount small { font-size: 16px; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.exact { margin-top: 20px; padding: 14px 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--brass) 40%, transparent); background: color-mix(in srgb, var(--brass) 9%, transparent); font-size: 14px; line-height: 1.55; }
.exact b { font-family: var(--f-mono); color: var(--brass-2); font-weight: 500; }
@media (prefers-color-scheme: light) { .exact b { color: var(--brass-3); } }
.addr-wrap { margin-top: 28px; padding-top: 28px; border-top: 1px dashed var(--line-2); }
.addr { font-size: 14px; word-break: break-all; line-height: 1.6; padding: 14px 16px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); margin-bottom: 12px; }
.addr .hl { color: var(--brass-2); }
@media (prefers-color-scheme: light) { .addr .hl { color: var(--brass-3); } }
.net-warn { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--err) 9%, transparent); border: 1px solid color-mix(in srgb, var(--err) 35%, transparent); font-size: 13.5px; }
.net-warn svg { width: 18px; height: 18px; color: var(--err); flex: none; margin-top: 1px; }
.qr-frame { position: relative; width: min(248px, 100%); aspect-ratio: 1; margin: 0 auto 20px; padding: 4px; border-radius: 26px; background: conic-gradient(from var(--ang, 0deg), var(--brass-2), var(--claret), var(--brass), var(--brass-3), var(--brass-2)); animation: spin-ang 6s linear infinite; box-shadow: 0 20px 50px -20px var(--brass-glow); }
.qr-inner { position: relative; height: 100%; padding: 14px; border-radius: 22px; background: #fff; overflow: hidden; }
.qr-frame svg { width: 100%; height: 100%; display: block; }
.qr-frame .qm { opacity: 0; animation: qm-in .5s var(--ease-out) forwards; animation-delay: calc(var(--d) * 1ms); }
@keyframes qm-in { to { opacity: 1; } }
.qr-frame .scan { position: absolute; left: 10px; right: 10px; height: 2px; top: 14px; background: linear-gradient(90deg, transparent, var(--brass), transparent); box-shadow: 0 0 12px var(--brass); animation: scan 2.4s var(--ease) 1.2s 2 both; opacity: 0; }
@keyframes scan { 0% { top: 14px; opacity: 1; } 100% { top: calc(100% - 16px); opacity: 0; } }
.qr-net { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; background: #fff; padding: 4px; }
.qr-net svg { width: 100%; height: 100%; }
.qr-fallback { color: #6f5b5c; font-size: 12px; text-align: center; display: grid; place-items: center; height: 100%; }
.timer-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); margin-bottom: 12px; }
.timer-row span { color: var(--muted); font-size: 13px; }
.timer { font-size: 22px; letter-spacing: -0.04em; }
.timer.low { color: var(--err); }
.status-line { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 14px 16px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); }
.status-line .spinner { width: 18px; height: 18px; }
.status-line.warn { color: var(--warn); }
.tx-box { margin-top: 20px; }
.tx-box p { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.tx-form { display: flex; gap: 8px; }
.tx-form .inp { font-family: var(--f-mono); font-size: 13px; min-width: 0; }
.tx-form .btn { flex: none; }
.tx-ok { display: flex; align-items: center; gap: 8px; color: var(--ok); font-size: 13.5px; word-break: break-all; }
.tx-ok svg { width: 16px; height: 16px; flex: none; }
.copy-btn svg { width: 16px; height: 16px; }
.grid-1 { display: grid; gap: 16px; min-width: 0; }
.order-summary { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.order-summary li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line); }
.order-summary li:first-child { border-top: 0; }
.order-summary li span:last-child { color: var(--text); text-align: right; overflow-wrap: anywhere; min-width: 0; }

.creds { max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(28px, 5vw, 56px); overflow: hidden; }
.creds::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--ang, 0deg), var(--brass-2), var(--claret), var(--brass), var(--brass-3), var(--brass-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-ang 5s linear infinite; }
.creds .big-ok { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--brass-2), var(--brass) 60%, var(--brass-3)); color: var(--brass-ink); box-shadow: 0 0 0 10px color-mix(in srgb, var(--brass) 14%, transparent), 0 20px 60px -10px var(--brass-glow); animation: pop .8s var(--ease-out) both; }
.creds .big-ok svg { width: 40px; height: 40px; }
.creds .big-ok path { stroke-dasharray: 30; animation: draw .7s .4s var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 30; } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.08); } }
.creds h2 { font-family: var(--f-display); font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.05em; margin-bottom: 10px; font-weight: 600; }
.creds > p { color: var(--muted); margin: 0 auto 28px; max-width: 32em; }
.cred { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line-2); margin-top: 10px; text-align: left; }
.cred small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.cred .v { font-size: clamp(15px, 2vw, 19px); word-break: break-all; }
.creds .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.warn-box { display: flex; gap: 10px; text-align: left; margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--warn) 10%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); font-size: 14px; }
.warn-box svg { width: 18px; height: 18px; color: var(--warn); flex: none; margin-top: 2px; }
.state-card { text-align: center; padding: clamp(40px, 7vw, 80px) 24px; max-width: 720px; margin: 0 auto; }
.state-card h2 { font-family: var(--f-display); font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.05em; margin-bottom: 12px; font-weight: 600; }
.state-card p { color: var(--muted); max-width: 34em; margin: 0 auto 28px; }
.state-card .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.state-ic { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--line-2); color: var(--muted); }
.state-ic svg { width: 32px; height: 32px; }
.order-loading { display: grid; place-items: center; gap: 16px; padding: 120px 0; color: var(--muted); }
.order-loading .spinner { width: 28px; height: 28px; }

/* 404 */
.nf { position: relative; min-height: calc(100svh - 72px); display: grid; place-items: center; text-align: center; padding: 48px 0; isolation: isolate; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 40% at 50% 45%, var(--claret-glow), transparent 70%); }
.nf .nf-code { font-family: var(--f-display); font-weight: 700; font-size: clamp(110px, 26vw, 280px); letter-spacing: -0.08em; line-height: .9; background: linear-gradient(180deg, var(--brass-2), var(--brass) 50%, var(--claret)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-family: var(--f-display); font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.04em; margin: 8px 0 12px; font-weight: 600; }
.nf p { color: var(--muted); margin: 0 0 28px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { animation: none; }
  .marquee-track { animation: none; }
  .vis { filter: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-body { grid-template-columns: 170px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { min-height: 0; padding-top: 104px; padding-bottom: 72px; }
  .hero-grid, .calc, .faq, .pay, .sec-head { grid-template-columns: minmax(0, 1fr); }
  .globe-wrap { justify-self: center; max-width: 440px; margin-top: 8px; order: 2; }
  .scroll-hint { display: none; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage { order: -1; top: 76px; height: 300px; z-index: 2; border-radius: var(--r-lg); margin-bottom: 8px; }
  .step { min-height: 52vh; }
  .step:last-child { min-height: 40vh; }
  .demo-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .demo-side { display: none; }
  .demo-sheet { position: absolute; inset: 8px; width: auto; }
  .msg-preview, .code { position: relative; right: auto; top: auto; margin-top: 20px; transform: none; justify-self: start; }
  .bcard { display: flex; flex-direction: column; }
}
@media (max-width: 620px) {
  .top .wrap { gap: 8px; height: 64px; }
  .hero { margin-top: -64px; padding-top: 92px; }
  .brand-name span { display: none; }
  .hide-sm { display: none; }
  .ribbon { font-size: 13px; }
  .ribbon .wrap { gap: 10px; }
  .top-actions .btn-brass { padding: 0 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .float { padding: 8px 10px; font-size: 11px; }
  .float .mono { font-size: 10px; }
  .float em { display: none; }
  .float.f1 { left: 0; } .float.f2 { right: 0; } .float.f3 { left: 4%; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 20px 20px 22px; gap: 6px; }
  .eyebrow { font-size: 10px; letter-spacing: .04em; }
  .tiers, .bento { grid-template-columns: minmax(0, 1fr); }
  .b-wide { grid-column: auto; }
  .bcard { min-height: 0; padding: 24px; }
  .bi { margin-bottom: 24px; }
  .stage { height: 260px; top: 72px; }
  .phone { transform: scale(.55); transform-origin: center; }
  .key-card { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .vis { padding: 36px 16px 16px; }
  .step { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; min-height: 46vh; }
  .demo-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .dstat { padding: 10px; }
  .dstat b { font-size: 20px; }
  .dstat svg { display: none; }
  .demo-main { padding: 12px; }
  .d-create span { display: none; }
  .mrow { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .mrow-ic { width: 28px; height: 28px; }
  .mrow-traffic { display: none; }
  .demo-hint { position: static; display: flex; margin-top: 10px; }
  .demo-bar .url { max-width: 70%; }
  .sh-grid { grid-template-columns: 96px minmax(0, 1fr); }
  .seg button b { font-size: 14px; }
  .zl b { display: none; }
  .modes, .nets { grid-template-columns: minmax(0, 1fr); }
  .tx-form { flex-direction: column; }
  dialog.sheet { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 24px; }
  .stepper li { font-size: 10.5px; }
  .stepper .sdot { width: 30px; height: 30px; }
  .stepper::before, .stepper-fill { top: 14px; }
  .foot-grid { flex-direction: column; align-items: flex-start; }
  .seats-row { gap: 8px; }
  .step-btn { width: 40px; height: 40px; }
}
.done-summary { max-width: 720px; margin: 16px auto 0; }
.state-card + .done-summary { margin-top: 16px; }
.receipt-card > .copy-btn { margin-top: 24px; }
.addr-wrap .copy-btn { margin-top: 0; }
.btn > svg:not(.arrow) { width: 18px; height: 18px; flex: none; }
@media (min-width: 901px) {
  .globe-wrap { width: 122%; max-width: 700px; margin-right: -10%; }
}
