@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/fraunces-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0A1E3F;
  --ink-soft: #1A2F52;
  --paper: #FAFAF7;
  --paper-warm: #F4F1EA;
  --accent: #1C5FD6;
  --accent-light: #4A8BF0;
  --accent-mist: #E8F0FB;
  --coral: #FF6B4A;
  --amber: #F5A623;
  --mint: #7FD4A8;
  --line: #E5E2DB;
  --muted: #6B7280;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ============ NAV ============ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}

nav.scrolled { border-bottom-color: var(--line); }

.logo {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo span { color: var(--accent); font-style: italic; }

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

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity .2s;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}

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

/* ============ HERO ============ */

.hero { padding: 180px 0 120px; position: relative; overflow: hidden; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--accent-mist);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 1100px;
}

h1.hero-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.65;
  max-width: 560px;
  margin-bottom: 48px;
}

.hero-ctas { display: flex; gap: 16px; align-items: center; }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, background .2s;
}

.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-secondary {
  color: var(--ink);
  padding: 16px 24px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  transition: color .2s, border-color .2s;
}

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

/* Hero visual — floating info cards */

.hero-visual {
  position: absolute;
  top: 140px;
  right: 40px;
  width: 560px;
  height: 620px;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 20px 60px rgba(10, 30, 63, 0.08), 0 1px 3px rgba(10, 30, 63, 0.05);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.float-card.c1 { top: 40px; right: 120px; animation-delay: 0s; }

.float-card.c2 { top: 180px; right: 10px; animation-delay: -2s; }

.float-card.c3 { top: 340px; right: 180px; animation-delay: -4s; }

.float-card.c4 { top: 480px; right: 50px; animation-delay: -1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.fc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

.fc-dot.warn { background: var(--coral); }

.fc-dot.blue { background: var(--accent); }

.fc-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fc-val { font-weight: 600; color: var(--ink); font-size: 14px; }

.hero-bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, var(--accent-mist) 0%, transparent 60%);
  z-index: -1;
}

/* ============ PROBLEM SECTION ============ */

.section { padding: 140px 0; position: relative; }

.section-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 900px;
}

h2 em { font-style: italic; font-weight: 400; color: var(--accent); }

.section-intro {
  font-size: 20px;
  color: var(--ink);
  opacity: 0.65;
  max-width: 620px;
  line-height: 1.5;
  margin-bottom: 80px;
}

/* Problem — the broken flow */

.problem-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 80px;
}

.flow-node {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}

.flow-node.amber { border-color: var(--amber); background: #FFF8EC; }

.flow-node.broken { border-color: var(--coral); background: #FFF5F2; }

.flow-svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  display: block;
}

.flow-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.flow-note { font-size: 12px; color: var(--muted); }

.flow-arrow { color: var(--coral); font-size: 24px; font-weight: 300; }

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.problem-stat { background: var(--paper); padding: 48px 36px; }

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 16px;
}

.stat-num em { color: var(--coral); font-style: normal; }

.stat-desc {
  font-size: 15px;
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.5;
}

/* ============ SOLUTION (unified flow) ============ */

.flow-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  padding: 48px 32px;
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.flow-col { display: flex; flex-direction: column; gap: 12px; }

.flow-col-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.flow-inputs .flow-col-label { text-align: center; }

.flow-output .flow-col-label { text-align: center; }

/* Inputs — quiet stack of sources */

.flow-input-list { display: flex; flex-direction: column; gap: 8px; }

.flow-input {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.flow-input-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
}

/* Connector arrows between columns */

.flow-connector {
  color: var(--accent);
  opacity: 0.55;
  padding: 0 8px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-connector svg { width: 80px; height: 24px; }

/* Core — the Preop.ai card */

.flow-core { justify-content: center; }

.flow-core-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 36px 32px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 30, 63, 0.18), 0 2px 8px rgba(10, 30, 63, 0.08);
}

.flow-core-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}

.flow-core-brand {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.flow-core-brand span { color: var(--accent-light); font-style: italic; }

.flow-core-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.flow-core-steps {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.flow-core-step { display: flex; align-items: center; gap: 14px; }

.flow-core-num {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--accent-light);
  flex-shrink: 0;
  opacity: 0.85;
}

.flow-core-text {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}

/* Output — single clean card */

.flow-output { align-items: center; }

.flow-output-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  width: 100%;
  text-align: left;
  box-shadow: 0 2px 10px rgba(10, 30, 63, 0.04);
}

