/* Affinitas AI Advisory — Style Sheet
 * Design System: "Precision Meridian"
 * Aesthetic: Swiss watchmaker meets London advisory firm
 * Constraints: No gradients, no drop shadows, no animation loops, no third-party UI libraries
 */

/* ───────────────────────────────────────────────
   CSS Custom Properties
   ─────────────────────────────────────────────── */

:root {
  --bg-primary:     #0A2540;   /* Deep navy — echoes Affinitas parent brand, distinct for AI */
  --bg-secondary:   #0B2D4D;   /* Section alternation */
  --bg-surface:     #0E3460;   /* Cards, panels */
  --bg-deep:        #061828;   /* Near-black depth layer */
  --border:         #1B4A75;   /* Subtle structural lines */
  --border-dim:     #3D3420;   /* Dim gold-olive for meridian path */
  --text-primary:   #F5F3EF;   /* Warm off-white — the workhorse */
  --text-secondary: #A3B3C4;   /* Supporting copy, labels — muted blue-grey */
  --text-muted:     #5C7A99;   /* Metadata, footnotes */
  --accent:         #C5A55A;   /* Warm gold — used sparingly */
  --accent-dim:     #7A6435;   /* Gold at reduced intensity for borders */
  --white:          #FFFFFF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Mono', monospace;

  --max-width: 1100px;
  --max-body-width: 680px;
  --section-padding: 120px;
  --section-padding-mobile: 72px;
}

/* ───────────────────────────────────────────────
   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;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* Subtle paper/grain texture overlay */
.texture-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Meridian spine: fixed scroll map with section nodes */
.meridian-spine {
  position: fixed;
  top: 80px;
  bottom: 0;
  left: 56px;
  width: 1px;
  z-index: 1;
  pointer-events: none;
}

.meridian-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--border-dim);
}

.meridian-node {
  position: absolute;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-dim);
  transition: background 0.2s ease, transform 0.2s ease;
}

.meridian-node.active {
  background: var(--accent);
  transform: scale(1.4);
}

@media (max-width: 768px) {
  .meridian-spine {
    left: 16px;
  }
}

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

/* ───────────────────────────────────────────────
   Typography
   ─────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-primary);
}

p {
  margin-bottom: 24px;
  max-width: var(--max-body-width);
}

strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ───────────────────────────────────────────────
   Navigation
   ─────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: var(--bg-primary);
  border-bottom-color: var(--border);
}

.nav-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.logo-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.logo-primary {
  color: var(--text-primary);
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.nav-overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.nav-overlay-links a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-overlay-links a:hover {
  color: var(--accent);
}

/* ───────────────────────────────────────────────
   Buttons
   ─────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 32px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ───────────────────────────────────────────────
   Section Base
   ─────────────────────────────────────────────── */

.section {
  padding: var(--section-padding) 24px;
  position: relative;
}

.section-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 32px;
  max-width: var(--max-body-width);
}

.section-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: var(--max-body-width);
  margin-bottom: 72px;
}

/* ───────────────────────────────────────────────
   Hero
   ─────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
}

.hero-content {
  max-width: 720px;
  margin-left: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  padding-top: 80px; /* Account for fixed nav */
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 112px);
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: 32px;
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.hero-link {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero-cta-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   The Problem
   ─────────────────────────────────────────────── */

.section-problem {
  background: var(--bg-deep);
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.problem-card {
  background: var(--bg-secondary);
  padding: 48px;
}

.problem-card-large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.problem-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   Why Affinitas
   ─────────────────────────────────────────────── */

.section-why {
  background: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 72px;
}

.why-card {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.why-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   Team
   ─────────────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 72px;
  max-width: var(--max-body-width);
}

.team-role {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-boundary-note {
  margin-top: 72px;
  font-size: 13px;
  color: var(--text-tertiary, var(--text-secondary));
}

/* ───────────────────────────────────────────────
   Services
   ─────────────────────────────────────────────── */

.section-services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.service-card {
  background: var(--bg-secondary);
  padding: 48px;
}

.service-card-featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-surface);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-price {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.service-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 24px;
}

.section-payment-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  max-width: var(--max-body-width);
}

/* ───────────────────────────────────────────────
   How It Works
   ─────────────────────────────────────────────── */

.section-process {
  background: var(--bg-primary);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border);
  margin-left: 24px;
  padding-left: 48px;
}

