/* ============================================
   Croftspan — Design System
   OVERDRIVE: Spatial confidence. Typographic drama.
   Material warmth. One moment per viewport.
   ============================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* --- Custom Properties --- */
:root {
  --forge: #1C1917;
  --forge-90: #292524;
  --vellum: #F5F0E8;
  --stone: #44403C;
  --copperfield: #A14B08;
  --copperfield-hover: #8B4107;
  --copperfield-active: #753706;
  --copperfield-glow: rgba(161, 75, 8, 0.15);
  --slate: #334155;
  --chalk: #D6D3D1;
  --survey-red: #DC2626;
  --lichen: #16A34A;

  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Courier New', monospace;

  --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;
  --space-48: 192px;

  --max-width: 1200px;
  --content-width: 640px;
  --side-padding: 24px;
  --column-gap: 24px;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --transition-fast: 100ms linear;
  --transition: 150ms ease-out;
  --transition-slow: 200ms ease-out;
  --transition-lift: 300ms cubic-bezier(0.2, 0, 0, 1);
}

/* --- Light Mode --- */
:root, [data-theme="light"] {
  --bg: var(--vellum);
  --bg-alt: #EBE6DC;
  --text: var(--forge);
  --text-secondary: var(--stone);
  --surface: #FFFFFF;
  --card-border: rgba(68, 64, 60, 0.12);
  --border: rgba(68, 64, 60, 0.12);
  --nav-bg: rgba(245, 240, 232, 0.92);
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04), 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow: 0 2px 4px rgba(28, 25, 23, 0.04), 0 8px 16px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 4px 8px rgba(28, 25, 23, 0.04), 0 16px 32px rgba(28, 25, 23, 0.08);
  --pillar-bg: var(--forge);
  --pillar-text: var(--vellum);
  --pillar-sub: rgba(245, 240, 232, 0.7);
  --pillar-border: transparent;
  --invert-bg: var(--forge);
  --invert-text: var(--vellum);
  --invert-text-secondary: rgba(245, 240, 232, 0.65);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg: var(--forge);
  --bg-alt: #151311;
  --text: var(--vellum);
  --text-secondary: #A8A29E;
  --surface: var(--forge-90);
  --card-border: rgba(168, 162, 158, 0.1);
  --border: rgba(168, 162, 158, 0.1);
  --nav-bg: rgba(28, 25, 23, 0.92);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.15);
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.1), 0 16px 32px rgba(0, 0, 0, 0.3);
  --pillar-bg: var(--forge-90);
  --pillar-text: var(--vellum);
  --pillar-sub: #A8A29E;
  --pillar-border: rgba(168, 162, 158, 0.08);
  --invert-bg: var(--vellum);
  --invert-text: var(--forge);
  --invert-text-secondary: var(--stone);
}

/* prefers-color-scheme: dark removed — light mode is always the default.
   Users can still toggle to dark via the theme switcher (data-theme="dark"). */
}

/* --- Focus --- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--copperfield);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Page load --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Base --- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  transition: background-color var(--transition-slow), color var(--transition-slow);
  animation: fadeUp 400ms ease-out;
}

/* Subtle paper texture */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Typography --- */
h1, h2 { font-family: var(--font-heading); font-weight: 400; color: var(--text); }
h3, h4 { font-family: var(--font-body); font-weight: 600; color: var(--text); }

h1 {
  font-size: 76px;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
h4 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.text-small {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.caption {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--copperfield);
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copperfield);
}
.section-dark .section-label { color: var(--copperfield); }
.label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
}
code {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
}

p { max-width: var(--content-width); }
p + p { margin-top: 1.2em; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}
.section {
  padding: var(--space-32) 0;
}
.section-sm {
  padding: var(--space-16) 0;
}

/* Inverted sections */
.section-dark {
  background: var(--invert-bg);
  color: var(--invert-text);
  padding: var(--space-32) 0;
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--invert-text); }
.section-dark p { color: var(--invert-text-secondary); }
.section-dark .step-number { color: var(--copperfield); border-color: var(--copperfield); }
.section-dark .step-content p { color: var(--invert-text-secondary); }
.section-dark .step { border-color: rgba(245, 240, 232, 0.1); }

/* Alt background */
.section-alt {
  background: var(--bg-alt);
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition-slow);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.7; }
.nav-logo .plus {
  color: var(--copperfield);
  font-size: 21px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a.nav-cta {
  margin-left: var(--space-3);
  color: var(--vellum);
  padding: 8px 18px;
  font-size: 13px;
}
.nav-links a.nav-cta:hover { color: var(--vellum); }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: color var(--transition);
}
.theme-toggle:hover { color: var(--text); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }
:root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: block; }
:root:not([data-theme="dark"]) .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
/* prefers-color-scheme toggle icon override removed — light mode default */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all var(--transition-lift);
  text-decoration: none;
  position: relative;
}
.btn-primary {
  background: var(--copperfield);
  color: var(--vellum);
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--copperfield-hover);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--copperfield-active);
  transform: translateY(0);
  box-shadow: none;
}
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--text-secondary);
  transform: translateY(-1px);
}
.btn-secondary:active {
  background: var(--text);
  color: var(--bg);
  transform: translateY(0);
}
.btn-lg {
  padding: 16px 40px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

/* --- Links --- */
.link {
  color: var(--copperfield);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition);
}
.link:hover {
  color: var(--copperfield-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-lift);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}

