/* ============================================================
   Pallvera Design System — v1.0
   Fonts: Fraunces (display), Inter (UI), JetBrains Mono (mono)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  --bone:        #EFEAE0;
  --bone-2:      #E7E1D3;
  --carbon:      #15151A;
  --carbon-2:    #232329;
  --line:        #D8D2C2;
  --muted:       #6E6A60;
  --ember:       #E85D3C;
  --ember-soft:  #F4A089;
  --aubergine:   #3D2C4F;
  --sage:        #8FA88E;
  --sand:        #D4B896;

  --font-display: 'Fraunces', Georgia, serif;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --nav-h: 72px;
  --section-pad: clamp(72px, 8vw, 120px);
  --content-max: 1240px;
  --content-pad: clamp(20px, 5vw, 56px);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-card: 0 1px 3px rgba(21,21,26,0.06), 0 4px 16px rgba(21,21,26,0.04);
  --shadow-hover: 0 4px 24px rgba(21,21,26,0.10);

  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bone);
  color: var(--carbon);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Layout ── */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}
section { padding: var(--section-pad) 0; }
section.dark { background: var(--carbon); color: var(--bone); }
section.bone-2 { background: var(--bone-2); }
section.aubergine { background: var(--aubergine); color: var(--bone); }

/* ── Typography ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ember);
  flex-shrink: 0;
}
section.dark .eyebrow { color: rgba(239,234,224,0.5); }
section.dark .eyebrow::before { background: var(--ember); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 56px); }
h3 { font-size: clamp(22px, 2.5vw, 36px); }
h4 { font-size: clamp(18px, 2vw, 26px); }
em { font-style: italic; }

.section-headline { margin-bottom: 16px; }
.section-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 660px;
  line-height: 1.7;
  margin-bottom: 48px;
}
section.dark .section-sub { color: rgba(239,234,224,0.6); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono-label.ember { color: var(--ember); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ember);
  color: #fff;
}
.btn-primary:hover { background: #d14e2e; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,93,60,0.35); }
.btn-secondary {
  background: transparent;
  color: var(--carbon);
  border: 1.5px solid var(--carbon);
}
.btn-secondary:hover { background: var(--carbon); color: var(--bone); }
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1.5px solid rgba(239,234,224,0.3);
}
.btn-ghost:hover { border-color: var(--bone); background: rgba(239,234,224,0.08); }
.btn-outline-ember {
  background: transparent;
  color: var(--ember);
  border: 1.5px solid var(--ember);
}
.btn-outline-ember:hover { background: var(--ember); color: #fff; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(239,234,224,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo .wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--carbon);
  line-height: 1;
}
.nav-logo .wordmark .dot { color: var(--ember); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}
.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--carbon);
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: var(--bone-2); }
.nav-link.active { color: var(--ember); }

.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--carbon);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger:hover { background: var(--bone-2); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bone);
  border-top: 1px solid var(--line);
  padding: 24px var(--content-pad) 32px;
  z-index: 99;
  box-shadow: 0 8px 32px rgba(21,21,26,0.10);
}
.nav-mobile.open { display: block; }
.nav-mobile .nav-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.nav-mobile .nav-link:last-of-type { border-bottom: none; }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* Hero top padding */
.hero-pad { padding-top: calc(var(--nav-h) + 80px); }

