/* ==========================================================================
   Blueprint Automation Systems — Website
   Single stylesheet built from the BAS Design System.
   Source: design-tokens.css + colors_and_type.css + UI kit components.
   ========================================================================== */

/* ---------- Fonts -------------------------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Primary palette */
  --bas-navy-deep:       #001838;
  --bas-navy-blueprint:  #0A1F3D;
  --bas-blue:            #1E6CA8;
  --bas-blue-bright:     #3D9BD9;
  --bas-cyan:            #5BD4FF;

  /* Accents (use sparingly) */
  --bas-orange:          #F86000;
  --bas-orange-hover:    #d95300;
  --bas-orange-active:   #c44b00;
  --bas-amber:           #FFB347;

  /* Neutrals */
  --bas-charcoal:        #0A0A0F;
  --bas-steel:           #3A4A5C;
  --bas-slate:           #94A3B8;
  --bas-off-white:       #F4F6F8;
  --bas-paper:           #FAFAF7;
  --bas-white:           #FFFFFF;

  /* Typography */
  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --type-display:   4.5rem;
  --type-h1:        3.5rem;
  --type-h2:        2.5rem;
  --type-h3:        1.75rem;
  --type-h4:        1.25rem;
  --type-body-lg:   1.25rem;
  --type-body:      1rem;
  --type-body-sm:   0.875rem;
  --type-eyebrow:   0.75rem;

  --weight-black:     900;
  --weight-extrabold: 800;
  --weight-bold:      700;
  --weight-semibold:  600;
  --weight-medium:    500;
  --weight-regular:   400;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --container-content: 720px;
  --container-default: 1200px;
  --container-wide:    1440px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Motion */
  --ease-settle:      cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:    200ms;
  --duration-default: 400ms;

  /* Nav height (used for scroll offset + hero padding) */
  --nav-height: 96px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-display);
  font-size: var(--type-body);
  line-height: 1.65;
  color: var(--bas-off-white);
  background: var(--bas-navy-deep);
}

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

/* Focus states (Option A — Cyan outline) */
*:focus-visible {
  outline: 2px solid var(--bas-cyan);
  outline-offset: 3px;
  border-radius: inherit;
  transition: outline-offset 150ms ease;
}

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

/* Skip to content (accessibility) */
.skip-to-content {
  position: absolute; top: -100px; left: var(--space-4);
  background: var(--bas-cyan); color: var(--bas-charcoal);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: var(--weight-bold); font-size: var(--type-body-sm);
  z-index: 9999;
  transition: top 150ms ease;
}
.skip-to-content:focus { top: var(--space-4); }

/* ---------- Layout helpers ---------------------------------------------- */
.container       { width: 100%; max-width: var(--container-default); margin: 0 auto; padding: 0 var(--space-8); }
.container-wide  { max-width: var(--container-wide); }
.container-content { max-width: var(--container-content); }

.section          { padding: var(--space-24) 0; }
.section-tight    { padding: var(--space-16) 0; }
.section--dark    { background: var(--bas-navy-deep); border-top: 1px solid rgba(61,155,217,0.08); }
.section--card    { background: var(--bas-navy-blueprint); border-top: 1px solid rgba(61,155,217,0.08); }
.section--paper   { background: var(--bas-paper); color: var(--bas-charcoal); }

