/* Bodhivex cybersecurity SaaS. Dark-first, electric blue, generous space. */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem; --radius-md: 0.5rem;
  --radius-lg: 0.75rem; --radius-xl: 1rem; --radius-full: 9999px;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --content-narrow: 640px;
  --content-default: 1040px;
  --content-wide: 1200px;
  --nav-h: 72px;
}

[data-theme="dark"] {
  --bg: #050505;
  --surface: #101114;
  --surface-2: #0A0A0C;
  --surface-offset: #15171A;
  --surface-dynamic: #15171A;
  --divider: #16181B;
  --border: #202124;
  --text: #F5F5F5;
  --text-muted: #969696;
  --text-faint: #5F6368;
  --primary: #155CFF;
  --primary-dim: #246BFF;
  --primary-ink: #FFFFFF;
  --primary-bg: rgba(21, 92, 255, 0.10);
  --primary-glow: rgba(21, 92, 255, 0.18);
  --danger: #ff4d6d;
  --warn: #ffd166;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
  --nav-bg: color-mix(in oklab, var(--bg) 88%, transparent);
}

[data-theme="light"] {
  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --surface-offset: #FFFFFF;
  --surface-dynamic: #F5F5F5;
  --divider: #E6E6E6;
  --border: #D5D5D5;
  --text: #050505;
  --text-muted: #5F6368;
  --text-faint: #969696;
  --primary: #155CFF;
  --primary-dim: #246BFF;
  --primary-ink: #FFFFFF;
  --primary-bg: rgba(21, 92, 255, 0.10);
  --primary-glow: rgba(21, 92, 255, 0.18);
  --danger: #c4233e;
  --warn: #9a6b00;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --nav-bg: color-mix(in oklab, var(--bg) 86%, transparent);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100dvh;
  transition: background 0.3s, color 0.3s;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.18;
  text-wrap: balance;
  letter-spacing: -0.025em;
}
p { text-wrap: pretty; }
a, button, [role="button"] {
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), box-shadow var(--transition),
    opacity var(--transition), transform var(--transition);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