.flow-output-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-mist);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.flow-output-icon svg { width: 20px; height: 20px; }

.flow-output-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.flow-output-note { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ============ SOLUTION / HOW IT WORKS ============ */

.section-dark {
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
  margin: 0 40px;
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.3;
}

.section-dark h2 { color: var(--paper); }

.section-dark h2 em { color: var(--accent-light); }

.section-dark .section-intro { color: var(--paper); opacity: 0.7; }

.section-dark .section-label { color: var(--accent-light); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.step {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.step-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-desc { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ============ FEATURES ============ */

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  transition: transform .3s, box-shadow .3s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,30,63,0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-mist);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ============ OUTCOMES ============ */

.outcomes {
  background: var(--paper-warm);
  border-radius: 32px;
  padding: 100px 80px;
  margin: 0 40px;
}

/* ============ WHAT'S NEXT / AI LAYER ============ */

.whats-next { position: relative; }

.next-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  gap: 40px;
  flex-wrap: wrap;
}

.next-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.next-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.next-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.next-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.next-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.next-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.next-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}

.next-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.next-card-demo {
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  font-family: 'Inter', monospace;
  color: var(--ink);
  border-left: 3px solid var(--accent);
}

.next-card-demo .demo-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.next-card-demo .demo-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}

.demo-check { color: var(--mint); font-weight: 700; }

.demo-warn { color: var(--coral); font-weight: 700; }

.demo-strike { color: var(--muted); font-size: 12px; }

.next-footnote {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.8;
  max-width: 780px;
}

.next-footnote strong { color: var(--ink); opacity: 1; font-weight: 600; }

/* ============ OUTCOMES (continued) ============ */

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

.outcome-big {
  font-family: 'Fraunces', serif;
  font-size: 84px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 16px;
}

.outcome-big em {
  font-style: normal;
  font-size: 40px;
  color: var(--ink);
  opacity: 0.6;
  margin-left: 4px;
}

.outcome-label {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.5;
}

/* ============ SECURITY ============ */

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.security-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.sec-badge {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sec-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sec-badge-icon svg { width: 18px; height: 18px; }

.sec-badge-text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}

.sec-badge-text span { font-size: 12px; color: var(--muted); }

/* ============ TESTIMONIAL ============ */

.quote-section { padding: 140px 0; text-align: center; }

.quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 1000px;
  margin: 0 auto 48px;
}

.quote em { font-style: italic; color: var(--accent); }

.quote-attr {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============ CTA + CONTACT FORM ============ */

.cta-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
  margin: 80px 40px;
  padding: 80px 80px;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(74, 139, 240, 0.25), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(28, 95, 214, 0.2), transparent 55%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-block h2 { color: var(--paper); margin-bottom: 24px; }

.cta-block h2 em { color: var(--accent-light); }

.cta-sub { font-size: 18px; opacity: 0.7; line-height: 1.5; }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

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

.form-field { position: relative; }

.form-field input,
  .form-field select,
  .form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--paper);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}

.form-field textarea { resize: vertical; }

.form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-field select option { color: var(--ink); }

.form-field input::placeholder,
  .form-field textarea::placeholder { color: rgba(255,255,255,0.45); }

.form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  background: rgba(255,255,255,0.1);
}

.contact-form button {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  transition: background .2s;
}

.contact-form button:hover { background: var(--accent-light); color: var(--paper); }

/* ============ FOOTER ============ */

footer { padding: 80px 40px 40px; border-top: 1px solid var(--line); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto 60px;
}

.footer-brand .logo { font-size: 48px; margin-bottom: 22px; display: block; }

.footer-brand p {
  font-size: 18px;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 12px; }

.footer-col a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.footer-bottom a:hover { color: var(--accent); }

/* ============ RESPONSIVE ============ */

/* ============ SUBPAGE HEADER / ARTICLE (legal, blog, post) ============ */

.page-header {
  padding: 160px 0 60px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}

