/* =========================================================
   Zenoziva — Design System
   Dual-mode (dark / light) with theme color variants.
   ========================================================= */

:root {
  /* Default theme: Cyan */
  --accent: #00d4ff;
  --accent-2: #5eead4;
  --accent-glow: rgba(0, 212, 255, 0.35);
  --accent-soft: rgba(0, 212, 255, 0.08);
}

[data-theme="violet"] {
  --accent: #a78bfa;
  --accent-2: #f472b6;
  --accent-glow: rgba(167, 139, 250, 0.35);
  --accent-soft: rgba(167, 139, 250, 0.10);
}

[data-theme="lime"] {
  --accent: #a3e635;
  --accent-2: #fbbf24;
  --accent-glow: rgba(163, 230, 53, 0.35);
  --accent-soft: rgba(163, 230, 53, 0.10);
}

[data-theme="ember"] {
  --accent: #ff6b35;
  --accent-2: #ffb86b;
  --accent-glow: rgba(255, 107, 53, 0.30);
  --accent-soft: rgba(255, 107, 53, 0.08);
}

/* DARK MODE (default) */
:root {
  --bg: #07090f;
  --bg-elev: #0d1220;
  --bg-elev-2: #131a2c;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --ink: #eef2f8;
  --ink-2: #aab3c5;
  --ink-3: #6b7388;
  --grid-line: rgba(255, 255, 255, 0.04);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --noise-opacity: 0.04;
}

[data-mode="light"] {
  --bg: #f6f5f0;
  --bg-elev: #ffffff;
  --bg-elev-2: #efeee8;
  --surface: rgba(10, 14, 26, 0.03);
  --surface-hover: rgba(10, 14, 26, 0.06);
  --border: rgba(10, 14, 26, 0.10);
  --border-strong: rgba(10, 14, 26, 0.18);
  --ink: #0a0e1a;
  --ink-2: #525b6e;
  --ink-3: #8a94a6;
  --grid-line: rgba(10, 14, 26, 0.05);
  --shadow-lg: 0 30px 80px -20px rgba(10, 14, 26, 0.18);
  --noise-opacity: 0.02;
}

/* Light-mode accent boost */
[data-mode="light"] {
  --accent-glow: rgba(0, 0, 0, 0.08);
}

/* =========================================================
   Reset + base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.5s ease, color 0.5s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* =========================================================
   Typography
   ========================================================= */
.font-display { font-family: 'Space Grotesk', system-ui, sans-serif; letter-spacing: -0.02em; }
.font-brand { font-family: 'Unbounded', 'Space Grotesk', sans-serif; letter-spacing: -0.03em; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
p { margin: 0; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--accent);
}

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

.section { padding: 120px 0; position: relative; }
@media (max-width: 720px) { .section { padding: 80px 0; } }

/* Subtle background grid */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ink);
  background: var(--surface);
}
.nav-actions { display: flex; gap: 10px; align-items: center; }

.mode-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: all 0.25s ease;
}
.mode-toggle:hover { color: var(--accent); border-color: var(--accent); }
.mode-toggle svg { width: 16px; height: 16px; }
.mode-toggle .sun { display: none; }
[data-mode="light"] .mode-toggle .sun { display: block; }
[data-mode="light"] .mode-toggle .moon { display: none; }

.mobile-toggle { display: none; }

/* Nav accent swatches — inline, instant theme switcher */
.accent-swatches {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.accent-swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.15s ease;
}
.accent-swatch:hover { transform: scale(1.18); }
.accent-swatch.active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

/* Mobile-only CTA inside the dropdown menu */
.mobile-nav-cta { display: none; }
@media (max-width: 900px) {
  .nav-links.open .mobile-nav-cta {
    display: block;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    width: 100%;
  }
  .nav-links.open .mobile-nav-cta a {
    background: var(--accent);
    color: #07090f;
    text-align: center;
    justify-content: center;
    font-weight: 500;
    width: 100%;
  }
}

