/* ============================================================
   WEBBUILDR V2 — shared design system (all pages)
   Brand: midnight #060F2E · electric #1D4ED8 · sky #3B82F6 · mist #93C5FD
   Type: Space Grotesk (display) · Inter (body)
   ============================================================ */

:root {
  --midnight: #060F2E;
  --navy: #0F2252;
  --electric: #1D4ED8;
  --sky: #3B82F6;
  --mist: #93C5FD;
  --ice: #F0F4FF;
  --bg-deep: #050C26;
  --bg-mid: #0A1A42;
  --bg-lifted: #142B5C;
  --t-body: #D6E8FF;
  --t-secondary: #BFDBFE;
  --t-muted: #93C5FD;
  --green: #10B981;
  --green-light: #6EE7B7;
  --amber: #F59E0B;
  --amber-light: #FCD34D;
  /* Accent points — used sparingly for depth, never replacing the blue brand */
  --violet: #7C3AED;
  --violet-light: #A78BFA;
  --cyan: #06B6D4;
  --cyan-light: #67E8F9;
  --line: rgba(59, 130, 246, 0.22);
  --line-soft: rgba(59, 130, 246, 0.12);
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --pad-x: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--t-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); color: #fff; }

em { font-style: normal; }
h1 em, h2 em, .cta em {
  background: linear-gradient(120deg, var(--sky), var(--mist));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--sky);
}

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

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px; padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled, .nav.solid {
  background: rgba(5, 12, 38, 0.85);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-color: var(--line-soft);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.nav-mark { width: 30px; height: 30px; }
.nav-word {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: #fff; letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 26px); }
.nav-links a {
  color: var(--t-secondary); text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: color 0.2s; min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-portal {
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 9px;
  padding: 9px 14px !important; color: #fff !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.nav-portal:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }
.nav-cta {
  background: var(--electric); color: #fff !important; font-weight: 600 !important;
  border-radius: 9px; padding: 10px 16px !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}
.nav-cta:hover { background: #1e40af; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(29, 78, 216, 0.45); }
.nav-burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
}
.nav-burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 190;
  background: rgba(5, 12, 38, 0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--pad-x) 28px;
  display: none; flex-direction: column;
  opacity: 0; transform: translateY(-12px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.mobile-menu a {
  color: var(--t-body); text-decoration: none; font-size: 17px; font-weight: 500;
  padding: 15px 2px; border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .mm-portal, .mobile-menu .mm-cta {
  margin-top: 14px; border-bottom: 0; border-radius: 10px; text-align: center;
  padding: 15px; font-weight: 600;
}
.mobile-menu .mm-portal { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.mobile-menu .mm-cta { background: var(--electric); color: #fff; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 34px; border-radius: 12px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  min-height: 54px; cursor: pointer; border: 0; font-family: var(--font-body);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.25s;
  will-change: transform;
}
.btn-primary { background: var(--electric); color: #fff; box-shadow: 0 4px 24px rgba(29, 78, 216, 0.35); }
.btn-primary:hover { background: #2557e0; box-shadow: 0 10px 40px rgba(29, 78, 216, 0.55); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.05); }
.btn-xl { padding: 21px 46px; font-size: 18px; border-radius: 14px; }

/* ============ SECTION SCAFFOLD ============ */
section { position: relative; }
.section-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 18px;
}
.section-head { max-width: 880px; margin: 0 auto 64px; text-align: center; }
.section-head h2, .split-copy h2 {
  font-size: clamp(32px, 4.6vw, 60px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 22px;
}
.section-sub { font-size: clamp(15px, 1.8vw, 18px); line-height: 1.75; color: var(--t-body); max-width: 600px; margin: 0 auto; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 30px 0 36px; }
.check-list li { padding-left: 34px; position: relative; font-size: 15.5px; line-height: 1.65; color: var(--t-secondary); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.45);
}
.check-list li::after {
  content: ''; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px;
  border-left: 2px solid var(--green-light); border-bottom: 2px solid var(--green-light);
  transform: rotate(-45deg);
}
.check-list b { color: #fff; font-weight: 600; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: 170px var(--pad-x) 90px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 78% 8%, rgba(29, 78, 216, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 45% at 12% 95%, rgba(29, 78, 216, 0.12), transparent 70%),
    var(--bg-deep);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.1) 1px, transparent 0);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 70%);
}
.page-hero-inner {
  position: relative; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.page-hero-inner.single { grid-template-columns: minmax(0, 1fr); max-width: 880px; text-align: center; }
.page-hero h1 {
  font-size: clamp(38px, 5.6vw, 72px); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px;
}
.page-hero .lede { font-size: clamp(16px, 2vw, 19px); line-height: 1.75; color: var(--t-body); max-width: 640px; }
.page-hero-inner.single .lede { margin: 0 auto; }
.page-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.page-hero-inner.single .page-actions { justify-content: center; }

/* plan summary card */
.plan-summary {
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(150deg, rgba(15, 34, 82, 0.72), rgba(15, 34, 82, 0.28));
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  position: relative; overflow: hidden;
}
.plan-summary::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.7), transparent);
}
.summary-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-muted); }
.summary-price {
  font-family: var(--font-display); font-size: clamp(44px, 5vw, 60px); font-weight: 700;
  color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 14px;
}
.summary-price span { font-size: 0.45em; color: var(--t-muted); font-weight: 500; }
.summary-note { font-size: 14.5px; line-height: 1.65; color: var(--t-secondary); padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.plan-summary .check-list { margin: 18px 0 0; gap: 12px; }
.plan-summary .check-list li { font-size: 14px; }

/* ============ GENERIC CARD GRIDS ============ */
.band { padding: clamp(72px, 10vw, 130px) var(--pad-x); }
.band.lifted { background: linear-gradient(180deg, var(--bg-deep), var(--bg-mid) 25%, var(--bg-mid) 75%, var(--bg-deep)); }
.band-inner { max-width: 1160px; margin: 0 auto; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.info-card {
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(160deg, rgba(15, 34, 82, 0.55), rgba(15, 34, 82, 0.15));
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.info-card:hover { border-color: rgba(59, 130, 246, 0.55); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(29, 78, 216, 0.18); }
.info-card h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.info-card p { font-size: 15px; line-height: 1.7; color: var(--t-secondary); }
.info-card .card-kicker {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 14px;
}

/* two-panel included lists */
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel {
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(160deg, rgba(15, 34, 82, 0.55), rgba(15, 34, 82, 0.15));
}
.panel h3 { font-size: 21px; font-weight: 700; margin-bottom: 20px; }
.panel .check-list { margin: 0; }

/* fit band */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-box {
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(26px, 3vw, 38px);
  background: linear-gradient(160deg, rgba(15, 34, 82, 0.4), rgba(15, 34, 82, 0.1));
}
.fit-box.good { border-color: rgba(16, 185, 129, 0.4); background: linear-gradient(160deg, rgba(16, 185, 129, 0.08), rgba(15, 34, 82, 0.2)); }
.fit-box h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.fit-box.good h3 { color: var(--green-light); }
.fit-box p { font-size: 15px; line-height: 1.7; color: var(--t-secondary); }

/* ============ PLANS GRID (home + reuse) ============ */
.plans { padding: clamp(80px, 12vw, 150px) var(--pad-x); background: var(--bg-deep); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1160px; margin: 0 auto; }
.plan-card {
  border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(28px, 3vw, 42px);
  background: linear-gradient(160deg, rgba(15, 34, 82, 0.6), rgba(15, 34, 82, 0.18));
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.plan-card:hover { border-color: rgba(59, 130, 246, 0.6); transform: translateY(-5px); box-shadow: 0 26px 70px rgba(29, 78, 216, 0.22); }
.plan-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.7), transparent);
}
.plan-num { font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.plan-card h3 {
  font-family: var(--font-display); font-size: clamp(40px, 4.6vw, 54px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px;
}
.plan-per { font-size: 0.36em; color: var(--t-muted); font-weight: 500; letter-spacing: 0; margin-left: 2px; }
.plan-tagline { font-size: 15px; line-height: 1.65; color: var(--t-secondary); margin-bottom: 22px; }
.plan-price { font-family: var(--font-display); font-size: 15px; color: var(--t-muted); margin-bottom: 22px; }
.plan-price b { color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.plan-card .check-list { margin: 0 0 26px; gap: 11px; flex: 1; }
.plan-card .check-list li { font-size: 14px; }
.plan-link { font-weight: 600; font-size: 15px; color: var(--mist); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: gap 0.2s, color 0.2s; }
.plan-link:hover { color: #fff; gap: 13px; }
.plan-card.featured { border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 20px 60px rgba(29, 78, 216, 0.2); }
.plan-card.featured .plan-link { color: #fff; }

/* Activation callout — assisted setup above the subscription grid */
.activation {
  max-width: 1160px; margin: 0 auto 22px;
  border: 1px solid var(--line); border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 140% at 90% 50%, rgba(124, 58, 237, 0.16), transparent 70%),
    linear-gradient(150deg, rgba(15, 34, 82, 0.6), rgba(15, 34, 82, 0.18));
  padding: clamp(26px, 3vw, 38px) clamp(26px, 3.5vw, 46px);
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.activation::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.6), transparent);
}
.activation-text { flex: 1; min-width: 280px; }
.activation-kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet-light); margin-bottom: 10px; }
.activation-text h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.activation-text p { font-size: 15px; line-height: 1.7; color: var(--t-secondary); max-width: 620px; }
.activation-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex-shrink: 0; }
.activation-price { font-family: var(--font-display); font-size: 15px; color: var(--t-muted); }
.activation-price b { color: #fff; font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; display: block; }

.plans-foot {
  max-width: 760px; margin: 40px auto 0; text-align: center;
  font-size: 13.5px; line-height: 1.7; color: var(--t-muted);
}
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mist); background: rgba(29, 78, 216, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.45); border-radius: 100px; padding: 5px 12px;
}

