/* =====================================================================
   KRIMSON — design system
   Obsidian & crimson. Warm near-black, blood-red light, expanded display
   type with crimson accent words, mono HUD labels.
   Fonts are self-hosted (latin subset, variable) and preloaded in each <head>.
   ===================================================================== */

@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-var-v25.woff2') format('woff2'); font-weight: 400 900; font-stretch: 100% 125%; font-style: normal; font-display: swap; }

:root {
  --bg: #070505;
  --bg-elevated: #110a0a;
  --bg-deep: #040303;
  --surface: rgba(255, 236, 230, 0.035);
  --surface-hover: rgba(255, 236, 230, 0.065);
  --surface-solid: #0e0909;
  --border: rgba(255, 228, 220, 0.085);
  --border-strong: rgba(255, 228, 220, 0.17);

  --primary: #8e1018;
  --primary-hover: #b3141f;
  --accent: #ff2d3d;
  --accent-hover: #ff5a66;
  --accent-soft: rgba(255, 45, 61, 0.12);
  --accent-glow: rgba(255, 45, 61, 0.32);
  --primary-glow: rgba(142, 16, 24, 0.45);

  --text: #f6efea;
  --text-muted: #a69995;
  --text-dim: #918480;

  --success: #2fd27a;
  --warning: #f5c542;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  --action: #d3101f;
  --action-hover: #b80d1a;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px -12px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.5), 0 24px 48px -20px rgba(0, 0, 0, 0.85);

  --nav-h: 72px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 1240px;
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-stretch: 100%;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Ambient page lighting — fixed so it never scrolls away */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vw 45vw at 12% -12%, rgba(142, 16, 24, 0.42), transparent 62%),
    radial-gradient(50vw 40vw at 100% 0%, rgba(255, 45, 61, 0.16), transparent 60%),
    radial-gradient(70vw 50vw at 50% 120%, rgba(142, 16, 24, 0.22), transparent 60%),
    var(--bg);
}
/* Film grain */
body::after {
  content: '';
  position: fixed; inset: -50%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.055;
  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='0.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 1 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;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--action); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Scrollbar */
html { scrollbar-color: #3a1a1c var(--bg-deep); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #2a1416; border-radius: 10px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Type primitives ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hl { color: var(--accent); }
.text-accent { color: var(--accent); }

.kicker {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.kicker::before {
  content: ''; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.kicker .num { color: var(--accent); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--accent), #ff8a94);
  box-shadow: 0 0 12px var(--accent-glow);
  pointer-events: none;
}

/* ---------- Announcement bar ---------- */
.announce-bar {
  position: relative;
  z-index: 41;
  background: linear-gradient(90deg, rgba(142,16,24,0.35), rgba(255,45,61,0.18), rgba(142,16,24,0.35));
  border-bottom: 1px solid rgba(255, 45, 61, 0.2);
  color: var(--text);
  text-align: center;
  font-size: 0.84rem;
  padding: 0.55rem 1rem;
}
.announce-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.announce-bar a:hover { color: var(--accent-hover); }

/* Shown site-wide when the admin pauses checkout */
.paused-bar {
  position: relative; z-index: 39;
  background: #3a2a06; color: #ffe08a;
  border-bottom: 1px solid rgba(240, 192, 67, 0.35);
  text-align: center; font-size: 0.88rem; font-weight: 500;
  padding: 0.6rem 1rem;
}

/* ---------- Nav ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.navbar.is-scrolled {
  background: rgba(7, 5, 5, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.navbar.is-hidden { transform: translateY(-100%); }

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  flex: 1;
}
.logo-img {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 45, 61, 0.25));
  transition: filter 0.3s var(--ease), transform 0.4s var(--ease);
}
.navbar.is-scrolled .logo-img { transform: scale(0.87); }
.logo-img { transform-origin: 0 50%; }
.logo:hover .logo-img { filter: drop-shadow(0 0 22px rgba(255, 45, 61, 0.55)); transform: rotate(-2deg) scale(1.03); }

.nav-links {
  position: relative;
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0; padding: 0.3rem;
  border: 1px solid var(--border);
  background: rgba(255, 236, 230, 0.025);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-links a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.nav-pill {
  position: absolute; z-index: 0; left: 0; right: 0; top: 0.3rem; height: calc(100% - 0.6rem);
  background: rgba(255, 236, 230, 0.09);
  clip-path: inset(0 var(--pr, 100%) 0 var(--pl, 0) round 999px);
  opacity: 0;
  transition: clip-path 0.45s var(--ease), opacity 0.25s var(--ease);
  pointer-events: none;
}

.nav-actions { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-strong); }

.nav-search {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-search:focus-within { border-color: rgba(255,45,61,0.45); box-shadow: 0 0 0 4px rgba(255,45,61,0.1); background: rgba(255,236,230,0.06); }
.nav-search input {
  background: none; border: none; outline: none; color: var(--text);
  font-family: inherit; font-size: 0.86rem; padding: 0.6rem 0.25rem 0.6rem 1rem;
  width: 170px;
}
.nav-search input::placeholder { color: var(--text-dim); }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search kbd {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 5px; padding: 0.05rem 0.35rem; margin-right: 0.15rem;
}
.nav-search button {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  padding: 0 0.85rem 0 0.5rem; height: 40px;
}
.nav-search button:hover { color: var(--text); }

.nav-cta { padding: 0.6rem 1.1rem !important; min-height: 40px !important; font-size: 0.85rem !important; }

.menu-toggle { display: none; }
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease), opacity 0.2s;
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
body.menu-open .menu-toggle .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 39;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
  background: rgba(7, 5, 5, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  clip-path: circle(0% at calc(100% - 2.5rem) 2.25rem);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 2.5rem) 2.25rem); visibility: visible; transition: clip-path 0.8s var(--ease), visibility 0s; }
body.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--border); }
.mobile-menu li a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-display); font-stretch: 120%; font-weight: 700;
  font-size: clamp(1.9rem, 9vw, 3rem); letter-spacing: -0.03em; line-height: 1;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease), color 0.2s;
  transition-delay: calc(var(--i, 0) * 60ms + 120ms);
}
.mobile-menu li a .mono { color: var(--text-dim); font-family: var(--font-mono); font-stretch: 100%; }
.mobile-menu li a:hover, .mobile-menu li a.active { color: var(--accent); }
body.menu-open .mobile-menu li a { transform: none; }
.mobile-menu .mm-foot { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; opacity: 0; transition: opacity 0.5s 0.5s; }
body.menu-open .mobile-menu .mm-foot { opacity: 1; }
.mobile-menu .nav-search { width: 100%; margin-bottom: 1.5rem; }
.mobile-menu .nav-search input, .mobile-menu .nav-search input:focus { width: 100%; font-size: 1rem; padding: 0.85rem 1rem; }

@media (max-width: 960px) {
  .nav-links, .nav-actions .nav-search, .nav-actions .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s var(--ease), color 0.25s;
  min-height: 48px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(180deg, #dc1c2b 0%, #bd0f1c 55%, #8f0b15 100%);
  color: #fff;
  border-color: rgba(255, 120, 130, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 10px 30px -10px rgba(255, 45, 61, 0.65),
    0 0 0 1px rgba(142, 16, 24, 0.6);
}
/* Shine sweep */
.btn-primary::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn-primary:hover:not(:disabled)::before { transform: translateX(120%); }
.btn-primary:hover:not(:disabled) {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 16px 44px -10px rgba(255, 45, 61, 0.85),
    0 0 0 1px rgba(255, 45, 61, 0.7);
}

.btn-secondary {
  background: rgba(255, 236, 230, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255, 236, 230, 0.09); border-color: rgba(255, 228, 220, 0.3); }

.btn-ghost { background: none; color: var(--text-muted); padding-left: 0.5rem; padding-right: 0.5rem; }
.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; min-height: 56px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text); font-weight: 600; font-size: 0.92rem;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.2s;
  padding-bottom: 2px;
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .icon { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Hero (generic, used by success/cancel/404) ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter) 3rem;
  max-width: 980px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  background: rgba(255, 236, 230, 0.035);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem 0.5rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.eyebrow .dot, .live-dot {
  position: relative;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  flex-shrink: 0;
}
.eyebrow .dot::after, .live-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--success);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}
.hero-title .hl, .section-title .hl {
  color: var(--accent);
}
.hero-title .grad, .grad {
  background: linear-gradient(100deg, #ff6b76 0%, var(--accent) 35%, #b3141f 70%, #ff6b76 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-pan 8s linear infinite;
}
@keyframes grad-pan { to { background-position: 200% center; } }

.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.6;
  max-width: 580px;
  margin: 1.5rem auto 2.25rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* ---------- Home hero (cinematic) ---------- */
.home-hero {
  position: relative;
  min-height: max(min(100svh, 980px), 760px);
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + clamp(2rem, 6vh, 4.5rem)) var(--gutter) var(--stage-h);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  --stage-h: clamp(210px, 25vw, 330px);
}
.home-hero .hero-title { font-size: clamp(2.6rem, 7.4vw, 6rem); max-width: 18ch; }
.home-hero .hero-actions { margin-bottom: 1.5rem; }
.home-hero .hero-copy { position: relative; z-index: 2; will-change: transform, opacity; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .orb {
  position: absolute; border-radius: 50%; opacity: 0.75;
  will-change: transform;
}
.hero-bg .orb-1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(179,20,31,0.75), transparent 65%); animation: drift-1 18s var(--ease-in-out) infinite alternate; }
.hero-bg .orb-2 { width: 38vw; height: 38vw; right: -10vw; top: 4vw; background: radial-gradient(circle, rgba(255,45,61,0.45), transparent 65%); animation: drift-2 22s var(--ease-in-out) infinite alternate; }
.hero-bg .orb-3 { width: 60vw; height: 30vw; left: 20vw; bottom: -12vw; background: radial-gradient(ellipse, rgba(142,16,24,0.6), transparent 65%); animation: drift-3 26s var(--ease-in-out) infinite alternate; }
@keyframes drift-1 { to { transform: translate(8vw, 6vw) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-10vw, 8vw) scale(0.9); } }
@keyframes drift-3 { to { transform: translate(-6vw, -4vw) scale(1.1); } }

