/* ============================================================
   JTS SOLUTIONS shared styles.
   Base layer came from the original single-page site.
   Wow layer (end of file) adds motion and interaction. Every motion
   effect is disabled under prefers-reduced-motion, and hover-only
   effects are gated behind (hover: hover) and (pointer: fine).
   ============================================================ */

:root {
  /* DARK (default) */
  --bg-0: #07090F;
  --bg-1: #0A0E1A;
  --bg-2: #0F1525;
  --bg-3: #161D33;
  --bg-elev: #1B2440;
  --line: rgba(148, 163, 184, 0.08);
  --line-2: rgba(148, 163, 184, 0.16);
  --blue: #3B82F6;
  --blue-bright: #60A5FA;
  --blue-soft: #93C5FD;
  --blue-glow: rgba(59, 130, 246, 0.22);
  --green: #10B981;
  --green-soft: rgba(16, 185, 129, 0.12);
  --rose: #F43F5E;
  --rose-soft: rgba(244, 63, 94, 0.10);
  --text-1: #F8FAFC;
  --text-2: #CBD5E1;
  --text-3: #94A3B8;
  --text-4: #8394AD;
  --blue-fill: #2563EB; /* filled buttons and white-text chips: 5.2:1 with white */
  --text-5: #475569;
  --nav-bg: rgba(7,9,15,0.72);
  --hv-pain-bg: linear-gradient(180deg,#12121a,#0e0e15);
  --hv-jts-bg: linear-gradient(180deg,#0f1830,#0c1120);
  --hv-head-pain: #1b2030; --hv-head-pain-stroke: #3a4256;
  --hv-head-jts: #16233f;
  --hv-eye-pain: #8493ad; --hv-eye-jts: #bcd2f5; --hv-mouth-pain: #6b7690;
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --max: 1240px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
}
:root[data-theme="light"] {
  /* LIGHT — warm off-white */
  --bg-0: #F9F7F3;
  --bg-1: #F1EEE8;
  --bg-2: #FEFCF9;
  --bg-3: #EEEAE3;
  --bg-elev: #FEFCF9;
  --line: rgba(15,23,42,0.09);
  --line-2: rgba(15,23,42,0.15);
  --blue: #2563EB;
  --blue-bright: #1D4ED8; /* text-safe blue on light backgrounds (decor uses --blue) */
  --blue-soft: #60A5FA;
  --blue-glow: rgba(37,99,235,0.15);
  --green: #059669;
  --green-soft: rgba(5,150,105,0.12);
  --rose: #E11D48;
  --rose-soft: rgba(225,29,72,0.10);
  --text-1: #0F172A;
  --text-2: #334155;
  --text-3: #5B6472;
  --text-4: #5C6779;
  --text-5: #9AA6B6;
  --nav-bg: rgba(250,248,243,0.82);
  --hv-pain-bg: linear-gradient(180deg,#F2EFEA,#EAE6DF);
  --hv-jts-bg: linear-gradient(180deg,#EEF4FF,#E4EDFC);
  --hv-head-pain: #E3E7EF; --hv-head-pain-stroke: #C0C8D6;
  --hv-head-jts: #DBEAFF;
  --hv-eye-pain: #7C8699; --hv-eye-jts: #2563EB; --hv-mouth-pain: #7C8699;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; outline: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue-fill); color: var(--bg-0); }

/* atmosphere */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 85% -5%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(ellipse 700px 600px at -10% 35%, rgba(59,130,246,0.06), transparent 60%);
  z-index: 0;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
}
main, nav, footer { position: relative; z-index: 1; }

/* layout primitives */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 32px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue-fill);
}
.eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue-fill);
}
.rot-word {
  display: inline-block;
  color: var(--blue-bright);
  transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .34s;
  will-change: transform, opacity;
}
.rot-word.rot-out { transform: translateY(-65%); opacity: 0; }
.rot-word.rot-in  { transform: translateY(65%); opacity: 0; transition: none; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-style: italic; }

h1 { font-size: clamp(44px, 7.6vw, 88px); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

p.lead { font-size: 19px; color: var(--text-2); line-height: 1.55; max-width: 56ch; }
p { color: var(--text-2); }
.muted { color: var(--text-3); }
.dim { color: var(--text-4); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: all 180ms ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--blue-fill);
  color: white;
  box-shadow: 0 0 0 0 var(--blue-glow), 0 1px 0 0 rgba(255,255,255,0.12) inset;
}
.btn--primary:hover {
  background: #1D4ED8;
  box-shadow: 0 0 28px 4px var(--blue-glow), 0 1px 0 0 rgba(255,255,255,0.12) inset;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: white;
  background: rgba(59,130,246,0.06);
}
.btn--sm { padding: 10px 16px; font-size: 14px; }

/* ============================================================
   NAV
   ============================================================ */
nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.brand-mark {
  width: 30px; height: 30px;
  background: var(--blue-fill);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: -0.02em;
  box-shadow: 0 0 18px var(--blue-glow);
}
.brand-text { color: var(--text-1); }
.brand-text small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-top: -2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-3);
  transition: color 150ms;
}
.nav-links a:hover { color: var(--text-1); }
.nav-right { display:flex; align-items:center; gap:12px; }
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:10px; border:1px solid var(--line-2); background:var(--bg-2); color:var(--text-2); transition:color .15s,border-color .15s,background .15s; }
.theme-toggle:hover { color:var(--text-1); border-color:var(--blue); }
.theme-toggle .ic-moon { display:none; }
.theme-toggle .ic-sun { display:block; }
:root[data-theme="light"] .theme-toggle .ic-moon { display:block; }
:root[data-theme="light"] .theme-toggle .ic-sun { display:none; }



