/* BasedMTA marketing site — v2 premium design system.

   Direction: precision tool, not hype.
   Reference points: Linear's restraint, Raycast's mono-as-hierarchy,
   Vercel's geometric clarity. Engineering-product confidence.
*/

:root {
  /* Base canvas — very dark, slight blue undertone */
  --bg:        #050709;
  --bg-1:      #07090d;
  --bg-2:      #0a0d13;
  --bg-3:      #0d111a;
  --bg-card:   #0b0f16;
  --bg-card-2: #10151f;
  --bg-card-3: #141a26;

  /* Lines — three steps */
  --line-1:    rgba(255,255,255,0.04);
  --line-2:    rgba(255,255,255,0.07);
  --line-3:    rgba(255,255,255,0.12);
  --line:      var(--line-2);

  /* Ink — five steps for typographic hierarchy */
  --ink:        #eef1f7;
  --ink-2:      #b6bfd0;
  --ink-3:      #7a8295;
  --ink-4:      #51596b;
  --ink-5:      #353c4c;

  /* Accent — overridable via [data-accent] */
  --accent:        #5b9eff;
  --accent-2:      #3373cc;
  --accent-3:      #244c7d;
  --accent-soft:   rgba(91,158,255,0.10);
  --accent-glow:   rgba(91,158,255,0.32);

  /* Semantic */
  --ok:    #34c47b;
  --warn:  #e8b259;
  --bad:   #d34a4a;
  --gold:  #d4af6a;

  /* Type */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", "DejaVu Sans Mono", "Consolas", monospace;

  /* Radii — small, deliberate */
  --rad:    4px;
  --rad-md: 6px;
  --rad-lg: 10px;
  --rad-xl: 14px;

  --container: 1240px;
  --container-wide: 1320px;

  --easing: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ============================ ACCENT VARIANTS ============================ */
[data-accent="amber"] {
  --accent:      #e0a458;
  --accent-2:    #b07d36;
  --accent-3:    #6e4b1c;
  --accent-soft: rgba(224,164,88,0.10);
  --accent-glow: rgba(224,164,88,0.30);
}
[data-accent="green"] {
  --accent:      #4dd699;
  --accent-2:    #2fa873;
  --accent-3:    #1c6b48;
  --accent-soft: rgba(77,214,153,0.10);
  --accent-glow: rgba(77,214,153,0.28);
}
[data-accent="mono"] {
  --accent:      #e7e9ee;
  --accent-2:    #b5bac4;
  --accent-3:    #5e6573;
  --accent-soft: rgba(231,233,238,0.07);
  --accent-glow: rgba(231,233,238,0.20);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

/* Subtle film grain — premium texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.62 0 0 0 0 0.78 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  z-index: 999;
  mix-blend-mode: overlay;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================ SCROLLBAR ============================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--line-3);
  border-radius: 100px;
  border: 2px solid var(--bg);
  transition: background 200ms var(--easing);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-4);
}
::-webkit-scrollbar-corner {
  background: transparent;
}
html {
  scrollbar-color: var(--line-3) transparent;
  scrollbar-width: thin;
}

/* ============================ MICRO-TYPE ============================ */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mono-sm {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ============================ SYSTEM BAR ============================ */
.sysbar {
  position: relative;
  z-index: 101;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: #030406;
  border-bottom: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
  overflow: hidden;
}
.sysbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: var(--container-wide);
  margin: 0 auto;
  width: 100%;
}
.sysbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.sysbar-item .k { color: var(--ink-5); }
.sysbar-item .v { color: var(--ink-3); }
.sysbar-item .v.ok { color: var(--ok); }
.sysbar-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.sysbar-spacer { flex: 1; }
.sysbar-bytes {
  color: var(--ink-5);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ============================ NAV ============================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}
.nav.scrolled {
  background: rgba(5,7,9,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}
.brand-link { display: inline-flex; align-items: center; }
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-sm { font-size: 22px; }
.brand-lg { font-size: 32px; }
.brand-b {
  color: var(--accent);
  display: inline-block;
}
[data-accent="amber"] .brand-b { color: var(--accent); }
[data-accent="green"] .brand-b { color: var(--accent); }
[data-accent="mono"]  .brand-b { color: var(--accent); }
.brand-rest { color: var(--ink); }
.brand-ver {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-left: 12px;
  align-self: center;
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 12px;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 450;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--easing);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-3);
  border-radius: var(--rad);
  cursor: pointer;
  transition: all 140ms var(--easing);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-primary {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
  box-shadow:
    0 0 0 0 var(--accent-glow),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow:
    0 0 0 4px var(--accent-soft),
    0 12px 32px rgba(91, 158, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
}
.btn-ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-3);
  color: var(--ink);
}
.btn-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.8px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}
.btn-arrow {
  /* arrow removed per request — keep class for backward compatibility */
}

/* ============================ HERO (cinema) ============================ */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container { width: 100%; position: relative; z-index: 2; padding-top: 80px; padding-bottom: 60px; }

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.45) saturate(0.8) contrast(1.05);
  transform: scale(1.05);
  animation: hero-bg-drift 24s ease-in-out infinite alternate;
}
@keyframes hero-bg-drift {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* Multi-layer vignette: top edge, sides, bottom fade */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, transparent 0%, rgba(5,7,9,0.4) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(5,7,9,0.55) 0%, rgba(5,7,9,0.0) 30%, rgba(5,7,9,0.0) 60%, var(--bg) 100%),
    radial-gradient(circle at 50% 30%, rgba(91,158,255,0.06), transparent 50%);
}

/* Bottom fade into next section */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 90%);
}

.hero-content {
  text-align: center;
}
.hero-copy {
  text-align: center;
  margin: 0 auto;
  max-width: 880px;
  padding-top: 0;
}
.hero-copy .eyebrow { margin: 0 0 28px; }

/* Marquee of module names */
.hero-marquee {
  margin-top: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-marquee-header {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 460px;
}
.hero-marquee-rule {
  flex: 1;
  height: 1px;
  background: var(--line-3);
  opacity: 0.6;
}
.hero-marquee-rule:first-child {
  background: linear-gradient(90deg, transparent, var(--line-3));
}
.hero-marquee-rule:last-child {
  background: linear-gradient(90deg, var(--line-3), transparent);
}
.hero-marquee-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}
.hero-marquee-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 22px;
  max-width: 720px;
}
.hero-marquee-list span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 200ms var(--easing);
}
.hero-marquee-list span + span::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ink-5);
  transform: translateY(-50%);
}
.hero-marquee-list span:hover { color: var(--accent); }