/* Perspective grid floor */
.hero-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: 50% 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,0.6) 35%, transparent 80%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,0.6) 35%, transparent 80%);
}
.hero-grid::before {
  content: '';
  position: absolute; left: 0; right: 0; top: -64px; bottom: 0;
  background-image:
    linear-gradient(rgba(255, 45, 61, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 61, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  will-change: transform;
  animation: grid-run 3.5s linear infinite;
}
@keyframes grid-run { to { transform: translate3d(0, 64px, 0); } }
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, transparent 40%, var(--bg) 100%);
}

/* HUD frame corners */
.hud {
  position: absolute; inset: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
  pointer-events: none;
}
.hud i {
  position: absolute; width: 18px; height: 18px; border-color: rgba(255, 228, 220, 0.22); border-style: solid; border-width: 0;
}
.hud i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud .hud-label {
  position: absolute; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
}
.hud .hud-tl { top: 0.1rem; left: 1.75rem; }
.hud .hud-tr { top: 0.1rem; right: 1.75rem; }
.hud .hud-bl { bottom: 0.1rem; left: 1.75rem; }
.hud .hud-br { bottom: 0.1rem; right: 1.75rem; }
@media (max-width: 760px) { .hud { display: none; } }
/* The product fan covers the bottom corners until the hero is very wide. */
@media (max-width: 1699px) { .hud .hud-bl, .hud .hud-br { display: none; } }