/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-text > * { opacity: 0; transform: translateY(14px); animation: rise 800ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-text > *:nth-child(1) { animation-delay: 80ms; }
.hero-text > *:nth-child(2) { animation-delay: 200ms; }
.hero-text > *:nth-child(3) { animation-delay: 360ms; }
.hero-text > *:nth-child(4) { animation-delay: 520ms; }
.hero-text > *:nth-child(5) { animation-delay: 680ms; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero h1 {
  margin-bottom: 22px;
}
.hero h1 .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-bright);
  letter-spacing: -0.025em;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-2);
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(59,130,246,0.04);
  font-size: 13px;
  color: var(--text-3);
}
.hero-ticker .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.hero-ticker strong {
  font-family: var(--mono);
  color: var(--text-1);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* hero graphic */
.hero-graphic {
  opacity: 0;
  animation: rise 1000ms cubic-bezier(0.2,0.8,0.2,1) 600ms forwards;
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}
.hero-graphic svg { width: 100%; height: 100%; }
.hero-visual { opacity:0; animation: rise 1000ms cubic-bezier(0.2,0.8,0.2,1) 600ms forwards; display:grid; grid-template-columns:1fr 1fr; gap:14px; max-width:520px; width:100%; margin:0 auto; }
.hv-scene { border-radius: var(--radius-lg); border:1px solid var(--line-2); padding:20px 16px 22px; display:flex; flex-direction:column; align-items:center; text-align:center; }
.hv-pain { background: var(--hv-pain-bg); }
.hv-jts { background: var(--hv-jts-bg); border-color: rgba(59,130,246,0.30); }
.hv-lab { font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; font-weight:600; margin-bottom:16px; }
.hv-pain .hv-lab { color: var(--text-4); }
.hv-jts .hv-lab { color: var(--blue-bright); }
.hv-strip { width:100%; min-height:74px; display:flex; flex-direction:column; gap:6px; justify-content:flex-end; margin-bottom:18px; }
.hv-msg { font-size:11px; line-height:1.4; padding:8px 11px; border-radius:11px; opacity:0; transform:translateY(6px); transition:opacity .4s, transform .4s; }
.hv-msg.hv-show { opacity:1; transform:none; }
.hv-ring { background:var(--bg-3); color:var(--text-3); align-self:center; border-radius:20px; font-family:var(--mono); font-size:9.5px; letter-spacing:.08em; }
.hv-vm { background:var(--rose-soft); color:var(--rose); border:1px solid rgba(244,63,94,0.22); align-self:center; }
.hv-txt { background: var(--blue-fill); color:#fff; align-self:flex-start; border-radius:12px 12px 12px 3px; text-align:left; }
.hv-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--text-3); margin-right:5px; animation:hv-blink 1s infinite; }
@keyframes hv-blink { 0%,100%{opacity:.3} 50%{opacity:1} }
.hv-face { width:76px; height:76px; margin-bottom:14px; }
.hv-head { transition:fill .5s, stroke .5s; }
.hv-pain .hv-head { fill:var(--hv-head-pain); stroke:var(--hv-head-pain-stroke); stroke-width:2; }
.hv-jts .hv-head { fill:var(--hv-head-jts); stroke:var(--blue); stroke-width:2; }
.hv-eye { transition:fill .5s; }
.hv-pain .hv-eye { fill:var(--hv-eye-pain); }
.hv-jts .hv-eye { fill:var(--hv-eye-jts); }
.hv-mouth { fill:none; stroke-width:3; stroke-linecap:round; opacity:0; transition:opacity .45s; }
.hv-pain .hv-mouth { stroke:var(--hv-mouth-pain); }
.hv-jts .hv-mouth { stroke:var(--blue-bright); }
.hv-m-neutral { opacity:1; }
.hv-scene.hv-reacted .hv-m-neutral { opacity:0; }
.hv-pain.hv-reacted .hv-m-sad { opacity:1; }
.hv-jts.hv-reacted .hv-m-happy { opacity:1; }
.hv-brow { stroke:var(--blue-bright); stroke-width:2.4; stroke-linecap:round; fill:none; opacity:0; transition:opacity .45s; }
.hv-jts.hv-reacted .hv-brow { opacity:.9; }
.hv-cap { font-size:12.5px; color:var(--text-2); line-height:1.45; min-height:36px; font-style:italic; opacity:0; transform:translateY(6px); transition:opacity .5s, transform .5s; }
.hv-scene.hv-reacted .hv-cap { opacity:1; transform:none; }
.hv-outcome { margin-top:14px; font-size:11px; font-weight:700; letter-spacing:.03em; padding:6px 12px; border-radius:20px; opacity:0; transform:scale(.9); transition:opacity .4s, transform .4s; }
.hv-scene.hv-reacted .hv-outcome { opacity:1; transform:none; }
.hv-pain .hv-outcome { background:var(--rose-soft); color:var(--rose); }
.hv-jts .hv-outcome { background:var(--green-soft); color:var(--green); }
@media (max-width:460px){ .hv-face{width:64px;height:64px} .hv-msg{font-size:10.5px} }
.network-node { fill: var(--blue); }
.network-node-pulse { fill: var(--blue-bright); }
.network-line { stroke: rgba(59,130,246,0.25); stroke-width: 1; fill: none; }
.network-line-bright { stroke: var(--blue); stroke-width: 1.4; fill: none; }
@keyframes node-pulse {
  0%, 100% { opacity: 0.4; transform-box: fill-box; transform-origin: center; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.6); }
}
.network-pulse-1 { animation: node-pulse 3s ease-in-out infinite; }
.network-pulse-2 { animation: node-pulse 3s ease-in-out 0.6s infinite; }
.network-pulse-3 { animation: node-pulse 3s ease-in-out 1.2s infinite; }
.network-pulse-4 { animation: node-pulse 3s ease-in-out 1.8s infinite; }
.network-pulse-5 { animation: node-pulse 3s ease-in-out 2.4s infinite; }

@keyframes flow {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
.network-flow {
  stroke: var(--blue-bright);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 4 8;
  animation: flow 4s linear infinite;
}

/* ============================================================
   INDUSTRY SELECTOR
   ============================================================ */
.industry-section {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
}
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.pill {
  padding: 9px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all 160ms ease;
  cursor: pointer;
}
.pill:hover {
  border-color: var(--blue);
  color: var(--text-1);
}
.pill.active {
  background: var(--blue-fill);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 0 18px var(--blue-glow);
}

/* ============================================================
   PROBLEM
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: 1fr; }
}
.stat-card {
  padding: 36px 32px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 2px solid var(--blue);
  transition: border-color 200ms;
}
.stat-card:hover { border-left-color: var(--blue-bright); }
.stat-num {
  font-family: var(--mono);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  color: var(--blue-bright);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 18px;
}
.stat-desc {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.5;
}
.problem-close {
  margin-top: 26px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 62ch;
  margin-left: auto;
  text-align: right;
}
#problem { padding-bottom: 48px; }
.stat-source {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-4);
  letter-spacing: 0.04em;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.stat-source::before {
  content: '— ';
  opacity: 0.6;
}

/* ============================================================
   ROI CALCULATOR
   ============================================================ */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  margin-top: 32px;
  align-items: start;
}
@media (max-width: 920px) { .calc-wrap { grid-template-columns: 1fr; gap: 32px; } }

.calc-inputs {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.calc-input {
  margin-bottom: 28px;
}
.calc-input:last-child { margin-bottom: 0; }
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.calc-label-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.calc-help {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--text-4);
  color: var(--text-4);
  font-size: 10px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  cursor: help;
  position: relative;
}
.calc-help:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 24px; top: 50%;
  transform: translateY(-50%);
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  z-index: 10;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.calc-value {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 4px 10px;
  width: 90px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.calc-value:focus { border-color: var(--blue); }

input[type="range"] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  background: transparent;
  height: 24px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--bg-3);
  border-radius: 999px;
}
input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--bg-3);
  border-radius: 999px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px;
  background: var(--blue-fill);
  border: 3px solid white;
  border-radius: 50%;
  margin-top: -7px;
  box-shadow: 0 0 0 0 var(--blue-glow);
  transition: box-shadow 150ms;
}
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--blue-glow); }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--blue-fill);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--blue-glow);
  transition: box-shadow 150ms;
}
input[type="range"]:hover::-moz-range-thumb { box-shadow: 0 0 0 6px var(--blue-glow); }

.calc-reset {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms;
}
.calc-reset:hover { color: var(--blue-bright); }

.calc-output {
  display: grid;
  gap: 14px;
}
.calc-card {
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.calc-card-loss { background: linear-gradient(135deg, rgba(244,63,94,0.06), rgba(244,63,94,0.02)); border-color: rgba(244,63,94,0.18); }
.calc-card-recover { background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02)); border-color: rgba(16,185,129,0.18); }
.calc-card-net { background: linear-gradient(135deg, rgba(59,130,246,0.10), rgba(59,130,246,0.02)); border-color: rgba(59,130,246,0.28); }