/* Scroll hint at hero bottom */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--ink-4);
  z-index: 5;
  pointer-events: none;
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--ink-3) 0%, transparent 100%);
  transform-origin: top;
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.55); }
  50%      { opacity: 1;    transform: scaleY(1); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  font-weight: 600;
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
}
.hero h1 .accent {
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
}
.hero-sub {
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--ink-2);
  max-width: 62ch;
  line-height: 1.6;
  margin: 0 auto 42px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

/* Clean hero shot (no chrome) */
.hero-shot {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: var(--rad-lg);
  overflow: hidden;
  border: 1px solid var(--line-3);
  box-shadow:
    0 60px 140px rgba(0,0,0,0.78),
    0 0 0 1px rgba(255,255,255,0.025) inset;
  aspect-ratio: 16 / 9;
  background: #000;
  isolation: isolate;
  transition: transform 480ms var(--easing), box-shadow 480ms var(--easing);
}
.hero-shot:hover {
  transform: translateY(-3px);
  box-shadow:
    0 70px 160px rgba(0,0,0,0.82),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 120px rgba(91,158,255,0.10);
}
.hero-shot::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  opacity: 0.6;
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}
.hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--easing);
}
.hero-shot:hover img { transform: scale(1.015); }
.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,7,9,0.6));
  pointer-events: none;
}

/* Animated scanline sweep */
.hs-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 47%,
    rgba(91, 158, 255, 0.18) 49%,
    rgba(91, 158, 255, 0.42) 50%,
    rgba(91, 158, 255, 0.18) 51%,
    transparent 53%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: hs-scan 7s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.85;
}
[data-accent="amber"] .hs-scan { background: linear-gradient(180deg, transparent 47%, rgba(224,164,88,0.42) 50%, transparent 53%); background-size: 100% 220%; }
[data-accent="green"] .hs-scan { background: linear-gradient(180deg, transparent 47%, rgba(77,214,153,0.42) 50%, transparent 53%); background-size: 100% 220%; }
[data-accent="mono"]  .hs-scan { background: linear-gradient(180deg, transparent 47%, rgba(231,233,238,0.32) 50%, transparent 53%); background-size: 100% 220%; }

@keyframes hs-scan {
  0%   { background-position: 0 -110%; }
  100% { background-position: 0 110%; }
}

/* HUD corner brackets */
.hs-hud {
  position: absolute;
  inset: 16px;
  z-index: 4;
  pointer-events: none;
}
.hs-hud span {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.6;
}
.hs-hud span:nth-child(1) { top: 0; left: 0;  border-top: 1.5px solid var(--accent); border-left: 1.5px solid var(--accent); }
.hs-hud span:nth-child(2) { top: 0; right: 0; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); }
.hs-hud span:nth-child(3) { bottom: 0; left: 0;  border-bottom: 1.5px solid var(--accent); border-left: 1.5px solid var(--accent); }
.hs-hud span:nth-child(4) { bottom: 0; right: 0; border-bottom: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); }

/* Readout label (bottom-left) */
.hs-readout {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 11px;
  background: rgba(5, 7, 9, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(91, 158, 255, 0.25);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink);
}
.hs-readout-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

/* Hero stats (horizontal row) */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 36px auto 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  min-width: 64px;
}
.hero-stats .stat .v {
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-stats .stat .v.mono-v {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hero-stats .stat .l {
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-4);
}
.hero-stats .sep {
  width: 1px;
  height: 28px;
  background: var(--line-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(91,158,255,0.25);
  background: var(--accent-soft);
  border-radius: 100px;
  margin-bottom: 28px;
}
[data-accent="amber"] .eyebrow { border-color: rgba(224,164,88,0.25); }
[data-accent="green"] .eyebrow { border-color: rgba(77,214,153,0.25); }
[data-accent="mono"] .eyebrow { border-color: var(--line-3); color: var(--ink-2); }

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Eyebrow as Discord CTA */
a.eyebrow-cta {
  cursor: pointer;
  transition: color 200ms var(--easing), border-color 200ms var(--easing), background 200ms var(--easing), transform 200ms var(--easing);
  text-decoration: none;
}
a.eyebrow-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

/* Floating Discord button */
.floating-discord {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px 0 14px;
  border-radius: 100px;
  background: #5865F2;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow:
    0 14px 28px rgba(88, 101, 242, 0.4),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: transform 220ms var(--easing), box-shadow 220ms var(--easing), background 220ms var(--easing);
}
.floating-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  color: #fff;
  box-shadow:
    0 20px 40px rgba(88, 101, 242, 0.5),
    0 0 0 1px rgba(255,255,255,0.12) inset;
}
.floating-discord svg { flex-shrink: 0; }

@media (max-width: 720px) {
  .floating-discord { right: 14px; bottom: 14px; height: 42px; }
  .floating-discord-label { display: none; }
  .floating-discord { padding: 0 12px; }
}

/* ============================ TRUST STRIP ============================ */
.trust-strip {
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  padding: 22px 0;
  background: var(--bg-1);
}
.trust-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.trust-pill .ix {
  color: var(--accent);
  font-weight: 600;
}
.trust-pill .sep {
  color: var(--ink-5);
}

/* ============================ SECTIONS ============================ */
section.s {
  position: relative;
  padding: 130px 0;
}
section.s::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-3) 40%, var(--line-3) 60%, transparent);
  opacity: 0.7;
}
section.s-tight { padding: 90px 0; }

.s-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.s-head-stack > * + * { margin-top: 18px; }
.s-head-aside {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.65;
  padding-bottom: 8px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
  max-width: 18ch;
  color: var(--ink);
}
.section-title .ink-3 { color: var(--ink-3); }
.section-title .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.section-lede {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
  line-height: 1.55;
}