/* ---------- Blueprint grid texture -------------------------------------- */
.bas-blueprint-grid {
  background-color: var(--bas-navy-deep);
  background-image:
    linear-gradient(rgba(61,155,217,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,155,217,0.04) 1px, transparent 1px),
    radial-gradient(ellipse at 30% 40%, rgba(30,108,168,0.14), transparent 65%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}
.bas-blueprint-grid--strong {
  background-color: var(--bas-navy-deep);
  background-image:
    linear-gradient(rgba(61,155,217,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,155,217,0.08) 1px, transparent 1px),
    radial-gradient(ellipse at center, rgba(30,108,168,0.18), transparent 70%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

/* ---------- Typography classes ----------------------------------------- */
.type-display {
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-weight: var(--weight-black);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--bas-white);
}
h1, .type-h1 {
  font-family: var(--font-display);
  font-size: var(--type-h1);
  font-weight: var(--weight-extrabold);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--bas-white);
}
h2, .type-h2 {
  font-family: var(--font-display);
  font-size: var(--type-h2);
  font-weight: var(--weight-extrabold);
  line-height: 1.15; letter-spacing: -0.01em;
  color: var(--bas-white);
}
h3, .type-h3 {
  font-family: var(--font-display);
  font-size: var(--type-h3);
  font-weight: var(--weight-bold);
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--bas-white);
}
h4, .type-h4 {
  font-family: var(--font-display);
  font-size: var(--type-h4);
  font-weight: var(--weight-semibold);
  line-height: 1.3;
  color: var(--bas-white);
}
.type-body-lg { font-size: var(--type-body-lg); line-height: 1.6; color: var(--bas-off-white); }
.type-body    { font-size: var(--type-body); line-height: 1.65; color: var(--bas-off-white); }
.type-body-sm { font-size: var(--type-body-sm); line-height: 1.55; color: var(--bas-slate); }
.type-mono    { font-family: var(--font-mono); font-size: var(--type-body-sm); color: var(--bas-blue-bright); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bas-blue-bright);
  margin-bottom: var(--space-6);
}
.eyebrow--cyan   { color: var(--bas-cyan); }
.eyebrow--orange { color: var(--bas-orange); }
.eyebrow--blue   { color: var(--bas-blue); }

.accent-rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--bas-cyan);
  margin: var(--space-6) 0;
}

/* Light-canvas typography overrides */
.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper h4 { color: var(--bas-navy-deep); }
.section--paper .type-body,
.section--paper .type-body-lg { color: var(--bas-charcoal); }
.section--paper .type-body-sm { color: var(--bas-steel); }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: var(--type-body);
  font-weight: var(--weight-bold);
  line-height: 1;
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast) ease,
              transform var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease,
              color var(--duration-fast) ease;
  white-space: nowrap;
}