.breadcrumb {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  text-decoration: none;
}

h1.page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 900px;
}

h1.page-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.page-lede {
  font-size: 20px;
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.5;
  max-width: 640px;
  margin-bottom: 22px;
}

.page-content { padding: 80px 0 120px; }

.page-content .article-inner { max-width: 820px; }

.page-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 56px 0 20px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 36px 0 14px;
}

.page-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 20px;
}

.page-content p strong { color: var(--ink); opacity: 1; }

.page-content ul, .page-content ol { margin: 0 0 24px 20px; padding-left: 12px; }

.page-content li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 8px;
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s;
}

.page-content a:hover { color: var(--accent-light); }

.page-content .lead-paragraph {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 32px;
}

.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px;
  margin: 32px 0;
}

.info-card h3 { margin-top: 0; margin-bottom: 14px; }

.info-card p { margin-bottom: 10px; }

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

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.legal-meta {
  background: var(--accent-mist);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.legal-meta p { margin-bottom: 0; font-size: 15px; }

hr.section-rule { border: none; border-top: 1px solid var(--line); margin: 56px 0; }

.blog-listing { padding: 72px 0 96px; }

.post-link { text-decoration: none; color: inherit; display: block; }

.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.featured-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 2;
}

.post-link:hover .featured-card,
  .post-link:hover .post-card {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,30,63,0.08);
}

.featured-card .card-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: var(--paper-warm);
}

.featured-card .card-body { padding: 32px 32px 36px; }

.featured-card .card-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 14px;
}

.featured-card .card-excerpt { font-size: 16px; color: var(--muted); line-height: 1.6; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.post-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

.post-card .card-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-warm);
}

.post-card .card-body { padding: 24px 24px 28px; }

.post-card .card-title {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 12px 0 12px;
}

.post-card .card-excerpt { font-size: 15px; color: var(--muted); line-height: 1.55; }

.card-date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 96px;
  border-top: 1px solid var(--line);
}

.pagination .spacer { flex: 1; }

.pagination a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}

.pagination a:hover { background: var(--accent); }

.post-date {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

/* Eleventy Image wraps banners in <picture>; keep the wrapper layout-neutral so
   the existing .post-banner / .card-banner sizing on the inner <img> still applies.
   (Older browsers that ignore display:contents still lay out correctly: the block
   <img>'s width:100% resolves against the card, not the inline <picture>.)
   The plugin also stamps intrinsic width/height attrs on the <img> (e.g. 1600x600);
   those are presentation hints, so the banners below set `height: auto` to drop the
   height hint and let `aspect-ratio` size the box (otherwise a definite width *and*
   height would make the browser ignore aspect-ratio and pin height to 600px). */
picture { display: contents; }

.post-banner-wrap { padding: 40px 0 0; }

.post-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.page-content li strong { color: var(--ink); opacity: 1; }

.back-to-blog {
  display: inline-block;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 960px) {
  .container { padding: 0 24px; }
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 140px 0 80px; }
  .hero-visual { display: none; }
  .problem-flow { grid-template-columns: 1fr; gap: 16px; }
  .flow-arrow { transform: rotate(90deg); }
  .problem-stats { grid-template-columns: 1fr; }
  .flow-diagram { grid-template-columns: 1fr; padding: 32px 20px; gap: 0; }
  .flow-connector svg { transform: rotate(90deg); width: 24px; height: 40px; }
  .flow-connector { padding: 16px 0; margin-top: 0; justify-content: center; }
  .flow-inputs .flow-col-label,
    .flow-output .flow-col-label { text-align: center; }
  .flow-output { align-items: stretch; }
  .flow-core-card { margin-top: 0; }
  .section-dark, .outcomes, .cta-block { margin: 0 16px; padding: 60px 32px; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .security-grid { grid-template-columns: 1fr; gap: 40px; }
  .next-cards { grid-template-columns: 1fr; }
  .next-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-header { padding: 120px 0 48px; }
  .page-content { padding: 48px 0 80px; }
  .info-grid { grid-template-columns: 1fr; }
  footer { padding: 40px 24px 32px; }
  .page-nav-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .blog-listing { padding: 56px 0 72px; }
  .blog-featured-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .post-banner { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============ REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