/* ============================ MODULE GRID ============================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-1);
  border: 1px solid var(--line-1);
  border-radius: var(--rad-lg);
  overflow: hidden;
}
.module-cell {
  position: relative;
  background: var(--bg-card);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 142px;
  transition: background 180ms var(--easing);
}
.module-cell:hover { background: var(--bg-card-2); }
.module-cell .mc-id {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--ink-4);
}
.module-cell .mc-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2px;
}
.module-cell .mc-desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: auto;
}
.module-cell .mc-tier {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.3px;
  color: var(--ink-4);
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
}
.module-cell[data-tier="basic"] .mc-tier { color: var(--ink-2); }
.module-cell[data-tier="pro"]   .mc-tier { color: var(--accent); border-color: rgba(91,158,255,0.25); }
[data-accent="amber"] .module-cell[data-tier="pro"] .mc-tier { border-color: rgba(224,164,88,0.25); }
[data-accent="green"] .module-cell[data-tier="pro"] .mc-tier { border-color: rgba(77,214,153,0.25); }
.module-cell[data-tier="vip"]   .mc-tier { color: var(--gold);   border-color: rgba(212,175,106,0.25); }

/* ============================ CAPABILITY ROWS ============================ */
.cap-rows {
  display: grid;
  gap: 120px;
}
.cap-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.cap-row.flip > .cap-visual { order: 2; }
.cap-row.flip > .cap-copy   { order: 1; }
.cap-visual { position: relative; min-width: 0; will-change: transform; }

.cap-tier-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border: 1px solid var(--line-3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(255,255,255,0.02);
}
.cap-tier-label[data-tier="basic"] { color: var(--ink); }
.cap-tier-label[data-tier="pro"]   {
  color: var(--accent);
  border-color: rgba(91,158,255,0.3);
  background: var(--accent-soft);
}
.cap-tier-label[data-tier="vip"]   {
  color: var(--gold);
  border-color: rgba(212,175,106,0.3);
  background: rgba(212,175,106,0.06);
}

.cap-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 18px 0 26px;
  max-width: 18ch;
}

.cap-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.cap-col-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}
.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.cap-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.cap-list.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -1px;
  width: auto; height: auto;
  color: var(--ok);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  background: transparent;
}
.cap-list.cons li { color: var(--ink-4); }
.cap-list.cons li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px; height: 1px;
  background: var(--ink-5);
}

/* visual: single screenshot */
.cap-shot {
  position: relative;
  border-radius: var(--rad-lg);
  overflow: hidden;
  border: 1px solid var(--line-3);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  background: #000;
  transition: transform 480ms var(--easing), box-shadow 480ms var(--easing);
}
.cap-shot:hover {
  transform: translateY(-2px);
  box-shadow:
    0 50px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.cap-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
  transition: transform 800ms var(--easing);
}
.cap-shot:hover img { transform: scale(1.02); }
.cap-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,7,9,0.45));
  pointer-events: none;
}
.cap-shot-tag {
  display: none;
}

/* visual: image pair (overlapping) */
.cap-pair {
  position: relative;
  height: 0;
  padding-bottom: 70%;
}
.cap-pair .cap-shot.main {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  z-index: 1;
}
.cap-pair .cap-shot.sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 56%;
  z-index: 2;
  box-shadow:
    0 24px 48px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05) inset;
}

