/* ============================================================
   LAUNCHUP — premium launch-experience web studio
   Visual system: cinematic dark canvas, electric-blue signal,
   one centerpiece object, monospace technical chrome.
   ============================================================ */

:root {
  /* CANVAS */
  --bg:           #0a0d14;
  --bg-deep:      #060810;
  --charcoal:     #111827;
  --surface:      #141a26;
  --surface-2:    #1a2030;

  /* SIGNAL */
  --blue:         #0057FF;
  --blue-hi:      #3d80ff;
  --blue-glow:    rgba(0, 87, 255, 0.45);
  --blue-soft:    rgba(0, 87, 255, 0.12);

  /* TEXT */
  --fg:           #F3F4F6;
  --fg-dim:       rgba(243, 244, 246, 0.62);
  --fg-faint:     rgba(243, 244, 246, 0.36);
  --fg-whisper:   rgba(243, 244, 246, 0.18);

  /* LINES */
  --line:         rgba(243, 244, 246, 0.10);
  --line-strong:  rgba(243, 244, 246, 0.22);

  /* TYPE */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* RADIUS */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* MOTION */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring:  cubic-bezier(0.34, 1.32, 0.64, 1);

  /* GRID */
  --gutter:       clamp(24px, 4vw, 56px);
  --max:          1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: clip;
}

::selection { background: var(--blue); color: var(--fg); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ============================================================
   GLOBAL GRID OVERLAY — barely-there technical lines
   ============================================================ */
.grid-bg {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 35%, transparent 90%);
}
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg-deep);
  z-index: 1000;
  display: grid; place-items: center;
  transition: opacity 600ms var(--ease), visibility 600ms;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader .pre-stage {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 0;
}

.preloader .pre-orbit {
  position: absolute;
  top: -28px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  border-top-color: var(--blue-hi);
  animation: preSpin 1.3s linear infinite;
}
@keyframes preSpin { to { transform: translateX(-50%) rotate(360deg); } }

.preloader .pre-logo {
  width: 144px; height: 144px;
  display: block;
  opacity: 0;
  animation: preIn 700ms var(--ease) 100ms forwards;
}

.preloader .pre-wordmark {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-top: 18px;
  opacity: 0;
  animation: preIn 700ms var(--ease) 300ms forwards;
}

.preloader .pre-bar {
  width: 220px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-top: 28px;
  overflow: hidden;
  opacity: 0;
  animation: preIn 600ms var(--ease) 500ms forwards;
}
.preloader .pre-fill {
  width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-hi));
  box-shadow: 0 0 12px var(--blue-glow);
  animation: preFill 1200ms var(--ease) 500ms forwards;
}
@keyframes preFill { to { width: 100%; } }

.preloader .pre-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-top: 18px;
  opacity: 0;
  animation: preIn 600ms var(--ease) 700ms forwards;
}

@keyframes preIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   NAV — minimal, fixed at top, with mono chrome
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 22px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav .logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav .logo img {
  width: 32px; height: 32px;
  display: block;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.7; }
}
.nav .links {
  display: flex; gap: 36px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-dim);
}
.nav .links a { transition: color 220ms var(--ease); }
.nav .links a:hover { color: var(--fg); }
.nav .cta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 18px;
  transition: all 240ms var(--ease);
}
.nav .cta:hover {
  border-color: var(--blue);
  color: var(--fg);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.nav .lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 10px;
  width: 44px; height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  cursor: pointer;
  transition: all 240ms var(--ease);
  pointer-events: auto;
}
.nav .lang-toggle:hover {
  color: var(--fg);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

/* ============================================================
   TECHNICAL CORNER LABELS (igloo-inspired mono chrome)
   ============================================================ */
.corner {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-faint);
  line-height: 1.7;
  z-index: 50;
}
.corner .accent { color: var(--blue-hi); }
.corner b { font-weight: 500; color: var(--fg-dim); display: inline-block; }
.corner .row { display: flex; gap: 12px; align-items: baseline; }
.corner .slashes { color: var(--blue); letter-spacing: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 240ms var(--ease), background 240ms, box-shadow 240ms;
  position: relative;
  white-space: nowrap;
}
.btn .arrow {
  width: 18px; height: 18px;
  transition: transform 240ms var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue); color: var(--fg);
  box-shadow: 0 8px 32px -8px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--blue-hi);
  box-shadow: 0 12px 48px -8px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--fg-dim);
  background: rgba(255,255,255,0.03);
}

/* ============================================================
   COMMON: EYEBROW / SECTION HEAD
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 12px var(--blue-glow);
}
.eyebrow .index { color: var(--blue-hi); }

.section {
  position: relative;
  padding: 140px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 2;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }

.display-1 {
  font-size: clamp(48px, 9vw, 140px);
  font-weight: 500; letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}
.display-2 {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500; letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
.display-3 {
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.05;
}

.lead {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 400;
  max-width: 580px;
  text-wrap: pretty;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  text-align: center;
}

.hero .corner-tl { position: absolute; top: 100px; left: var(--gutter); max-width: 220px; text-align: left; }
.hero .corner-tr { position: absolute; top: 100px; right: var(--gutter); max-width: 220px; text-align: right; }
.hero .corner-bl { position: absolute; bottom: 28px; left: var(--gutter); max-width: 220px; text-align: left; }
.hero .corner-br { position: absolute; bottom: 28px; right: var(--gutter); max-width: 220px; text-align: right; }

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 20px auto 0;
}
.hero-copy .eyebrow {
  margin-bottom: 32px;
  opacity: 0; animation: rise 1s var(--ease) 1.8s forwards;
}
.hero-copy h1 {
  margin-bottom: 0;
  opacity: 0; animation: rise 1.2s var(--ease) 2s forwards;
  font-size: clamp(44px, 7.4vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero-copy .lead {
  margin: 28px auto 0;
  opacity: 0; animation: rise 1s var(--ease) 2.3s forwards;
}
.hero-copy .ctas {
  display: inline-flex; gap: 14px;
  margin-top: 36px;
  opacity: 0; animation: rise 1s var(--ease) 2.5s forwards;
  position: relative;
  z-index: 6;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO CENTERPIECE — floating tilted browser w/ orbits
   Anchored in the LOWER half of the viewport, with orbits
   extending up to frame the headline.
   ============================================================ */