/* ── PALLVERA MARK ── */
.p-mark {
  display: inline-block;
  flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  background: var(--bone);
  padding-top: calc(var(--nav-h) + clamp(60px, 8vw, 120px));
  padding-bottom: clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero-headline {
  font-size: clamp(40px, 5.5vw, 72px);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 16px;
}

/* ── Dashboard mockup ── */
.dashboard-mockup {
  background: var(--carbon-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(239,234,224,0.06);
  box-shadow: 0 24px 64px rgba(21,21,26,0.28);
}
.dash-bar {
  background: #1A1A1F;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(239,234,224,0.06);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(239,234,224,0.12);
}
.dash-url {
  flex: 1; text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(239,234,224,0.35);
}
.dash-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 420px;
}
.dash-sidebar {
  border-right: 1px solid rgba(239,234,224,0.06);
  padding: 18px 12px;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 22px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.dash-nav-item {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: rgba(239,234,224,0.55);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.dash-nav-item.active {
  background: rgba(232,93,60,0.12);
  color: var(--bone);
}
.dash-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(239,234,224,0.2);
  flex-shrink: 0;
}
.dash-nav-item.active .dash-dot { background: var(--ember); }
.dash-nav-section {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.25);
  padding: 14px 10px 6px;
}
.dash-main { padding: 24px 28px; }
.dash-main h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 4px;
}
.dash-sub { font-size: 11px; color: rgba(239,234,224,0.4); margin-bottom: 20px; }
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.kpi {
  background: rgba(239,234,224,0.03);
  border: 1px solid rgba(239,234,224,0.06);
  border-radius: 10px;
  padding: 14px 16px;
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.4);
  margin-bottom: 8px;
}
.kpi-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--bone);
  line-height: 1;
}
.kpi-delta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sage);
  margin-top: 6px;
}
.pipeline-card {
  background: rgba(239,234,224,0.03);
  border: 1px solid rgba(239,234,224,0.06);
  border-radius: 10px;
  padding: 16px;
}
.pipeline-title {
  font-size: 12px;
  color: var(--bone);
  font-weight: 500;
  margin-bottom: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pipeline-status {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--sage);
  background: rgba(143,168,142,0.12);
  padding: 3px 8px;
  border-radius: 4px;
}
.pipeline-sub { font-size: 10px; color: rgba(239,234,224,0.35); margin-bottom: 12px; }
.pipeline-steps {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pipeline-step {
  flex: 1;
  background: rgba(239,234,224,0.04);
  border-radius: 6px;
  padding: 8px 10px;
}
.pipeline-step.active {
  background: rgba(232,93,60,0.15);
  border: 1px solid rgba(232,93,60,0.3);
}
.step-name {
  font-size: 10px;
  color: var(--bone);
  font-weight: 500;
  display: block;
}
.step-meta {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(239,234,224,0.35);
  display: block;
}
.pipeline-arrow {
  color: rgba(239,234,224,0.18);
  font-size: 10px;
  flex-shrink: 0;
}

/* ── Cards ── */
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--bone-2);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-dark {
  background: var(--carbon-2);
  color: var(--bone);
}
.card-ember {
  background: var(--ember);
  color: #fff;
}

.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,93,60,0.10);
  border-radius: 10px;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

.card-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 10px;
}
.card h4 { margin-bottom: 10px; font-size: clamp(16px, 1.8vw, 22px); }
.card p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.card-dark p { color: rgba(239,234,224,0.6); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ember);
  margin-top: 18px;
  transition: var(--transition);
}
.card-link:hover { gap: 10px; }
.card-link::after { content: '→'; }

/* ── Service capability cards ── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.cap-card {
  background: var(--bone-2);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.cap-card:hover { border-color: var(--ember); transform: translateY(-2px); }
.cap-card .cap-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 10px;
}
.cap-card h4 { font-size: 19px; margin-bottom: 10px; }
.cap-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Outcome pillars ── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  background: var(--bone-2);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--ember);
  border-radius: 0 2px 2px 0;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--line);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.05em;
}
.pillar h4 { font-size: 22px; margin-bottom: 10px; }
.pillar p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Process steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 14%; right: 14%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  padding: 24px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bone);
  border: 1.5px solid var(--carbon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  position: relative;
}
.step-num.active {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}
section.dark .step-num {
  background: var(--carbon);
  border-color: rgba(239,234,224,0.3);
  color: var(--bone);
}
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; }
section.dark .step p { color: rgba(239,234,224,0.6); }

/* ── Pain points / bullet lists ── */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bone-2);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.pain-item::before {
  content: '×';
  color: var(--ember);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: -1px;
}
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.check-item::before {
  content: '→';
  color: var(--ember);
  flex-shrink: 0;
  font-weight: 500;
}

/* ── Two-col callout ── */
.callout-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.callout-2col.reverse { direction: rtl; }
.callout-2col.reverse > * { direction: ltr; }

/* ── Big stat strip ── */
.stat-strip { display: flex; gap: 0; }
.stat-item {
  flex: 1;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
section.dark .stat-item { border-color: rgba(239,234,224,0.08); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.04em;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.5; }
section.dark .stat-label { color: rgba(239,234,224,0.55); }

/* ── CTA banner ── */
.cta-banner {
  background: var(--carbon);
  color: var(--bone);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(232,93,60,0.15), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--bone); position: relative; }
.cta-banner p { color: rgba(239,234,224,0.6); font-size: 16px; line-height: 1.65; margin-top: 12px; max-width: 540px; position: relative; }
.cta-banner-actions { flex-shrink: 0; position: relative; }