.calc-card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.calc-card-loss .calc-card-label { color: var(--rose); }
.calc-card-recover .calc-card-label { color: var(--green); }
.calc-card-net .calc-card-label { color: var(--blue-bright); }
.calc-card-num {
  font-family: var(--mono);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.calc-card-loss .calc-card-num { color: #FCA5A5; }
.calc-card-recover .calc-card-num { color: #6EE7B7; }
.calc-card-net .calc-card-num { color: white; font-size: clamp(40px, 5vw, 56px); }
/* light theme: the dark-theme pastel numbers are unreadable on cream; use deeper tones */
:root[data-theme="light"] .calc-card-loss .calc-card-label { color: #BE123C; }
:root[data-theme="light"] .calc-card-recover .calc-card-label { color: #047857; }
:root[data-theme="light"] .calc-card-net .calc-card-label { color: #1D4ED8; }
:root[data-theme="light"] .calc-card-loss .calc-card-num { color: #BE123C; }
:root[data-theme="light"] .calc-card-recover .calc-card-num { color: #047857; }
:root[data-theme="light"] .calc-card-net .calc-card-num { color: var(--text-1); }
.calc-card-sub { font-size: 13px; color: var(--text-3); margin-top: 4px; }

.calc-multiplier {
  margin-top: 20px;
  padding: 18px 24px;
  text-align: center;
  font-size: 18px;
  color: var(--text-2);
}
.calc-multiplier .x {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 600;
  color: var(--blue-bright);
  letter-spacing: -0.02em;
}
.calc-footnote {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-4);
  text-align: center;
}

/* ============================================================
   PHONE DEMO
   ============================================================ */
.demo-wrap {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 40px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
@media (max-width: 820px) {
  .demo-wrap { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; }
}

.phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  perspective: 1200px;
}
@media (max-width: 820px) {
  .phones { gap: 14px; }
}

.phone {
  width: 270px;
  background: #000;
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 0 0 1.5px #2A3142,
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 0 60px -10px var(--blue-glow);
  position: relative;
  flex-shrink: 0;
}
.phone--owner {
  width: 220px;
  transform: translateY(20px);
  opacity: 0.7;
  transition: opacity 400ms;
}
.phone--owner.phone--lit { opacity: 1; }
@media (max-width: 820px) {
  .phone { width: 240px; }
  .phone--owner { width: 200px; transform: translateY(0); }
}
@media (max-width: 480px) {
  .phone { width: 100%; max-width: 280px; }
  .phone--owner { width: 100%; max-width: 240px; }
  .phones { flex-direction: column; align-items: center; }
}

.phone-screen {
  background: #0B0E15;
  border-radius: 30px;
  height: 540px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone--owner .phone-screen { height: 440px; }
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: white;
  position: relative;
  z-index: 4;
}
.phone-status .icons {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.phone-status .icons span {
  display: inline-block;
  width: 12px; height: 8px;
  background: white;
  border-radius: 1px;
}
.phone-status .icons span.bat {
  width: 22px; height: 10px;
  border: 1px solid white;
  background: transparent;
  border-radius: 2px;
  position: relative;
  padding: 1px;
}
.phone-status .icons span.bat::after {
  content: ''; display: block;
  width: 80%; height: 100%;
  background: white; border-radius: 1px;
}

.phone-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 30px 14px 16px;
}

/* Incoming call screen */
.call-screen {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #1a1d28 0%, #0B0E15 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  opacity: 0;
  transition: opacity 300ms;
}
.call-screen.show { opacity: 1; }
.call-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.call-name {
  font-size: 28px;
  color: white;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.call-num {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 60px;
}
.call-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #475569, #1e293b);
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  font-size: 36px;
  color: rgba(255,255,255,0.7);
  font-family: var(--serif);
  animation: ring-shake 0.6s ease-in-out infinite;
}
.call-screen:not(.ringing) .call-avatar { animation: none; }
@keyframes ring-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px) rotate(-2deg); }
  40% { transform: translateX(3px) rotate(2deg); }
  60% { transform: translateX(-2px) rotate(-1deg); }
  80% { transform: translateX(2px) rotate(1deg); }
}
.call-buttons {
  display: flex;
  gap: 32px;
  margin-top: 30px;
}
.call-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 22px;
}
.call-btn.decline { background: #EF4444; }
.call-btn.accept { background: #15803D; } /* white glyph 5:1 */

/* Missed call banner */
.missed-banner {
  position: absolute;
  top: 60px;
  left: 14px; right: 14px;
  padding: 14px 18px;
  background: rgba(40,44,55,0.95);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 300ms, transform 300ms;
}
.missed-banner.show { opacity: 1; transform: translateY(0); }
.missed-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--rose);
  display: grid;
  place-items: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}
.missed-text {
  flex: 1;
  font-size: 13px;
  color: white;
  font-weight: 500;
}
.missed-text small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Messages */
.messages-screen {
  position: absolute; inset: 0;
  background: #0B0E15;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 350ms;
}
.messages-screen.show { opacity: 1; }
.messages-header {
  padding: 40px 16px 12px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  text-align: center;
}
.messages-header .biz-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
}
.messages-header .biz-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  font-family: var(--mono);
}
.messages-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.messages-body::-webkit-scrollbar { display: none; }
.bubble {
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.4;
  max-width: 78%;
  word-wrap: break-word;
  opacity: 0;
  transform: translateY(8px);
  animation-fill-mode: forwards;
}
.bubble.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 300ms ease;
}
.bubble--in {
  background: #1E2330;
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}
.bubble--out {
  background: var(--blue-fill);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}
.bubble--time {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  align-self: center;
  padding: 4px 0 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.typing {
  display: flex;
  gap: 3px;
  padding: 12px 14px;
  background: #1E2330;
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  align-self: flex-start;
  opacity: 0;
  transition: opacity 200ms;
}
.typing.show { opacity: 1; }
.typing span {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* Booking widget inside messages */
.booking-card {
  background: #1E2330;
  border-radius: 14px;
  padding: 14px;
  align-self: stretch;
  margin: 4px 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms, transform 300ms;
}
.booking-card.show { opacity: 1; transform: translateY(0); }
.booking-title {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.slot-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.slot {
  flex: 1;
  min-width: 0;
  padding: 8px 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 11px;
  color: white;
  text-align: center;
  transition: all 200ms;
}
.slot.selected {
  background: var(--blue-fill);
  border-color: var(--blue);
  transform: scale(1.05);
  box-shadow: 0 0 18px var(--blue-glow);
}
.slot small {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
}
.slot.selected small { color: rgba(255,255,255,0.8); }

/* Owner notification */
.owner-screen {
  position: absolute; inset: 0;
  background: #0B0E15;
  padding: 20px 12px;
  opacity: 1;
}
.owner-time {
  text-align: center;
  font-size: 50px;
  font-weight: 200;
  color: white;
  letter-spacing: -0.04em;
  margin-top: 8px;
  margin-bottom: 4px;
  font-family: var(--sans);
}
.owner-date {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  font-weight: 500;
}
.owner-notif {
  background: rgba(40,44,55,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(-12px) scale(0.96);
  transition: opacity 350ms, transform 350ms;
}
.owner-notif.show { opacity: 1; transform: translateY(0) scale(1); }
.notif-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.notif-app-icon {
  width: 18px; height: 18px;
  background: var(--blue-fill);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}
.notif-app-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}
.notif-time {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono);
}
.notif-title {
  font-size: 13px;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  margin-bottom: 2px;
}
.notif-body {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* Demo controls / steps */
.demo-info { padding: 4px 0; }
.demo-info h3 { margin-bottom: 14px; }
.demo-info p { color: var(--text-3); margin-bottom: 28px; max-width: 38ch; }

.demo-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.demo-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
  transition: all 250ms ease;
}
.demo-step.active {
  background: var(--blue-fill);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 0 18px var(--blue-glow);
}
.demo-step .num {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}
.demo-step.active .num { background: rgba(255,255,255,0.2); }
.demo-arrow {
  color: var(--text-4);
  margin: 0 4px;
  font-size: 11px;
}
.demo-replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: all 150ms;
}
.demo-replay:hover {
  border-color: var(--blue);
  color: white;
  background: rgba(59,130,246,0.06);
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 920px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 200ms ease;
}
.feature:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  background: var(--bg-3);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(59,130,246,0.10);
  border: 1px solid rgba(59,130,246,0.22);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--blue-bright);
}
.feature h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-1);
}
.feature p {
  font-size: 14.5px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============================================================
   TECH STACK
   ============================================================ */
.stack-list {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-1);
}
.stack-row {
  display: grid;
  grid-template-columns: 180px 1fr 100px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  transition: background 150ms;
}
.stack-row:hover { background: var(--bg-2); }
.stack-row:last-child { border-bottom: none; }
@media (max-width: 720px) {
  .stack-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
}
.stack-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.stack-mark {
  width: 24px; height: 24px;
  border-radius: 5px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-bright);
  font-family: var(--mono);
}
.stack-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.4;
}
.stack-cost {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
  text-align: right;
}
@media (max-width: 720px) { .stack-cost { text-align: left; } }