/* Product fan in hero */
.hero-stage {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  height: var(--stage-h);
  z-index: 1;
  transform-style: preserve-3d;
}
.hero-stage .fan-card {
  position: absolute; left: 50%; bottom: calc(var(--stage-h) * -0.18);
  width: clamp(150px, 18vw, 240px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 228, 220, 0.14);
  background: radial-gradient(ellipse at 50% 30%, #2a0d10 0%, #0b0606 75%);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0,0,0,0.6), 0 0 60px -20px var(--accent-glow);
  transform-origin: 50% 120%;
  transform: translateX(calc(-50% + var(--tx, 0px))) translateY(var(--ty, 0px)) rotate(var(--rot, 0deg)) translateZ(var(--tz, 0px));
  opacity: 0;
  transition: transform 1.2s var(--ease), opacity 0.9s var(--ease), box-shadow 0.4s;
}
.hero-stage .fan-card img { width: 100%; height: 100%; object-fit: contain; padding: 0.9rem; display: block; }
.hero-stage .fan-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.12) 0%, transparent 35%, transparent 70%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.hero-stage.is-in .fan-card { opacity: 1; }
.hero-stage .fan-card:hover { box-shadow: 0 50px 90px -20px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,45,61,0.6), 0 0 80px -10px var(--accent-glow); }
.hero-stage .fan-card .fan-meta {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.7rem; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text);
  padding: 0.4rem 0.55rem; border-radius: 8px;
  background: rgba(7,5,5,0.85);
  border: 1px solid var(--border);
}
.hero-stage .fan-card .fan-meta b { color: var(--accent); font-weight: 500; }
.hero-floor-glow {
  position: absolute; left: 50%; bottom: -60px; width: 80%; height: 160px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,45,61,0.45), transparent 70%);
  filter: blur(30px);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--text-dim); text-transform: uppercase;
  z-index: 3;
}
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: cue 2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Stats strip ---------- */
.stats-strip {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,236,230,0.045), rgba(255,236,230,0.015));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.stat {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; }
.stat-value {
  font-family: var(--font-display); font-stretch: 115%;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.stat-value small { font-size: 0.5em; color: var(--accent); margin-left: 0.1em; letter-spacing: 0; }
.stat-label { margin-top: 0.25rem; color: var(--text-muted); font-size: 0.86rem; }
.stat .mono { color: var(--text-dim); position: absolute; top: 1rem; right: 1.2rem; font-size: 0.75rem; }
@media (max-width: 760px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat { padding: 1.3rem 1.1rem; }
}

/* Legacy trust bar (kept for compatibility) */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 960px; margin: 0 auto 5rem; padding: 0 2rem; }
.trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center; }
.trust-value { font-size: 1.5rem; font-weight: 700; }
.trust-label { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.2rem; }
@media (max-width: 700px) { .trust-bar { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 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; gap: 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-right: clamp(1.5rem, 3vw, 2.75rem);
  font-family: var(--font-display); font-stretch: 125%;
  font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 228, 220, 0.28);
  transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s;
}
.marquee-item:hover { color: var(--text); -webkit-text-stroke-color: transparent; }
.marquee-item .sep {
  color: var(--accent); -webkit-text-stroke: 0; font-size: 0.6em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heading ---------- */
.section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7.5rem) var(--gutter);
}
.section-tight { padding-top: clamp(2rem, 4vw, 3rem); }
.section-header { text-align: center; margin: 0 auto 3.25rem; max-width: 760px; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.section-header-row .section-header { margin: 0; text-align: left; }
.section-title {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 1rem;
}
.section-subtitle { color: var(--text-muted); font-size: 1.04rem; line-height: 1.6; margin: 0; }

/* ---------- Spotlight / tilt surface (shared) ---------- */
.spot {
  --mx: 50%; --my: 50%;
  position: relative;
  isolation: isolate;
}
.spot::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 45, 61, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.spot::after {
  /* Border highlight that follows the cursor */
  content: '';
  position: absolute; inset: -1px; z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 90, 102, 0.9), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

.tilt { transform-style: preserve-3d; transition: transform 0.6s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease), background 0.3s; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}
.product-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,236,230,0.045), rgba(255,236,230,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s var(--ease), border-color 0.3s var(--ease), box-shadow 0.5s var(--ease);
}
.product-card:hover {
  border-color: rgba(255, 45, 61, 0.35);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9), 0 20px 50px -30px var(--accent-glow);
}
.product-card .pc-media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(142,16,24,0.38), transparent 70%),
    linear-gradient(180deg, #120a0a, #080505);
  border-bottom: 1px solid var(--border);
}
.product-card .pc-media::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,228,220,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,228,220,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  pointer-events: none;
}
.product-card img, .product-card .pc-media img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  padding: 1.1rem;
  background: none;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
  transition: transform 0.8s var(--ease);
}
.product-card:hover .pc-media img { transform: scale(1.06) translateY(-4px); }
.product-card .info, .product-card .pc-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.pc-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pc-cat { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-name { font-weight: 600; margin: 0; font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.3; }
.card-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.35rem; }
.product-price { color: var(--text); font-weight: 700; font-size: 1.12rem; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.product-price small { color: var(--text-dim); font-weight: 500; font-size: 0.75rem; margin-right: 0.3rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }
.product-oos { color: var(--text-dim); font-size: 0.85rem; font-weight: 500; }
.card-stock-count { font-size: 0.75rem; font-weight: 500; color: var(--text-dim); font-family: var(--font-mono); }
.pc-go {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: background 0.35s var(--ease), color 0.25s, border-color 0.25s, transform 0.5s var(--ease);
}
.pc-go .icon { width: 15px; height: 15px; }
.product-card:hover .pc-go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }

.status-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.22rem 0.55rem; border-radius: 999px;
  color: var(--chip, var(--success));
  background: color-mix(in srgb, var(--chip, var(--success)) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--chip, var(--success)) 25%, transparent);
  white-space: nowrap;
}
.status-chip .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* Skeleton */
.skeleton {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(100deg, rgba(255,236,230,0.03) 30%, rgba(255,236,230,0.07) 50%, rgba(255,236,230,0.03) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.6s linear infinite;
  aspect-ratio: 3 / 4.3;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- Product badges ---------- */
.product-badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 0.3rem 0.6rem; border-radius: 999px; z-index: 3; pointer-events: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge-new  { background: rgba(129, 140, 248, 0.2); color: #c7cbff; border: 1px solid rgba(129, 140, 248, 0.45); }
.badge-hot  { background: rgba(255, 45, 61, 0.22); color: #ffb3b9; border: 1px solid rgba(255, 45, 61, 0.55); box-shadow: 0 0 20px -4px var(--accent-glow); }
.badge-sale { background: rgba(47, 210, 122, 0.18); color: #9ff0c4; border: 1px solid rgba(47, 210, 122, 0.45); }

.card-status {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.75rem; font-weight: 600; padding: 0.22rem 0.55rem;
  border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.card-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}
.category-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s var(--ease), border-color 0.3s var(--ease), box-shadow 0.5s var(--ease);
}
.category-card:hover { border-color: rgba(255, 45, 61, 0.35); box-shadow: 0 24px 50px -25px var(--accent-glow); }
.category-card .cc-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, rgba(142,16,24,0.35), transparent 70%), #0a0606; }
.category-card img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,0.6)) saturate(0.9);
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.category-card:hover img { transform: scale(1.08) rotate(-1.5deg); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.7)) saturate(1.1); }
.category-card .info { padding: 1rem 1.15rem 1.15rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; }
.category-name { font-weight: 600; margin: 0 0 0.2rem; letter-spacing: -0.01em; line-height: 1.25; }
.category-count { color: var(--text-dim); font-size: 0.75rem; margin: 0; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Bento features ---------- */
.features-section { padding-top: 1rem; }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1rem;
}
.bento-cell {
  position: relative;
  grid-column: span 2;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,236,230,0.04), rgba(255,236,230,0.012));
  padding: 1.75rem;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.bento-cell.wide { grid-column: span 4; }