.centerpiece {
  position: relative;
  width: min(820px, 95vw);
  height: 460px;
  margin: 40px auto 0;
  perspective: 1600px;
  display: grid; place-items: center;
  z-index: 1;
}

.orbit {
  position: absolute;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  pointer-events: none;
  animation: spinOrbit 40s linear infinite;
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute; top: 50%; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue-glow);
  transform: translate(-50%, -50%);
}
.orbit::after { left: 100%; background: var(--fg); box-shadow: 0 0 8px var(--fg-dim); opacity: 0.5; }
/* big orbit extends way up to wrap the headline */
.orbit-1 { width: 1180px; height: 1180px; opacity: 0.25; top: -40%; }
.orbit-2 { width: 820px; height: 820px; opacity: 0.4; animation-duration: 28s; animation-direction: reverse; top: -10%; }
.orbit-3 { width: 540px; height: 540px; opacity: 0.55; animation-duration: 55s; }
@keyframes spinOrbit { to { transform: rotate(360deg); } }

.glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 1;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

.browser {
  position: relative;
  width: 100%; max-width: 560px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow:
    0 50px 120px -20px rgba(0,0,0,0.6),
    0 30px 60px -20px var(--blue-soft),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: rotateX(18deg) rotateY(-8deg) rotateZ(2deg);
  transform-style: preserve-3d;
  z-index: 2;
  animation: float 7s ease-in-out infinite;
  overflow: hidden;
}
@keyframes float {
  0%, 100% { transform: rotateX(18deg) rotateY(-8deg) rotateZ(2deg) translateY(0); }
  50%      { transform: rotateX(18deg) rotateY(-8deg) rotateZ(2deg) translateY(-14px); }
}

.browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.browser-bar .dots span:nth-child(3) { background: var(--blue); box-shadow: 0 0 8px var(--blue-glow); }
.browser-bar .url {
  flex: 1;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-faint);
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  padding: 6px 14px;
  display: flex; align-items: center; gap: 8px;
}
.browser-bar .url::before {
  content: "▲"; color: var(--blue); font-size: 8px;
}

.browser-body {
  padding: 22px 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  min-height: 240px;
}
.browser-body .lead-card {
  grid-column: 1 / 3;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.browser-body .lead-card .num {
  font-family: var(--font-display); font-weight: 500;
  font-size: 56px; line-height: 1; letter-spacing: -0.03em;
  color: var(--fg);
}
.browser-body .lead-card .num .pct {
  font-size: 24px; color: var(--blue-hi); margin-left: 4px;
}
.browser-body .lead-card .label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-faint); letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 6px;
}
.browser-body .spark {
  width: 140px; height: 50px; opacity: 0.9;
}
.browser-body .tile {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.browser-body .tile .tile-label {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--fg-faint); letter-spacing: 0.16em; text-transform: uppercase;
}
.browser-body .tile .tile-value {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 500; letter-spacing: -0.02em;
}
.browser-body .tile .bar {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.browser-body .tile .bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-hi));
  width: var(--w, 70%);
  border-radius: 2px;
}

/* launch trail beneath the browser */
.trail {
  position: absolute;
  left: 50%; top: 95%;
  width: 2px; height: 320px;
  background: linear-gradient(to bottom, var(--blue) 0%, transparent 100%);
  transform: translateX(-50%);
  filter: blur(0.5px);
  opacity: 0.5;
  z-index: 0;
}
.trail::before {
  content: ""; position: absolute;
  left: -8px; top: -3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-hi), transparent 60%);
  filter: blur(2px);
}

/* hero scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-faint);
}
.scroll-cue .bar {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--blue-hi), transparent);
  animation: cueLine 2.2s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes cueLine {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ============================================================
   SCROLL STORY — sticky 5-scene narrative
   ============================================================ */
.story {
  position: relative;
  background: var(--bg-deep);
  z-index: 2;
}
.story-head {
  padding: 140px var(--gutter) 60px;
  max-width: var(--max);
  margin: 0 auto;
  text-align: left;
}
.story-head .eyebrow { margin-bottom: 28px; }
.story-head h2 {
  max-width: 1000px;
}
.story-track {
  position: relative;
  /* 5 scenes × ~80vh each + entry pad */
  height: 460vh;
}
.story-sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--gutter);
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
}
.story-text {
  position: relative;
  display: grid; place-items: start;
}
.story-text .scene {
  grid-row: 1; grid-column: 1;
  max-width: 460px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.story-text .scene.active { opacity: 1; transform: translateY(0); }
.story-text .scene .num {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.2em;
  color: var(--blue-hi);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.story-text .scene .num::after {
  content: ""; flex: 1; height: 1px; background: var(--line-strong); max-width: 80px;
}
.story-text .scene h3 {
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.02;
  margin-bottom: 20px;
}
.story-text .scene p {
  color: var(--fg-dim);
  font-size: 16px; line-height: 1.55;
}

.story-visual {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
}
.story-visual .scene-vis {
  grid-row: 1;
  grid-column: 1;
  width: min(560px, 92%);
  height: 420px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5), 0 20px 60px -20px var(--blue-soft);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.story-visual .scene-vis.active {
  opacity: 1; transform: translateY(0) scale(1);
}
.story-visual .scene-vis .bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.story-visual .scene-vis .bar .d {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.12);
}
/* scene-specific bodies */
.vis-body { padding: 22px; display: grid; gap: 12px; }
.vis-wire { grid-template-columns: 1fr; gap: 14px; }
.vis-wire .w-line { height: 12px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.vis-wire .w-line.w-short { width: 40%; }
.vis-wire .w-line.w-med   { width: 70%; }
.vis-wire .w-block { height: 90px; border-radius: var(--r); background: rgba(255,255,255,0.05); border: 1px dashed var(--line-strong); }
.vis-wire .w-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.vis-wire .w-row .w-cell { height: 50px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px dashed var(--line); }

.vis-layout { grid-template-columns: 1fr 1fr; gap: 12px; }
.vis-layout .l-hero { grid-column: 1 / 3; height: 110px; border-radius: var(--r); background: linear-gradient(135deg, rgba(0,87,255,0.18), rgba(255,255,255,0.04)); border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 14px; }
.vis-layout .l-hero::after { content: ""; width: 60%; height: 10px; border-radius: 3px; background: rgba(255,255,255,0.4); }
.vis-layout .l-card { height: 70px; border-radius: var(--r); background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
.vis-layout .l-card.accent { background: rgba(0,87,255,0.1); border-color: rgba(0,87,255,0.3); }

.vis-site .s-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.vis-site .s-nav .s-logo { width: 50px; height: 8px; border-radius: 3px; background: var(--fg); }
.vis-site .s-nav .s-links { display: flex; gap: 12px; }
.vis-site .s-nav .s-links span { width: 30px; height: 6px; border-radius: 3px; background: var(--fg-dim); }
.vis-site .s-hero { padding: 24px 22px; }
.vis-site .s-hero .s-h { height: 22px; width: 80%; border-radius: 4px; background: var(--fg); margin-bottom: 8px; }
.vis-site .s-hero .s-h.shorter { width: 50%; }
.vis-site .s-hero .s-p { height: 6px; width: 70%; border-radius: 3px; background: var(--fg-dim); margin-top: 4px; }
.vis-site .s-hero .s-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--blue); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
}
.vis-site .s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 22px 22px; }
.vis-site .s-grid .s-cell { height: 50px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); }