.stack-callout {
  margin-top: 22px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(59,130,246,0.10), rgba(59,130,246,0.02));
  border: 1px solid rgba(59,130,246,0.20);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.stack-callout svg { flex-shrink: 0; color: var(--blue-bright); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.price-card {
  position: relative;
  padding: 36px 30px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(59,130,246,0.06), var(--bg-2));
  --lift: -8px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5), 0 0 40px -10px var(--blue-glow);
}
@media (max-width: 920px) { .price-card.featured { --lift: 0px; } }
.price-tag {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--blue-fill);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.price-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.price-amount {
  font-family: var(--sans);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-1);
  margin-bottom: 4px;
}
.price-amount sup {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-3);
  vertical-align: super;
  margin-right: 2px;
}
.price-amount span {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-3);
  margin-left: 2px;
}
.price-volume {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
  padding: 6px 0;
  line-height: 1.45;
}
.price-features li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%2360A5FA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
.price-cta {
  width: 100%;
}
.price-footnote {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-4);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  padding: 100px 0 120px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.04));
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-top: 12px;
}
@media (max-width: 820px) {
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
}

.cta-perks {
  display: grid;
  gap: 20px;
}
.cta-perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.cta-perk svg {
  color: var(--blue-bright);
  flex-shrink: 0;
  margin-top: 2px;
}
.cta-perk strong {
  color: var(--text-1);
  font-weight: 600;
}

.cta-action {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
}
.cta-action-sub {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-4);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.cta-tabs {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 4px;
  margin: 36px 0 32px;
  gap: 4px;
}
.cta-tab {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 180ms;
  cursor: pointer;
}
.cta-tab.active {
  background: var(--blue-fill);
  color: white;
}
.cta-tab:not(.active):hover { color: var(--text-1); }

.cta-panel { display: none; }
.cta-panel.active { display: block; }

.cta-form, .cta-booking {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 640px;
}

/* booking */
.booking-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
@media (max-width: 580px) { .booking-days { grid-template-columns: repeat(3, 1fr); } }
.booking-day {
  padding: 12px 8px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 150ms;
}
.booking-day:hover { border-color: var(--blue); }
.booking-day.selected {
  background: var(--blue-fill);
  border-color: var(--blue);
  color: white;
}
.booking-day .day-name {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.booking-day.selected .day-name { color: rgba(255,255,255,0.8); }
.booking-day .day-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.02em;
}
.booking-day.selected .day-num { color: white; }

.booking-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
@media (max-width: 580px) { .booking-times { grid-template-columns: repeat(2, 1fr); } }
.booking-time {
  padding: 11px 8px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--mono);
  transition: all 150ms;
}
.booking-time:hover { border-color: var(--blue); }
.booking-time.selected {
  background: var(--blue-fill);
  border-color: var(--blue);
  color: white;
}

.form-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 580px) { .form-row-2 { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text-1);
  font-size: 14.5px;
  transition: border-color 150ms, box-shadow 150ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.field textarea { min-height: 100px; resize: vertical; font-family: var(--sans); }
.field-error {
  border-color: var(--rose) !important;
}
.field-error-msg {
  font-size: 12px;
  color: var(--rose);
  margin-top: 4px;
  display: none;
}
.field-error + .field-error-msg { display: block; }

.cta-success {
  text-align: center;
  padding: 28px 0 8px;
  display: none;
}
.cta-success.show { display: block; }
.cta-success svg {
  margin: 0 auto 18px;
  color: var(--green);
}
.cta-success h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text-1);
}
.cta-success p { color: var(--text-3); }

.booking-summary {
  margin: 18px 0;
  padding: 16px;
  background: var(--bg-3);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-2);
  display: none;
  align-items: center;
  gap: 10px;
}
.booking-summary.show { display: flex; }
.booking-summary strong {
  color: var(--blue-bright);
  font-family: var(--mono);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-4);
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-3);
}
.footer-links a:hover { color: var(--text-1); }
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-4);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.2,0.8,0.2,1), transform 600ms cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* utility */
.center { text-align: center; }
.max-text { max-width: 60ch; }

/* ============================================================
   RESTRUCTURE (services site)
   ============================================================ */
.hero { padding-bottom: 40px; }
.hero-visual { max-width: 380px; }
.hero-text .hero-sub { max-width: 54ch; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.service-feature {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(59,130,246,0.07), var(--bg-2));
  border: 1px solid var(--blue); border-radius: var(--radius-lg);
  box-shadow: 0 0 40px -14px var(--blue-glow);
}
.service-feature h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--text-1); margin-bottom: 10px; letter-spacing: -0.01em; }
.service-feature p { color: var(--text-3); font-size: 15.5px; line-height: 1.55; max-width: 52ch; }
.service-feature .sf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.feature.service-card .more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--blue-bright); text-decoration: none; }
.service-card .more:hover { color: var(--blue-soft); }
.feature.service-card .feature-icon { margin-bottom: 18px; }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .service-feature { grid-template-columns: 1fr; padding: 28px 22px; } .service-feature .sf-actions { justify-content: flex-start; } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

.stats-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .stats-grid--two { grid-template-columns: 1fr; } }
.problem-source { margin: 14px 0 0 auto; text-align: right; max-width: 62ch; font-size: 14px; color: var(--text-3); }
.problem-source strong { color: var(--text-1); font-weight: 600; }
.problem-source span { color: var(--text-4); font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; margin-left: 6px; }
.demo-note { margin-top: 14px; font-size: 12.5px; color: var(--text-4); }

.includes { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
.includes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-3); font-size: 14.5px; line-height: 1.5; }
.includes li svg { color: var(--blue-bright); margin-top: 2px; }
.includes strong { color: var(--text-1); font-weight: 600; }
@media (max-width: 760px) { .includes { grid-template-columns: 1fr; } }