.bento-cell.half { grid-column: span 3; }
.bento-cell h3 {
  font-family: var(--font-display); font-stretch: 108%;
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 0.5rem;
}
.bento-cell p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; margin: 0; max-width: 46ch; }
.bento-cell .feature-icon { margin-bottom: auto; }
.bento-cell .bento-copy { margin-top: 1.5rem; }
.bento-visual { flex: 1; min-height: 120px; margin: -0.25rem 0 1.25rem; position: relative; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell, .bento-cell.half { grid-column: span 1; }
  .bento-cell.wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell, .bento-cell.wide, .bento-cell.half { grid-column: span 1; }
}

/* Terminal (instant delivery visual) */
.term {
  font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.85;
  background: rgba(4, 3, 3, 0.7);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  color: var(--text-muted);
  overflow: hidden;
}
.term-bar { display: flex; gap: 6px; margin-bottom: 0.6rem; }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a1c1c; }
.term-bar i:first-child { background: var(--accent); }
.term-line { display: flex; justify-content: space-between; gap: 1rem; opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); white-space: nowrap; }
.term-line.on { opacity: 1; transform: none; }
.term-line .ok { color: var(--success); }
.term-line .t { color: var(--text-dim); }
.term-line .key { color: var(--text); letter-spacing: 0.06em; }
.term-cursor { display: inline-block; width: 7px; height: 1em; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Mini status list (bento) */
.mini-status { display: flex; flex-direction: column; gap: 0.45rem; }
.mini-status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.55rem 0.75rem; border-radius: 10px;
  background: rgba(4,3,3,0.5); border: 1px solid var(--border);
  font-size: 0.82rem;
}
.mini-status-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Radar visual (updates) */
.radar {
  position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(255, 45, 61, 0.18);
  background:
    radial-gradient(circle, transparent 30%, rgba(255,45,61,0.06) 31%, transparent 32%),
    radial-gradient(circle, transparent 60%, rgba(255,45,61,0.08) 61%, transparent 62%);
  pointer-events: none;
}
.radar::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,45,61,0.45), transparent 22%);
  animation: spin 4s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 69%, transparent 70%);
  mask-image: radial-gradient(circle, #000 69%, transparent 70%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Chat bubbles (support) */
.chat { display: flex; flex-direction: column; gap: 0.5rem; }
.bubble {
  max-width: 85%; padding: 0.55rem 0.85rem; border-radius: 14px; font-size: 0.82rem; line-height: 1.45;
  background: rgba(255,236,230,0.06); border: 1px solid var(--border); color: var(--text);
}
.bubble.me { align-self: flex-end; background: linear-gradient(180deg, rgba(255,45,61,0.25), rgba(142,16,24,0.35)); border-color: rgba(255,45,61,0.35); }
.bubble small { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 0.2rem; text-transform: uppercase; }

/* Support steps (bento) */
.support-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; counter-reset: none; }
.support-steps li {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.85rem; border-radius: 12px; font-size: 0.85rem;
  background: rgba(255,236,230,0.05); border: 1px solid var(--border); color: var(--text);
}
.support-steps .mono { font-size: 0.75rem; color: var(--accent); letter-spacing: 0.1em; }