/* Compact nav on small screens */
@media (max-width: 720px) {
  .nav { padding: 12px 0; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 6px; }
  .nav-actions > .btn-primary { display: none; }
  .accent-swatches { padding: 4px 6px; gap: 4px; }
  .accent-swatch { width: 16px; height: 16px; }
  .accent-swatch.active::after { inset: -3px; }
  .mode-toggle, .mobile-toggle { width: 34px; height: 34px; }
  .brand { font-size: 19px; }
}
@media (max-width: 360px) {
  .accent-swatch { width: 14px; height: 14px; }
  .accent-swatches { gap: 3px; padding: 3px 5px; }
  .brand { font-size: 17px; }
  .nav-inner { gap: 8px; }
  .nav-actions { gap: 4px; }
  .container { padding: 0 14px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open a { width: 100%; padding: 14px 18px; }
  .mobile-toggle {
    display: inline-flex;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
  }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #07090f;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px var(--accent-glow);
}
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent);
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
}

.hero-title {
  font-size: clamp(48px, 7.5vw, 112px);
  font-weight: 600;
  line-height: 0.95;
  margin-top: 32px;
  letter-spacing: -0.035em;
}
.hero-title .ink-grad {
  background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 30%, var(--bg)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title em {
  font-style: normal;
  font-family: 'Unbounded', sans-serif;
  color: var(--accent);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
  max-width: 540px;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.hero-meta-item .v {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  color: var(--ink);
}

/* Hero ticker */
.ticker {
  position: absolute;
  left: 0; right: 0;
  bottom: 24px;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  backdrop-filter: blur(8px);
}
.ticker-track {
  display: flex;
  gap: 64px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 14px; }
.ticker-track .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Section header
   ========================================================= */
.sect-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.sect-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  max-width: 720px;
  letter-spacing: -0.03em;
}
.sect-title em {
  font-style: normal;
  font-family: 'Unbounded', sans-serif;
  color: var(--accent);
  font-weight: 400;
}
.sect-sub { color: var(--ink-2); max-width: 480px; font-size: 17px; }

/* =========================================================
   Service cards
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.svc-card:hover::after { opacity: 1; }

.svc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.svc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 20px;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-name {
  font-size: 28px;
  font-weight: 600;
  margin-top: 24px;
  letter-spacing: -0.02em;
}
.svc-desc {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 12px;
  flex: 1;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
}
.svc-link .arrow { transition: transform 0.2s; }
.svc-card:hover .svc-link .arrow { transform: translateX(4px); }

/* Featured / large card */
.svc-card.lg {
  grid-column: span 2;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.svc-card.lg .svc-art {
  position: relative;
  height: 220px;
  border-radius: 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
@media (max-width: 820px) {
  .svc-card.lg { grid-template-columns: 1fr; grid-column: span 1; }
  .svc-card.lg .svc-art { height: 180px; }
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat:last-child { border-right: none; }
@media (max-width: 720px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.stat-num .unit { color: var(--accent); }
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 12px;
}

/* =========================================================
   Logo wall (trusted by)
   ========================================================= */
.logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 8px;
}
.logo-mark {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink-2);
  opacity: 0.7;
  letter-spacing: -0.02em;
  transition: color 0.2s, opacity 0.2s;
}
.logo-mark:hover { color: var(--ink); opacity: 1; }

/* =========================================================
   Process (How we work)
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 820px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }

.proc-step {
  padding: 32px 24px 32px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.proc-step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 32px; height: 1px;
  background: var(--accent);
}
.proc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.proc-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: -0.01em;
}
.proc-desc {
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 10px;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr; } }

.testi {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testi-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.testi-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07090f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
}
.testi-name { font-weight: 500; font-size: 14px; }
.testi-role { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-3); margin-top: 2px; letter-spacing: 0.06em; }

/* =========================================================
   Insights / blog
   ========================================================= */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .posts { grid-template-columns: 1fr; } }

.post {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.post:hover { transform: translateY(-4px); border-color: var(--accent); }
.post-img {
  height: 200px;
  position: relative;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.post-body { padding: 24px; }
.post-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.post-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 16px;
  letter-spacing: 0.06em;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
}
@media (max-width: 980px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.3s, border-color 0.2s;
}
.faq-item.open .faq-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #07090f;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--ink-2);
  font-size: 15px;
}
.faq-item.open .faq-a { max-height: 240px; padding-top: 16px; }

/* =========================================================
   CTA strip
   ========================================================= */
.cta {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 40%),
    radial-gradient(circle at 80% 80%, var(--accent-soft), transparent 40%);
  pointer-events: none;
}
.cta-eyebrow { position: relative; z-index: 1; }
.cta-title {
  position: relative;
  z-index: 1;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 16px auto 0;
  line-height: 1.05;
}
.cta-title em { font-style: normal; font-family: 'Unbounded', sans-serif; font-weight: 400; color: var(--accent); }
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 400;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer .brand-block { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer .brand-block p { color: var(--ink-2); font-size: 14px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* =========================================================
   Bot
   ========================================================= */
.bot-launcher {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bot-fab {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s;
}
.bot-fab:hover { transform: scale(1.05); }
.bot-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.3;
  animation: ringPulse 2.5s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* Bot avatar (SVG eyes + body) */
.bot-avatar {
  width: 44px; height: 44px;
  position: relative;
}
.bot-avatar .face {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  position: relative;
  overflow: hidden;
}
.bot-avatar .eye {
  position: absolute;
  top: 38%;
  width: 6px; height: 6px;
  background: #07090f;
  border-radius: 50%;
  transition: transform 0.15s ease-out;
}
.bot-avatar .eye.left { left: 28%; }
.bot-avatar .eye.right { right: 28%; }
.bot-avatar .mouth {
  position: absolute;
  bottom: 26%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 6px;
  border-radius: 0 0 12px 12px;
  background: #07090f;
}
.bot-avatar.thinking .mouth {
  width: 8px; height: 2px;
  border-radius: 2px;
  background: #07090f;
  bottom: 32%;
}

/* Contextual bubble */
.bot-bubble {
  position: absolute;
  right: 78px;
  bottom: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 14px 18px;
  width: max-content;
  max-width: 280px;
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: normal;
  line-height: 1.4;
}
.bot-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.bot-bubble::after {
  content: '';
  position: absolute;
  right: -6px; bottom: 22px;
  width: 12px; height: 12px;
  background: var(--bg-elev);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  transform: rotate(-45deg);
}
.bot-bubble .close {
  position: absolute;
  top: 8px; right: 10px;
  font-size: 11px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}

/* Bot chat panel */
.bot-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 540px;
  max-height: calc(100vh - 140px);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 95;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.bot-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.bot-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.bot-head .bot-avatar { width: 32px; height: 32px; }
.bot-head .bot-avatar .eye { width: 4px; height: 4px; }
.bot-head .bot-avatar .mouth { width: 8px; height: 4px; }
.bot-head-info { flex: 1; }
.bot-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; }
.bot-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bot-status::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 8px #5eead4;
}
.bot-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bot-close:hover { color: var(--ink); }

.bot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bot-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  animation: msgIn 0.3s ease-out;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bot-msg.bot {
  align-self: flex-start;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}
.bot-msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: #07090f;
}
.bot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.bot-chip {
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink);
  transition: all 0.2s;
}
.bot-chip:hover {
  background: var(--accent);
  color: #07090f;
  border-color: var(--accent);
}
.bot-input {
  border-top: 1px solid var(--border);
  padding: 14px;
  display: flex;
  gap: 8px;
}
.bot-input input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.bot-input input:focus { border-color: var(--accent); }
.bot-input button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #07090f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bot-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 16px;
}
.bot-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: typing 1.2s infinite;
}
.bot-typing span:nth-child(2) { animation-delay: 0.15s; }
.bot-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* =========================================================
   Page hero (smaller, for non-home pages)
   ========================================================= */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero .grid-bg { opacity: 0.5; }