.price-tabs { display: inline-flex; gap: 6px; padding: 5px; margin-top: 28px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; flex-wrap: wrap; }
.price-tab { font: 600 14px var(--sans); color: var(--text-3); background: none; border: 0; padding: 10px 18px; border-radius: 8px; cursor: pointer; }
.price-tab:hover { color: var(--text-1); }
.price-tab[aria-selected="true"] { background: var(--blue-fill); color: #fff; }
.price-tab:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.price-panel[hidden] { display: none !important; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.quote-grid .feature { display: flex; flex-direction: column; }
.quote-grid .feature p { flex: 1; }
.quote-grid .quote-price { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); margin: 14px 0 16px; }
@media (max-width: 920px) { .quote-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 8px; }
.steps::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: rgba(59,130,246,0.4); }
.step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-fill); display: grid; place-items: center; margin: 0 auto 20px; font-family: var(--mono); font-size: 18px; font-weight: 600; color: #fff; box-shadow: 0 0 24px var(--blue-glow); }
.step-title { font-weight: 600; color: var(--text-1); font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-3); line-height: 1.5; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.faq-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue-bright); margin: 40px 0 12px; }
.faq-label:first-of-type { margin-top: 32px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { padding: 28px 32px; background: var(--bg-2); }
.faq-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.faq-item .q { font-weight: 600; color: var(--text-1); font-size: 15px; margin-bottom: 10px; }
.faq-item .a { font-size: 14px; color: var(--text-3); line-height: 1.6; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } .faq-item { padding: 22px 20px; } }

.footer-links { flex-wrap: wrap; }
.footer-links a { overflow-wrap: anywhere; }
.cta-grid > *, .cta-perk > div { min-width: 0; }
.cta-action-sub a, .footer-links a[href^="mailto"] { color: var(--blue-bright); text-decoration: none; }
.cta-action-sub a:hover, .footer-links a[href^="mailto"]:hover { text-decoration: underline; }

/* ============================================================
   WOW LAYER
   Everything below is progressive enhancement. Pages read fine
   without it, motion is off under prefers-reduced-motion, and
   pointer-only effects live inside (hover: hover) and (pointer: fine).
   ============================================================ */

@view-transition { navigation: auto; }

:root {
  --aurora-a: rgba(59,130,246,0.42);
  --aurora-b: rgba(16,185,129,0.20);
  --aurora-c: rgba(139,92,246,0.22);
  --grid-lit: rgba(96,165,250,0.34);
  --card-shadow: 0 30px 60px -30px rgba(59,130,246,0.45);
  --nav-solid: #0A0E1A; /* opaque: the open mobile panel must not show the page behind it */
}
:root[data-theme="light"] {
  --aurora-a: rgba(37,99,235,0.20);
  --aurora-b: rgba(5,150,105,0.12);
  --aurora-c: rgba(124,58,237,0.11);
  --grid-lit: rgba(37,99,235,0.26);
  --card-shadow: 0 30px 60px -34px rgba(37,99,235,0.35);
  --nav-solid: #F9F7F3;
}

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright), var(--green));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px var(--blue-glow);
}

/* ---------- nav: scrolled state, dropdown, mobile menu ---------- */
nav.top { transition: box-shadow 300ms ease, background 300ms ease; }
nav.top.is-scrolled { box-shadow: 0 12px 30px -20px rgba(0,0,0,0.55); }
.nav-links { align-items: center; }
.nav-links > a,
.nav-dd-btn {
  font-size: 14px;
  color: var(--text-3);
  transition: color 150ms;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  padding: 6px 0;
}
.nav-links > a:hover,
.nav-dd-btn:hover { color: var(--text-1); }
.nav-dd { position: relative; }
.nav-dd-btn svg { transition: transform 200ms ease; flex: none; }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -12px;
  min-width: 290px;
  padding: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.nav-dd-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.nav-dd-menu a small { display: block; font-size: 12px; color: var(--text-4); margin-top: 1px; }
.nav-dd-menu a:hover,
.nav-dd-menu a:focus-visible { background: rgba(59,130,246,0.10); color: var(--text-1); }
.nav-dd.is-open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd.is-open .nav-dd-btn svg { transform: rotate(180deg); }
/* Without JS only: CSS opens the menu on hover and focus. With JS (.has-js) the
   script owns the open state (see wireNav), so these rules are switched off. */
@media (hover: hover) and (pointer: fine) {
  .nav-dd:not(.has-js):hover .nav-dd-menu,
  .nav-dd:not(.has-js):focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-dd:not(.has-js):hover .nav-dd-btn svg { transform: rotate(180deg); }
}
.menu-btn {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text-2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex: none;
}
.menu-btn span {
  display: block;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 250ms ease, opacity 200ms ease;
}
nav.top.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
nav.top.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
nav.top.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-btn:focus-visible,
.nav-dd-btn:focus-visible,
.brand:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 20px;
    background: var(--nav-solid);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 30px 50px -30px rgba(0,0,0,0.6);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }
  nav.top.is-menu-open .nav-links { display: flex; }
  .nav-links > a,
  .nav-dd-btn {
    width: 100%;
    justify-content: space-between;
    padding: 16px 2px;
    font-size: 16px;
    color: var(--text-2);
    border-bottom: 1px solid var(--line);
  }
  .nav-dd { width: 100%; }
  .nav-dd-menu {
    position: static;
    display: none;
    opacity: 1; visibility: visible; transform: none;
    min-width: 0;
    padding: 4px 0 8px 12px;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-dd.is-open .nav-dd-menu { display: block; }
  .nav-dd-menu a { padding: 11px 4px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .nav-right { gap: 8px; }
}
@media (max-width: 440px) {
  .brand-text { display: none; }
}

/* ---------- hero ---------- */
.hero { isolation: isolate; }
.hero .container { position: relative; z-index: 1; }
.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.aurora-blob--a {
  width: 62vw; height: 62vw; max-width: 760px; max-height: 760px;
  min-width: 300px; min-height: 300px;
  left: -14vw; top: -18vw;
  background: radial-gradient(circle, var(--aurora-a), transparent 66%);
  animation: aurora-a 19s ease-in-out infinite alternate;
}
.aurora-blob--b {
  width: 56vw; height: 56vw; max-width: 680px; max-height: 680px;
  min-width: 260px; min-height: 260px;
  right: -16vw; top: 6%;
  background: radial-gradient(circle, var(--aurora-b), transparent 66%);
  animation: aurora-b 23s ease-in-out infinite alternate;
}
.aurora-blob--c {
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  min-width: 240px; min-height: 240px;
  left: 30%; bottom: -26vw;
  background: radial-gradient(circle, var(--aurora-c), transparent 66%);
  animation: aurora-c 27s ease-in-out infinite alternate;
}
@keyframes aurora-a { to { transform: translate3d(9vw, 7vh, 0) scale(1.14); } }
@keyframes aurora-b { to { transform: translate3d(-7vw, 9vh, 0) scale(0.92); } }
@keyframes aurora-c { to { transform: translate3d(-6vw, -8vh, 0) scale(1.1); } }

.hero-grid-bg,
.hero-grid-spot {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-grid-bg {
  z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 72%);
}
.hero-grid-spot {
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-lit) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-lit) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle 340px at var(--mx, 60%) var(--my, 30%), #000, transparent 100%);
          mask-image: radial-gradient(circle 340px at var(--mx, 60%) var(--my, 30%), #000, transparent 100%);
  opacity: var(--spot-o, 0);
  transition: opacity 500ms ease;
}
.hero-spot-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 60%) var(--my, 30%), rgba(59,130,246,0.14), transparent 70%);
  opacity: var(--spot-o, 0);
  transition: opacity 500ms ease;
}

.hero { padding: 72px 0 84px; }
.hero-text > * { }
.hero-pill { font-size: 13px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); margin-bottom: 26px; }
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(6px);
  animation: word-in 720ms cubic-bezier(0.2,0.8,0.2,1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 160ms);
}
@keyframes word-in {
  to { opacity: 1; transform: none; filter: none; }
}