::selection { background: rgba(21, 92, 255, 0.22); color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 400;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--content-default); margin-inline: auto; padding-inline: var(--space-6); }
.wrap-wide { max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.wrap-narrow { max-width: 720px; margin-inline: auto; padding-inline: var(--space-6); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: var(--nav-h);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-logo svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: var(--space-3); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 0 24px rgba(21, 92, 255, 0.18);
}
.btn-primary:hover {
  background: var(--primary-dim);
  box-shadow: 0 0 32px rgba(21, 92, 255, 0.18);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }

.theme-btn,
.menu-toggle,
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.theme-btn:hover,
.menu-toggle:hover,
.icon-btn:hover { color: var(--primary); border-color: var(--primary); }
.menu-toggle { display: none; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: 0 var(--space-6) var(--space-6);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.mobile-nav.open { display: flex; }
.mobile-nav a,
.mobile-nav button.nav-text {
  font-size: var(--text-base);
  color: var(--text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--divider);
  text-align: left;
  width: 100%;
}
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta-audit { display: none; }
  .nav-support { display: none; }
  .menu-toggle { display: flex; }
}

.hero {
  padding: clamp(var(--space-16), 10vw, var(--space-28, 7rem)) 0 clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(21, 92, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(21, 92, 255, 0.04), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid color-mix(in oklab, var(--primary) 28%, transparent);
  background: var(--primary-bg);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.hero-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.proof-item {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.proof-icon { color: var(--primary); }
.proof-divider { width: 1px; height: 16px; background: var(--border); }

.vuln-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
  justify-content: center;
  padding-inline: var(--space-4);
  max-width: 920px;
  margin-inline: auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.chip.active {
  background: var(--primary-bg);
  border-color: color-mix(in oklab, var(--primary) 45%, var(--border));
  color: var(--primary);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.hero-terminal {
  max-width: 680px;
  margin: var(--space-16) auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(21, 92, 255, 0.06);
  text-align: left;
  position: relative;
  z-index: 1;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-red { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green { background: #28c840; }
.terminal-title {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
}
.terminal-body {
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.85;
}
.t-prompt { color: var(--primary); }
.t-cmd { color: var(--text); }
.t-comment { color: var(--text-faint); }
.t-ok { color: var(--primary); font-weight: 700; }
.t-warn { color: var(--warn); }
.t-err { color: var(--danger); }
.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 1.1s step-end infinite;
}
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.fade { opacity: 1; }
@supports (animation-timeline: view()) {
  .fade {
    opacity: 0;
    animation: af linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}
@keyframes af { to { opacity: 1; } }

section { padding: clamp(var(--space-16), 8vw, var(--space-24)) 0; }
section + section { border-top: 1px solid var(--divider); }
.section-flush { border-top: none; padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--primary); display: inline-block; }
.eyebrow.center { justify-content: center; }
.sec-title { font-size: var(--text-2xl); font-weight: 700; margin-bottom: var(--space-4); max-width: 18ch; }
.sec-sub { font-size: var(--text-base); color: var(--text-muted); max-width: 52ch; line-height: 1.75; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-top: var(--space-12);
}
@media (max-width: 760px) {
  .problem-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}
.stat-stack { display: flex; flex-direction: column; gap: var(--space-4); }
.stat-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.stat-row-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  white-space: nowrap;
  min-width: 90px;
}
.stat-row-text { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; padding-top: 2px; }
.motto-block h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}
.motto-block p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
}
.motto-block p:last-child { margin-bottom: 0; }

.steps { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-12); max-width: 720px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step:hover { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary-bg), var(--shadow-md); }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  background: var(--primary-bg);
  color: var(--primary);
  flex-shrink: 0;
}
.step-title { font-weight: 700; font-size: var(--text-base); margin-bottom: var(--space-1); font-family: var(--font-display); }
.step-desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-4);
  margin-top: var(--space-12);
}
.feat {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.feat:hover { box-shadow: var(--shadow-md); border-color: var(--primary-bg); transform: translateY(-2px); }
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  margin-bottom: var(--space-5);
}
.feat-icon svg { display: block; }
.feat-title { font-weight: 700; font-size: var(--text-base); margin-bottom: var(--space-2); font-family: var(--font-display); }
.feat-desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; }

.compare-wrap { overflow-x: auto; margin-top: var(--space-12); border: 1px solid var(--border); border-radius: var(--radius-xl); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare-table th,
.compare-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--divider);
  font-size: var(--text-sm);
}
.compare-table th {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--surface);
}
.compare-table td:first-child { color: var(--text-muted); }
.compare-table .bodhivex-col { color: var(--primary); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--primary); }
.compare-table .cross { color: var(--text-faint); }
.col-header { font-weight: 800; color: var(--text) !important; }
.col-bv { background: var(--primary-bg); }

.proof-section { text-align: center; }
.proof-section .sec-title,
.proof-section .sec-sub { margin-inline: auto; }
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-5);
  margin-top: var(--space-12);
  text-align: left;
}
.testi {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}
.testi:hover { box-shadow: var(--shadow-md); }
.testi-quote {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  flex: 1;
}
.testi-quote::before { content: "“"; color: var(--primary); font-size: 1.5em; }
.testi-author { display: flex; align-items: center; gap: var(--space-3); }
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: var(--text-sm); font-family: var(--font-display); }
.testi-role { font-size: var(--text-xs); color: var(--text-muted); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
  align-items: stretch;
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan {
  padding: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-bg), var(--shadow-lg), 0 0 40px rgba(21, 92, 255, 0.08);
}
@media (min-width: 861px) {
  .plan.featured { transform: translateY(-8px); }
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-ink);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.plan-name {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.plan-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price span { font-size: var(--text-base); font-weight: 400; color: var(--text-muted); }
.plan-desc { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-6); line-height: 1.6; }
.plan-divider { height: 1px; background: var(--divider); margin-bottom: var(--space-6); }
.plan-features { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); flex: 1; }
.plan-feat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}
.plan-feat-check { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.plan-cta { width: 100%; justify-content: center; padding: var(--space-4) var(--space-6); border-radius: var(--radius-lg); }

.faq-list { margin-top: var(--space-12); display: flex; flex-direction: column; gap: var(--space-3); max-width: 760px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 var(--space-5);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}
.faq-item[open] summary::after { content: "-"; }
.faq-item p {
  padding-bottom: var(--space-5);
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(21, 92, 255, 0.08), transparent);
}
.cta-banner h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); max-width: 18ch; margin-inline: auto; }
.cta-banner p {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.cta-pair { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; position: relative; }

.site-footer {
  padding: 0 0 var(--space-8);
  border-top: 1px solid var(--divider);
}
.footer-banner {
  overflow: hidden;
  background: #050505;
  border-bottom: 1px solid var(--divider);
}
.footer-banner img {
  display: block;
  width: 100%;
  height: clamp(180px, 24vw, 320px);
  object-fit: cover;
  object-position: 22% 48%;
}
@media (max-width: 640px) {
  .footer-banner img {
    height: 200px;
    object-position: 8% 48%;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin: var(--space-12) 0 var(--space-10);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: var(--text-sm); color: var(--text-muted); max-width: 30ch; line-height: 1.7; }
.footer-col h5 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col ul a { font-size: var(--text-sm); color: var(--text-muted); }
.footer-col ul a:hover,
.footer-col ul button:hover { color: var(--primary); }
.footer-col ul button { font-size: var(--text-sm); color: var(--text-muted); text-align: left; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--divider);
  font-size: var(--text-xs);
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--primary); }
.made-in { display: flex; align-items: center; gap: var(--space-2); }
.footer-social { display: flex; gap: var(--space-4); }