/* visual: code preview (Pro tier) — refined IDE feel */
.cap-code {
  background: #0a0d13;
  border: 1px solid var(--line-3);
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.02) inset;
}
.cap-code-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-1);
  background: rgba(255,255,255,0.012);
}
.cap-code-dots { display: flex; gap: 6px; }
.cap-code-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #1f2530;
}
.cap-code-dots span:nth-child(1) { background: var(--bad); }
.cap-code-dots span:nth-child(2) { background: var(--warn); }
.cap-code-dots span:nth-child(3) { background: var(--ok); }
.cap-code-name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.3px;
}
.cap-code-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cap-code-body {
  padding: 14px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  overflow-x: auto;
}
.cap-code-line {
  display: flex;
  gap: 14px;
  align-items: baseline;
  white-space: nowrap;
}
.cap-code-line .ln {
  color: var(--ink-5);
  user-select: none;
  flex: 0 0 28px;
  text-align: right;
  font-size: 11.5px;
}
.cap-code-line .src { color: #c8d0dc; }
.cap-code .t-kw  { color: #c099f0; }
.cap-code .t-fn  { color: #f0c987; }
.cap-code .t-str { color: #6bbf8a; }
.cap-code .t-num { color: #f08a8a; }
.cap-code .t-com { color: var(--ink-4); font-style: italic; }
.cap-code .t-pn  { color: #c8d0dc; }

.cap-code-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-4);
}
.cap-code-foot .ok { color: var(--ok); }

/* ============================ DEMO ============================ */
.demo-frame {
  position: relative;
  width: 100%;
  padding: 30px 0 0;
  isolation: isolate;
}
.demo-frame::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 10%;
  right: 10%;
  background: radial-gradient(ellipse, var(--accent-soft), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}
.demo-mount {
  position: relative;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  height: 660px;
  border-radius: var(--rad-lg);
  box-shadow:
    0 60px 120px rgba(0,0,0,0.78),
    0 0 0 1px var(--line-2),
    0 0 0 6px rgba(91,158,255,0.04),
    0 0 120px rgba(91,158,255,0.08);
  overflow: hidden;
  overscroll-behavior: contain;
  contain: layout paint;
}
.demo-disclaimer {
  margin-top: 36px;
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  color: var(--ink-5);
  line-height: 1.65;
  max-width: 600px;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}

/* ============================ PRICING ============================ */
.pricing-shell { display: grid; gap: 28px; }

.dur-toggle {
  display: flex;
  justify-content: center;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  padding: 4px;
  width: fit-content;
  margin: 0 auto;
}
.dur-tab {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px 22px;
  border: none;
  border-radius: calc(var(--rad) - 2px);
  cursor: pointer;
  background: transparent;
  color: var(--ink-3);
  transition: background 180ms var(--easing), color 180ms var(--easing);
}
.dur-tab:hover { color: var(--ink); }
.dur-tab.active {
  background: var(--accent);
  color: #fff;
}
[data-accent="mono"] .dur-tab.active { background: var(--ink); color: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pcv2 {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  padding: 30px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 280ms var(--easing), transform 320ms var(--easing), box-shadow 320ms var(--easing);
  overflow: hidden;
  isolation: isolate;
}
.pcv2::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, -200px) var(--my, -200px), var(--accent-soft), transparent 55%);
  opacity: 0;
  transition: opacity 380ms var(--easing);
  pointer-events: none;
  z-index: 0;
}
.pcv2 > * { position: relative; z-index: 1; }
.pcv2:hover {
  border-color: var(--line-3);
  transform: translateY(-2px);
}
.pcv2:hover::before { opacity: 1; }
.pcv2.featured:hover {
  transform: translateY(-4px);
}
.pcv2.featured {
  border-color: rgba(91,158,255,0.4);
  background:
    linear-gradient(180deg, rgba(91,158,255,0.05), rgba(91,158,255,0) 30%),
    var(--bg-card);
  box-shadow:
    0 0 0 1px rgba(91,158,255,0.18),
    0 30px 60px rgba(0,0,0,0.4),
    0 0 80px rgba(91,158,255,0.08);
}
[data-accent="amber"] .pcv2.featured {
  border-color: rgba(224,164,88,0.4);
  background: linear-gradient(180deg, rgba(224,164,88,0.05), transparent 30%), var(--bg-card);
  box-shadow: 0 0 0 1px rgba(224,164,88,0.18), 0 30px 60px rgba(0,0,0,0.4), 0 0 80px rgba(224,164,88,0.08);
}
[data-accent="green"] .pcv2.featured {
  border-color: rgba(77,214,153,0.4);
  background: linear-gradient(180deg, rgba(77,214,153,0.05), transparent 30%), var(--bg-card);
  box-shadow: 0 0 0 1px rgba(77,214,153,0.18), 0 30px 60px rgba(0,0,0,0.4), 0 0 80px rgba(77,214,153,0.08);
}
[data-accent="mono"] .pcv2.featured {
  border-color: rgba(231,233,238,0.25);
  background: linear-gradient(180deg, rgba(231,233,238,0.04), transparent 30%), var(--bg-card);
  box-shadow: 0 0 0 1px rgba(231,233,238,0.12), 0 30px 60px rgba(0,0,0,0.4);
}

@media (min-width: 1081px) {
  .pcv2.featured {
    margin-top: -16px;
    margin-bottom: -16px;
    padding-top: 40px;
    padding-bottom: 34px;
    z-index: 2;
  }
}

.pcv2-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.pcv2-tier {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
}
.pcv2-tier[data-tier="pro"] { color: var(--accent); }
.pcv2-tier[data-tier="vip"] { color: var(--gold); }
.pcv2-badge {
  position: absolute;
  top: -1px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px 4px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 var(--rad) var(--rad);
  box-shadow: 0 4px 12px var(--accent-glow);
}
[data-accent="mono"] .pcv2-badge { background: var(--ink); color: var(--bg); }

.pcv2-tagline {
  margin: 0 0 22px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.5;
  min-height: 2.5em;
}

.pcv2-price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  transition: opacity 130ms ease, transform 130ms ease;
}
.pcv2-price-display.phase-out {
  opacity: 0;
  transform: translateY(8px);
}
.pcv2-price-display.phase-in {
  opacity: 0;
  transform: translateY(-8px);
  transition: none;
}
.pcv2-price-display.phase-idle {
  opacity: 1;
  transform: translateY(0);
}
.pcv2-price-big {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.pcv2-price-big .cur {
  color: var(--ink-3);
  font-size: 22px;
  margin-right: 3px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.pcv2-price-unit {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.pcv2-divider {
  height: 1px;
  background: var(--line-2);
  margin-bottom: 20px;
}

.pcv2-features { margin-bottom: 18px; }
.pcv2-section-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 18px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
}
.pcv2-section-label:first-child { margin-top: 0; }
.pcv2-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.pcv2-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.pcv2-list.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  width: auto; height: auto;
  color: var(--ok);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  background: transparent;
}
.pcv2-list.cons li { color: var(--ink-4); }
.pcv2-list.cons li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 8px; height: 1px;
  background: var(--ink-5);
}

.pcv2-addons-open { display: grid; gap: 8px; }
.pcv2-addon-disclaimer {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--ink-4);
  line-height: 1.5;
}
.pcv2-addon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card-2);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  cursor: pointer;
  transition: all 140ms var(--easing);
}
.pcv2-addon:hover { border-color: var(--accent); }
.pcv2-addon.added {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.pcv2-addon-meta { flex: 1; min-width: 0; }
.pcv2-addon-name {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.pcv2-addon-sub {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.pcv2-addon-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.pcv2-addon-action {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent-3);
  border-radius: 100px;
  white-space: nowrap;
}
.pcv2-addon.added .pcv2-addon-action {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}

.pcv2-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pcv2-total { display: flex; flex-direction: column; gap: 3px; }
.pcv2-total .lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pcv2-total .val {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  display: inline-block;
  transition: opacity 130ms ease, transform 130ms ease;
}
.pcv2-total .val.phase-out { opacity: 0; transform: translateY(8px); }
.pcv2-total .val.phase-in  { opacity: 0; transform: translateY(-8px); transition: none; }
.pcv2-total .val.phase-idle { opacity: 1; transform: translateY(0); }
.pcv2-total .val .cur { color: var(--ink-3); font-size: 14px; margin-right: 2px; font-weight: 400; }
.pcv2-cta { flex-shrink: 0; }

/* HWID reset row — refined */
.hwid-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
}
.hwid-row-left { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.hwid-row-name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink);
}
.hwid-row-sub { font-size: 13px; color: var(--ink-3); }
.hwid-row-right {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.hwid-row-price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hwid-row-price .cur { color: var(--ink-3); font-size: 14px; margin-right: 1px; font-weight: 400; }
.hwid-row-unit {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hwid-row-cta { flex-shrink: 0; }

/* Payment strip */
.pay-strip {
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pay-strip-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pay-strip-coins {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.coin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
}

/* ============================ FAQ ============================ */
.faq-grid {
  display: grid;
  gap: 0;
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--line-2);
  padding: 22px 4px 22px 0;
  cursor: pointer;
  transition: padding-left 240ms var(--easing);
}
.faq-item:first-child { border-top: 1px solid var(--line-2); }
.faq-item:hover { padding-left: 6px; }
.faq-item.open { padding-left: 6px; }
.faq-q {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 200ms var(--easing);
}
.faq-item:hover .faq-q { color: var(--ink); }
.faq-q .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.5px;
  transition: color 200ms var(--easing);
}
.faq-item.open .faq-q .num { color: var(--accent); }
.faq-q .icon {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 16px;
  transition: transform 280ms var(--easing);
  text-align: right;
  opacity: 0.7;
}
.faq-item:hover .faq-q .icon { opacity: 1; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); opacity: 1; }
.faq-a {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  transition: max-height 320ms var(--easing), margin-top 280ms var(--easing);
  padding-left: 50px;
  max-width: 70ch;
}
.faq-item.open .faq-a {
  margin-top: 14px;
  max-height: 360px;
}