.hero-visual-wrap {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 600ms cubic-bezier(0.2,0.8,0.2,1);
  will-change: transform;
}
.hero-visual { max-width: 580px; }
.hero-visual .hv-scene { min-height: 300px; padding: 24px 18px 26px; }
.hero-graphic { display: none; }

/* ---------- tool marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 18px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-group {
  display: flex;
  flex: none;
  gap: 14px;
  padding-right: 14px;
}
.marquee-pill {
  flex: none;
  padding: 12px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- services grid ---------- */
.services-grid { margin-top: 36px; }
.service-feature {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
}
.service-feature::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 0deg, var(--blue-bright) 55deg, transparent 115deg, transparent 260deg, var(--blue) 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: spin-angle 7s linear infinite;
}
@keyframes spin-angle { to { --angle: 360deg; } }
.service-feature .btn { position: relative; }
.service-feature:hover { text-decoration: none; }

/* .feature.service-card beats the base .feature:hover transform */
.feature.service-card {
  --rx: 0deg; --ry: 0deg;
  --gx: 50%; --gy: 50%;
  --lift: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform 350ms cubic-bezier(0.2,0.8,0.2,1), border-color 300ms, box-shadow 300ms, background 300ms;
}
.feature.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--gx) var(--gy), rgba(59,130,246,0.16), transparent 62%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.feature.service-card:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.feature.service-card h4 { color: var(--text-1); }
.feature.service-card .feature-icon {
  transition: transform 450ms cubic-bezier(0.2,0.8,0.2,1), background 300ms ease, color 300ms;
}
.feature.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feature.service-card .more .arr { display: inline-block; transition: transform 300ms cubic-bezier(0.2,0.8,0.2,1); }
.feature.service-card:hover .more .arr,
.feature.service-card:focus-visible .more .arr { transform: translateX(6px); }
@media (hover: hover) and (pointer: fine) {
  .feature.service-card:hover {
    --lift: -6px;
    border-color: rgba(59,130,246,0.45);
    box-shadow: var(--card-shadow);
  }
  .feature.service-card:hover::after { opacity: 1; }
  .feature.service-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.12);
    background: rgba(59,130,246,0.18);
  }
}
@media (max-width: 1000px) { .service-feature { grid-column: 1 / -1; } }

/* ---------- animated stat link ---------- */
.stat-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
}
.stat-more span { transition: transform 300ms cubic-bezier(0.2,0.8,0.2,1); display: inline-block; }
.stat-more:hover span { transform: translateX(5px); }
.stats-grid--two + .problem-close { margin-top: 36px; }

/* ---------- stagger reveal ---------- */
.stagger > * { opacity: 0; }
.stagger.in > * {
  animation: card-in 800ms cubic-bezier(0.2,0.8,0.2,1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes card-in {
  from { opacity: 0; translate: 0 26px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ---------- custom builds teaser (network) ---------- */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .teaser-grid { grid-template-columns: 1fr; gap: 40px; } }
.net-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.10), transparent 70%), var(--bg-2);
  overflow: hidden;
}
.net { width: 100%; height: auto; display: block; overflow: visible; }
.net-link {
  fill: none;
  stroke: rgba(59,130,246,0.45);
  stroke-width: 1.4;
  stroke-dasharray: 4 7;
  animation: flow-dash 1.4s linear infinite;
}
@keyframes flow-dash { to { stroke-dashoffset: -22; } }
.net-hub { fill: var(--blue); }
.net-hub-ring {
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: net-ring 3.2s ease-out infinite;
}
.net-hub-ring--2 { animation-delay: 1.6s; }
@keyframes net-ring {
  0%   { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}
.net-node { fill: var(--bg-2); stroke: var(--blue-bright); stroke-width: 1.5; }
.net-node-dot {
  fill: var(--blue-bright);
  transform-box: fill-box;
  transform-origin: center;
  animation: net-pulse 3s ease-in-out infinite;
}
.net-node-dot--2 { animation-delay: 0.7s; }
.net-node-dot--3 { animation-delay: 1.4s; }
.net-node-dot--4 { animation-delay: 2.1s; }
@keyframes net-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.35); opacity: 1; }
}
.net-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  fill: var(--text-3);
  text-transform: uppercase;
}
.net-label--hub { fill: var(--text-1); font-weight: 600; }
.chip-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.chip-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 16px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: border-color 250ms, transform 300ms cubic-bezier(0.2,0.8,0.2,1), background 250ms;
}
.chip-list strong { color: var(--text-1); font-size: 16px; font-weight: 600; }
.chip-list small { grid-column: 1; color: var(--text-3); font-size: 14px; line-height: 1.45; }
.chip-list .chip-arr { grid-row: 1 / span 2; grid-column: 2; color: var(--blue-bright); transition: transform 300ms cubic-bezier(0.2,0.8,0.2,1); }
@media (hover: hover) and (pointer: fine) {
  .chip-list a:hover {
    border-color: rgba(59,130,246,0.45);
    background: rgba(59,130,246,0.05);
    transform: translateX(4px);
  }
  .chip-list a:hover .chip-arr { transform: translateX(4px); }
}
.chip-list a:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