/* code-editor scene (Development) */
.vis-code {
  display: block;
  padding: 16px 18px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--fg-dim);
  position: relative;
}
.vis-code .code-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 0 2px;
  white-space: pre;
  transition: background 200ms;
}
.vis-code .code-row:hover { background: rgba(255,255,255,0.025); }
.vis-code .ln {
  color: var(--fg-whisper);
  font-size: 10px;
  width: 22px;
  text-align: right;
  flex-shrink: 0;
  user-select: none;
}
.vis-code .ck   { color: var(--fg); font-size: 12.5px; }
.vis-code .k    { color: var(--blue-hi); font-weight: 500; }
.vis-code .fn   { color: #f0c674; }
.vis-code .tag  { color: #ff8a7a; }
.vis-code .attr { color: #b294ff; }
.vis-code .s    { color: #5dffaa; }
.vis-code .cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--blue-hi);
  vertical-align: -2px;
  margin-left: 2px;
  animation: codeBlink 1.1s steps(2) infinite;
}
@keyframes codeBlink { 50% { opacity: 0; } }
.vis-code .code-foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  padding: 10px 12px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.vis-code .code-foot .ok { color: #5dffaa; }
.vis-code .code-foot .muted { color: var(--fg-faint); }
.vis-code .code-foot .spacer { flex: 1; }

/* brief scene (01 — Brief) */
.vis-brief {
  display: block;
  padding: 22px 24px 18px;
}
.vis-brief .brief-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.vis-brief .brief-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--fg);
}
.vis-brief .brief-id {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--fg-faint);
}
.vis-brief .brief-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 7px 0;
  align-items: baseline;
  font-family: var(--font-mono);
}
.vis-brief .bl {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-faint);
}
.vis-brief .bv {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 450;
  color: var(--fg);
}
.vis-brief .bv.accent { color: var(--blue-hi); }
.vis-brief .brief-stamp {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--blue-hi);
  background: var(--blue-soft);
}

/* design scene (02 — Design) */
.vis-design {
  display: flex; flex-direction: column;
  gap: 18px;
  padding: 22px 24px;
}
.vis-design .dsn-block {
  display: flex; flex-direction: column; gap: 10px;
}
.vis-design .dsn-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-faint);
}
.vis-design .dsn-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vis-design .dsn-sw {
  height: 64px;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: -0.01em;
}
.vis-design .dsn-sw .hx {
  font-size: 9px; letter-spacing: 0.12em;
  opacity: 0.7;
}
.vis-design .dsn-type {
  display: flex; align-items: center; gap: 16px;
}
.vis-design .dsn-aa {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 500; letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.vis-design .dsn-typemeta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--fg-dim);
  line-height: 1.7;
}
.vis-design .dsn-typemeta .muted { color: var(--fg-faint); font-size: 10px; }
.vis-design .dsn-radii { display: flex; gap: 10px; }
.vis-design .dsn-r {
  width: 44px; height: 24px;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-soft);
}

/* publishing scene (04 — Publishing) — add metadata block */
.vis-live .live-meta {
  margin-top: 14px;
  display: flex; flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 280px;
}
.vis-live .live-meta .lm-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--fg-dim);
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}
.vis-live .live-meta .ok-text { color: #5dffaa; }
.story-visual .scene-vis .bar .tab {
  margin-left: 12px;
  padding: 4px 12px 5px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg);
  letter-spacing: 0.04em;
  border-top: 2px solid var(--blue);
  margin-top: -2px;
}
.story-visual .scene-vis .bar .tab-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-faint);
  letter-spacing: 0.08em;
}

.vis-live { padding: 22px; display: grid; place-items: center; gap: 18px; }
.vis-live .pulse {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--blue); position: relative;
  box-shadow: 0 0 60px var(--blue-glow);
  display: grid; place-items: center;
}
.vis-live .pulse::before, .vis-live .pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--blue);
  animation: livePulse 2.4s ease-out infinite;
}
.vis-live .pulse::after { animation-delay: 1.2s; }
@keyframes livePulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
.vis-live .pulse svg { width: 32px; height: 32px; }
.vis-live .status {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg);
}
.vis-live .url {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--blue-hi);
  display: flex; align-items: center; gap: 8px;
}