/* Pay chips */
.pay-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.8rem; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(4,3,3,0.5);
  font-size: 0.8rem; color: var(--text); font-weight: 500;
}
.pay-chip .icon { width: 16px; height: 16px; color: var(--accent); }

/* Legacy feature grid (kept for compatibility) */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,45,61,0.2), rgba(142,16,24,0.15));
  border: 1px solid rgba(255,45,61,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 24px -10px var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: #ff7d87;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin: 0; }

/* ---------- Steps ---------- */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.steps-line {
  position: absolute; left: 16.6%; right: 16.6%; top: 38px; height: 1px;
  background: var(--border);
  overflow: hidden;
}
.steps-line::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  transform: scaleX(var(--p, 0)); transform-origin: left;
  box-shadow: 0 0 12px var(--accent);
}
.step { position: relative; text-align: center; padding: 0 1rem; }
.step-num {
  position: relative; z-index: 1;
  width: 76px; height: 76px; margin: 0 auto 1.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2a0d10, #0b0606 70%);
  border: 1px solid rgba(255,45,61,0.35);
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.1);
  font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.04em;
  color: var(--text);
}
.step h3 { font-family: var(--font-display); font-stretch: 108%; font-size: 1.2rem; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.93rem; margin: 0 auto; max-width: 30ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-line { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,45,61,0.25);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,45,61,0.32), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(142,16,24,0.5), transparent 70%),
    #0b0606;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,228,220,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,228,220,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-band .section-title { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.cta-band .section-subtitle { max-width: 520px; margin: 0 auto 2rem; }