/* ── Tagline list ── */
.tagline-stack { display: flex; flex-direction: column; gap: 0; }
.tagline-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  gap: 24px;
}
.tagline-row:last-child { border-bottom: none; }
.tagline-idx { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.tagline-text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -0.018em;
  line-height: 1.2;
}
.tagline-role { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ── Proof / testimonials ── */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card {
  background: var(--bone-2);
  border-radius: var(--radius-md);
  padding: 32px;
}
.proof-text { font-size: 15px; line-height: 1.7; color: var(--carbon); margin-bottom: 20px; font-style: italic; }
.proof-author { font-size: 13px; font-weight: 500; }
.proof-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── FAQ accordion ── */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
section.dark .faq-item { border-color: rgba(239,234,224,0.08); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--carbon);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
}
section.dark .faq-q { color: var(--bone); }
.faq-q:hover { color: var(--ember); }
.faq-icon {
  width: 22px; height: 22px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--muted);
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--ember); color: var(--ember); }
.faq-a {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
section.dark .faq-a { color: rgba(239,234,224,0.6); }
.faq-item.open .faq-a { display: block; }

/* ── Forms ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--carbon);
  letter-spacing: 0.01em;
}
.form-field {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  color: var(--carbon);
  background: #fff;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-field:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(232,93,60,0.12);
}
.form-field::placeholder { color: var(--muted); }
textarea.form-field { resize: vertical; min-height: 120px; }
select.form-field { cursor: pointer; }
.form-hint { font-size: 12px; color: var(--muted); }
.form-submit { margin-top: 8px; }

.form-card {
  background: var(--bone-2);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
}
.form-success {
  display: none;
  text-align: center;
  padding: 48px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px; height: 56px;
  background: rgba(143,168,142,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}
.form-error {
  background: rgba(232,93,60,0.08);
  border: 1px solid rgba(232,93,60,0.25);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #c0392b;
  display: none;
}
.form-error.show { display: block; }
.field-error { font-size: 12px; color: var(--ember); display: none; }
.field-error.show { display: block; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--carbon);
  color: var(--bone);
  padding-top: calc(var(--nav-h) + clamp(60px, 8vw, 100px));
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 90% 50%, rgba(232,93,60,0.12), transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--bone); margin-bottom: 20px; }
.page-hero p {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(239,234,224,0.65);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.4);
  margin-bottom: 24px;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb span { color: rgba(239,234,224,0.2); }

/* ── Divider ── */
.divider { height: 1px; background: var(--line); margin: 0; }
section.dark .divider { background: rgba(239,234,224,0.08); }

/* ── Badge / tag chips ── */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(232,93,60,0.10);
  color: var(--ember);
}
.badge-sage {
  background: rgba(143,168,142,0.15);
  color: #5a7a59;
}

/* ── Horizontal rule w/ eyebrow ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}
.section-divider .line { flex: 1; height: 1px; background: var(--line); }

/* ── Two-tone section ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-side {
  padding: clamp(48px, 6vw, 96px) clamp(32px, 5vw, 72px);
}

/* ── Integration diagram ── */
.int-diagram {
  background: var(--carbon-2);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.int-center {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--ember);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.int-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.int-node {
  background: rgba(239,234,224,0.06);
  border: 1px solid rgba(239,234,224,0.1);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: rgba(239,234,224,0.7);
  text-transform: uppercase;
}

/* ── Footer ── */
.footer {
  background: var(--carbon);
  color: var(--bone);
  padding: clamp(56px, 7vw, 96px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(239,234,224,0.08);
}
.footer-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--bone);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.footer-brand .wordmark .dot { color: var(--ember); }
.footer-brand p {
  font-size: 14px;
  color: rgba(239,234,224,0.5);
  line-height: 1.65;
  max-width: 260px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.4);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(239,234,224,0.6);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 12px;
  color: rgba(239,234,224,0.35);
}
.footer-legal a { color: rgba(239,234,224,0.5); }
.footer-legal a:hover { color: var(--bone); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dashboard-mockup { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .callout-2col { grid-template-columns: 1fr; }
  .callout-2col.reverse { direction: ltr; }
  .pain-grid { grid-template-columns: 1fr; }
  .stat-strip { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); min-width: 50%; }
  .stat-item:last-child { border-bottom: none; }
  .split-section { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: clamp(48px, 8vw, 72px); }
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .tagline-row { grid-template-columns: 1fr; gap: 8px; }
  .tagline-idx, .tagline-role { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
}

@media (max-width: 430px) {
  :root { --content-pad: 16px; }
  .btn { padding: 13px 22px; font-size: 13px; }
  .kpi-row { grid-template-columns: 1fr; }
}

/* ── Utilities ── */
.text-ember { color: var(--ember); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.text-center .eyebrow { justify-content: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }

/* ── Animations ── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