/* Primary — Energy Orange, Deep Navy text (never white on orange) */
.btn-primary { background: var(--bas-orange); color: var(--bas-navy-deep); }
.btn-primary:hover {
  background: var(--bas-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(248,96,0,0.3);
}
.btn-primary:active { background: var(--bas-orange-active); transform: scale(0.98); }

/* Ghost — Off-white border */
.btn-ghost {
  background: transparent;
  color: var(--bas-off-white);
  border: 1px solid var(--bas-off-white);
}
.btn-ghost:hover  { background: rgba(244,246,248,0.08); }
.btn-ghost:active { background: rgba(244,246,248,0.12); transform: scale(0.98); }

/* Solid blue (tertiary) */
.btn-blue { background: var(--bas-blue); color: var(--bas-white); }
.btn-blue:hover { background: var(--bas-blue-bright); }

/* Block variant — full width */
.btn-block { display: flex; width: 100%; }

.btn-row { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }

/* ---------- Cards -------------------------------------------------------- */
.card {
  background: var(--bas-navy-blueprint);
  border: 1px solid rgba(61,155,217,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.card:hover { border-color: rgba(61,155,217,0.5); transform: translateY(-4px); }

.card-light {
  background: var(--bas-white);
  border: 1px solid rgba(58,74,92,0.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

/* ---------- Top nav ----------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: transparent;
  transition: background 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
.nav.is-scrolled {
  background: rgba(0,24,56,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61,155,217,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.nav__inner {
  max-width: var(--container-wide); margin: 0 auto; width: 100%;
  padding: 0 var(--space-8);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-8);
}
.nav__logo img { height: 64px; width: auto; }
.nav__links { display: flex; gap: var(--space-8); align-items: center; }
.nav__link {
  font-size: 0.9375rem; font-weight: var(--weight-medium);
  color: var(--bas-off-white);
  transition: color var(--duration-fast) ease;
  position: relative;
}
.nav__link:hover { color: var(--bas-blue-bright); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--bas-cyan);
}
.nav__cta { font-size: 0.9375rem; padding: 12px 22px; }

.nav__toggle {
  display: none;
  background: transparent; border: none; padding: var(--space-2);
  color: var(--bas-off-white);
}
.nav__toggle svg { width: 28px; height: 28px; }

.nav__mobile {
  display: none;
  position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--bas-navy-deep);
  padding: var(--space-8);
  flex-direction: column; gap: var(--space-6);
  z-index: 99;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  font-size: 1.25rem; font-weight: var(--weight-semibold);
  color: var(--bas-off-white);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(244,246,248,0.08);
}
.nav__mobile .btn { margin-top: var(--space-4); }

/* ---------- Hero -------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--bas-navy-deep);
  background-image:
    linear-gradient(rgba(61,155,217,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,155,217,0.04) 1px, transparent 1px),
    radial-gradient(ellipse at 35% 50%, rgba(30,108,168,0.18), transparent 60%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  padding-top: var(--nav-height);
  position: relative; overflow: hidden;
}
.hero__inner {
  max-width: var(--container-wide); margin: 0 auto; width: 100%;
  padding: var(--space-24) var(--space-16) var(--space-16);
}
.hero__grid {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: var(--space-12);
  align-items: center;
}
.hero__headline {
  font-size: var(--type-display);
  font-weight: var(--weight-black);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--bas-white);
  margin: 0 0 var(--space-6);
  max-width: 560px;
}
.hero__subhead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--bas-off-white);
  margin: 0 0 var(--space-12);
  max-width: 520px;
}
.hero__tertiary {
  display: inline-block; margin-top: var(--space-4);
  font-size: var(--type-body-sm); color: var(--bas-slate);
  transition: color var(--duration-fast) ease;
}
.hero__tertiary:hover { color: var(--bas-blue-bright); }

.hero__photo {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 680px;
  margin-left: auto;
}
.hero__photo::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(91,212,255,0.07), transparent 65%);
  pointer-events: none;
}
.hero__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 1;
}
.hero__label {
  position: absolute;
  background: rgba(0,24,56,0.88);
  border: 1px solid rgba(61,155,217,0.25);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}
.hero__label--ryan  { bottom: 24px; left: 20px; }
.hero__label--paul  { bottom: 24px; right: 20px; text-align: right; }
.hero__label__role {
  font-size: var(--type-eyebrow); font-weight: var(--weight-bold);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 4px;
}
.hero__label--ryan .hero__label__role { color: var(--bas-blue-bright); }
.hero__label--paul .hero__label__role { color: var(--bas-orange); }
.hero__label__name {
  font-size: 0.95rem; font-weight: var(--weight-semibold);
  color: var(--bas-off-white);
}
.hero__widget {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(10,31,61,0.92);
  border: 1px solid rgba(61,155,217,0.35);
  border-radius: var(--radius-md);
  padding: 8px 14px; z-index: 3; white-space: nowrap;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--bas-blue-bright);
}

/* Cyan accent rule animation — appears on load */
.hero .accent-rule {
  width: 0;
  margin-bottom: var(--space-6);
  animation: accentSlide 700ms var(--ease-settle) 600ms forwards;
}
@keyframes accentSlide {
  from { width: 0; }
  to   { width: 56px; }
}

/* Page-header (sub-pages) */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
  background: var(--bas-navy-deep);
  background-image:
    linear-gradient(rgba(61,155,217,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,155,217,0.04) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 30%, rgba(30,108,168,0.18), transparent 65%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  text-align: left;
}
.page-header__lead {
  font-size: var(--type-body-lg);
  color: var(--bas-off-white);
  max-width: 640px;
  margin-top: var(--space-4);
}

/* ---------- Stats / problem section ------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.stat-card {
  background: var(--bas-navy-blueprint);
  border: 1px solid rgba(61,155,217,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: 2.25rem; font-weight: var(--weight-black);
  line-height: 1; margin-bottom: var(--space-2);
  color: var(--bas-white);
}
.stat-card__value--cyan   { color: var(--bas-cyan); }
.stat-card__value--orange { color: var(--bas-orange); }
.stat-card__label {
  font-size: 0.8rem;
  color: var(--bas-slate);
  line-height: 1.4;
}

/* ---------- Services grid ---------------------------------------------- */
.services-grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(3, 1fr);
}
.services-grid--2col {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--space-4);
}
.service-card {
  background: var(--bas-navy-blueprint);
  border: 1px solid rgba(61,155,217,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.service-card:hover {
  border-color: rgba(61,155,217,0.5);
  transform: translateY(-4px);
}
.service-card__eyebrow {
  font-size: 0.65rem; font-weight: var(--weight-bold);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bas-blue-bright);
  margin-bottom: 10px;
}
.service-card__rule {
  width: 36px; height: 2px; background: var(--bas-cyan); margin-bottom: 14px;
}
.service-card__title {
  font-size: 1.1rem; font-weight: var(--weight-bold);
  color: var(--bas-white);
  margin-bottom: var(--space-3); line-height: 1.3;
}
.service-card__body {
  font-size: var(--type-body-sm);
  color: var(--bas-off-white);
  opacity: 0.85;
  line-height: 1.65;
}

/* ---------- Founder cards --------------------------------------------- */
.founder-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6);
}
.founder-card {
  background: var(--bas-navy-deep);
  border: 1px solid rgba(61,155,217,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex; gap: var(--space-6);
}
.founder-card__photo {
  width: 96px; height: 124px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.founder-card__photo--ryan {
  background: linear-gradient(180deg, rgba(61,155,217,0.18), rgba(61,155,217,0.04));
  border: 1px solid rgba(61,155,217,0.25);
}
.founder-card__photo--paul {
  background: linear-gradient(180deg, rgba(248,96,0,0.16), rgba(248,96,0,0.04));
  border: 1px solid rgba(248,96,0,0.28);
}
.founder-card__photo img {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  height: 108%; object-fit: contain; object-position: bottom center;
}
.founder-card__role {
  font-size: 0.65rem; font-weight: var(--weight-bold);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.founder-card__role--integrator { color: var(--bas-cyan); }
.founder-card__role--operator   { color: var(--bas-orange); }
.founder-card__name {
  font-size: 1.15rem; font-weight: var(--weight-bold);
  color: var(--bas-white); margin-bottom: 4px;
}
.founder-card__title {
  font-size: 0.8rem; color: var(--bas-blue-bright);
  margin-bottom: var(--space-3);
}
.founder-card__bio {
  font-size: var(--type-body-sm); color: var(--bas-off-white);
  line-height: 1.6; opacity: 0.85;
}

/* ---------- Process / how-we-work steps -------------------------------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
}
.step-card {
  background: var(--bas-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow:
    0 16px 40px rgba(0, 24, 56, 0.22),
    0 4px 12px rgba(0, 24, 56, 0.12);
  transition: box-shadow var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.step-card:hover {
  box-shadow:
    0 24px 56px rgba(0, 24, 56, 0.28),
    0 8px 16px rgba(0, 24, 56, 0.16);
  transform: translateY(-2px);
}
.step-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: var(--weight-black);
  color: var(--bas-navy-deep);
  opacity: 0.22; line-height: 1;
  margin-bottom: var(--space-4);
}
.step-card__title {
  font-size: 1.1rem; font-weight: var(--weight-bold);
  color: var(--bas-navy-deep);
  margin-bottom: var(--space-3); line-height: 1.3;
}
.step-card__body {
  font-size: var(--type-body-sm);
  color: var(--bas-steel);
  line-height: 1.65;
}

/* ---------- Community / CTA section ----------------------------------- */
.center-block {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.cta-section {
  background: var(--bas-navy-deep);
  background-image:
    linear-gradient(rgba(61,155,217,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,155,217,0.04) 1px, transparent 1px),
    radial-gradient(ellipse at center, rgba(30,108,168,0.12), transparent 60%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  border-top: 1px solid rgba(61,155,217,0.08);
}
.cta-section .btn-row { justify-content: center; margin-top: var(--space-8); }

/* ---------- Forms ------------------------------------------------------ */
.form {
  display: flex; flex-direction: column; gap: var(--space-4);
}
.form-card {
  background: var(--bas-navy-deep);
  background-image: radial-gradient(ellipse at 70% 30%, rgba(30,108,168,0.15), transparent 60%);
  border: 1px solid rgba(61,155,217,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
}
.form-field { display: block; }
.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bas-slate);
  margin-bottom: var(--space-2);
}
.form-label .required { color: var(--bas-orange); margin-left: 2px; }
.form-input,
.form-textarea {
  display: block; width: 100%; height: 48px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--bas-off-white);
  background: transparent;
  border: 1px solid rgba(148,163,184,0.4);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form-textarea { height: auto; min-height: 120px; resize: vertical; line-height: 1.5; }
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(148,163,184,0.6); }
.form-input:hover,
.form-textarea:hover { border-color: var(--bas-blue-bright); }
.form-input:focus-visible,
.form-textarea:focus-visible {
  border-color: var(--bas-blue-bright);
  outline: 2px solid var(--bas-cyan);
  outline-offset: 1px;
}
.form-error {
  display: none;
  font-size: var(--type-body-sm);
  color: var(--bas-orange);
  margin-top: var(--space-2);
}
.form-field.is-error .form-input,
.form-field.is-error .form-textarea { border-color: var(--bas-orange); }
.form-field.is-error .form-error { display: block; }
.form-footer {
  font-size: 0.75rem; color: var(--bas-slate);
  text-align: center; margin-top: var(--space-3); line-height: 1.5;
}

/* Trust signals (bulleted list with cyan dots) */
.trust-list { display: flex; flex-direction: column; gap: var(--space-3); }
.trust-list__item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9rem;
}
.trust-list__item::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--bas-cyan); flex-shrink: 0; margin-top: 7px;
}

/* ---------- Footer ---------------------------------------------------- */
.footer {
  background: var(--bas-navy-deep);
  padding: var(--space-24) 0 var(--space-12);
  border-top: 1px solid rgba(61, 155, 217, 0.22);
  box-shadow: inset 0 1px 0 rgba(91, 212, 255, 0.08);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 2px;
  background: var(--bas-cyan);
  opacity: 0.7;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer__logo { height: 52px; width: auto; margin-bottom: var(--space-4); }
.footer__tagline {
  font-size: var(--type-body-sm);
  font-style: italic;
  color: var(--bas-off-white);
  margin-bottom: var(--space-4); line-height: 1.5;
}
.footer__bio {
  font-size: 0.8rem; color: var(--bas-slate);
  line-height: 1.7; max-width: 320px;
}
.footer__eyebrow {
  display: block;
  font-size: 0.7rem; font-weight: var(--weight-bold);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bas-blue-bright);
  margin-bottom: var(--space-4);
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__link {
  font-size: var(--type-body-sm);
  color: var(--bas-off-white);
  transition: color var(--duration-fast) ease;
}
.footer__link:hover { color: var(--bas-blue-bright); }
.footer__link--social:hover { color: var(--bas-cyan); }
.footer__bottom {
  border-top: 1px solid rgba(58,74,92,0.3);
  padding-top: var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-2);
}
.footer__bottom span,
.footer__bottom a { font-size: 0.8rem; color: var(--bas-slate); }
.footer__bottom a { transition: color var(--duration-fast) ease; }
.footer__bottom a:hover { color: var(--bas-blue-bright); }

/* ---------- Utility ---------------------------------------------------- */
.text-center { text-align: center; }
.muted { color: var(--bas-slate); }
.section-cta-note {
  font-size: var(--type-body-sm);
  color: var(--bas-slate);
  margin-top: var(--space-3);
  text-align: center;
}

/* Prose block (for privacy / terms / about long-form) */
.prose { max-width: var(--container-content); margin: 0 auto; }
.prose h2 { font-size: 1.75rem; margin-top: var(--space-12); margin-bottom: var(--space-4); }
.prose h3 { font-size: 1.25rem; margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose p { font-size: 1rem; line-height: 1.75; margin-bottom: var(--space-4); }
.prose ul { padding-left: var(--space-6); margin-bottom: var(--space-4); }
.prose li { margin-bottom: var(--space-2); line-height: 1.7; }
.prose a { color: var(--bas-blue); text-decoration: underline; }
.section--paper .prose a { color: var(--bas-blue); }
.section--paper .prose a:hover { color: var(--bas-orange); }
.section--dark .prose a { color: var(--bas-blue-bright); }
.section--dark .prose a:hover { color: var(--bas-cyan); }

/* Success/thanks card */
.thanks-card {
  max-width: 540px; margin: 0 auto;
  background: var(--bas-navy-blueprint);
  border: 1px solid rgba(61,155,217,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
}
.thanks-card__check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(91,212,255,0.12);
  border: 2px solid var(--bas-cyan);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-6);
  color: var(--bas-cyan);
  font-size: 2rem; font-weight: var(--weight-bold);
}

/* 404 */
.not-found { text-align: center; padding: var(--space-24) 0; }
.not-found__code {
  font-family: var(--font-mono);
  font-size: 6rem; font-weight: var(--weight-bold);
  color: var(--bas-blue-bright);
  letter-spacing: 0.08em;
  line-height: 1;
}

/* ---------- Responsive ------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid          { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__photo         { max-width: 480px; height: 540px; margin: 0 auto; }
  .hero__inner         { padding: var(--space-16) var(--space-8) var(--space-12); }
  .split               { grid-template-columns: 1fr; gap: var(--space-12); }
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .services-grid--2col { grid-template-columns: repeat(2, 1fr); }
  .steps-grid          { grid-template-columns: 1fr; }
  .founder-grid        { grid-template-columns: 1fr; }
  .footer__grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 72px; }
  .nav__links       { display: none; }
  .nav__cta         { display: none; }
  .nav__toggle      { display: inline-flex; align-items: center; justify-content: center; }
  .nav__logo img    { height: 48px; }

  body.menu-open { overflow: hidden; }

  .type-display      { font-size: 3rem; }
  h1, .type-h1       { font-size: 2.5rem; }
  h2, .type-h2       { font-size: 2rem; }
  h3, .type-h3       { font-size: 1.5rem; }

  .hero__headline    { font-size: 2.75rem; }
  .hero__subhead     { font-size: 1.05rem; }
  .hero__photo       { height: 460px; }

  .container         { padding: 0 var(--space-6); }
  .section           { padding: var(--space-16) 0; }
  .hero__inner       { padding: var(--space-12) var(--space-6); }

  .services-grid,
  .services-grid--2col,
  .stats-grid,
  .footer__grid      { grid-template-columns: 1fr; }

  .founder-card      { flex-direction: column; align-items: flex-start; }
  .founder-card__photo { width: 80px; height: 100px; }

  .btn-row           { flex-direction: column; align-items: stretch; }
  .btn-row .btn      { width: 100%; }

  .form-card         { padding: var(--space-8); }

  .footer__bottom    { flex-direction: column; align-items: flex-start; }
}