.process-step {
  display: flex;
  gap: 32px;
  padding: 48px 0;
  position: relative;
}

.process-step:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.step-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  min-width: 80px;
  position: absolute;
  left: -96px;
  top: 48px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-duration {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.step-content p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.step-content p:last-child {
  margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   AI Readiness (Home Page Preview)
   ─────────────────────────────────────────────── */

.section-assessment {
  background: var(--bg-secondary);
}

.assessment-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.preview-question {
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.preview-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}

.preview-question p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   Insights
   ─────────────────────────────────────────────── */

.section-insights {
  background: var(--bg-primary);
}

.insight-card {
  border: 1px solid var(--border);
  padding: 48px;
  margin-bottom: 48px;
  max-width: var(--max-body-width);
}

a.insight-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}

a.insight-card:hover {
  border-color: var(--accent);
}

.insight-issue {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.insight-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.insight-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: 16px;
  max-width: 480px;
}

.newsletter-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  border-color: var(--accent);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

/* ───────────────────────────────────────────────
   Contact / CTA
   ─────────────────────────────────────────────── */

.section-contact {
  background: var(--bg-secondary);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin-bottom: 48px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-success {
  border: 1px solid var(--accent-dim);
  padding: 32px;
  max-width: 800px;
  margin-bottom: 48px;
}

.contact-success p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 0;
}

.contact-secondary {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-secondary a {
  color: var(--accent);
  text-decoration: none;
}

.contact-secondary a:hover {
  color: var(--text-primary);
}

/* ───────────────────────────────────────────────
   Assessment Page
   ─────────────────────────────────────────────── */

.section-assessment-page {
  background: var(--bg-secondary);
  padding-top: 120px; /* Account for fixed nav */
}

.assessment-intro {
  margin-bottom: 72px;
}

.assessment-container {
  max-width: 800px;
  margin: 0 auto;
}

.assessment-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.progress-track {
  flex: 1;
  height: 1px;
  background: var(--border);
  position: relative;
}

.progress-fill {
  height: 1px;
  background: var(--accent);
  transition: width 0.4s ease;
  width: 12.5%;
}

.progress-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  min-width: 48px;
  text-align: right;
}

.question-card {
  border: 1px solid var(--border);
  padding: 48px;
  margin-bottom: 32px;
}

.question-text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 48px;
  max-width: 640px;
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option-label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.option-label:hover {
  border-color: var(--accent-dim);
}

.option-label.selected {
  border-color: var(--accent);
  background: rgba(197, 165, 90, 0.03);
}

.option-label input {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.option-label.selected input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.question-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-btn {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 32px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-next {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-next:hover:not(:disabled) {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Results Panel */
.results-panel {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--accent-dim);
  padding: 64px;
}

.results-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.results-profile {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
}

.results-score {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.results-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 64px;
}

.results-body p {
  margin-bottom: 24px;
  max-width: 640px;
}

.results-body strong {
  color: var(--text-primary);
  font-weight: 500;
}

.results-cta {
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.results-cta-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 640px;
}

.results-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
}

.results-input {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.results-input:focus {
  border-color: var(--accent);
}

.results-input::placeholder {
  color: var(--text-muted);
}

.results-input[type="email"] {
  grid-column: 1 / -1;
}

.results-button {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 20px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.2s ease;
}

.results-button:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ───────────────────────────────────────────────
   Footer
   ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo svg {
  width: 160px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-logo svg:hover {
  opacity: 1;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ───────────────────────────────────────────────
   Animations
   ─────────────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.stagger-children > .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.stagger-children > .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.stagger-children > .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.stagger-children > .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.stagger-children > .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

/* ───────────────────────────────────────────────
   Responsive
   ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --section-padding: 72px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    margin-left: 24px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card-large {
    grid-row: auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-featured {
    grid-row: auto;
  }

  .process-steps {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .process-step {
    flex-direction: column;
    gap: 16px;
  }

  .step-number {
    position: static;
    font-size: 36px;
  }

  .assessment-preview {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .results-panel {
    padding: 40px 24px;
  }

  .results-form {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(36px, 10vw, 48px);
  }

  .section-heading {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .question-card {
    padding: 32px 24px;
  }

  .results-panel {
    padding: 32px 16px;
  }
}

/* ───────────────────────────────────────────────
   Utility
   ─────────────────────────────────────────────── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}