/* ============================ FOOTER ============================ */
.footer {
  padding: 90px 0 50px;
  border-top: 1px solid var(--line-2);
  background: var(--bg-1);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}
.footer-brand { max-width: 36ch; }
.footer-brand .blurb {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.footer-col a {
  color: var(--ink-2);
  font-size: 13.5px;
}
.footer-col li.mono {
  color: var(--ink-3);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.3px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.8px;
}
.footer-bottom .dot {
  color: var(--ink-5);
  margin: 0 8px;
}

/* ============================ MOTION ============================ */
.reveal { opacity: 1; transform: none; }
.reveal.preanim {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 700ms var(--easing),
    transform 700ms var(--easing);
}
.reveal.preanim.in {
  opacity: 1;
  transform: translateY(0);
}
.cap-visual.preanim {
  transform: translateX(-32px);
}
.cap-visual.preanim.in {
  transform: translateX(0);
}
.flip .cap-visual.preanim {
  transform: translateX(32px);
}
.flip .cap-visual.preanim.in {
  transform: translateX(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
[data-parallax] {
  will-change: transform;
  transform: translate3d(0, var(--py, 0), 0);
}

/* ============================ CHECKOUT MODAL ============================ */
.ck-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 3, 4, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--easing);
}
.ck-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.ck-modal {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: calc(100vh - 64px);
  background: var(--bg-1);
  border: 1px solid var(--line-3);
  border-radius: var(--rad-xl);
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 0 4px rgba(91, 158, 255, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 280ms var(--easing);
}
.ck-overlay.open .ck-modal {
  transform: translateY(0) scale(1);
}

/* HEAD */
.ck-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-card);
}
.ck-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--ink);
}
.ck-brand .brand {
  font-size: 17px;
  line-height: 1;
}
.ck-brand .brand-b {
  font-size: 17px;
}
.ck-brand .brand-rest {
  font-size: 17px;
}

.ck-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: center;
}
.ck-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ink-4);
  transition: color 180ms var(--easing), border-color 180ms var(--easing);
}
.ck-step-pill-n {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-card-2);
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 700;
}
.ck-step-pill.active {
  color: var(--ink);
  border-color: var(--accent);
}
.ck-step-pill.active .ck-step-pill-n {
  background: var(--accent);
  color: #fff;
}
.ck-step-pill.done .ck-step-pill-n {
  background: var(--ok);
  color: #fff;
}
.ck-step-pill.done {
  color: var(--ink-3);
}

.ck-close {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  color: var(--ink-3);
  cursor: pointer;
  transition: all 140ms var(--easing);
}
.ck-close:hover {
  color: var(--ink);
  border-color: var(--line-3);
  background: var(--bg-card-2);
}

/* BODY */
.ck-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 540px;
  overflow: auto;
}

/* SUMMARY */
.ck-summary {  padding: 26px 26px 24px;
  background: var(--bg-card);
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ck-sum-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-4);
}
.ck-sum-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid var(--line-3);
  background: var(--bg-card-2);
  color: var(--ink);
}
.ck-sum-pill[data-tier="pro"] {
  color: var(--accent);
  border-color: rgba(91, 158, 255, 0.3);
  background: var(--accent-soft);
}
.ck-sum-pill[data-tier="vip"] {
  color: var(--gold);
  border-color: rgba(212, 175, 106, 0.3);
  background: rgba(212, 175, 106, 0.06);
}

.ck-sum-lines {
  list-style: none;
  margin: 6px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  display: grid;
  gap: 12px;
}
.ck-sum-lines li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.ck-sum-line-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ck-sum-line-label {
  font-size: 13px;
  color: var(--ink);
}
.ck-sum-line-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-4);
}
.ck-sum-line-amt {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.ck-sum-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 6px;
}
.ck-sum-total-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ck-sum-total-val {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.ck-sum-total-val .cur {
  color: var(--ink-3);
  font-size: 16px;
  margin-right: 2px;
  font-weight: 400;
}

.ck-sum-fine {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: grid;
  gap: 10px;
}
.ck-sum-fine p {
  margin: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-3);
}
.ck-fine-key {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ink-5);
}

/* MAIN */
.ck-main {
  padding: 36px 40px 32px;
  display: flex;
  flex-direction: column;
}
.ck-step-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 8px;
}
.ck-step-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0 0 28px;
  max-width: 52ch;
}
.ck-center { text-align: center; max-width: 44ch; margin-left: auto; margin-right: auto; }

/* FIELDS */
.ck-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.ck-field-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ck-input {
  height: 46px;
  padding: 0 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-3);
  border-radius: var(--rad);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: border-color 140ms var(--easing), background 140ms var(--easing);
}
.ck-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.ck-input.err {
  border-color: var(--bad);
  box-shadow: 0 0 0 3px rgba(211, 74, 74, 0.12);
}
.ck-input::placeholder { color: var(--ink-5); }
.ck-field-err {
  font-size: 12px;
  color: var(--bad);
}

.ck-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 28px;
}
.ck-check input { display: none; }
.ck-check-box {
  width: 18px; height: 18px;
  border: 1px solid var(--line-3);
  border-radius: 4px;
  background: var(--bg-card-2);
  display: grid;
  place-items: center;
  color: transparent;
  transition: all 140ms var(--easing);
}
.ck-check input:checked + .ck-check-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ck-check a { color: var(--accent); }

/* ACTIONS */
.ck-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}
.ck-center-actions {
  justify-content: center;
  margin-top: 24px;
}
.ck-btn-primary, .ck-btn-ghost {
  height: 46px;
  padding: 0 22px;
  border-radius: var(--rad);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 160ms var(--easing);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ck-btn-primary {
  background: var(--accent-2);
  border: 1px solid var(--accent-2);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.ck-btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-soft),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.ck-btn-ghost {
  background: transparent;
  border: 1px solid var(--line-3);
  color: var(--ink-2);
}
.ck-btn-ghost:hover {
  border-color: var(--line-3);
  color: var(--ink);
  background: var(--bg-card-2);
}
.ck-arr { transition: transform 140ms var(--easing); }
.ck-btn-primary:hover .ck-arr { transform: translateX(3px); }

/* CRYPTO TABS */
.ck-crypto-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.ck-crypto-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  color: var(--ink-3);
  cursor: pointer;
  transition: all 140ms var(--easing);
  font-family: var(--font-mono);
}
.ck-crypto-tab:hover {
  border-color: var(--line-3);
  color: var(--ink-2);
}
.ck-crypto-tab.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--accent), 0 0 20px var(--accent-glow);
}
.ck-crypto-glyph {
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  color: currentColor;
}
.ck-crypto-id {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
}
.ck-crypto-name {
  font-size: 9.5px;
  color: var(--ink-4);
  letter-spacing: 0.5px;
}
.ck-crypto-tab.active .ck-crypto-name { color: var(--ink-2); }