.legal-page { padding: clamp(var(--space-16), 8vw, var(--space-24)) 0 var(--space-24); }
.legal-page h1 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.legal-page .lede { color: var(--text-muted); margin-bottom: var(--space-10); }
.legal-page h2 { font-size: var(--text-lg); margin: var(--space-8) 0 var(--space-3); }
.legal-page p,
.legal-page li { color: var(--text-muted); margin-bottom: var(--space-4); font-size: var(--text-sm); line-height: 1.75; }
.legal-page ul { list-style: disc; padding-left: 1.2rem; }
.legal-page a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.thanks-card {
  max-width: 560px;
  margin: clamp(var(--space-16), 10vw, var(--space-24)) auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
}
.thanks-card h1 { font-size: var(--text-2xl); margin: var(--space-5) 0 var(--space-3); }
.thanks-card p { color: var(--text-muted); margin-bottom: var(--space-8); }

/* Support modal */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 7, 0.72);
  backdrop-filter: blur(8px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.support-modal {
  position: fixed;
  z-index: 310;
  inset: 12px 12px 12px;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom));
  transform: translateY(12px);
  visibility: hidden;
  pointer-events: none;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), visibility 200ms ease;
}
.support-modal.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
@media (min-width: 720px) {
  .support-modal {
    inset: 50% auto auto 50%;
    width: min(520px, calc(100vw - 48px));
    max-height: min(88dvh, 780px);
    padding: var(--space-8);
    transform: translate(-50%, calc(-46% + 16px));
  }
  .support-modal.open { transform: translate(-50%, -50%); }
}
body.modal-open .support-fab,
body.modal-open .mobile-dock { display: none; }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.modal-head h2 { font-size: var(--text-xl); }
.modal-head p { color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-2); }
.form-grid { display: grid; gap: var(--space-4); }
.form-row { display: grid; gap: var(--space-4); }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: var(--text-sm);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
}
.form-note { font-size: var(--text-xs); color: var(--text-faint); }
.form-actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-2); }
.form-status {
  font-size: var(--text-sm);
  min-height: 1.2em;
}
.form-status.error { color: var(--danger); }
.form-status.ok { color: var(--primary); }

.support-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 220;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 12px 14px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
  font-size: var(--text-sm);
  box-shadow: 0 10px 28px rgba(21, 92, 255, 0.18), var(--shadow-md);
}
.support-fab:hover { transform: translateY(-2px); background: var(--primary-dim); }
.support-fab svg { display: block; }

.mobile-dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 210;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  gap: 8px;
}
.mobile-dock .btn { flex: 1; }
@media (max-width: 980px) {
  .support-fab { display: none; }
  .mobile-dock { display: flex; }
  body { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade { opacity: 1; }
}