/* ---------- pricing summary ---------- */
.plans-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 900px) { .plans-mini { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.plan-mini {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 350ms cubic-bezier(0.2,0.8,0.2,1), border-color 300ms, box-shadow 300ms;
}
.plan-mini.is-featured {
  border-color: rgba(59,130,246,0.40);
  background: linear-gradient(180deg, rgba(59,130,246,0.10), var(--bg-2) 62%);
}
.plan-mini .pm-tag {
  position: absolute;
  top: -11px; left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-fill);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.plan-mini .pm-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.plan-mini .pm-price {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-mini .pm-price sup { font-size: 20px; vertical-align: top; position: relative; top: 6px; margin-right: 2px; }
.plan-mini .pm-price small { font-size: 16px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan-mini p { font-size: 14.5px; color: var(--text-3); margin-top: 14px; line-height: 1.5; }
.plan-mini .pm-link {
  margin-top: auto;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
}
.plans-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 32px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(59,130,246,0.04);
}
.plans-foot p { font-size: 14.5px; color: var(--text-3); line-height: 1.6; }
.plans-foot strong { color: var(--text-1); font-weight: 600; }
.plans-foot .plans-link { color: var(--blue-bright); font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) { .plans-foot { grid-template-columns: 1fr; } }
@media (hover: hover) and (pointer: fine) {
  .plan-mini:hover {
    transform: translateY(-6px);
    border-color: rgba(59,130,246,0.50);
    box-shadow: var(--card-shadow);
  }
}

/* ---------- billing toggle (for the missed-call page) ---------- */
.billing {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-2);
  margin-top: 26px;
}
.billing button {
  padding: 9px 16px;
  border-radius: 999px;
  font: 600 14px var(--sans);
  color: var(--text-3);
  background: none;
  transition: color 200ms, background 200ms;
}
.billing button:hover { color: var(--text-1); }
.billing button[aria-pressed="true"] { background: var(--blue-fill); color: #fff; }
.billing button:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.billing .billing-save {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  margin-left: 6px;
}
.billing button[aria-pressed="true"] .billing-save { color: #fff; }
.billing-note { font-size: 13px; color: var(--text-4); margin-top: 12px; }

/* ---------- magnetic primary buttons ---------- */
.btn--primary {
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    transform: translate3d(var(--tx, 0px), calc(var(--ty, 0px) - 1px), 0);
  }
}

/* ---------- scroll story ---------- */
.story { position: relative; }
.story:not(.story--pinned) { padding: 120px 0; }
.story--pinned { height: 290vh; padding: 96px 0 0; }
.story--pinned .story-sticky {
  position: sticky;
  top: calc(var(--nav-h, 72px) + 16px);
  height: calc(100vh - var(--nav-h, 72px) - 56px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* vertically centre the stage without letting tall content spill above its top edge */
.story--pinned .story-sticky > :first-child { margin-top: auto; }
.story--pinned .story-sticky > :last-child { margin-bottom: auto; }
/* Pinned state is only used when the viewport is tall enough for the whole stage
   (see wireStory: min-height 680px). The phone keeps a fixed width and lets its
   height follow its content, so no step is clipped. */
.story--pinned .story-phone {
  max-width: 262px;
  aspect-ratio: auto;
  height: auto;
  padding: 40px 12px 12px;
  gap: 7px;
  border-width: 6px;
  border-radius: 34px;
}
.story--pinned .story-phone .sp-top { margin-bottom: 0; }
.story--pinned .sp-call { padding: 9px 8px; }
.story--pinned .sp-call .sp-avatar { width: 32px; height: 32px; margin-bottom: 3px; font-size: 15px; }
.story--pinned .sp-bubble { font-size: 12px; padding: 8px 10px; }
.story--pinned .sp-booked { padding: 8px 10px; font-size: 12px; }
.story--pinned .sp-notif { margin-top: 0; padding: 9px 10px; }
.story--pinned .sp-notif strong { font-size: 11.5px; }
.story--pinned .sp-notif span { font-size: 11px; }
.story--pinned .sp-time { font-size: 9px; }
/* the incoming-call card has done its job once the auto-text is sent: collapse it */
.story--pinned .sp-call { transition: max-height 500ms ease, padding 500ms ease, opacity 400ms ease; max-height: 180px; overflow: hidden; }
.story--pinned[data-step]:not([data-step="1"]) .sp-call { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
/* short screens: drop the intro paragraph so the steps and phone fit beside the headline */
@media (max-height: 820px) {
  .story--pinned .story-sticky .lead { display: none; }
  .story--pinned .story-sticky h2 { font-size: clamp(34px, 4.2vw, 44px); }
  .story--pinned .story-layout { margin-top: 20px; }
  .story--pinned .sp-call .sp-sub { display: none; }
  .story--pinned .story-phone { gap: 6px; }
  .story--pinned .story-steps .story-step { padding: 10px 16px; }
  .story--pinned .story-steps { gap: 6px; }
  .story--pinned .story-steps .story-step p { font-size: 13.5px; line-height: 1.4; }
}
@media (min-width: 881px) and (max-height: 960px) {
  .story--pinned .story-steps { gap: 8px; }
  .story--pinned .story-step { padding: 12px 18px; }
}
.story-layout {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: 64px;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 880px) { .story-layout { grid-template-columns: 1fr; gap: 36px; } }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.story-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: opacity 500ms ease, border-color 400ms ease, background 400ms ease;
}
.story-step .st-n {
  grid-row: 1 / span 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
  border: 1px solid rgba(59,130,246,0.35);
  transition: background 400ms ease, color 400ms ease;
}
.story-step strong { color: var(--text-1); font-size: 16px; font-weight: 600; align-self: end; }
.story-step p { font-size: 14.5px; color: var(--text-3); line-height: 1.5; }
.story--pinned .story-step { opacity: 0.38; }
.story--pinned .story-step.is-active {
  opacity: 1;
  border-color: rgba(59,130,246,0.45);
  background: linear-gradient(90deg, rgba(59,130,246,0.10), var(--bg-2) 70%);
}
.story--pinned .story-step.is-active .st-n { background: var(--blue-fill); color: #fff; border-color: var(--blue); }
.story-phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 17;
  border-radius: 40px;
  border: 8px solid var(--bg-3);
  background: var(--bg-1);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7), 0 0 0 1px var(--line-2);
  padding: 46px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.story-phone .sp-top {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  text-align: center;
  margin-bottom: 4px;
}
.sp-call {
  text-align: center;
  padding: 16px 10px;
  border-radius: 18px;
  background: var(--bg-3);
}
.sp-call .sp-avatar {
  width: 46px; height: 46px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #475569, #1e293b);
  color: rgba(255,255,255,0.8);
  font-family: var(--serif);
  font-size: 20px;
}
.sp-call .sp-who { font-size: 13px; color: var(--text-1); font-weight: 600; }
.sp-call .sp-sub { font-size: 11px; color: var(--text-4); margin-top: 2px; }
.sp-call.is-ringing .sp-avatar { animation: ring-shake 0.7s ease-in-out infinite; }
.sp-bubble {
  max-width: 88%;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.4;
  border-radius: 14px;
}
.sp-bubble--in { background: var(--blue-fill); color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.sp-bubble--out { background: var(--bg-3); color: var(--text-1); align-self: flex-end; border-bottom-right-radius: 4px; }
.sp-time {
  align-self: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--text-4);
}
.sp-booked {
  align-self: stretch;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16,185,129,0.35);
  background: var(--green-soft);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
}
.sp-notif {
  margin-top: auto;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
}
.sp-notif strong { display: block; font-size: 12px; color: var(--text-1); margin-bottom: 2px; }
.sp-notif span { font-size: 11.5px; color: var(--text-3); line-height: 1.4; }
.story--pinned .story-phone [data-from]:not(.is-on) { opacity: 0; translate: 0 10px; }
.story-phone [data-from] { transition: opacity 500ms ease, translate 500ms cubic-bezier(0.2,0.8,0.2,1); }
.story-phone .sp-notif[data-from] { transition-delay: 120ms; }
.story-example-note { font-size: 12.5px; color: var(--text-4); text-align: center; margin-top: 14px; }

/* ---------- sub-nav with active highlight (custom builds) ---------- */
.sub-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-nav a {
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-3);
  transition: color 200ms, border-color 200ms, background 200ms;
}
.sub-nav a:hover { color: var(--text-1); }
.sub-nav a.is-active { color: #fff; background: var(--blue-fill); border-color: var(--blue); }

/* ---------- section pieces ---------- */
.section--tight { padding: 80px 0; }
.section-head { margin-bottom: 8px; }
.section-head .lead { margin-top: 14px; }
.hero-pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- mobile rhythm ---------- */
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .story:not(.story--pinned) { padding: 72px 0; }
}

/* ---------- mobile touch targets ---------- */
@media (max-width: 720px) {
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .center-cta .btn { width: 100%; }
}

/* ---------- reduced motion: show the final state of everything ---------- */
@media (prefers-reduced-motion: reduce) {
  .aurora-blob,
  .net-link,
  .net-hub-ring,
  .net-node-dot,
  .service-feature::before,
  .sp-call.is-ringing .sp-avatar { animation: none !important; }
  .service-feature::before { display: none; }
  .service-feature { border-color: var(--line-2); }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding-right: 0; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .split-word { opacity: 1; transform: none; filter: none; animation: none; }
  .stagger > * { opacity: 1; }
  .stagger.in > * { animation: none; }
  .hero-visual-wrap { transform: none; }
  .feature.service-card, .plan-mini, .chip-list a { transform: none !important; transition: none; }
  .story-step, .story-phone [data-from] { transition: none; }
  .story--pinned { height: auto; }
  .story:not(.story--pinned) { padding: 96px 0; }
  .story--pinned .story-sticky { position: static; height: auto; min-height: 0; }
  .story--pinned .story-step { opacity: 1; }
  .story--pinned .story-phone [data-from]:not(.is-on) { opacity: 1; translate: none; }
  .hero-grid-spot, .hero-spot-glow { display: none; }
  .progress span { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; }

/* ---------- small layout pieces used by the landing page ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--blue-fill);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }
.hero-text > .hero-ticker { margin-bottom: 26px; }
.marquee-group { list-style: none; }
.service-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
@media (max-width: 720px) { .service-feature { grid-template-columns: 1fr; } }
.service-feature h3 { color: var(--text-1); }
.service-feature:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.feature.service-feature:hover { transform: none; }
.sf-actions .btn { pointer-events: none; }
.chip-list a:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--text-3); transition: color 150ms; }
@media (max-width: 480px) { .eyebrow::after { display: none; } }

/* ============================================================
   PAGE PIECES: missed-call, custom builds, calculator
   Additive. Landing-page components above are unchanged.
   ============================================================ */
:root { --nav-h: 72px; }
section[id] { scroll-margin-top: calc(var(--nav-h, 72px) + 24px); }

.hero--page { padding: 72px 0 64px; }
.hero--page h1 { font-size: clamp(40px, 6.2vw, 74px); max-width: 18ch; }
.hero--page .hero-sub { margin-bottom: 0; }
.hero--page .hero-ctas { margin-top: 36px; margin-bottom: 0; }

/* custom builds hero: network backdrop */
.hero-net {
  position: absolute;
  top: 50%;
  right: -80px;
  translate: 0 -50%;
  width: min(480px, 44vw);
  height: auto;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.hero--builds .container { position: relative; z-index: 1; }
.hero--builds .net-label { font-size: 13px; }
/* The backdrop only has room to sit beside the headline on wide screens; below
   1100px it would sit behind the text, so it is hidden there. */
@media (max-width: 1099px) {
  .hero-net { display: none; }
}

/* sub-nav sticks under the main nav on long pages */
.sub-nav-wrap {
  position: sticky;
  top: var(--nav-h, 72px);
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.sub-nav-wrap .sub-nav { padding: 14px 0; }
@media (max-width: 480px) { .sub-nav-wrap .sub-nav { gap: 6px; } .sub-nav a { font-size: 13px; padding: 8px 12px; } }

/* checklist lists */
.check-list { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.check-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  width: 16px; height: 16px;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%2360A5FA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
.check-list strong { color: var(--text-1); font-weight: 600; }

/* plan cards: tilt + lift, large numbers tween in place */
.price-card {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform 350ms cubic-bezier(0.2,0.8,0.2,1), border-color 300ms, box-shadow 300ms;
}
.price-amount [data-price] { font-size: inherit; color: inherit; font-weight: inherit; letter-spacing: inherit; margin: 0; }
.price-prepay { font-size: 13px; color: var(--text-3); margin: -4px 0 10px; line-height: 1.5; }
.price-card .price-features { margin-bottom: 28px; }
.price-card .price-features li { font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { --lift: -6px; border-color: rgba(59,130,246,0.45); }
  .price-card.featured:hover { --lift: -12px; }
}

/* one-time setup fee */
.setup-box {
  margin-top: 32px;
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(59,130,246,0.08), rgba(59,130,246,0.02));
  border: 1px solid rgba(59,130,246,0.20);
  border-radius: var(--radius);
}
.setup-box svg { color: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }
.setup-box strong { display: block; color: var(--text-1); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.setup-box p { font-size: 14px; color: var(--text-3); line-height: 1.6; }
.setup-box .waive { color: var(--blue-bright); font-weight: 500; }
.plans-note { margin-top: 20px; font-size: 14px; color: var(--text-4); text-align: center; }
.plans-note a { color: var(--blue-bright); font-weight: 600; }
.plans-note a:hover { text-decoration: underline; }

/* tools */
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.tool-card {
  padding: 22px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 300ms cubic-bezier(0.2,0.8,0.2,1), border-color 300ms;
}
.tool-card strong { display: block; color: var(--text-1); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.tool-card span { font-size: 13.5px; color: var(--text-3); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) {
  .tool-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.40); }
}
@media (max-width: 1000px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } .tool-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 480px) { .tool-grid { grid-template-columns: 1fr; } }

/* pair-with link block */
.pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 28px 30px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
}
.pair .eyebrow { margin-bottom: 10px; }
.pair p { color: var(--text-3); font-size: 15px; line-height: 1.55; max-width: 60ch; }
.pair p strong { color: var(--text-1); font-weight: 600; }
.text-link { color: var(--blue-bright); font-weight: 600; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* custom builds sections */
.build {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.build--flip .build-card-wrap { order: -1; }
.build-copy .lead { margin-top: 14px; }
.build-meta { margin-top: 26px; display: grid; gap: 12px; font-size: 14.5px; color: var(--text-3); line-height: 1.55; }
.build-meta strong { color: var(--text-1); font-weight: 600; }
.build-cta { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.build-quote {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.build-card {
  --rx: 0deg; --ry: 0deg;
  --gx: 50%; --gy: 50%;
  --lift: 0px;
  position: relative;
  padding: 34px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform 350ms cubic-bezier(0.2,0.8,0.2,1), border-color 300ms, box-shadow 300ms;
}
.build-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--gx) var(--gy), rgba(59,130,246,0.16), transparent 62%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.build-card h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
}
.build-good {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-3);
  line-height: 1.55;
}
.build-good strong { color: var(--text-1); font-weight: 600; }
.build-tools { margin-top: 10px; font-size: 14px; color: var(--text-4); line-height: 1.55; }
.build-tools strong { color: var(--text-3); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .build-card:hover { --lift: -4px; border-color: rgba(59,130,246,0.45); box-shadow: var(--card-shadow); }
  .build-card:hover::after { opacity: 1; }
}
@media (max-width: 880px) {
  .build { grid-template-columns: 1fr; gap: 40px; }
  .build--flip .build-card-wrap { order: 0; }
}
.build-divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* calculator explanation */
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 8px; align-items: start; }
.explain h3 { font-size: 22px; color: var(--text-1); margin-bottom: 12px; }
.explain p { font-size: 16px; line-height: 1.7; color: var(--text-3); max-width: 66ch; }
.explain p + p { margin-top: 14px; }
.explain strong { color: var(--text-1); font-weight: 600; }
.explain-block + .explain-block { margin-top: 44px; }
.formula {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.formula span { color: var(--blue-bright); }
.calc-links { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 880px) { .explain { grid-template-columns: 1fr; gap: 48px; } }

/* motion-off fallbacks for the page pieces */
@media (prefers-reduced-motion: reduce) {
  .build-card, .price-card, .tool-card, .hero-net { transform: none !important; transition: none !important; }
  .price-card.featured { --lift: 0px; }
  .hero--builds .hero-net { opacity: 0.3; }
}

:root[data-theme="light"] .sp-booked { color: #047857; }

/* ---------- legal pages ---------- */
.legal { padding: 140px 0 80px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 8px 0 8px; }
.legal-date { color: var(--text-4); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--blue-bright); text-decoration: underline; }

/* ---------- story: autoplay loop (replaces scroll-pinning) ---------- */
.story--auto .story-phone [data-from]:not(.is-on) { opacity: 0; translate: 0 10px; }
.story--auto .story-step { opacity: 0.72; cursor: pointer; transition: opacity 300ms ease, border-color 300ms ease, background 300ms ease; }
.story--auto .story-step.is-active {
  opacity: 1;
  border-color: rgba(59,130,246,0.45);
  background: linear-gradient(90deg, rgba(59,130,246,0.10), var(--bg-2) 70%);
}
.story--auto .story-step.is-active .st-n { background: var(--blue-fill); color: #fff; border-color: var(--blue); }
