:root {
  --ink: #12121a;
  --ink-soft: #4a4a58;
  --paper: #ffffff;
  --paper-soft: #f6f6f9;
  --line: #e7e7ee;
  --accent: #6355ff;
  --accent-2: #4dd6c7;
  --accent-ink: #ffffff;
  --dark: #0b0b12;
  --dark-soft: #16161f;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(18, 18, 26, 0.25);
  --maxw: 1160px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
button, input, textarea { font-family: inherit; }
a, button { touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); box-shadow: 0 10px 25px -10px rgba(99, 85, 255, 0.6); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-mobile { display: none; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 0%, #1a1730 0%, var(--dark) 55%);
  color: #fff;
  padding: 88px 0 70px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
  color: #cfcaff;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: #b9b6cc;
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.22); color: #fff; }
.hero-actions .btn-outline:hover { border-color: #fff; }
.hero-actions .btn-primary { background: #fff; color: var(--ink); }
.hero-actions .btn-primary:hover { background: var(--accent-2); color: #08201d; }
.hero-trust { display: flex; gap: 10px; align-items: center; color: #8b87a3; font-size: 0.86rem; flex-wrap: wrap; }
.hero-trust .dot { opacity: 0.5; }

/* ---------- hero visual ---------- */
.hero-visual { position: relative; height: 100%; min-height: 360px; }
.card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-main {
  padding: 24px;
  width: 100%;
  max-width: min(380px, 100%);
}
.card-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.card-label { color: var(--ink-soft); font-size: 0.85rem; font-weight: 500; }
.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
  background: #e9f9ee;
  padding: 3px 9px;
  border-radius: 999px;
}
.card-amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; font-family: 'IBM Plex Mono', monospace; }
.card-mini-row { display: flex; gap: 18px; margin-bottom: 18px; }
.mini { display: flex; flex-direction: column; gap: 3px; }
.mini-label { font-size: 0.72rem; color: var(--ink-soft); }
.mini-value { font-weight: 700; font-size: 0.92rem; font-family: 'IBM Plex Mono', monospace; }
.mini-value.up { color: #16a34a; }
.card-chart { height: 60px; }
.card-chart svg { width: 100%; height: 100%; }

.card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  width: 230px;
}
.card-float-1 { top: 10px; right: -6px; }
.card-float-2 { bottom: 6px; left: -14px; }
.float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9f9ee;
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
}
.float-icon-alt { background: #eee9ff; color: var(--accent); font-size: 0.68rem; font-family: 'IBM Plex Mono', monospace; }
.float-title { font-weight: 700; font-size: 0.85rem; }
.float-sub { font-size: 0.76rem; color: var(--ink-soft); font-family: 'IBM Plex Mono', monospace; }

/* ---------- logos ---------- */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos-label { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 22px; }
.logos-row {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 1.05rem;
  color: #c7c5d4;
  letter-spacing: -0.01em;
}

/* ---------- generic section ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- how it works (scroll-scrubbed flow diagram) ---------- */
.how { background: var(--paper-soft); padding-bottom: 0; }
.how-scroll { position: relative; }
.how-pin { display: flex; align-items: center; min-height: 100vh; padding: 20px 0 96px; }
.how-pin-inner { width: 100%; }
.how-diagram { margin-bottom: 24px; }
.how-diagram svg { width: 100%; height: auto; overflow: visible; }
.flow-node {
  fill: var(--paper);
  stroke: var(--line);
  stroke-width: 2.5px;
  transition: fill 0.35s ease, stroke 0.35s ease;
}
.flow-node.active { fill: var(--accent); stroke: var(--accent); }
.flow-packet {
  fill: var(--accent-2);
  filter: drop-shadow(0 0 8px rgba(77, 214, 199, 0.85));
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step { padding: 8px; opacity: 0.35; transition: opacity 0.4s ease; }
.step.active { opacity: 1; }
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- security ---------- */
.security-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.security h2 { margin-bottom: 22px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.security-list { display: flex; flex-direction: column; gap: 16px; }
.security-list li { color: var(--ink-soft); font-size: 1rem; padding-left: 26px; position: relative; }
.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.security-list strong { color: var(--ink); }
.security-visual { display: flex; justify-content: center; }
.shield { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.shield-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
  filter: blur(0.5px);
  animation: spin 12s linear infinite;
}
.shield-ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--paper);
}
.shield-core {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- stats ---------- */
.stats { background: var(--dark); color: #fff; padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}
.stat-num { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; font-family: 'IBM Plex Mono', monospace; background: linear-gradient(135deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: #a9a6bd; font-size: 0.9rem; margin-top: 6px; }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.price-card h3 { font-size: 1.05rem; }
.price { font-size: 2rem; font-weight: 800; }
.price span { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.price-sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 4px; }
.price-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; flex: 1; }
.price-card li { color: var(--ink-soft); font-size: 0.92rem; padding-left: 22px; position: relative; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-card .btn { align-self: flex-start; }
.price-card-featured { border-color: var(--ink); box-shadow: var(--shadow); }
.price-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- faq ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.2rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink-soft); margin-top: 12px; font-size: 0.95rem; }

/* ---------- cta ---------- */
.cta { background: linear-gradient(135deg, #171331, #201a3d); color: #fff; padding: 90px 0; }
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.cta p { color: #b9b6cc; margin-bottom: 30px; }
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input,
.cta-form textarea {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  width: 100%;
}
.cta-form textarea { min-height: 100px; resize: vertical; border-radius: 16px; }
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: #8b87a3; }
.cta-form .btn-primary { background: #fff; color: var(--ink); align-self: center; margin-top: 4px; }
.cta-form .btn-primary:hover { background: var(--accent-2); color: #08201d; }
.cta-form .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-status { min-height: 22px; margin-top: 14px; font-size: 0.9rem; font-weight: 600; }
.form-status.ok { color: var(--accent-2); }
.form-status.error { color: #ff8a8a; }
.direct-contact {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #b9b6cc;
  font-size: 0.92rem;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.direct-contact a { color: #fff; font-weight: 600; }
.direct-contact a:hover { color: var(--accent-2); }
.direct-contact .dot { opacity: 0.5; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #a9a6bd; padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand { max-width: 280px; }
.footer-brand .brand-name { color: #fff; margin-left: 8px; font-weight: 800; }
.footer-brand p { margin-top: 14px; font-size: 0.9rem; }
.footer-cols { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 4px; }
.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  font-size: 0.82rem;
}

/* ---------- motion fx ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200;
  transform-origin: left;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 199;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 8px; height: 8px; background: var(--accent); }
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(99, 85, 255, 0.5);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cursor-ring.is-active {
  width: 56px;
  height: 56px;
  background: rgba(99, 85, 255, 0.08);
  border-color: var(--accent);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* hero background fx */
.hero { position: relative; }
.hero-orbs { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.orb-1 { width: 380px; height: 380px; background: radial-gradient(circle, var(--accent), transparent 70%); top: -120px; left: -60px; animation: orbFloat1 16s ease-in-out infinite; }
.orb-2 { width: 320px; height: 320px; background: radial-gradient(circle, var(--accent-2), transparent 70%); bottom: -140px; right: 0; animation: orbFloat2 20s ease-in-out infinite; }
.orb-3 { width: 240px; height: 240px; background: radial-gradient(circle, #ff6bd6, transparent 70%); top: 30%; right: 20%; opacity: 0.28; animation: orbFloat3 14s ease-in-out infinite; }
@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.15); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, -30px) scale(1.1); } }
@keyframes orbFloat3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 50px); } }

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 20% 20%, black, transparent 70%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-inner, .hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero h1 .line { display: block; overflow: hidden; }

/* hero entrance elements start hidden until JS reveals them (progressive: fully visible with no-js) */
.js .hero [data-hero-el],
.js .hero h1 .line { opacity: 0; transform: translateY(100%); }

/* card tilt */
#tiltCard { transform-style: preserve-3d; will-change: transform; transition: box-shadow 0.3s ease; }
#tiltCard:hover { box-shadow: 0 30px 70px -20px rgba(99, 85, 255, 0.45); }
.card-float { will-change: transform; }

/* magnetic buttons */
.btn-magnetic { will-change: transform; }

/* button ripple */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  pointer-events: none;
  animation: rippleOut 0.6s ease-out forwards;
}
.btn-outline .btn-ripple, .btn-ghost .btn-ripple { background: rgba(99, 85, 255, 0.25); }
@keyframes rippleOut { to { transform: scale(1); opacity: 0; } }

/* scroll reveals (initial state; JS/GSAP animates in, no-js fallback stays visible) */
.js [data-reveal],
.js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(36px);
}

/* shield glow */
.shield-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 85, 255, 0.35), transparent 70%);
  filter: blur(20px);
  animation: shieldPulse 3.5s ease-in-out infinite;
}
@keyframes shieldPulse { 0%, 100% { transform: scale(0.92); opacity: 0.7; } 50% { transform: scale(1.08); opacity: 1; } }
.shield-core { animation: shieldBob 3.5s ease-in-out infinite; }
@keyframes shieldBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* feature icon hover flair */
.feature-icon { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.12); }

/* pricing featured card glow */
.price-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.price-card:hover { transform: translateY(-6px); }
.price-card-featured:hover { box-shadow: 0 30px 60px -18px rgba(99, 85, 255, 0.5); }

/* faq (custom accordion, replaces native details for smooth height animation) */
.faq-item { cursor: pointer; }
.faq-summary {
  all: unset;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 44px;
}
.faq-summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-summary::after { transform: rotate(135deg); }
.faq-body { height: 0; overflow: hidden; }
.faq-body p { color: var(--ink-soft); padding-top: 12px; font-size: 0.95rem; }

/* nav scrolled state */
.nav { transition: box-shadow 0.3s ease, background 0.3s ease; }
.nav.scrolled { box-shadow: 0 8px 30px -15px rgba(18, 18, 26, 0.25); }

@media (prefers-reduced-motion: reduce) {
  .orb, .shield-ring, .shield-glow, .shield-core { animation: none !important; }
  .cursor-dot, .cursor-ring, .hero-canvas { display: none; }
  .js [data-reveal], .js [data-reveal-stagger] > *, .js .hero [data-hero-el], .js .hero h1 .line {
    opacity: 1 !important;
    transform: none !important;
  }
  .step { opacity: 1 !important; }
  .how-pin { min-height: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; margin-top: 20px; }
  .security-inner { grid-template-columns: 1fr; }
  .security-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* the scroll-pin is skipped below 820px (see script.js), so this section
     is just a normal flow block here - forcing full-viewport height would
     leave a large empty gap under short content */
  .how-scroll { height: auto !important; }
  .how-pin { min-height: 0; padding: 0 0 60px; }
  .how-diagram svg { max-height: 200px; }
  .orb-1, .orb-2 { width: 220px; height: 220px; filter: blur(40px); }
  .orb-3 { width: 160px; height: 160px; filter: blur(40px); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 28px 20px;
    border-top: 1px solid var(--line);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { padding: 10px 0; font-weight: 500; color: var(--ink-soft); }
  .nav-mobile .btn { margin-top: 8px; }
  .feature-grid { grid-template-columns: 1fr; }
  .card-float { display: none; }
  .footer-inner { flex-direction: column; }
}