/* PAY CARD */
.ck-pay-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 24px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line-3);
  border-radius: var(--rad-md);
  margin-bottom: 0;
}
.ck-pay-left { min-width: 0; }
.ck-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
}
.ck-pay-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ck-pay-val {
  font-size: 14px;
  color: var(--ink);
}
.ck-pay-val.mono {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
}
.ck-pay-divider {
  height: 1px;
  background: var(--line-2);
  margin: 10px 0;
}
.ck-pay-addr-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.ck-pay-addr {
  display: flex;
  gap: 8px;
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  padding: 4px;
}
.ck-pay-addr code {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ck-pay-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: var(--bg-card-2);
  border: 1px solid var(--line-3);
  border-radius: calc(var(--rad) - 1px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 140ms var(--easing);
}
.ck-pay-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ck-pay-note {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--ink-3);
}
.ck-pay-note-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 8px var(--warn);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.ck-pay-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ck-qr {
  background: #fff;
  padding: 6px;
  border-radius: var(--rad);
}
.ck-pay-qr-cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* REDIRECT TO CRYPTCLOUD */
.ck-redir {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px 8px;
}
.ck-redir .ck-spinner {
  color: var(--accent);
  margin-bottom: 18px;
}
.ck-redir-meta {
  margin-top: 28px;
  width: 100%;
  max-width: 360px;
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  background: var(--bg-card-2);
  border: 1px solid var(--line-1);
  border-radius: var(--rad-md);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: left;
}
.ck-redir-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.ck-redir-meta .ck-fine-key {
  color: var(--ink-5);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 10px;
}
.ck-redir-meta .mono { color: var(--ink); }
.ck-center-actions {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* WAIT */
.ck-wait {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding-top: 12px;
}
.ck-spinner {
  color: var(--accent);
  margin-bottom: 20px;
}
.ck-mempool {
  margin-top: 28px;
  width: 100%;
  background: #050709;
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: grid;
  gap: 10px;
}
.ck-mempool-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
}
.ck-mempool-row .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-4);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.ck-mempool-row .dot.ok {
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}

/* DONE */
.ck-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding-top: 12px;
}
.ck-done-icon { margin-bottom: 18px; }
.ck-key-card {
  margin-top: 24px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line-3);
  border-radius: var(--rad-md);
  padding: 18px 20px;
  text-align: left;
}
.ck-key-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.ck-key-value {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--ink);
}
.ck-key-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* ============================ DECOMPILER CALLOUT ============================ */
.cap-callout {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--rad-md);
  position: relative;
  overflow: hidden;
}
.cap-callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.cap-callout-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cap-callout-label::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent);
}
.cap-callout p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.cap-callout-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cap-callout-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--bg-card-2);
  border: 1px solid var(--line-3);
  border-radius: 100px;
  color: var(--ink-3);
}

/* ============================ DEMO RIBBON ============================ */
.demo-ribbon {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 4px;
  flex-wrap: wrap;
}
.demo-ribbon-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-4);
}
.demo-ribbon-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.demo-ribbon-tab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 9px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-3);
}
.demo-ribbon-tab.active {
  color: var(--accent);
  border-color: rgba(91,158,255,0.3);
  background: var(--accent-soft);
}
.demo-ribbon-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  gap: 9px;
}
.demo-ribbon-meta .dot {
  width: 6px; height: 6px;
  background: var(--ok);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--ok);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* ============================ DECOMPILER MEDIA STACK ============================ */
.cap-stack {
  position: relative;
  height: 0;
  padding-bottom: 78%;
}
.cap-stack .cap-shot.main {
  position: absolute;
  top: 0; left: 0;
  width: 92%;
  z-index: 1;
}
.cap-stack .cap-shot.sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 58%;
  z-index: 2;
  box-shadow:
    0 24px 48px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05) inset;
}
.cap-stack .cap-shot.sub img { aspect-ratio: 4 / 3; }

/* ============================ PROCESS STRIP ============================ */
.process-strip {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  align-items: stretch;
  gap: 0;
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  background:
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-1) 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 18px;
  min-width: 0;
}
.process-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.process-step-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  color: var(--accent);
  font-weight: 500;
}
.process-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.process-step-desc {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.6;
}
.process-rule {
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
  position: relative;
  margin-top: 28px;
}
.process-rule::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--ink-4);
  border-right: 1px solid var(--ink-4);
  transform: rotate(45deg);
}