/* ============ STATS ============ */
.stats {
  padding: clamp(56px, 8vw, 90px) var(--pad-x);
  background: var(--midnight);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  max-width: 100%;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 72px); font-weight: 700;
  letter-spacing: -0.03em; color: #fff; line-height: 1; display: block;
  font-variant-numeric: tabular-nums;
}
.stat-lbl { display: block; margin-top: 10px; font-size: 13.5px; color: var(--t-secondary); }

/* ============ CTA ============ */
.cta {
  padding: clamp(110px, 16vw, 200px) var(--pad-x);
  text-align: center; position: relative; overflow: hidden;
  background: var(--bg-deep);
}
.cta::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(900px, 120vw); height: min(900px, 120vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.28), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.cta-inner { position: relative; max-width: 880px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(36px, 6.4vw, 80px); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 26px;
}
.cta p { font-size: clamp(15px, 2vw, 19px); line-height: 1.7; color: var(--t-body); max-width: 560px; margin: 0 auto 40px; }
.cta .page-actions {
  justify-content: center;
  align-items: center;
  margin-top: 0;
}
.cta .page-actions .btn {
  min-width: 210px;
}
.cta-micro { display: block; margin-top: 22px; font-size: 13px; color: var(--t-muted); }
.cta.compact { padding: clamp(80px, 11vw, 140px) var(--pad-x); }
.cta.compact h2 { font-size: clamp(30px, 4.6vw, 56px); }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(160deg, rgba(15, 34, 82, 0.5), rgba(15, 34, 82, 0.12));
  overflow: hidden; transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(59, 130, 246, 0.5); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0;
  font-size: 22px; font-weight: 400; color: var(--sky);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; font-size: 15px; line-height: 1.75; color: var(--t-secondary); }
