/* NameAxis MVP — design tokens from IA */
:root {
  --na-blue: #0145DB;
  --na-slate: #6E7B8A;
  --na-sky: #9FB4E8;
  --na-ink: #12161C;
  --na-mist: #EEF1F5;
  --na-white: #FFFFFF;
  --na-blue-hover: #0136B0;
  --font-sans: "Outfit", system-ui, sans-serif;
  --bg: var(--na-white);
  --text: var(--na-ink);
  --muted: var(--na-slate);
  --border: #E2E8F0;
  --primary: var(--na-blue);
  --primary-hover: var(--na-blue-hover);
  --primary-contrast: #FFFFFF;
  --radius: 10px;
  --max: 1120px;
  --shadow: 0 1px 3px rgba(18, 22, 28, 0.08);
  --shadow-sticky: 0 2px 8px rgba(18, 22, 28, 0.1);
  --font: var(--font-sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.75rem; font-weight: 600; }
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--text); }
.muted { color: var(--muted); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--na-mist); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.draft-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-contrast) !important;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-secondary {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}
.btn-secondary:hover { background: var(--na-mist); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sticky); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text) !important;
  text-decoration: none !important;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-desktop a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] { color: var(--primary); }
.nav-desktop .btn { margin-left: 0.25rem; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
.nav-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem 0 1.25rem;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  min-height: 44px;
}
.nav-drawer .btn { margin-top: 0.75rem; width: 100%; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--na-mist);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-tagline { color: var(--muted); font-size: 0.95rem; margin: 0.5rem 0 0; }
.footer-contact a { display: block; margin-bottom: 0.35rem; color: var(--text); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-links a { color: var(--muted); font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #EFF6FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1.1rem;
  font-size: 1.6rem;
  line-height: 1;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullet-list li {
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
  color: var(--text);
}
.bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Pricing */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0 0.25rem;
}
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  flex: 1;
}
.plan-card ul li {
  padding: 0.35rem 0 0.35rem 1.35rem;
  position: relative;
  font-size: 0.95rem;
}
.plan-card ul li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--primary);
  font-weight: 700;
}

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th { background: var(--na-mist); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--primary); font-weight: 700; }
.compare-table .dash { color: var(--muted); }

/* Mobile stacked comparison */
.compare-mobile { display: none; }
@media (max-width: 768px) {
  .card-grid, .steps, .plan-grid { grid-template-columns: 1fr; }
  .table-wrap { display: none; }
  .compare-mobile { display: block; }
  .compare-mobile details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
  }
  .compare-mobile summary { font-weight: 600; cursor: pointer; }
  .compare-mobile dl { margin: 0.75rem 0 0; }
  .compare-mobile dt { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }
  .compare-mobile dd { margin: 0.15rem 0 0; }
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq details[open] summary { margin-bottom: 0.5rem; }
.faq p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-primary {
  background: #fff;
  color: var(--primary) !important;
  border-color: #fff;
}
.cta-band .btn-primary:hover { background: #EFF6FF; }
.cta-band a.phone-link { color: #fff; font-weight: 600; }

/* Hero */
.hero { padding: 4rem 0 3rem; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  max-width: 560px;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid #93C5FD;
  outline-offset: 1px;
  border-color: var(--primary);
}
.form-hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0 2rem; }
  .section { padding: 3rem 0; }
}

/* Legal */
.legal-banner {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #92400E;
}
.legal-body { max-width: 720px; }
.legal-body h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-body h3 { font-size: 1.05rem; margin-top: 1.25rem; }
.legal-body ul { padding-left: 1.25rem; }
.legal-body li { margin-bottom: 0.35rem; }
.legal-meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.quiet-contact { margin-top: 2.5rem; font-size: 0.95rem; color: var(--muted); }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mb-0 { margin-bottom: 0; }

/* Logo image (Jules Dir B horizontal lockup) */
.logo img.logo-img {
  width: auto !important;
  height: 72px !important;
  max-width: none !important;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0;
}
.logo .logo-mark { display: none; }
.logo.has-img .logo-mark { display: none; }
.footer-logo img.logo-img {
  width: auto;
  height: 60px;
}
.hero-logo {
  display: block;
  width: auto;
  height: 72px !important;
  max-width: none !important;
  object-fit: contain;
  margin: 0 0 1.25rem;
}