.vis-support { padding: 22px; display: grid; gap: 14px; }
.vis-support .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(255,255,255,0.02);
  font-family: var(--font-mono); font-size: 11px;
}
.vis-support .row .ok { color: #5dffaa; display: flex; align-items: center; gap: 6px; }
.vis-support .row .ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5dffaa; box-shadow: 0 0 8px #5dffaa; }
.vis-support .row .v { color: var(--fg-dim); }

/* progress rail on the right side of story */
.story-rail {
  position: absolute;
  top: 50%; right: var(--gutter);
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  z-index: 6;
}
.story-rail .rail-dot {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--fg-faint);
  text-transform: uppercase;
  transition: color 240ms var(--ease);
}
.story-rail .rail-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-whisper);
  transition: all 240ms var(--ease);
}
.story-rail .rail-dot.active { color: var(--fg); }
.story-rail .rail-dot.active::before { background: var(--blue); box-shadow: 0 0 10px var(--blue-glow); transform: scale(1.4); }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 160px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.services .head { margin-bottom: 80px; max-width: 900px; }
.services .head .eyebrow { margin-bottom: 28px; }
.services .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc {
  position: relative;
  padding: 36px 32px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  min-height: 460px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 320ms var(--ease), border-color 320ms;
}
.svc::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 100%, var(--blue-soft) 0%, transparent 50%);
  opacity: 0; transition: opacity 360ms var(--ease);
  pointer-events: none;
}
.svc:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.svc:hover::before { opacity: 1; }
.svc .num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--blue-hi);
}
.svc .visual {
  margin: 32px 0 28px;
  height: 200px;
  position: relative;
  display: grid; place-items: center;
}
.svc h3 {
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 500; letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.svc p {
  color: var(--fg-dim);
  font-size: 15px; line-height: 1.55;
  margin-bottom: auto;
}
.svc .more {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg);
}
.svc .more svg { width: 14px; height: 14px; transition: transform 240ms var(--ease); }
.svc:hover .more svg { transform: translateX(4px); }

/* visuals inside services */
.svc-vis-design {
  width: 180px; height: 180px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(0,87,255,0.12), rgba(255,255,255,0.02));
  position: relative;
  transform: rotate(-6deg);
  transition: transform 400ms var(--ease);
}
.svc:hover .svc-vis-design { transform: rotate(0deg); }
.svc-vis-design::before, .svc-vis-design::after {
  content: ""; position: absolute;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.svc-vis-design::before { inset: 12px; border-color: var(--line); }
.svc-vis-design::after  {
  inset: 30px; border-color: var(--blue);
  box-shadow: 0 0 20px var(--blue-soft);
}

.svc-vis-dev {
  width: 240px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  box-shadow: 0 10px 32px -10px rgba(0,0,0,0.5), 0 0 0 1px var(--blue-soft);
}
.svc-vis-dev .vd-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
}
.svc-vis-dev .vd-dots { display: inline-flex; gap: 4px; }
.svc-vis-dev .vd-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.svc-vis-dev .vd-dots span:nth-child(3) {
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue-glow);
}
.svc-vis-dev .vd-tab {
  font-size: 10px; letter-spacing: 0.06em;
  color: var(--fg-dim);
  padding: 2px 8px;
  border-top: 1px solid var(--blue);
  margin-top: -2px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px 4px 0 0;
}
.svc-vis-dev .vd-body {
  padding: 12px 14px;
  line-height: 1.85;
  color: var(--fg);
}
.svc-vis-dev .vd-row {
  display: flex; gap: 12px;
  align-items: baseline;
  white-space: pre;
}
.svc-vis-dev .vd-ln {
  width: 12px;
  color: var(--fg-whisper);
  font-size: 9px;
  text-align: right;
  flex-shrink: 0;
  user-select: none;
}
.svc-vis-dev .vd-line { color: var(--fg); }
.svc-vis-dev .k    { color: var(--blue-hi); }
.svc-vis-dev .kw   { color: var(--blue-hi); }
.svc-vis-dev .attr { color: #b294ff; }
.svc-vis-dev .s    { color: #5dffaa; }
.svc-vis-dev .n    { color: #f0c674; }
.svc-vis-dev .vd-cursor {
  display: inline-block;
  width: 6px; height: 12px;
  background: var(--blue-hi);
  vertical-align: -2px;
  margin-left: 2px;
  animation: codeBlink 1.1s steps(2) infinite;
}
.svc-vis-dev .vd-foot {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.svc-vis-dev .vd-ok { color: #5dffaa; }
.svc-vis-dev .vd-muted { color: var(--fg-faint); }

.svc-vis-host {
  width: 200px; height: 180px;
  position: relative;
  display: grid; place-items: center;
}
.svc-vis-host .globe {
  width: 140px; height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--surface-2), var(--bg-deep));
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}
.svc-vis-host .globe::before, .svc-vis-host .globe::after {
  content: ""; position: absolute;
  left: 0; right: 0; height: 1px;
  background: var(--line-strong);
}
.svc-vis-host .globe::before { top: 50%; }
.svc-vis-host .globe::after  { top: 30%; }
.svc-vis-host .meridian {
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: 1px; background: var(--line-strong);
}
.svc-vis-host .ping {
  position: absolute;
  top: 40%; right: 30%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
  animation: pulseDot 1.6s ease-in-out infinite;
}
.svc-vis-host .ping.two { top: 60%; left: 30%; animation-delay: 0.8s; }
.svc-vis-host .ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 180px; height: 180px;
  animation: spinOrbit 22s linear infinite;
}
.svc-vis-host .ring::before {
  content: ""; position: absolute;
  top: 0; left: 50%; transform: translate(-50%, -50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 8px var(--blue-glow);
}

/* ============================================================
   DIFFERENTIATION — orbital feature cluster
   ============================================================ */
.diff {
  padding: 160px var(--gutter);
  position: relative;
  z-index: 2;
  background: var(--bg-deep);
}
.diff .inner { max-width: var(--max); margin: 0 auto; }
.diff .head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-bottom: 100px;
}
.diff .head .eyebrow { margin-bottom: 28px; }
.diff .head h2 { max-width: 600px; }
.diff .head p { align-self: end; padding-top: 24px; }

.diff-cluster {
  position: relative;
  height: 640px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.diff-cluster::before, .diff-cluster::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--line);
}
.diff-cluster::before { left: 25%; }
.diff-cluster::after  { left: 75%; }
.diff-cluster .vline-mid {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line);
}
.diff-cluster .hline-mid {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line);
}

.diff-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 460px; height: 460px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.diff-orbit.outer {
  width: 620px; height: 620px;
  border-style: dashed;
  opacity: 0.5;
  animation: spinOrbit 80s linear infinite;
}