.faq-answer b, .faq-answer strong { color: #fff; }

/* ============ FORMS ============ */
.form-shell {
  max-width: 760px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(160deg, rgba(15, 34, 82, 0.55), rgba(15, 34, 82, 0.15));
  padding: clamp(26px, 4vw, 48px);
}
.form-shell h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.form-shell > p { color: var(--t-secondary); font-size: 15px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--t-secondary); }
.form-field label span { color: var(--t-muted); font-weight: 400; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(5, 12, 38, 0.7);
  border: 1px solid var(--line); border-radius: 10px;
  color: #fff; font-family: var(--font-body); font-size: 15px;
  padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(147, 197, 253, 0.45); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2393C5FD' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.custom-select {
  position: relative;
}
.custom-select .form-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.select-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 12, 38, 0.7);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.2;
  padding: 13px 15px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.select-trigger:hover,
.custom-select.open .select-trigger {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.custom-select.invalid .select-trigger {
  border-color: #FCA5A5;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.14);
}
.select-trigger-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-trigger-arrow {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s;
}
.custom-select.open .select-trigger-arrow {
  transform: rotate(225deg) translateY(-1px);
}
.select-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 260px;
  overflow: auto;
  border: 1px solid rgba(59, 130, 246, 0.42);
  border-radius: 12px;
  background: #071536;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
  padding: 6px;
}
.custom-select.open .select-menu {
  display: grid;
  gap: 3px;
}
.select-option {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--t-secondary);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.25;
  padding: 10px 11px;
  text-align: left;
  cursor: pointer;
}
.select-option:hover,
.select-option:focus {
  outline: none;
  color: #fff;
  background: rgba(59, 130, 246, 0.18);
}
.select-option.selected {
  color: #fff;
  background: rgba(29, 78, 216, 0.46);
}
.select-option[aria-disabled="true"] {
  color: rgba(203, 213, 225, 0.46);
  cursor: default;
}
.select-option[aria-disabled="true"]:hover,
.select-option[aria-disabled="true"]:focus {
  background: transparent;
  color: rgba(203, 213, 225, 0.46);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--t-muted); margin-top: 14px; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success h3 { font-size: 26px; margin: 18px 0 10px; }