/* Capability / offer cards (by-quote) — 3×2 desktop */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.capability-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.capability-card h3 { margin-bottom: 0.5rem; }
.capability-card .card-icon {
  background: #EFF6FF;
  color: var(--primary);
}
.optional-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.optional-card {
  background: #fff;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.optional-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--primary);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.offer-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}
.offer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.25rem 0;
}
.offer-chip {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}
.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}
.interest-grid label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  min-height: 44px;
  padding: 0.35rem 0;
}
.interest-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.phone-large {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--primary);
}
@media (max-width: 900px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .capability-grid { grid-template-columns: 1fr; }
  .optional-grid { grid-template-columns: 1fr; }
  .interest-grid { grid-template-columns: 1fr; }
}

/* ===== Hero side image (home) ===== */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-split .hero-text { min-width: 0; }
.hero-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(18, 22, 28, 0.14);
  aspect-ratio: 4 / 3;
  background: var(--na-mist);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-media { aspect-ratio: 16 / 10; order: -1; }
}

/* ===== Capability card images ===== */
.capability-card.has-img { padding: 0; overflow: hidden; }
.capability-card .card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.capability-card.has-img .card-body { padding: 1.5rem; }
.capability-card.has-img .card-icon { margin-bottom: 0.85rem; }

/* ===== About section image ===== */
.about-figure {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 22, 28, 0.12);
  aspect-ratio: 16 / 9;
  margin: 0 0 2rem;
}
.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Parallax space hero (home only) ===== */
.space-hero {
  position: relative;
  overflow: hidden;
  background: #05070D;
  color: #fff;
  isolation: isolate;
}
.space-hero[data-vt-surface="dark"] {}
.space-hero .space-stage {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.space-hero .space-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5,7,13,0.92) 0%, rgba(5,7,13,0.78) 38%, rgba(5,7,13,0.35) 62%, rgba(5,7,13,0.05) 100%);
}
@media (min-width: 769px) {
  .space-hero .space-stage { min-height: 420px; }
}
.space-hero .container { position: relative; z-index: 6; }
.space-hero .starfield {
  position: absolute;
  inset: -10% -5%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 47% 33%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(1px 1px at 63% 12%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 78% 64%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 28%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 19% 88%, rgba(255,255,255,0.65), transparent 60%),
    radial-gradient(1px 1px at 55% 84%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 71% 49%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(1.5px 1.5px at 36% 54%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 5% 60%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 94% 80%, rgba(255,255,255,0.6), transparent 60%);
  background-repeat: no-repeat;
  animation: na-twinkle 6s ease-in-out infinite alternate;
  will-change: opacity;
}
@keyframes na-twinkle {
  0% { opacity: 0.55; }
  100% { opacity: 1; }
}
.space-hero .layer {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}
.space-hero .layer-earth {
  bottom: -8%;
  right: -6%;
  width: 62%;
  max-width: 720px;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.space-hero .layer-earth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 80px 12px rgba(1, 69, 219, 0.35);
}
.space-hero .layer-sat {
  top: 9%;
  right: 5%;
  width: 22%;
  max-width: 210px;
  z-index: 3;
  aspect-ratio: auto;
  opacity: 0.7;
}
.space-hero .layer-sat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 30%, rgba(5,7,13,0.7) 100%);
  pointer-events: none;
}
.space-hero .layer-sat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(1, 69, 219, 0.4));
}
.space-hero h1,
.space-hero .hero-sub,
.space-hero .btn-row,
.space-hero .muted,
.space-hero .space-eyebrow { position: relative; z-index: 6; }
.space-hero h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.space-hero .hero-sub { color: rgba(255,255,255,0.88); max-width: 34rem; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.space-hero .muted a { color: rgba(255,255,255,0.9); }
.space-hero .btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  border-color: rgba(255,255,255,0.4);
}
.space-hero .btn-secondary:hover { background: rgba(255,255,255,0.16); }
.space-hero .space-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FB4E8;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 5;
}
@media (max-width: 768px) {
  .space-hero .layer-earth { width: 92%; right: -22%; bottom: -16%; opacity: 0.5; }
  .space-hero .layer-sat { width: 38%; top: 6%; right: 2%; left: auto; opacity: 0.6; }
  .space-hero .space-stage { min-height: 300px; }
  .space-hero .space-stage::before { background: linear-gradient(180deg, rgba(5,7,13,0.82) 0%, rgba(5,7,13,0.55) 55%, rgba(5,7,13,0.3) 100%); }
}

/* Reduced motion: disable parallax + twinkle */
@media (prefers-reduced-motion: reduce) {
  .space-hero .starfield { animation: none; }
  .space-hero .layer { transform: none !important; }
  html { scroll-behavior: auto; }
}