.diff-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,87,255,0.3) 0%, transparent 70%);
  display: grid; place-items: center;
  z-index: 1;
}
.diff-core .core-inner {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 60px var(--blue-glow), inset 0 -10px 30px rgba(0,0,0,0.3);
  position: relative;
  display: grid; place-items: center;
}
.diff-core .core-inner svg { width: 36px; height: 36px; }

.feat {
  position: absolute;
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  border-radius: var(--r);
  min-width: 200px;
  transition: transform 280ms var(--ease), border-color 280ms;
  z-index: 2;
}
.feat:hover {
  transform: scale(1.05);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.feat .num {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--blue-hi);
}
.feat .label {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.feat .desc {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--fg-faint);
  text-transform: uppercase;
  line-height: 1.5;
}
/* positioning around the orbit */
.feat-1 { top: 8%;  left: 6%; }
.feat-2 { top: 4%;  right: 8%; }
.feat-3 { top: 50%; left: 0;   transform: translateY(-50%); }
.feat-3:hover { transform: translateY(-50%) scale(1.05); }
.feat-4 { top: 50%; right: 0;  transform: translateY(-50%); }
.feat-4:hover { transform: translateY(-50%) scale(1.05); }
.feat-5 { bottom: 6%; left: 8%; }
.feat-6 { bottom: 8%; right: 6%; }

/* ============================================================
   TARGET
   ============================================================ */
.target {
  padding: 160px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.target .head { margin-bottom: 80px; max-width: 900px; }
.target .head .eyebrow { margin-bottom: 28px; }
.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.target-cell {
  background: var(--bg);
  padding: 40px 36px;
  min-height: 260px;
  display: flex; flex-direction: column;
  transition: background 320ms var(--ease);
  position: relative;
}
.target-cell:hover { background: var(--surface); }
.target-cell .num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--blue-hi);
  margin-bottom: 28px;
}
.target-cell h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500; letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.target-cell p {
  color: var(--fg-dim);
  font-size: 14px; line-height: 1.55;
  margin-bottom: auto;
}
.target-cell .icon {
  position: absolute; top: 36px; right: 36px;
  width: 24px; height: 24px;
  color: var(--fg-faint);
  transition: color 240ms;
}
.target-cell:hover .icon { color: var(--blue-hi); }

/* ============================================================
   FINAL CTA — cinematic launch moment
   ============================================================ */
.final {
  position: relative;
  padding: 220px var(--gutter) 140px;
  text-align: center;
  overflow: hidden;
  z-index: 2;
}
.final .streak {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--blue) 30%, var(--blue-hi) 50%, var(--blue) 70%, transparent);
  transform: translateX(-50%);
  filter: blur(0.5px);
  opacity: 0.7;
  pointer-events: none;
}
.final .streak::before {
  content: ""; position: absolute;
  left: 50%; top: 18%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue-hi);
  box-shadow: 0 0 40px var(--blue-hi), 0 0 90px var(--blue);
}
.final .halo {
  position: absolute;
  left: 50%; top: 10%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 50%);
  filter: blur(60px);
  pointer-events: none;
}
.final .corner-mark {
  position: absolute;
  top: 60px; left: var(--gutter);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-faint);
}
.final .corner-mark.right { left: auto; right: var(--gutter); text-align: right; }
.final .inner { position: relative; max-width: 1100px; margin: 0 auto; z-index: 2; }
.final .eyebrow { justify-content: center; display: inline-flex; margin-bottom: 36px; }
.final h2 { margin-bottom: 28px; }
.final .lead { margin: 0 auto 48px; }
.final .ctas {
  display: flex; justify-content: center; gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 6;
}
.final .signature {
  margin-top: 80px;
  display: flex; justify-content: center; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--fg-whisper);
  gap: 14px;
}
.final .signature::before, .final .signature::after {
  content: ""; width: 60px; height: 1px; background: var(--line-strong);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 40px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.footer .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer .brand .logo {
  font-size: 32px; font-weight: 500; letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.footer .brand .logo img {
  width: 44px; height: 44px;
  display: block;
}
.footer .brand .tagline {
  font-size: 16px; color: var(--fg-dim); max-width: 320px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: 15px; color: var(--fg);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 200ms;
}
.footer ul a:hover { color: var(--blue-hi); }
.footer ul a .ext { font-size: 10px; opacity: 0.6; }
.footer .bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-faint);
}

/* ============================================================
   RESPONSIVE — comprehensive cascade
   Breakpoints:
     ≤ 1280  laptop  (narrow desktop tweaks)
     ≤ 1024  tablet
     ≤  720  phone
     ≤  480  small phone
   ============================================================ */

/* ---- LAPTOP / NARROW DESKTOP ---- */
@media (max-width: 1280px) {
  :root { --gutter: clamp(20px, 4vw, 48px); }
  .hero-copy h1 { font-size: clamp(40px, 8vw, 88px); }
  .centerpiece { height: 420px; }
  .orbit-1 { width: 980px; height: 980px; }
  .orbit-2 { width: 720px; height: 720px; }
  .orbit-3 { width: 480px; height: 480px; }
  .browser { max-width: 520px; }
  .story-rail { right: 16px; }
}