.page-hero-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 900px;
}
.page-hero-title em {
  font-style: normal;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  color: var(--accent);
}
.page-hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2);
  max-width: 580px;
  margin-top: 24px;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.crumbs a { color: var(--ink-3); transition: color 0.2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--accent); }

/* =========================================================
   Selector ("I am a __")
   ========================================================= */
.role-selector {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.role-selector::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-soft), transparent 50%);
  pointer-events: none;
}
.role-prompt {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.role-prompt .pick {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #07090f;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  margin: 0 4px;
  position: relative;
  cursor: pointer;
  font-size: 0.9em;
}
.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  position: relative;
}
.role-pill {
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  transition: all 0.2s;
  font-family: 'Space Grotesk', sans-serif;
}
.role-pill:hover { color: var(--ink); border-color: var(--accent); }
.role-pill.active { background: var(--accent); color: #07090f; border-color: var(--accent); }

.role-result {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .role-result { grid-template-columns: 1fr; } }
.role-result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--ink);
}
.role-result-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.role-result-card .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.role-result-card .t { font-size: 18px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.01em; }
.role-result-card .d { font-size: 13px; color: var(--ink-2); }

/* =========================================================
   Detail page blocks
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split h2 { font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.02em; max-width: 480px; }
.split p { color: var(--ink-2); font-size: 17px; }

.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 32px;
}
@media (max-width: 600px) { .capabilities { grid-template-columns: 1fr; } }
.cap {
  padding: 24px 24px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cap-t { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.cap-t::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.cap-d { font-size: 14px; color: var(--ink-2); }

/* Contact / about */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.contact-box {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.contact-row .lbl { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase; }
.contact-row .val { font-family: 'Space Grotesk', sans-serif; font-size: 17px; color: var(--ink); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; }
.form-field input, .form-field textarea, .form-field select {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* =========================================================
   Tweaks panel
   ========================================================= */
.tweaks {
  position: fixed;
  top: 80px; right: 24px;
  z-index: 110;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 20px;
  width: 260px;
  box-shadow: var(--shadow-lg);
  display: none;
  font-size: 13px;
}
.tweaks.show { display: block; }
.tweaks h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin: 0 0 10px;
  font-weight: 400;
}
.tweaks h5:not(:first-child) { margin-top: 18px; }
.tweak-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tweak-swatch {
  width: 32px; height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s;
}
.tweak-swatch:hover { transform: scale(1.1); }
.tweak-swatch.active::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
}
.tweak-mode {
  display: flex;
  background: var(--surface);
  border-radius: 999px;
  padding: 3px;
  width: 100%;
}
.tweak-mode button {
  flex: 1;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  transition: all 0.2s;
  font-family: 'Space Grotesk', sans-serif;
}
.tweak-mode button.active {
  background: var(--accent);
  color: #07090f;
}
.tweaks-close {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}

