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

:root {
  --bg:           #F8F7F2;   /* warm off-white */
  --bg-2:         #EDEBE3;   /* warm light section bg */
  --bg-card:      #FFFFFF;
  --border:       rgba(28, 25, 23, 0.1);
  --border-2:     rgba(28, 25, 23, 0.06);
  --shadow-sm:    0 1px 4px rgba(28,25,23,0.06), 0 1px 2px rgba(28,25,23,0.03);
  --shadow:       0 4px 20px rgba(28,25,23,0.08), 0 1px 4px rgba(28,25,23,0.04);
  --shadow-lg:    0 16px 48px rgba(28,25,23,0.12), 0 4px 8px rgba(28,25,23,0.05);
  --navy:         #1B3A5C;   /* primary action + heading emphasis */
  --navy-dark:    #122840;
  --navy-bg:      rgba(27, 58, 92, 0.07);
  --teal:         #2D7D7D;   /* secondary accent */
  --teal-bg:      rgba(45, 125, 125, 0.08);
  --sage:         #3D6B4A;   /* positive outcomes / compliance */
  --sage-bg:      rgba(61, 107, 74, 0.08);
  --text:         #1C1917;
  --text-2:       #292524;
  --text-muted:   #78716C;
  --text-light:   #A8A29E;
  --red:          #DC2626;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-pill:  100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(27,58,92,0.25);
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,92,0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-primary.partner-btn {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: 0 2px 8px rgba(45,125,125,0.25);
}
.btn-primary.partner-btn:hover {
  box-shadow: 0 8px 24px rgba(45,125,125,0.35);
}

/* White button for use on dark card */
.btn-inverse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #fff;
  color: var(--navy);
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  letter-spacing: -0.01em;
}
.btn-inverse:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 27px;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  letter-spacing: -0.01em;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; border-radius: var(--radius); }

.btn-loader {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.loading .btn-text { display: none; }
.loading .btn-loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s,
              transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(248, 247, 242, 0.95);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(28,25,23,0.05);
  backdrop-filter: blur(16px);
}
.nav.nav-hidden { transform: translateY(-100%); }

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  padding: 8px 18px !important;
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  transition: background 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 2px 8px rgba(27,58,92,0.2) !important;
}
.btn-nav:hover {
  background: var(--navy-dark) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(27,58,92,0.3) !important;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 148px 24px 100px;
}

.eyebrow {
  display: inline-block;
  padding: 5px 14px;
  background: var(--navy-bg);
  border: 1px solid rgba(27, 58, 92, 0.18);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(52px, 7.5vw, 90px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--navy);
  font-weight: 200;
  letter-spacing: 0.04em;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-meta {
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 12.5px;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

/* ── Stats ────────────────────────────────────────────────── */
.stats {
  padding: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1;
}
.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 140px;
  margin: 0 auto;
  font-weight: 400;
}

/* ── Section Header ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  padding: 5px 13px;
  background: var(--navy-bg);
  border: 1px solid rgba(27,58,92,0.15);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.section-header p {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-it-works {
  padding: 104px 0;
  background: var(--bg);
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: start;
  margin-bottom: 40px;
}

.step-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(27,58,92,0.2);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy);
  opacity: 0.45;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.step-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding-top: 52px;
  color: var(--text-light);
  flex-shrink: 0;
}
.step-connector .arrow-head {
  margin-left: 8px;
  align-self: flex-end;
}

/* API Callout */
.api-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--navy-bg);
  border: 1px solid rgba(27,58,92,0.12);
  border-radius: var(--radius-lg);
}
.api-callout-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.api-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.api-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ── Deliverables / What You Get ──────────────────────────── */
.deliverables {
  padding: 104px 0;
  background: var(--bg-2);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

/* Output card */
.output-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.output-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: var(--navy-bg);
  border-bottom: 1px solid var(--border);
}
.output-meta { display: flex; flex-direction: column; gap: 3px; }
.output-compound {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
}
.output-cohort {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11.5px;
  color: var(--text-light);
}
.output-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--sage);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 2px rgba(61,107,74,0.2);
}