/* ---- TABLET ---- */
@media (max-width: 1024px) {
  /* nav */
  .nav .links { display: none; }
  .nav .cta { font-size: 10px; padding: 7px 14px; }

  /* hero */
  .hero { padding: 100px var(--gutter) 60px; }
  .hero .corner-tl, .hero .corner-tr {
    max-width: 160px;
    font-size: 9px;
    top: 80px;
  }
  .hero .corner-bl, .hero .corner-br { font-size: 9px; }
  .hero-copy h1 { font-size: clamp(40px, 8vw, 76px); }
  .hero-copy .lead { font-size: 15px; }
  .centerpiece { height: 360px; margin-top: 30px; }
  .orbit-1 { width: 760px; height: 760px; }
  .orbit-2 { width: 560px; height: 560px; }
  .orbit-3 { width: 380px; height: 380px; }
  .browser { max-width: 460px; }
  .browser-body { padding: 18px 20px; min-height: 200px; gap: 12px; }
  .browser-body .lead-card .num { font-size: 44px; }
  .browser-body .tile .tile-value { font-size: 18px; }

  /* story */
  .story-head { padding: 96px var(--gutter) 40px; }
  .story-track { height: 480vh; }
  .story-sticky {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 64px var(--gutter);
    align-content: center;
  }
  .story-text { justify-self: center; }
  .story-text .scene { max-width: 100%; text-align: center; }
  .story-text .scene .num { justify-content: center; }
  .story-text .scene .num::after { display: none; }
  .story-visual { height: 320px; justify-self: center; }
  .story-visual .scene-vis { width: min(440px, 100%); height: 280px; }
  .vis-brief { padding: 16px 18px; font-size: 13px; }
  .vis-brief .brief-row { grid-template-columns: 80px 1fr; padding: 5px 0; }
  .vis-brief .bv { font-size: 13px; }
  .vis-brief .brief-stamp { font-size: 10px; padding: 6px 12px; margin-top: 12px; }
  .vis-design { padding: 16px 18px; gap: 12px; }
  .vis-design .dsn-sw { height: 50px; padding: 8px 10px; font-size: 10px; }
  .vis-design .dsn-aa { font-size: 44px; }
  .vis-code { padding: 12px 14px 8px; font-size: 11px; line-height: 1.6; }
  .vis-code .ck { font-size: 11px; }
  .vis-code .ln { font-size: 9px; width: 18px; }
  .vis-live .pulse { width: 64px; height: 64px; }
  .vis-live .pulse svg { width: 26px; height: 26px; }
  .vis-support { padding: 16px; gap: 8px; }
  .vis-support .row { padding: 10px 12px; font-size: 10px; }
  .story-rail {
    position: sticky;
    top: 20px; right: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 12px var(--gutter);
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
    background: rgba(10, 13, 20, 0.78);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 999px;
    z-index: 6;
  }
  .story-rail .rail-dot { font-size: 9px; gap: 8px; }

  /* services */
  .services { padding: 120px var(--gutter); }
  .services .head { margin-bottom: 56px; }
  .services .grid { grid-template-columns: 1fr; gap: 14px; }
  .svc { min-height: auto; padding: 28px 24px; }
  .svc .visual { height: 160px; margin: 24px 0; }

  /* differentiation */
  .diff { padding: 120px var(--gutter); }
  .diff .head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .diff .head p { padding-top: 0; max-width: 600px; }
  .diff-cluster {
    height: auto;
    padding: 56px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    border: 0;
  }
  .diff-cluster::before, .diff-cluster::after,
  .diff-cluster .vline-mid, .diff-cluster .hline-mid,
  .diff-cluster .diff-orbit, .diff-cluster .diff-core { display: none; }
  .feat {
    position: static !important;
    transform: none !important;
    min-width: 0;
    width: auto;
  }
  .feat-1, .feat-2, .feat-3, .feat-4, .feat-5, .feat-6 {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    transform: none;
  }
  .feat:hover { transform: scale(1.02) !important; }

  /* target */
  .target { padding: 120px var(--gutter); }
  .target .head { margin-bottom: 56px; }
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .target-cell { padding: 32px 28px; min-height: 220px; }

  /* final */
  .final { padding: 160px var(--gutter) 100px; }

  /* footer */
  .footer { padding: 72px var(--gutter) 40px; }
  .footer .top { grid-template-columns: 1fr 1fr; gap: 48px 32px; margin-bottom: 56px; }
  .footer .bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* page-body (contact / proposal) */
  .page-body { grid-template-columns: 1fr; gap: 56px; }
  .aside { position: static; }
}