/* =========================================================
   Mobile preview overlay (Tweaks → View → Mobile)
   ========================================================= */
.mobile-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  animation: mobFadeIn 0.3s ease;
}
@keyframes mobFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-preview-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mobile-preview-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}
.mobile-preview-close {
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mobile-preview-close:hover {
  background: white;
  color: #07090f;
  border-color: white;
}
.mobile-frame {
  width: 390px;
  height: 844px;
  max-width: 95vw;
  max-height: 78vh;
  background: #1a1a1a;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 0 60px 120px -20px rgba(0, 0, 0, 0.8),
              0 0 0 2px rgba(255, 255, 255, 0.05);
  position: relative;
  flex-shrink: 0;
}
.mobile-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}
.mobile-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 36px;
  background: var(--bg);
  display: block;
}

/* =========================================================
   Misc / utility
   ========================================================= */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.spinner-orb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.spinner-orb svg { width: 80%; height: 80%; max-width: 220px; opacity: 0.6; }

/* =========================================================
   Bottom nav (mobile only)
   ========================================================= */
.bottom-nav {
  display: none;
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--ink-3);
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 12px;
  transition: color 0.2s, background-color 0.2s;
  flex: 1;
  text-align: center;
  position: relative;
}
.bn-item svg { width: 20px; height: 20px; }
.bn-item.active { color: var(--accent); }
.bn-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.bn-item:not(.active):hover { color: var(--ink); }

@media (max-width: 720px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  body { padding-bottom: 76px; }

  /* Push the bot above the bottom nav */
  .bot-launcher { bottom: 86px; right: 18px; }
  .bot-bubble { right: 68px; max-width: 240px; font-size: 13px; }
  .bot-panel {
    bottom: 158px;
    right: 18px;
    height: 460px;
    max-height: calc(100vh - 220px);
  }
}