.output-metrics {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid var(--border-2);
}
.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
}
.metric-label {
  font-size: 13px;
  color: var(--text-muted);
}
.metric-right {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.metric-value {
  font-family: 'Raleway', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.metric-value.green { color: var(--sage); }
.metric-value.navy  { color: var(--navy); }
.metric-value.amber { color: #A05B0A; }
.metric-ci {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  color: var(--text-light);
}
.metric-track {
  height: 5px;
  background: var(--bg-2);
  border-radius: 3px;
  overflow: hidden;
}
.metric-bar {
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
[data-reveal].revealed .metric-bar { width: var(--w); }
.metric-bar.green { background: var(--sage);  opacity: 0.65; }
.metric-bar.navy  { background: var(--navy);  opacity: 0.5;  }
.metric-bar.amber { background: #A05B0A;       opacity: 0.6;  }

.output-attribution {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.attr-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12.5px;
}
.attr-key {
  color: var(--text-light);
  font-weight: 500;
  min-width: 108px;
  flex-shrink: 0;
}
.attr-val {
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11.5px;
}

/* Scope panel */
.scope-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.scope-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 22px;
}
.scope-group { margin-bottom: 18px; }
.scope-group-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.scope-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.scope-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.scope-tag.featured {
  background: var(--navy-bg);
  border-color: rgba(27,58,92,0.2);
  color: var(--navy);
  font-weight: 500;
}
.scope-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--border-2);
  font-size: 13px;
}
.scope-row-key { color: var(--text-muted); }
.scope-row-val { color: var(--text-2); font-weight: 500; }
.scope-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.55;
}

/* Decision strip */
.usecase-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.usecase-strip-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.usecase-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.usecase-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--navy-bg);
  border: 1px solid rgba(27,58,92,0.15);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.usecase-pill::before {
  content: '→';
  font-size: 11px;
  opacity: 0.55;
}

/* ── Science / Trust ──────────────────────────────────────── */
.science {
  padding: 104px 0;
  background: var(--bg);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.pillar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(27,58,92,0.2);
}

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon.navy { background: var(--navy-bg); color: var(--navy); }
.pillar-icon.teal { background: var(--teal-bg); color: var(--teal); }
.pillar-icon.sage { background: var(--sage-bg); color: var(--sage); }

.pillar-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pillar-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 12px;
}
.pillar-card p:last-child { margin-bottom: 0; }
.pillar-card p strong { color: var(--text-2); font-weight: 600; }

.pillar-detail {
  font-size: 13px !important;
  color: var(--text-light) !important;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--border-2);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 22px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 400;
}
.trust-item svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: var(--sage);
}

/* ── Who It's For ─────────────────────────────────────────── */
.for-whom {
  padding: 80px 0;
  background: var(--bg-2);
}

.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.for-whom-card {
  padding: 44px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.for-whom-card.pharma {
  background: var(--navy);
  border-color: var(--navy);
}
.for-whom-card.research {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.for-whom-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.for-whom-card.pharma .for-whom-eyebrow { color: rgba(147, 197, 253, 0.9); }
.for-whom-card.research .for-whom-eyebrow { color: var(--navy); }

.for-whom-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.for-whom-card.pharma h3 { color: #fff; }
.for-whom-card.research h3 { color: var(--text); }

.for-whom-card p {
  font-size: 15px;
  line-height: 1.72;
  margin-bottom: 24px;
}
.for-whom-card.pharma p { color: rgba(255,255,255,0.7); }
.for-whom-card.research p { color: var(--text-muted); }

.for-whom-tier {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  padding: 10px 0;
  border-top: 1px solid;
}
.for-whom-card.pharma .for-whom-tier {
  color: rgba(255,255,255,0.45);
  border-color: rgba(255,255,255,0.12);
}
.for-whom-card.research .for-whom-tier {
  color: var(--text-light);
  border-color: var(--border);
}

/* ── Forms ────────────────────────────────────────────────── */
.form-section { padding: 88px 0; background: var(--bg-2); }
.partner-section { background: var(--bg); }

.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.form-card > p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 30px;
}
.form-card-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.waitlist-label { background: var(--navy-bg); color: var(--navy); }
.partner-label  { background: var(--teal-bg); color: var(--teal); }

.waitlist-count { font-size: 14px; color: var(--cyan); opacity: 0.85; margin-bottom: 4px; }
.waitlist-count strong { font-size: 16px; font-weight: 700; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-2); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  background-color: var(--bg);
}
.form-group select option { background: #fff; color: var(--text); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.1);
  background: #fff;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: var(--red); }

.form-success { text-align: center; padding: 44px 20px; }
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(61,107,74,0.25);
}
.form-success h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.form-success p { font-size: 14px; color: var(--text-muted); }

/* ── Footer — Light ───────────────────────────────────────── */
.footer {
  padding: 60px 0 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.footer .logo { color: var(--text); }
.footer-brand p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 240px;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-light); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .deliverables-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step-connector {
    flex-direction: row;
    justify-content: center;
    padding: 16px 0;
    transform: rotate(90deg);
    height: 48px;
  }
  .pillars { grid-template-columns: 1fr; }
  .for-whom-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .hero h1 { font-size: 46px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 32px 20px; }
  .form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .for-whom-card { padding: 32px 24px; }
  .trust-strip { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .api-callout { flex-direction: column; align-items: flex-start; }
  .api-chips { gap: 6px; }
  .step-connector { display: none; }
}