@media (max-width: 860px) {
  .process-strip {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .process-step { padding: 0; }
  .process-rule {
    height: 1px;
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  }
  .process-rule::after { display: none; }
}

/* ============================ FEATURE ITEMS (shared) ============================ */
.cap-list li,
.pcv2-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feat-t {
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.feat-d {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}
.cap-list.cons .feat-t,
.pcv2-list.cons .feat-t { color: var(--ink-3); font-weight: 450; }
.cap-list.cons .feat-d,
.pcv2-list.cons .feat-d { color: var(--ink-4); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-preview { transform: none; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-row { grid-template-columns: 1fr; gap: 40px; }
  .cap-row.flip > .cap-visual { order: 1; }
  .cap-row.flip > .cap-copy   { order: 2; }
  .cap-cols { grid-template-columns: 1fr; gap: 18px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links { display: none; }
  .s-head { grid-template-columns: 1fr; gap: 18px; }
  .spec-card { grid-template-columns: repeat(2, 1fr); }
  .sysbar { font-size: 9.5px; gap: 12px; }
  .sysbar-inner { gap: 12px; }
  .sysbar-item .k { display: none; }
}
@media (max-width: 720px) {
  section.s { padding: 80px 0; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { gap: 16px; }
  .trust-pill .sep { display: none; }
  .hwid-row { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
  .hwid-row-cta { width: 100%; justify-content: center; }
}

@media (max-width: 860px) {
  .ck-overlay { padding: 0; align-items: stretch; }
  .ck-modal { max-width: none; max-height: 100vh; border-radius: 0; border: none; }
  .ck-body { grid-template-columns: 1fr; min-height: 0; }
  .ck-summary { border-right: none; border-bottom: 1px solid var(--line-2); }
  .ck-main { padding: 24px 22px; }
  .ck-pay-card { grid-template-columns: 1fr; }
  .ck-pay-qr { order: -1; }
  .ck-crypto-tabs { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .ck-crypto-tab { padding: 10px 4px; }
  .ck-step-pill-l { display: none; }
}

/* ============================ LIVE DOT ============================ */
.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse-dot 1.8s ease-in-out infinite;
  vertical-align: 1px;
  margin-right: 4px;
}

/* ============================ FEATURE MATRIX ============================ */
.matrix {
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-1) 100%);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45);
}
.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr 1fr;
  align-items: stretch;
}
.matrix-head {
  border-bottom: 1px solid var(--line-2);
  background: rgba(255,255,255,0.018);
}
.matrix-h-feature {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.matrix-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}
.matrix-h-tier {
  position: relative;
  padding: 22px 18px 20px;
  border-left: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.matrix-h-tier .t-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.matrix-h-tier .t-price {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-4);
}
.matrix-h-tier.featured {
  background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%);
  border-left-color: rgba(91,158,255,0.22);
  box-shadow: inset 0 2px 0 var(--accent);
}
[data-accent="amber"] .matrix-h-tier.featured { border-left-color: rgba(224,164,88,0.22); }
[data-accent="green"] .matrix-h-tier.featured { border-left-color: rgba(77,214,153,0.22); }
.matrix-h-tier.featured + .matrix-h-tier { border-left-color: rgba(91,158,255,0.22); }
.matrix-h-tier.featured .t-name { color: var(--accent); }

.matrix-group {
  border-bottom: 1px solid var(--line-1);
}
.matrix-group:last-child { border-bottom: none; }
.matrix-group-label {
  padding: 14px 24px 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(255,255,255,0.015);
}
.matrix-row {
  border-top: 1px solid var(--line-1);
  transition: background 160ms var(--easing);
}
.matrix-row:hover { background: rgba(91,158,255,0.025); }
[data-accent="amber"] .matrix-row:hover { background: rgba(224,164,88,0.025); }
[data-accent="green"] .matrix-row:hover { background: rgba(77,214,153,0.025); }
.matrix-feature {
  padding: 14px 24px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 450;
  letter-spacing: -0.005em;
}
.matrix-cell {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
}
.matrix-cell.featured {
  background: linear-gradient(180deg, rgba(91,158,255,0.05), rgba(91,158,255,0.02));
}
[data-accent="amber"] .matrix-cell.featured { background: linear-gradient(180deg, rgba(224,164,88,0.05), rgba(224,164,88,0.02)); }
[data-accent="green"] .matrix-cell.featured { background: linear-gradient(180deg, rgba(77,214,153,0.05), rgba(77,214,153,0.02)); }
.mx-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(52,196,123,0.12);
  color: var(--ok);
}
.matrix-cell.featured .mx-yes {
  background: var(--accent-soft);
  color: var(--accent);
}
.mx-no {
  color: var(--ink-5);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}
.mx-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.6px;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .matrix-head,
  .matrix-row {
    grid-template-columns: minmax(0, 1.5fr) 1fr 1fr 1fr;
  }
  .matrix-feature { padding: 12px 14px; font-size: 13px; }
  .matrix-cell { padding: 12px 6px; }
  .matrix-h-feature { padding: 14px; gap: 4px; }
  .matrix-eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .matrix-title { font-size: 14px; }
  .matrix-h-tier { padding: 14px 6px; }
  .matrix-h-tier .t-name { font-size: 15px; }
  .matrix-h-tier .t-price { font-size: 9.5px; letter-spacing: 1.1px; }
}

/* ============================ FLEET PANEL (VIP visual) ============================ */
.cap-fleet {
  background:
    linear-gradient(180deg, #0a0d13 0%, #07090d 100%);
  border: 1px solid var(--line-3);
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  font-family: var(--font-mono);
  position: relative;
}
.cap-fleet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 3px,
      rgba(255,255,255,0.012) 3px,
      rgba(255,255,255,0.012) 4px
    );
}
.cap-fleet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line-2);
  background: rgba(255,255,255,0.015);
}
.cap-fleet-bar-l { display: flex; flex-direction: column; gap: 3px; }
.cap-fleet-title {
  font-size: 10.5px;
  letter-spacing: 2px;
  color: var(--ink);
  font-weight: 600;
}
.cap-fleet-sub {
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.4px;
}
.cap-fleet-bar-r { display: flex; gap: 18px; }
.cap-fleet-stat { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.cap-fleet-stat .k {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--ink-5);
}
.cap-fleet-stat .v {
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.4px;
}
.cap-fleet-stat .v.ok { color: var(--ok); }
.cap-fleet-head,
.cap-fleet-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.1fr 0.8fr 0.8fr;
  gap: 12px;
  padding: 9px 18px;
  font-size: 11.5px;
  letter-spacing: 0.3px;
  align-items: center;
}
.cap-fleet-head {
  font-size: 9.5px;
  letter-spacing: 1.6px;
  color: var(--ink-5);
  padding-top: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-1);
}
.cap-fleet-row {
  border-top: 1px solid var(--line-1);
  color: var(--ink-2);
  transition: background 180ms var(--easing);
}
.cap-fleet-row:first-of-type { border-top: none; }
.cap-fleet-row:hover { background: rgba(91,158,255,0.04); }
.cap-fleet-row .node {
  color: var(--ink);
  font-weight: 500;
}
.cap-fleet-row .ip,
.cap-fleet-row .region { color: var(--ink-3); }
.cap-fleet-row .ping {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cap-fleet-row .ping .unit { color: var(--ink-5); margin-left: 2px; }
.cap-fleet-row .state {
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cap-fleet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--line-2);
  background: rgba(255,255,255,0.015);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.4px;
}
.cap-fleet-foot .ok { color: var(--ok); }

@media (max-width: 720px) {
  .cap-fleet-head,
  .cap-fleet-row {
    grid-template-columns: 1fr 1.1fr 0.8fr;
    gap: 8px;
    padding: 9px 14px;
  }
  .cap-fleet-row .region,
  .cap-fleet-head > span:nth-child(3) { display: none; }
  .cap-fleet-row .ip,
  .cap-fleet-head > span:nth-child(2) { display: none; }
}