/* Bot hidden state (toggled by localStorage / hamburger / tweaks) */
body.bot-hidden .bot-launcher,
body.bot-hidden .bot-panel,
body.bot-hidden .bot-bubble { display: none !important; }

/* Floating "Show assistant" pill — the only way back once Ozi is hidden.
   Visible on every viewport, but only while the assistant is hidden. */
.bot-restore { display: none; }
body.bot-hidden .bot-restore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform .15s ease, border-color .15s ease;
}
body.bot-hidden .bot-restore:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.bot-restore svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  body.bot-hidden .bot-restore { bottom: 84px; } /* clear the mobile bottom-nav */
}

/* Bot extra hide button in panel header */
.bot-hide {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
}
.bot-hide:hover { color: var(--ink); border-color: var(--border-strong); }
.bot-hide svg { width: 14px; height: 14px; }

/* Hamburger assistant toggle */
.nav-assistant-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links.open .nav-assistant-toggle {
    display: block;
    width: 100%;
  }
  .nav-links.open .nav-assistant-toggle button {
    width: 100%;
    text-align: left;
    padding: 12px 18px;
    color: var(--ink-2);
    font-family: inherit;
    font-size: 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-links.open .nav-assistant-toggle button:hover {
    color: var(--ink);
    background: var(--surface);
  }
  .nav-links.open .nav-assistant-toggle .state {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
  }
}

/* =========================================================
   Mobile overflow + density fixes
   ========================================================= */

/* Prevent grid/flex items collapsing to min-content (long <option>s, etc.) */
.about-grid > *, .form-grid > *, .services-grid > *, .role-result > * { min-width: 0; }
.form-field input, .form-field select, .form-field textarea { max-width: 100%; min-width: 0; }

@media (max-width: 980px) {
  .hero-meta {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 8px;
  }
}
@media (max-width: 720px) {
  .hero { padding: 110px 0 80px; min-height: auto; }
  .hero-title { font-size: clamp(38px, 11vw, 64px); }
  .hero-sub { font-size: 16px; }
  .ticker { padding: 10px 0; }
  .ticker-track { gap: 40px; font-size: 11px; }

  .section { padding: 64px 0; }
  .sect-head { margin-bottom: 40px; gap: 16px; }
  .sect-title { font-size: clamp(28px, 7vw, 40px); }
  .sect-sub { font-size: 15px; }

  .page-hero { padding: 130px 0 56px; }
  .page-hero-title { font-size: clamp(34px, 10vw, 56px); }

  .svc-card { padding: 28px; min-height: auto; }
  .svc-card.lg { padding: 28px; }
  .svc-name { font-size: 22px; }

  .role-selector { padding: 28px 22px; border-radius: 22px; }
  .role-prompt { font-size: clamp(22px, 6.5vw, 32px); line-height: 1.25; }
  .role-prompt .pick { padding: 2px 12px; font-size: 0.85em; }
  .role-pills { gap: 6px; margin-top: 22px; }
  .role-pill { padding: 8px 14px; font-size: 13px; }
  .role-result { margin-top: 22px; padding-top: 22px; gap: 12px; }

  .stat { padding: 28px 18px; }

  .cta { padding: 56px 24px; border-radius: 22px; }
  .cta-title { font-size: clamp(28px, 7vw, 40px); }

  .testi { padding: 24px; }
  .testi-quote { font-size: 16px; }

  .post-body { padding: 20px; }
  .post-img { height: 160px; }

  .faq-q { font-size: 16px; gap: 12px; }

  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 28px; margin-bottom: 32px; }

  .contact-box { padding: 24px; }
  .contact-row .val { font-size: 15px; }

  .bot-fab { width: 56px; height: 56px; }
  .bot-avatar { width: 38px; height: 38px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: clamp(34px, 11vw, 52px); }
  .hero-actions .btn { flex: 1; justify-content: center; padding: 12px 18px; font-size: 14px; }
  .svc-card { padding: 24px; }
  .cta { padding: 44px 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px; }
  .ticker-track { font-size: 10px; gap: 28px; }
}