.form-success p { color: var(--t-secondary); font-size: 15px; }
.form-success .ok-badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto;
  background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--green-light);
}
.form-error { color: #FCA5A5; font-size: 14px; margin-top: 12px; display: none; }

/* ============ LEGAL / DOC PAGES ============ */
.doc-body { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad-x) clamp(80px, 10vw, 130px); }
.doc-body .doc-updated { font-size: 13.5px; color: var(--t-muted); margin-bottom: 40px; }
.doc-body h2 {
  font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; letter-spacing: -0.01em;
  margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.doc-body h3 { font-size: 17px; margin: 24px 0 10px; }
.doc-body p { font-size: 15.5px; line-height: 1.8; color: var(--t-secondary); margin-bottom: 14px; }
.doc-body ul, .doc-body ol { margin: 0 0 14px 22px; }
.doc-body li { font-size: 15.5px; line-height: 1.8; color: var(--t-secondary); margin-bottom: 6px; }
.doc-body a { color: var(--mist); }
.doc-body strong, .doc-body b { color: #fff; }

/* ============ FOOTER ============ */
.footer { background: var(--midnight); border-top: 1px solid var(--line-soft); padding: 64px var(--pad-x) 0; }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
}
.footer-logo { width: 170px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--t-secondary); line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer-col a {
  display: block; color: var(--t-secondary); text-decoration: none;
  font-size: 14px; padding: 6px 0; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-base {
  max-width: 1160px; margin: 0 auto; padding: 22px 0 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--t-muted);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ============ RESPONSIVE (shared) ============ */
@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .card-grid { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .card-grid.cols-2, .panel-grid, .fit-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
  .plans-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }
  .page-hero { padding-top: 130px; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { gap: 36px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .page-actions .btn { width: 100%; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ============ LEAD-CAPTURE FORM (shared: homepage + pricing) ============
   Moved out of home.css 2026-07-26 so more than one page can carry the form.
   Submit handling lives in js/site.js. */

.lead-form {
  position: relative; z-index: 1;
  max-width: 600px; margin: 0 auto; text-align: left;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(160deg, rgba(15, 34, 82, 0.6), rgba(10, 26, 66, 0.3));
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(5, 12, 38, 0.5);
}
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lf-field { display: flex; flex-direction: column; gap: 8px; }
.lf-label {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em; color: var(--t-secondary);
}
.lf-opt { color: var(--t-muted); font-weight: 400; }
.lf-input {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ice);
  background: rgba(5, 12, 38, 0.55);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lf-input::placeholder { color: rgba(147, 197, 253, 0.5); }
.lf-input:hover { border-color: rgba(59, 130, 246, 0.4); }
.lf-input:focus {
  outline: none; border-color: var(--sky);
  background: rgba(5, 12, 38, 0.75);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}
.lf-textarea { resize: vertical; min-height: 88px; line-height: 1.55; }
.lf-submit { width: 100%; margin-top: 4px; }
.lf-submit[disabled] { opacity: 0.6; cursor: progress; }
.lf-micro { display: block; text-align: center; font-size: 12.5px; color: var(--t-muted); margin-top: 2px; }
.lf-micro a { color: var(--mist); text-decoration: underline; text-underline-offset: 2px; }
.lf-micro a:hover { color: #fff; }

/* Honeypot — out of the visual + a11y tree, still in the DOM for bots */
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success state (revealed by home.js after submit) */
.lead-success {
  display: none; position: relative; z-index: 1;
  max-width: 600px; margin: 0 auto; text-align: center;
  padding: clamp(34px, 4vw, 50px);
  border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 24px;
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.14), rgba(10, 26, 66, 0.3));
}
.lead-success.show { display: block; animation: lf-pop 0.5s ease; }
.lead-success-icon {
  width: 58px; height: 58px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: var(--green);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
}
.lead-success-icon svg { width: 28px; height: 28px; }
.lead-success h3 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); color: #fff; margin-bottom: 10px; }
.lead-success p { font-size: 15px; line-height: 1.6; color: var(--t-body); max-width: 420px; margin: 0 auto; }
@keyframes lf-pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .lf-row { grid-template-columns: 1fr; }
}