/* ============================ HERO META STRIP ============================ */
.hero-meta {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}
.hero-meta-row {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, auto);
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  background: rgba(10, 13, 19, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
}
.hero-meta-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 24px;
  border-right: 1px solid var(--line-1);
  font-family: var(--font-mono);
}
.hero-meta-cell:last-child { border-right: none; }
.hero-meta-cell .k {
  font-size: 9.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-5);
}
.hero-meta-cell .v {
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.hero-meta-cell .v.ok {
  color: var(--ok);
  display: inline-flex;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-meta { margin-top: 44px; }
  .hero-meta-row {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
  }
  .hero-meta-cell {
    border-right: 1px solid var(--line-1);
    border-bottom: 1px solid var(--line-1);
    padding: 12px 16px;
  }
  .hero-meta-cell:nth-child(2n) { border-right: none; }
  .hero-meta-cell:nth-last-child(-n+2) { border-bottom: none; }
}

/* ============================ MATRIX FOOTER (CTA row) ============================ */
.matrix-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line-2);
  background: rgba(255,255,255,0.015);
}
.matrix-foot-label {
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.matrix-foot-cta {
  padding: 14px 14px;
  display: flex;
  justify-content: center;
  border-left: 1px solid var(--line-1);
}
.matrix-foot-cta.featured {
  background: linear-gradient(180deg, rgba(91,158,255,0.05), rgba(91,158,255,0.02));
}
[data-accent="amber"] .matrix-foot-cta.featured { background: linear-gradient(180deg, rgba(224,164,88,0.05), rgba(224,164,88,0.02)); }
[data-accent="green"] .matrix-foot-cta.featured { background: linear-gradient(180deg, rgba(77,214,153,0.05), rgba(77,214,153,0.02)); }
.matrix-foot-cta .btn { width: 100%; max-width: 180px; justify-content: center; }

@media (max-width: 860px) {
  .matrix-foot { grid-template-columns: minmax(0, 1.5fr) 1fr 1fr 1fr; }
  .matrix-foot-label { padding: 14px; font-size: 9.5px; }
  .matrix-foot-cta { padding: 10px 6px; }
  .matrix-foot-cta .btn { padding: 0 10px; font-size: 11.5px; max-width: none; }
}

/* ============================ TYPED HERO TITLE ============================ */
.hero h1.typed {
  white-space: pre-wrap;
  min-height: 1.88em;
}
.hero h1.typed .t-line {
  display: block;
}
.hero h1 .caret {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background: var(--accent);
  vertical-align: -0.05em;
  margin-left: 0.08em;
  border-radius: 1px;
  box-shadow: 0 0 10px var(--accent-glow);
  animation: caret-blink 1.05s ease-in-out infinite;
}
.hero h1 .caret.done {
  animation: caret-blink-slow 1.4s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes caret-blink {
  0%, 45%   { opacity: 1; }
  55%, 95%  { opacity: 0; }
  100%      { opacity: 1; }
}
@keyframes caret-blink-slow {
  0%, 50%  { opacity: 0.7; }
  60%, 95% { opacity: 0; }
  100%     { opacity: 0.7; }
}

/* ============================ PRICING TIER RAIL ============================ */
.pcv2::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--line-2);
  z-index: 0;
  pointer-events: none;
}
.pcv2.basic::after { background: linear-gradient(90deg, transparent, var(--ink-3) 40%, var(--ink-3) 60%, transparent); opacity: 0.45; }
.pcv2.pro::after   { background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent); opacity: 0.85; }
.pcv2.vip::after   { background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: 0.85; }

/* ============================ KEY STATUS CHECKER ============================ */
.keychk {
  max-width: 760px;
  margin: 0 auto;
}
.keychk-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.keychk-input {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--line-3);
  border-radius: var(--rad-md);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0 16px;
  height: 48px;
  outline: none;
  transition: border-color 0.18s var(--easing), box-shadow 0.18s var(--easing);
}
.keychk-input::placeholder { color: var(--ink-4); font-family: var(--font-body); letter-spacing: 0; }
.keychk-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.keychk-input.ok:not(:focus) { border-color: var(--accent-3); }
.keychk-input.err { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(211,74,74,0.12); }
.keychk-btn {
  flex: 0 0 auto;
  height: 48px;
  white-space: nowrap;
}
.keychk-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.keychk-hint {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.5;
}
.keychk-err {
  margin-top: 12px;
  color: var(--bad);
  font-size: 0.86rem;
  padding: 10px 14px;
  border: 1px solid rgba(211,74,74,0.30);
  border-radius: var(--rad-md);
  background: rgba(211,74,74,0.06);
}
.keychk-result {
  margin-top: 18px;
  border: 1px solid var(--line-2);
  border-left-width: 3px;
  border-radius: var(--rad-md);
  background: var(--bg-card);
  padding: 18px 20px;
}
.keychk-result.ok   { border-left-color: var(--ok); }
.keychk-result.info { border-left-color: var(--accent); }
.keychk-result.warn { border-left-color: var(--warn); }
.keychk-result.bad  { border-left-color: var(--bad); }
.keychk-result-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.keychk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.keychk-result.ok   .keychk-badge .live-dot { background: var(--ok);   box-shadow: 0 0 0 3px rgba(52,196,123,0.18); }
.keychk-result.info .keychk-badge .live-dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.keychk-result.warn .keychk-badge .live-dot { background: var(--warn); box-shadow: 0 0 0 3px rgba(232,178,89,0.18); }
.keychk-result.bad  .keychk-badge .live-dot { background: var(--bad);  box-shadow: 0 0 0 3px rgba(211,74,74,0.18); animation: none; }
.keychk-tier {
  margin-left: auto;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  border: 1px solid var(--line-3);
  border-radius: 999px;
  padding: 4px 12px;
}
.keychk-result-blurb {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.55;
}
.keychk-result-rows {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-1);
}
.keychk-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 0.88rem;
}
.keychk-result-row .k { color: var(--ink-3); }
.keychk-result-row .v { color: var(--ink); }
@media (max-width: 560px) {
  .keychk-form { flex-direction: column; }
  .keychk-btn { width: 100%; }
}

/* hCaptcha invisible host — must not affect layout. Only the modal
   challenge (managed by hCaptcha itself) appears when needed. */
.keychk-captcha-host { width: 0; height: 0; overflow: hidden; }