/* ---- PHONE ---- */
@media (max-width: 720px) {
  :root { --gutter: 18px; }

  /* nav */
  .nav { padding: 14px var(--gutter); }
  .nav .logo { font-size: 16px; gap: 8px; }
  .nav .logo img { width: 26px; height: 26px; }
  .nav .cta { display: none; }

  /* hero */
  .hero { padding: 96px var(--gutter) 48px; }
  .hero .corner-tl, .hero .corner-tr, .hero .corner-bl, .hero .corner-br { display: none; }
  .hero-copy { margin-top: 0; }
  .hero-copy .eyebrow { font-size: 11px; margin-bottom: 20px; }
  .hero-copy h1 { font-size: clamp(34px, 12vw, 56px); line-height: 1.02; }
  .hero-copy .lead { font-size: 14px; margin-top: 18px; }
  .hero-copy .ctas { flex-direction: column; gap: 10px; margin-top: 28px; width: 100%; max-width: 320px; }
  .hero-copy .ctas .btn { width: 100%; justify-content: center; }
  .btn { padding: 14px 22px; font-size: 14px; }
  .centerpiece { height: 280px; margin-top: 24px; perspective: 1000px; }
  .orbit-1 { width: 520px; height: 520px; opacity: 0.18; }
  .orbit-2 { width: 380px; height: 380px; opacity: 0.3; }
  .orbit-3 { width: 240px; height: 240px; opacity: 0.45; }
  .glow { width: 280px; height: 280px; }
  .browser {
    max-width: min(360px, 90vw);
    transform: rotateX(10deg) rotateY(-3deg);
  }
  .browser-body { min-height: 140px; padding: 14px 16px; }
  .browser-body .lead-card .num { font-size: 32px; }
  .browser-body .spark { width: 90px; height: 32px; }
  .browser-body .tile { padding: 10px 12px; }
  .browser-body .tile .tile-label { font-size: 8px; }
  .browser-body .tile .tile-value { font-size: 15px; }
  .scroll-cue { display: none; }

  /* story */
  .story-head { padding: 72px var(--gutter) 32px; }
  .story-head .display-2 { font-size: 32px; line-height: 1.08; }
  .story-track { height: 540vh; }
  .story-sticky { padding: 48px var(--gutter); gap: 20px; }
  .story-text .scene h3 { font-size: 28px; }
  .story-text .scene p { font-size: 14px; }
  .story-visual { height: 280px; }
  .story-visual .scene-vis { width: 100%; height: 240px; }
  .vis-brief { padding: 14px 14px; font-size: 11px; }
  .vis-brief .brief-head { padding-bottom: 10px; margin-bottom: 10px; }
  .vis-brief .brief-title { font-size: 14px; }
  .vis-brief .brief-id { font-size: 8px; }
  .vis-brief .brief-row { grid-template-columns: 64px 1fr; gap: 10px; padding: 3px 0; }
  .vis-brief .bl { font-size: 8px; }
  .vis-brief .bv { font-size: 11px; }
  .vis-brief .brief-stamp { font-size: 9px; padding: 5px 10px; margin-top: 8px; }
  .vis-design { padding: 14px; gap: 10px; }
  .vis-design .dsn-label { font-size: 8px; }
  .vis-design .dsn-sw { height: 40px; padding: 6px 8px; font-size: 9px; }
  .vis-design .dsn-aa { font-size: 32px; }
  .vis-design .dsn-typemeta { font-size: 9px; }
  .vis-design .dsn-r { width: 28px; height: 16px; }
  .vis-code { padding: 10px 12px 6px; font-size: 10px; line-height: 1.55; }
  .vis-code .ck { font-size: 10px; }
  .vis-code .ln { font-size: 8px; width: 14px; }
  .vis-code .code-foot { font-size: 8px; padding: 6px 8px 0; margin-top: 8px; }
  .vis-live { padding: 16px; gap: 10px; }
  .vis-live .pulse { width: 52px; height: 52px; }
  .vis-live .pulse svg { width: 20px; height: 20px; }
  .vis-live .status { font-size: 10px; }
  .vis-live .url { font-size: 11px; }
  .vis-live .live-meta .lm-row { font-size: 9px; padding: 4px 8px; }
  .vis-support { padding: 12px; gap: 6px; }
  .vis-support .row { padding: 8px 10px; font-size: 9px; letter-spacing: 0.08em; }
  .story-visual .scene-vis .bar { padding: 8px 10px; }
  .story-visual .scene-vis .bar .tab { font-size: 9px; padding: 3px 8px 4px; }
  .story-visual .scene-vis .bar .tab-meta { font-size: 8px; }
  .story-rail {
    gap: 12px;
    padding: 8px 14px;
  }
  .story-rail .rail-dot { font-size: 8px; gap: 6px; }
  .story-rail .rail-dot:not(.active) { display: none; }
  .story-rail .rail-dot.active { display: flex; }

  /* services */
  .services { padding: 96px var(--gutter); }
  .services .head { margin-bottom: 40px; }
  .services .head h2 { font-size: 32px !important; line-height: 1.08; }
  .svc { padding: 28px 22px; min-height: auto; }
  .svc h3 { font-size: 22px; }
  .svc p { font-size: 14px; }
  .svc .visual { height: 140px; margin: 20px 0; }
  .svc-vis-design { width: 130px; height: 130px; }
  .svc-vis-dev { width: 200px; font-size: 10px; }
  .svc-vis-host { width: 160px; height: 140px; }
  .svc-vis-host .globe { width: 110px; height: 110px; }
  .svc-vis-host .ring { width: 140px; height: 140px; }

  /* differentiation */
  .diff { padding: 96px var(--gutter); }
  .diff .head h2 { font-size: 32px !important; line-height: 1.08; }
  .diff-cluster { grid-template-columns: 1fr; gap: 10px; padding: 32px 0 16px; }
  .feat { padding: 14px 18px; }
  .feat .label { font-size: 16px; }
  .feat .desc { display: block; }

  /* target */
  .target { padding: 96px var(--gutter); }
  .target .head { margin-bottom: 40px; }
  .target .head h2 { font-size: 32px !important; line-height: 1.08; }
  .target-grid { grid-template-columns: 1fr; border-radius: var(--r); }
  .target-cell { padding: 28px 24px; min-height: 200px; }
  .target-cell h3 { font-size: 22px; }
  .target-cell p { font-size: 14px; }
  .target-cell .icon { top: 28px; right: 28px; width: 20px; height: 20px; }

  /* final */
  .final { padding: 120px var(--gutter) 72px; }
  .final h2 { font-size: clamp(34px, 11vw, 64px) !important; }
  .final .lead { font-size: 14px; margin-bottom: 32px; }
  .final .ctas { flex-direction: column; gap: 10px; align-items: center; }
  .final .ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .final .corner-mark { font-size: 8px; }
  .final .corner-mark.right { display: none; }
  .final .signature { margin-top: 56px; font-size: 9px; }
  .final .signature::before, .final .signature::after { width: 32px; }
  .final .halo { width: 500px; height: 500px; }

  /* footer */
  .footer { padding: 56px var(--gutter) 28px; }
  .footer .top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .footer .brand .logo { font-size: 26px; gap: 10px; }
  .footer .brand .logo img { width: 36px; height: 36px; }
  .footer h4 { margin-bottom: 14px; font-size: 10px; }
  .footer ul a { font-size: 14px; }

  /* page hero (contact / proposal) */
  .page-hero { padding: 120px var(--gutter) 40px; }
  .page-hero .meta { font-size: 9px; margin-bottom: 36px; }
  .page-hero h1 { font-size: clamp(36px, 12vw, 64px); }
  .page-hero .lead { font-size: 15px; }
  .page-body { padding: 0 var(--gutter) 96px; gap: 40px; }

  /* form */
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field input, .field select { font-size: 18px; }
  .field textarea { font-size: 16px; }
  .form-section-head { margin-top: 36px; }
  .form-section-head h3 { font-size: 18px; }
  .form-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .budget-pills { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice { padding: 9px 14px; font-size: 10px; }
  .aside-card { padding: 22px 22px 20px; }
  .aside-card .num-list li { grid-template-columns: 20px 1fr; gap: 10px; }
  .aside-card .num-list .t b { font-size: 15px; }
  .aside-card .num-list .t span { font-size: 13px; }

  /* preloader */
  .preloader .pre-logo { width: 100px; height: 100px; }
  .preloader .pre-orbit { width: 152px; height: 152px; top: -22px; }
  .preloader .pre-wordmark { font-size: 22px; margin-top: 14px; }
  .preloader .pre-bar { width: 180px; margin-top: 22px; }
  .preloader .pre-label { font-size: 9px; margin-top: 14px; }
}

/* ---- SMALL PHONE ---- */
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .nav { padding: 12px var(--gutter); }
  .hero-copy h1 { font-size: clamp(30px, 11vw, 44px); }
  .centerpiece { height: 240px; }
  .browser { max-width: min(300px, 88vw); }
  .browser-body { grid-template-columns: 1fr; min-height: 120px; }
  .browser-body .lead-card { grid-column: 1; }
  .story-head .display-2,
  .services .head h2,
  .diff .head h2,
  .target .head h2 { font-size: 28px !important; }
  .final h2 { font-size: clamp(30px, 12vw, 48px) !important; }
  .story-visual .scene-vis { height: 220px; }
  .target-cell { padding: 24px 20px; min-height: 180px; }
}