.cta-band .hero-actions { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 4.5rem var(--gutter) 0;
  margin-top: 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(4,3,3,0.8));
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .logo-img { height: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 300px; margin: 1rem 0 1.25rem; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-dim); margin: 0 0 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.footer-col a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s var(--ease), transform 0.35s var(--ease); }
.footer-col a:hover { color: var(--text); transform: translateX(0.5rem); }
.footer-col a::before { content: ''; position: absolute; left: -0.5rem; top: 50%; width: 0.3rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.footer-col a:hover::before { transform: scaleX(1); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 3.5rem auto 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-wordmark {
  display: block;
  text-align: center;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(4rem, 19vw, 17rem);
  letter-spacing: -0.06em;
  line-height: 0.78;
  margin: 1rem 0 -0.12em;
  color: transparent;
  background: linear-gradient(180deg, rgba(255,45,61,0.35) 0%, rgba(142,16,24,0.12) 60%, transparent 95%);
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-brand { grid-column: span 2; }
}

/* ---------- Scroll to top ---------- */
.scroll-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), border-color 0.3s, background 0.3s;
}
.scroll-top-btn svg.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.scroll-top-btn svg.ring circle { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.scroll-top-btn.visible { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
@media (max-width: 700px) {
  .scroll-top-btn { right: 1rem; bottom: 1rem; width: 44px; height: 44px; }
  body.has-buybar .scroll-top-btn { bottom: 6.25rem; }
}

/* ---------- FAQ (shared) ---------- */
.faq-home-section { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-layout .section-header { position: sticky; top: calc(var(--nav-h) + 2rem); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-header { position: static; } }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.65rem; width: 100%; }
.faq-item {
  background: linear-gradient(180deg, rgba(255,236,230,0.035), rgba(255,236,230,0.012));
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: rgba(255,45,61,0.3); background: linear-gradient(180deg, rgba(255,45,61,0.06), rgba(255,236,230,0.012)); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  padding: 1.25rem 1.4rem; font-size: 1.02rem; font-weight: 600; cursor: pointer; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: inherit;
}
.faq-q .icon {
  width: 30px !important; height: 30px !important; padding: 7px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform 0.5s var(--ease), background 0.3s, border-color 0.3s, color 0.3s; color: var(--text-muted); flex-shrink: 0;
}
.faq-item.open .faq-q .icon { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
  color: var(--text-muted); line-height: 1.75; font-size: 0.95rem;
}
.faq-a > .faq-a-inner { overflow: hidden; min-height: 0; padding: 0 1.4rem; transition: opacity 0.4s; opacity: 0; }
.faq-a > .faq-a-inner::after { content: ''; display: block; height: 1.3rem; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > .faq-a-inner { opacity: 1; }
.faq-a a { color: var(--accent); }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(2rem, 4vw, 3rem);
}
.page-head .section-title { font-size: clamp(2.4rem, 6.5vw, 5rem); margin-bottom: 1rem; }
.page-head .section-subtitle { max-width: 600px; font-size: 1.08rem; }
.page-head.center { text-align: center; }
.page-head.center .section-subtitle { margin: 0 auto; }

.breadcrumb { display: flex; align-items: center; gap: 0.6rem; color: var(--text-dim); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.75rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }
/* Phones: the H1 repeats the current page name, so drop it from the trail to keep it on one line. */
@media (max-width: 600px) { .pdp-wrap .breadcrumb > [aria-current], .pdp-wrap .breadcrumb > .breadcrumb-sep:nth-last-child(2) { display: none; } }

/* ---------- Filter / search toolbar ---------- */
.toolbar {
  position: sticky; top: calc(var(--nav-h) - 1px); z-index: 20;
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  padding: 0.85rem 0;
  margin-bottom: 2rem;
  transition: transform 0.5s var(--ease);
}
/* Full-bleed glass band (same treatment as the scrolled nav), shown only while stuck */
.toolbar::before {
  content: '';
  position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 50%;
  width: 100vw; margin-left: -50vw;
  background: rgba(7, 5, 5, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.toolbar.is-stuck::before { opacity: 1; }
body.nav-hidden .toolbar { transform: translateY(calc(var(--nav-h) * -1 + 1px)); }
@media (max-width: 700px) {
  .toolbar { position: static; background: none; }
  .toolbar::before { display: none; }
  body.nav-hidden .toolbar { transform: none; }
  .search-field { max-width: none; }
}
.search-field {
  position: relative; flex: 1 1 280px; max-width: 420px;
}
.search-field .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-dim); width: 18px; height: 18px; pointer-events: none; }
.search-field input {
  width: 100%; height: 48px; padding: 0 1rem 0 2.8rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); font: inherit; font-size: 0.95rem; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.search-field input::placeholder { color: var(--text-dim); }
.search-field input:focus { border-color: rgba(255,45,61,0.45); box-shadow: 0 0 0 4px rgba(255,45,61,0.1); background: rgba(255,236,230,0.06); }
.chips {
  display: flex; gap: 0.45rem; overflow-x: auto; scrollbar-width: none; padding: 2px; flex: 1 1 100%;
  --fl: 0px; --fr: 0px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
}
/* Fade whichever edge still has chips hidden behind it */
.chips.fade-l { --fl: 56px; }
.chips.fade-r { --fr: 56px; }
@media (hover: hover) and (pointer: fine) { .chips { cursor: grab; } }
.chips.dragging { cursor: grabbing; user-select: none; }
.chips.dragging .chip { pointer-events: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 0.55rem 1rem; min-height: 44px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); font-size: 0.85rem; font-weight: 500; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { color: #fff; background: linear-gradient(180deg, #ff3b4a, #b3141f); border-color: rgba(255,120,130,0.4); box-shadow: 0 8px 20px -8px var(--accent-glow); }
.chip .n { font-family: var(--font-mono); font-size: 0.75rem; margin-left: 0.35rem; color: var(--text-muted); }
.chip.active .n { color: #fff; }
.sort-select {
  height: 48px; padding: 0 2.4rem 0 1rem; border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a69995' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid var(--border); color: var(--text); font: inherit; font-size: 0.88rem;
  -webkit-appearance: none; appearance: none; cursor: pointer; outline: none;
}
.sort-select option { background: var(--bg-elevated); }
.result-count { margin-left: auto; color: var(--text-dim); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center; padding: 4rem 1rem;
  border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.empty-state h3 { font-family: var(--font-display); font-stretch: 110%; color: var(--text); margin: 0 0 0.5rem; font-size: 1.4rem; letter-spacing: -0.02em; }

/* Grid item enter animation (filters) */
.product-grid > .product-card.enter { animation: card-in 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }

/* ---------- PDP shared bits ---------- */
.pdp-name { font-family: var(--font-display); font-stretch: 112%; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin: 0 0 0.75rem; letter-spacing: -0.045em; line-height: 1; }
.pdp-price { color: var(--accent); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; }
.pdp-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.2rem; border-radius: 14px;
  background: rgba(17, 10, 10, 0.92); border: 1px solid rgba(255,45,61,0.4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.9);
  font-size: 0.9rem; color: var(--text);
  animation: toast-in 0.6s var(--ease) both;
  pointer-events: auto;
}
.toast .icon { color: var(--accent); }
.toast.out { animation: toast-out 0.4s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(0.95); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(0.97); } }

/* ---------- Legal ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) var(--gutter) 5rem; color: var(--text-muted); line-height: 1.8; }
.legal h1 { font-family: var(--font-display); font-stretch: 112%; color: var(--text); font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.045em; line-height: 1; margin: 0 0 1rem; }
.legal .updated { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.legal h2 { color: var(--text); font-family: var(--font-display); font-stretch: 106%; font-size: 1.25rem; letter-spacing: -0.02em; margin-top: 2.75rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Below-the-fold sections skip layout and paint until they get near the viewport. */
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 760px; }

/* ---------- Reveal system (motion.js) ---------- */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms + var(--i, 0) * 80ms);
}
.motion [data-reveal="fade"] { transform: none; }
.motion [data-reveal="scale"] { transform: scale(0.94); }
.motion [data-reveal="blur"] { filter: blur(12px); transform: translate3d(0, 16px, 0); }
.motion [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.motion [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.motion [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Split text: each word masked, slides up */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; }
.motion .split .w > span {
  transform: translate3d(0, 105%, 0) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms + var(--wi, 0) * 55ms);
}
.motion .split.is-in .w > span { transform: none; }

/* Page-load sequencing for hero bits */
.motion [data-load] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.motion.loaded [data-load] { opacity: 1; transform: none; }

/* View transitions between pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
.navbar { view-transition-name: site-nav; }
::view-transition-old(site-nav), ::view-transition-new(site-nav) { animation: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  body::after { display: none; }
  .marquee-track { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media (hover: none), (max-width: 760px) {
  .spot::before, .spot::after { display: none; }
  body::after { animation: none; inset: 0; }
  .hero-bg .orb-3 { display: none; }
}
@media (max-width: 560px) {
  .product-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .product-card .pc-body { padding: 0.8rem 0.85rem 0.9rem; gap: 0.35rem; }
  .product-card .pc-media img, .category-card img { padding: 0.6rem; }
  .pc-meta { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .product-name, .category-name { font-size: 0.92rem; }
  .product-price { font-size: 1rem; }
  .product-card .pc-go { display: none; }
  .category-card .info { padding: 0.75rem 0.85rem; }
}

/* ---------- Result pages (success / cancel / 404) ---------- */
.result {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - 8rem);
  display: grid; place-items: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.result .hero-title { font-size: clamp(2.6rem, 8vw, 5.4rem); }
.result .hero-actions { margin-bottom: 0; }
.result-mark {
  position: relative;
  width: 108px; height: 108px; margin: 0 auto 2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2a0d10, #0b0606 70%);
  border: 1px solid rgba(255,45,61,0.35);
  box-shadow: 0 0 60px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.1);
  color: var(--accent);
}
.result-mark.ok { color: var(--success); border-color: rgba(47,210,122,0.4); box-shadow: 0 0 60px -10px rgba(47,210,122,0.45), inset 0 1px 0 rgba(255,255,255,0.1); background: radial-gradient(circle at 50% 30%, #0f2a1b, #060b08 70%); }
.result-mark svg { width: 44px; height: 44px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result-mark svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.9s 0.4s var(--ease) forwards; }
.result-mark::before, .result-mark::after {
  content: ''; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid currentColor; opacity: 0;
  animation: ripple 2.8s var(--ease) infinite;
}
.result-mark::after { animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.1); opacity: 0; } }
.result-code {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -55%); z-index: -1;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(9rem, 38vw, 30rem); letter-spacing: -0.07em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 45, 61, 0.18);
  user-select: none; pointer-events: none; white-space: nowrap;
}
.result-steps { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin: -0.75rem 0 2rem; }
.result-steps span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: 0.45rem 0.85rem; background: var(--surface); }
.result-steps b { color: var(--accent); font-weight: 500; margin-right: 0.35rem; }

.toast.ok .icon { color: var(--success); }