/* --- Form --- */
.form-group {
  margin-bottom: var(--space-6);
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--copperfield);
  box-shadow: 0 0 0 3px var(--copperfield-glow);
}
.form-input:focus-visible {
  outline: none;
  border-color: var(--copperfield);
  box-shadow: 0 0 0 3px var(--copperfield-glow);
}
.form-input::placeholder {
  color: var(--text-secondary);
  font-size: 15px;
}
textarea.form-input {
  min-height: 180px;
  resize: vertical;
}
.form-error {
  color: var(--survey-red);
  font-size: 13px;
  margin-top: var(--space-1);
}

/* --- Dividers --- */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* --- Hero [OVERDRIVE] --- */
.hero {
  padding: var(--space-48) 0 var(--space-32);
  position: relative;
}
.hero h1 {
  margin-bottom: var(--space-8);
  max-width: none;
}
.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.75;
  margin-bottom: var(--space-12);
  max-width: 520px;
}
.hero .btn {
  margin-top: 0;
}

/* Copper accent line under hero */
.hero::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  background: var(--copperfield);
  margin-top: var(--space-24);
  opacity: 0.5;
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: var(--space-12);
}
.section-header h2 {
  margin-bottom: var(--space-3);
}
.section-header p {
  color: var(--text-secondary);
  font-size: 17px;
}

/* --- Steps --- */
.step {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--transition-lift);
}
.step:last-child { border-bottom: none; }
.step:hover { padding-left: var(--space-3); }
.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--copperfield);
  border: 1.5px solid var(--copperfield);
  border-radius: 50%;
  transition: all var(--transition-lift);
  margin-top: 2px;
}
.step:hover .step-number {
  background: var(--copperfield);
  color: var(--vellum);
  border-color: var(--copperfield);
}
.step-content h3 {
  margin-bottom: var(--space-1);
}
.step-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

/* --- Comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.comparison-col {
  padding: var(--space-8) var(--space-8);
}
.comparison-col p { max-width: none; }
.comparison-before {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  opacity: 0.7;
}
.comparison-before p {
  color: var(--text-secondary);
  font-size: 15px;
}
.comparison-after {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  box-shadow: var(--shadow);
  position: relative;
}
.comparison-after::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--copperfield);
}

/* --- Team Card --- */
.team-card {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  transition: all var(--transition-lift);
  border-radius: var(--radius-xl);
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--copperfield);
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vellum);
  transition: transform var(--transition-lift);
}
.team-card:hover .team-avatar {
  transform: scale(1.08);
}
.team-card h4 {
  margin-bottom: 2px;
  font-size: 15px;
}
.team-card .caption {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 12px;
}

/* --- Pillars --- */
.pillars-section {
  padding: var(--space-24) 0 var(--space-32);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.pillar-card {
  background: var(--pillar-bg);
  border: 1px solid var(--pillar-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-lift);
}
.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--copperfield);
  opacity: 0;
  transition: opacity var(--transition-lift);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--pillar-text);
  margin-bottom: var(--space-3);
}
.pillar-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
  color: var(--pillar-sub);
  max-width: none;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-12) 0;
  transition: border-color var(--transition-slow);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text);
}
.footer-logo .plus { color: var(--copperfield); }
.footer-links {
  display: flex;
  gap: var(--space-6);
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 12px;
  color: var(--text-secondary);
}

/* --- Accent bar --- */
.accent-bar {
  display: block;
  width: 14.28%;
  height: 2px;
  background-color: var(--copperfield);
}

/* --- CTA Section --- */
.section-cta {
  background: var(--invert-bg);
  color: var(--invert-text);
  padding: var(--space-32) 0;
  text-align: center;
}
.section-cta h2 {
  color: var(--invert-text);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-cta p {
  color: var(--invert-text-secondary);
  margin: 0 auto;
  max-width: 480px;
}
.section-cta .btn {
  margin-top: var(--space-8);
}

/* --- Credential Bar --- */
.credential-bar {
  display: flex;
  gap: var(--space-16);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.credential-item {
  text-align: center;
  flex: 1;
}
.credential-value {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--text);
  line-height: 1.0;
  margin-bottom: var(--space-2);
}
.credential-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* --- Signature Block --- */
.signature-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.signature-row {
  display: flex;
  gap: var(--space-4);
  align-items: baseline;
}
.signature-bold {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  min-width: 200px;
}
.signature-quiet {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.08em; }
.container-narrow { max-width: 640px; }
.btn-block { width: 100%; }
.footer-sep { color: var(--text-secondary); opacity: 0.25; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-copper { color: var(--copperfield); }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root { --side-padding: 48px; }
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
}

@media (max-width: 768px) {
  :root { --side-padding: 24px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 18px; }

  .hero { padding: var(--space-24) 0 var(--space-16); }
  .hero p { font-size: 16px; }
  .hero::after { margin-top: var(--space-16); }
  .section, .section-dark, .section-alt { padding: var(--space-24) 0; }
  .section-cta { padding: var(--space-24) 0; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }
  .comparison-before {
    border-right: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .comparison-after {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
  .comparison-after::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
  }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) var(--side-padding);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: var(--space-3) 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
  }
  .nav-cta { margin-left: 0; margin-top: var(--space-2); }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .step { flex-direction: column; gap: var(--space-3); }
  .step:hover { padding-left: 0; }

  .credential-bar { flex-direction: column; gap: var(--space-8); }
  .signature-row { flex-direction: column; gap: var(--space-1); }
  .signature-bold { min-width: 0; }
  .pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 34px; }
  .btn-lg { padding: 14px 28px; font-size: 14px; }
}