/* ============================================================
   PAGE SHELL — used by contact.html and proposal.html
   Re-uses hero corner labels + grid backdrop. The page leads with a
   tight title block, then a 2-column body: a working form on the left,
   a sidebar of "what happens next" / direct channels / signal info
   on the right. Mono chrome carries between pages.
   ============================================================ */
.page-hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 180px var(--gutter) 60px;
  z-index: 2;
}
.page-hero .meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-faint);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 56px;
}
.page-hero .meta .step { color: var(--blue-hi); }
.page-hero .meta .crumbs { display: flex; gap: 14px; align-items: baseline; }
.page-hero .meta .crumbs a {
  color: var(--fg-dim);
  border: 0; padding: 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.page-hero .meta .crumbs a:hover { color: var(--fg); }

.page-hero h1 {
  font-size: clamp(48px, 7.6vw, 116px);
  font-weight: 500; letter-spacing: -0.035em;
  line-height: 0.96;
  max-width: 1100px;
  margin-bottom: 28px;
}
.page-hero .lead {
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--fg-dim);
  max-width: 640px;
  line-height: 1.5;
}

.page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 160px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* ============================================================
   FORM PRIMITIVES
   ============================================================ */
.field {
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: border-color 240ms var(--ease);
}
.field:focus-within { border-bottom-color: var(--blue); }
.field .label-row {
  display: flex; justify-content: space-between; align-items: baseline;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-faint);
}
.field .hint {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-whisper); letter-spacing: 0.12em; text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 4px 0;
  width: 100%;
  resize: vertical;
}
.field textarea { min-height: 96px; line-height: 1.4; font-size: 19px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-whisper); font-weight: 400; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.form-section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 56px 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}
.form-section-head:first-of-type { margin-top: 0; }
.form-section-head h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
}
.form-section-head .index {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-hi);
}

.form-foot {
  margin-top: 56px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
.form-foot .legal {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-whisper);
  max-width: 420px;
  line-height: 1.7;
}
.form-foot .legal a { color: var(--fg-faint); border-bottom-color: var(--line); }
.form-foot .legal a:hover { color: var(--fg); }

/* ============================================================
   PILL / CHIP CHOICES (toggleable)
   ============================================================ */
.choices {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 6px;
}
.choice {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg-dim);
  cursor: pointer;
  transition: all 240ms var(--ease);
  user-select: none;
  background: transparent;
}
.choice:hover { color: var(--fg); border-color: var(--fg-faint); }
.choice.active {
  background: var(--blue);
  color: var(--fg);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.choice .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-whisper);
  margin-right: 8px;
  vertical-align: middle;
  transition: background 240ms;
}
.choice.active .dot { background: var(--fg); }

/* ============================================================
   SIDEBAR — what happens next, direct channels, signal
   ============================================================ */
.aside {
  position: sticky; top: 100px;
  display: flex; flex-direction: column;
  gap: 32px;
}
.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  position: relative;
  overflow: hidden;
}
.aside-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.4;
}
.aside-card h4 {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 20px;
}
.aside-card .num-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 18px;
  padding: 0;
}
.aside-card .num-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: baseline;
}
.aside-card .num-list .n {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--blue-hi);
  padding-top: 4px;
}
.aside-card .num-list .t {
  font-family: var(--font-display);
  font-size: 16px; line-height: 1.4; font-weight: 450;
}
.aside-card .num-list .t b {
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
  font-size: 17px;
}
.aside-card .num-list .t span {
  color: var(--fg-dim);
  font-size: 14px;
}

.aside-card .channels { display: flex; flex-direction: column; gap: 14px; }
.aside-card .channels a {
  border: 0; padding: 0;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 450;
  color: var(--fg);
  transition: color 200ms;
}
.aside-card .channels a:hover { color: var(--blue-hi); }
.aside-card .channels a svg {
  width: 16px; height: 16px;
  color: var(--fg-faint);
  transition: color 200ms;
}
.aside-card .channels a:hover svg { color: var(--blue-hi); }
.aside-card .channels a .ext { margin-left: auto; font-size: 11px; color: var(--fg-faint); }

.aside-card .signal {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim);
}
.aside-card .signal .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5dffaa;
  box-shadow: 0 0 12px #5dffaa;
  animation: pulseDot 2s ease-in-out infinite;
}

/* ============================================================
   BUDGET SLIDER (visual only — choices behind)
   ============================================================ */
.budget-pills {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding-top: 12px;
}
.budget-pills .choice {
  text-align: center;
  padding: 14px 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.budget-pills .choice .amount {
  display: block;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  text-transform: none;
  color: var(--fg);
  margin-bottom: 2px;
}
.budget-pills .choice.active .amount { color: var(--fg); }
.budget-pills .choice:not(.active) .amount { color: var(--fg-dim); }

/* ============================================================
   SUCCESS / SUBMITTED STATE
   ============================================================ */
.submitted-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 0%, var(--blue-soft) 0%, transparent 60%);
}
.submitted-state.show { display: block; }
.submitted-state .pulse {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--blue);
  margin: 0 auto 28px;
  display: grid; place-items: center;
  box-shadow: 0 0 60px var(--blue-glow);
  position: relative;
}
.submitted-state .pulse::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--blue);
  animation: livePulse 2.4s ease-out infinite;
}
.submitted-state .pulse svg { width: 32px; height: 32px; }
.submitted-state h3 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.submitted-state p {
  color: var(--fg-dim); font-size: 16px;
  max-width: 480px; margin: 0 auto;
}

.form-hidden { display: none !important; }
