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

:root {
  --bg:          #F8FAFC;
  --fg:          #0F172A;
  --fg-mid:      #475569;
  --fg-muted:    #94A3B8;
  --rule:        #E2E8F0;
  --card:        #FFFFFF;
  --dark-bg:     #0F172A;
  --dark-fg:     #F1F5F9;
  --dark-mid:    #94A3B8;
  --dark-rule:   #1E293B;
  --accent:      #059669;
  --accent-light: rgba(5,150,105,.10);
  --accent-amber: #C5944A;
  --max-w:       1120px;
  --pad:         clamp(24px, 5vw, 72px);
  --sec:         clamp(56px, 7vw, 88px);
}

html { scroll-behavior: smooth; }

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; }
.logo-text {
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
  color: var(--fg); text-transform: uppercase; line-height: 1;
  font-style: italic;
}
.logo-ai { font-weight: 400; }
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-link {
  font-size: 14px; font-weight: 400; color: var(--fg-mid);
  text-decoration: none; padding: 6px 12px; border-radius: 5px;
  letter-spacing: .01em; transition: color .15s; position: relative;
}
.nav-link:hover { color: var(--fg); }
.nav-link--active { color: var(--fg); font-weight: 500; }
.nav-link--active::after {
  content: ''; position: absolute; bottom: 0; left: 12px; right: 12px;
  height: 1.5px; background: var(--fg); border-radius: 1px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  padding: 8px 18px; border-radius: 6px; text-decoration: none;
  transition: opacity .15s, transform .15s; margin-left: 8px;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); }
.nav-cta--active { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }

/* ── HERO ── */
.hero {
  background: var(--dark-bg);
  padding-top: calc(64px + clamp(72px, 11vw, 128px));
  padding-bottom: clamp(72px, 11vw, 128px);
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 40% 40%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 40% 40%, black 30%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dark-mid);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5,150,105,.4); }
  50% { box-shadow: 0 0 0 6px rgba(5,150,105,0); }
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 500; letter-spacing: -.025em; line-height: 1.1;
  color: var(--dark-fg); max-width: 760px; margin-bottom: 24px;
}
.hero h1 span { color: #94A3B8; }
.hero-sub {
  font-size: clamp(15px, 1.7vw, 17px); font-weight: 300;
  color: var(--dark-mid); line-height: 1.7;
  max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  padding: 12px 24px; border-radius: 6px; text-decoration: none;
  transition: opacity .15s, transform .15s; white-space: nowrap;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-ghost {
  font-size: 14px; font-weight: 400; color: var(--dark-mid);
  text-decoration: none; letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .15s, gap .2s; white-space: nowrap;
}
.btn-ghost:hover { color: var(--dark-fg); gap: 8px; }
.hero-trust {
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--dark-rule);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.trust-label {
  font-size: 10px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: #6A6865; white-space: nowrap;
}
.trust-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-pill {
  font-size: 12px; color: #94A3B8;
  background: rgba(255,255,255,.04); border: 1px solid #1E293B;
  padding: 4px 11px; border-radius: 4px;
}

/* ── SOCIAL PROOF BAR ── */
.social-proof {
  padding: clamp(36px,5vw,56px) 0;
  border-bottom: 1px solid var(--rule);
}
.social-proof-inner {
  text-align: center;
}
.social-proof-text {
  font-size: 14px; font-weight: 400; color: var(--fg-muted);
  letter-spacing: .01em; margin-bottom: 28px;
}
.social-proof-logos {
  display: flex; align-items: center; justify-content: center; gap: clamp(24px,4vw,48px);
  flex-wrap: wrap;
}
.sp-logo {
  width: clamp(80px,10vw,110px); height: 28px;
  background: var(--fg-muted); opacity: .12;
  border-radius: 6px;
}

/* ── LOGO CAROUSEL ── */
.logo-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
.carousel-set {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
  padding: 0 clamp(20px, 3vw, 36px);
}
.carousel-logo {
  opacity: 0.62;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  flex-shrink: 0;
}
.carousel-logo:hover { opacity: 0.9; }
.carousel-logo svg {
  width: auto;
  height: 42px;
  display: block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SHARED SECTION ── */
.sec { padding: var(--sec) 0; }
.sec--first { padding-top: calc(64px + var(--sec)); }
.sec-label {
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-muted);
  margin-bottom: 14px;
}
.sec-label.light { color: var(--accent); }
.sec h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 500; letter-spacing: -.02em; line-height: 1.2;
  color: var(--fg); margin-bottom: 14px;
}
.sec h2.light { color: var(--dark-fg); }
.sec-sub {
  font-size: 15px; font-weight: 300; color: var(--fg-mid);
  line-height: 1.7; max-width: 520px;
}
.sec-sub.light { color: var(--dark-mid); }
.sec-header { margin-bottom: clamp(36px, 5vw, 56px); }
hr.rule { border: none; border-top: 1px solid var(--rule); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── HOME NAV CARDS ── */
.home-cards { padding: var(--sec) 0; }
.home-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
}
.hn-card {
  background: var(--card); padding: clamp(28px, 4vw, 48px);
  text-decoration: none; display: flex; flex-direction: column; gap: 16px;
  transition: background .15s, transform .2s, box-shadow .2s;
}
.hn-card:hover { background: #F1F5F9; }
.hn-label {
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-muted);
}
.hn-title {
  font-size: clamp(16px, 1.8vw, 20px); font-weight: 500;
  letter-spacing: -.015em; line-height: 1.3; color: var(--fg);
}
.hn-desc {
  font-size: 14px; font-weight: 300; color: var(--fg-mid);
  line-height: 1.65; flex: 1;
}
.hn-arrow {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: var(--accent);
  transition: gap .2s;
}
.hn-card:hover .hn-arrow { gap: 8px; }

/* ── WORKFLOW CARDS ── */
.workflows {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
}
.wf-card {
  background: var(--card); padding: clamp(26px, 3.5vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .15s, box-shadow .2s;
  border-left: 3px solid transparent;
}
.wf-card:hover { background: #F8FAFC; border-left-color: var(--accent); }
.wf-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
}
.wf-icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.wf-title { font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--fg); }
.wf-desc { font-size: 14px; font-weight: 400; color: var(--fg-mid); line-height: 1.65; }
.wf-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 4px; }
.tag {
  font-size: 11px; font-weight: 500; letter-spacing: .03em;
  color: var(--fg-muted); background: var(--bg);
  border: 1px solid var(--rule); padding: 3px 8px; border-radius: 3px;
}

/* ── HOW IT WORKS — FLOWCHART ── */
.how-bg {
  background: linear-gradient(180deg, #0F172A 0%, #111827 100%);
}
.flowchart {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(36px, 5vw, 56px);
}
.flow-step {
  position: relative;
  text-align: center;
  padding: 0 clamp(8px, 1.5vw, 20px);
}
.flow-node {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #4A7A4A);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 16px; font-weight: 600; color: #fff;
  position: relative; z-index: 2;
  box-shadow: 0 0 20px rgba(90,138,90,.25);
}
.flow-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: var(--dark-rule);
  z-index: 1;
}
.flow-connector-fill {
  height: 100%; width: 0;
  background: var(--accent);
  transition: width 1s ease;
}
.flow-connector.animated .flow-connector-fill { width: 100%; }
.flow-step:last-child .flow-connector { display: none; }
.flow-dot {
  position: absolute;
  top: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  right: 0;
}
.flow-connector.animated .flow-dot {
  animation: travel-dot 2s ease-in-out infinite;
}
@keyframes travel-dot {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
.flow-title {
  font-size: 15px; font-weight: 500; color: var(--dark-fg);
  margin-bottom: 8px;
}
.flow-desc {
  font-size: 13px; font-weight: 300; color: var(--dark-mid);
  line-height: 1.6;
}

/* ── HOMEPAGE HOW-IT-WORKS SUMMARY ── */
.how-summary {
  padding: var(--sec) 0;
  background: linear-gradient(180deg, #0F172A 0%, #111827 100%);
}
.how-summary .sec-header { text-align: center; }
.how-summary .sec-sub { margin: 0 auto; }

/* ── OUTCOMES SNAPSHOT (homepage) ── */
.outcomes-snapshot {
  padding: var(--sec) 0;
  border-bottom: 1px solid var(--rule);
}
.outcomes-snapshot .sec-header { text-align: center; }
.outcomes-snapshot .sec-sub { margin: 0 auto; }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 32px);
  text-align: center;
}
.stat-item {
  padding: clamp(20px, 3vw, 36px);
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
}
.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.stat-number {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600; letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 14px; font-weight: 500; color: var(--fg);
  margin-bottom: 4px;
}
.stat-desc {
  font-size: 13px; color: var(--fg-mid); line-height: 1.5;
}

/* ── PRODUCT SCREENSHOT ── */
.product-sec {
  background: #F1F5F9;
  padding: var(--sec) 0; overflow: hidden;
  position: relative;
}
.product-sec::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(5,150,105,.04) 0%, transparent 70%);
  pointer-events: none;
}
.product-frame {
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 4px 32px rgba(15,23,42,.18), 0 0 0 1px rgba(15,23,42,.08);
  margin-top: 44px;
  position: relative;
}
.frame-bar {
  background: #E2E8F0; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid #CBD5E1;
}
.frame-dots { display: flex; gap: 5px; }
.fd { width: 10px; height: 10px; border-radius: 50%; }
.fd-r { background: #FF5F57; } .fd-y { background: #FFBD2E; } .fd-g { background: #28CA41; }
.frame-url {
  flex: 1; background: #F1F5F9; border-radius: 4px;
  border: 1px solid #CBD5E1;
  padding: 4px 12px; font-size: 11px; color: #64748B;
  max-width: 320px; margin: 0 auto; text-align: center;
  font-family: inherit;
}
.frame-spacer { width: 52px; }
.product-frame img { display: block; width: 100%; height: auto; }

/* Screenshot annotations */
.screenshot-wrap {
  position: relative;
}
.annotation {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: #fff;
  background: rgba(5,150,105,.88);
  backdrop-filter: blur(8px);
  padding: 6px 14px; border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  pointer-events: none;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.annotation.visible { opacity: 1; transform: translateY(0); }
.annotation::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.ann-1 { top: 20%; left: 5%; }
.ann-2 { top: 15%; right: 5%; }
.ann-3 { bottom: 30%; left: 5%; }
.ann-4 { bottom: 15%; right: 5%; }

/* ── BEFORE / AFTER ── */
.before-after {
  padding: var(--sec) 0;
  background: var(--bg);
}
.ba-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.ba-col { padding: clamp(28px, 4vw, 44px); }
.ba-col--before {
  background: #FFF5F4;
  border-right: 1px solid var(--rule);
}
.ba-col--after { background: #ECFDF5; }
.ba-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.ba-badge {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: 4px;
}
.ba-col--before .ba-badge { background: rgba(200,80,60,.1); color: #C8503C; }
.ba-col--after .ba-badge { background: rgba(90,138,90,.12); color: var(--accent); }
.ba-items { display: flex; flex-direction: column; gap: 20px; }
.ba-item-title {
  font-size: 14px; font-weight: 500; color: var(--fg);
  margin-bottom: 4px;
}
.ba-item-desc {
  font-size: 13px; color: var(--fg-mid); line-height: 1.6;
}

/* ── OUTCOMES PAGE — STATS ── */
.outcomes {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
}
.oc-card {
  background: var(--card); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
  border-radius: 12px;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
}
.oc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.oc-stat {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600; letter-spacing: -.03em;
  color: var(--accent); line-height: 1;
}
.oc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.oc-icon svg {
  width: 20px; height: 20px; stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.oc-title { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--fg); line-height: 1.3; }
.oc-desc { font-size: 14px; font-weight: 400; color: var(--fg-mid); line-height: 1.6; }

/* ── OVERSIGHT ── */
.oversight-bg { background: #F1F5F9; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.oversight-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.features { display: flex; flex-direction: column; }
.feat {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .2s;
}
.feat:hover { padding-left: 4px; }
.feat:first-child { border-top: 1px solid var(--rule); }
.feat-icon {
  width: 36px; height: 36px; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--accent-light);
}
.feat-icon svg {
  width: 18px; height: 18px; stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.feat-title { font-size: 14px; font-weight: 500; color: var(--fg); margin-bottom: 3px; }
.feat-desc { font-size: 13px; font-weight: 400; color: var(--fg-mid); line-height: 1.6; }
.callout {
  background: var(--dark-bg); color: var(--dark-fg);
  border-radius: 10px; padding: clamp(26px, 3.5vw, 40px);
  position: sticky; top: 78px;
}
.callout-label {
  font-size: 10px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.callout h3 {
  font-size: clamp(17px, 2vw, 22px); font-weight: 500;
  letter-spacing: -.015em; line-height: 1.3;
  color: var(--dark-fg); margin-bottom: 16px;
}
.callout-body {
  font-size: 14px; font-weight: 300; color: var(--dark-mid);
  line-height: 1.65; margin-bottom: 28px;
}
.callout-pts { display: flex; flex-direction: column; gap: 10px; }
.callout-pt {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 400; color: var(--dark-mid); line-height: 1.5;
}
.callout-pt::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 7px;
}

/* ── WHO IT'S FOR ── */
.audience {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 20px);
}
.aud-card {
  background: var(--card); padding: clamp(26px, 3.5vw, 44px);
  border-radius: 12px;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
}
.aud-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.aud-type {
  font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.aud-title {
  font-size: clamp(17px, 1.8vw, 21px); font-weight: 500;
  letter-spacing: -.015em; line-height: 1.3;
  color: var(--fg); margin-bottom: 12px;
}
.aud-desc {
  font-size: 14px; font-weight: 400; color: var(--fg-mid);
  line-height: 1.65; margin-bottom: 20px;
}
.aud-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.role {
  font-size: 12px; color: var(--fg-muted);
  background: var(--bg); border: 1px solid var(--rule);
  padding: 4px 10px; border-radius: 4px;
}

/* ── INTEGRATIONS — HORIZONTAL STRIP ── */
.int-bg {
  background: linear-gradient(180deg, #0F172A 0%, #111827 100%);
}
.int-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
}
.int-item {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--dark-rule);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 28px);
  display: flex; flex-direction: column; gap: 8px;
  text-align: center;
  transition: transform .2s, background .2s, border-color .2s;
}
.int-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
  border-color: rgba(5,150,105,.3);
}
.int-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(5,150,105,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
}
.int-icon svg {
  width: 24px; height: 24px; stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.int-title { font-size: 14px; font-weight: 500; color: var(--dark-fg); }
.int-desc { font-size: 13px; font-weight: 400; color: var(--dark-mid); line-height: 1.6; }

/* ── DASHBOARD MOCKUP ── */
.dashboard-sec {
  padding: var(--sec) 0;
  background: var(--bg);
}
.dashboard-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px,5vw,56px);
}
.dash-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dash-title {
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--fg-muted);
  margin-bottom: 16px;
}
/* Mini bar chart */
.dash-bars {
  display: flex; align-items: flex-end; gap: 8px;
  height: 80px;
}
.dash-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height .8s ease;
}
.dash-bar:nth-child(1) { background: rgba(5,150,105,.25); height: 85%; }
.dash-bar:nth-child(2) { background: rgba(5,150,105,.40); height: 60%; }
.dash-bar:nth-child(3) { background: rgba(5,150,105,.55); height: 40%; }
.dash-bar:nth-child(4) { background: var(--accent); height: 25%; }
.dash-bar-label {
  font-size: 11px; color: var(--fg-muted); text-align: center;
  margin-top: 8px;
}
.dash-bar-labels { display: flex; gap: 8px; }
.dash-bar-labels span { flex: 1; text-align: center; font-size: 11px; color: var(--fg-muted); }
/* Progress ring */
.dash-ring-wrap {
  display: flex; align-items: center; justify-content: center;
  height: 100px;
}
.dash-ring {
  position: relative; width: 90px; height: 90px;
}
.dash-ring svg { width: 90px; height: 90px; transform: rotate(-90deg); }
.dash-ring circle {
  fill: none; stroke-width: 6;
  stroke-linecap: round;
}
.dash-ring .ring-bg { stroke: var(--rule); }
.dash-ring .ring-fill {
  stroke: var(--accent);
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  transition: stroke-dashoffset 1.5s ease;
}
.dash-ring.animated .ring-fill { stroke-dashoffset: 12.5; }
.dash-ring-value {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 22px; font-weight: 600; color: var(--accent);
}
/* Trend line */
.dash-trend { height: 80px; position: relative; }
.dash-trend svg {
  width: 100%; height: 100%;
}
.dash-trend .trend-line {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.5s ease;
}
.dash-trend.animated .trend-line { stroke-dashoffset: 0; }
.dash-trend .trend-fill {
  fill: url(#trend-gradient);
  opacity: 0;
  transition: opacity 1s ease .5s;
}
.dash-trend.animated .trend-fill { opacity: 1; }

/* ── CLOSING CTA ── */
.closing-cta {
  padding: var(--sec) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #EFF6FF 100%);
}
.closing-cta-dark {
  background: linear-gradient(180deg, #111827 0%, #0F172A 100%);
}
.closing-cta .wrap { max-width: 640px; }
.closing-cta h2 {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 500; letter-spacing: -.025em; line-height: 1.15;
  color: var(--fg); margin-bottom: 16px;
}
.closing-cta-dark h2 { color: var(--dark-fg); }
.closing-cta p {
  font-size: 15px; font-weight: 300; color: var(--fg-mid);
  line-height: 1.7; margin-bottom: 36px;
}
.closing-cta-dark p { color: var(--dark-mid); }
.closing-cta .btn-primary {
  font-size: 15px; padding: 14px 32px;
}
.closing-cta-dark .btn-primary {
  background: var(--accent); color: #fff;
}

/* ── FINAL CTA (legacy compat) ── */
.cta-sec { padding: var(--sec) 0; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-muted); margin-bottom: 20px;
}
.cta-sec h2 {
  font-size: clamp(26px, 3.8vw, 42px); font-weight: 500;
  letter-spacing: -.025em; line-height: 1.15;
  color: var(--fg); margin-bottom: 16px;
}
.cta-sub {
  font-size: 15px; font-weight: 300; color: var(--fg-mid);
  line-height: 1.7; margin-bottom: 36px;
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 500; padding: 12px 24px;
  border-radius: 6px; text-decoration: none; transition: opacity .15s, transform .15s;
  letter-spacing: .01em;
}
.btn-dark:hover { opacity: .88; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 400; color: var(--fg-mid);
  border: 1px solid var(--rule); padding: 11px 22px;
  border-radius: 6px; text-decoration: none;
  transition: border-color .15s, color .15s; letter-spacing: .01em;
}
.btn-outline:hover { border-color: var(--fg-muted); color: var(--fg); }

/* ── CONTACT PAGE ── */
.contact-section {
  background: var(--dark-bg);
  padding: calc(64px + var(--sec)) 0 var(--sec);
  min-height: 100vh;
  position: relative; overflow: hidden;
}
.contact-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
}
.contact-glow {
  position: absolute;
  top: 50%; left: 60%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(5,150,105,.05) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  position: relative; z-index: 1;
}
.contact-copy .eyebrow { margin-bottom: 24px; }
.contact-copy h1 {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 300;
  letter-spacing: -.02em; line-height: 1.15; margin: 0 0 20px;
  color: var(--dark-fg);
}
.contact-copy h1 span { color: var(--accent); }
.contact-copy p { color: var(--dark-mid); font-size: 1.05rem; line-height: 1.7; margin: 0 0 32px; }
.contact-trust { display: flex; flex-direction: column; gap: 14px; }
.contact-trust-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-trust-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.contact-trust-text { font-size: .9rem; color: var(--dark-mid); line-height: 1.5; }
.contact-credibility {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--dark-rule);
  font-size: 13px; color: var(--fg-muted); line-height: 1.6;
}
.form-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 40px;
  backdrop-filter: blur(8px);
}
.contact-section .form-group { margin-bottom: 20px; }
.contact-section .form-group label {
  display: block; font-size: .8rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--dark-mid); margin-bottom: 8px;
}
.contact-section .form-group input,
.contact-section .form-group textarea {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  padding: 12px 14px; color: var(--dark-fg);
  font-family: inherit; font-size: .95rem; line-height: 1.5;
  transition: border-color .15s, box-shadow .15s; box-sizing: border-box; outline: none;
}
.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
  border-color: rgba(5,150,105,.5);
  box-shadow: 0 0 0 3px rgba(5,150,105,.1);
}
.contact-section .form-group input.error,
.contact-section .form-group textarea.error { border-color: #e05252; }
.contact-section .form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error-msg { font-size: .8rem; color: #e05252; margin-top: 5px; display: none; }
.form-error-msg.visible { display: block; }
.form-submit-btn {
  width: 100%; margin-top: 8px; padding: 14px 24px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px; font-family: inherit;
  font-size: .95rem; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity .15s, transform .15s;
}
.form-submit-btn:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.form-submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.form-state { display: none; text-align: center; padding: 32px 0; }
.form-state.visible { display: block; }
.state-icon { margin-bottom: 16px; }
.state-icon svg { width: 40px; height: 40px; }
.state-title { font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; color: var(--dark-fg); }
.state-body { color: var(--dark-mid); font-size: .95rem; line-height: 1.6; }
.state-body a { color: var(--dark-fg); }

/* ── MOBILE NAV ── */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 4px;
  background: none; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; height: 1.5px; width: 22px;
  background: var(--fg-mid); border-radius: 1px; transition: transform .2s, opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--rule); padding: 28px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-logo .logo-text { font-size: 14px; color: var(--fg-muted); }
.footer-nav { display: flex; gap: 20px; }
.footer-nav-link { font-size: 12px; color: var(--fg-muted); text-decoration: none; transition: color .15s; }
.footer-nav-link:hover { color: var(--fg); }
.footer-copy { font-size: 12px; color: var(--fg-muted); }

/* ── ARROW SVG ── */
.arrow { display: inline-block; }

/* ── RESPONSIVE ── */
@media (max-width: 840px) {
  .home-cards-grid { grid-template-columns: 1fr; }
  .workflows { grid-template-columns: 1fr; }
  .flowchart { grid-template-columns: 1fr 1fr; gap: 32px; }
  .flow-connector { display: none; }
  .outcomes { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .oversight-layout { grid-template-columns: 1fr; }
  .callout { position: static; }
  .audience { grid-template-columns: 1fr; }
  .int-strip { grid-template-columns: 1fr 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-col--before { border-right: none; border-bottom: 1px solid var(--rule); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { display: none; }
}
@media (max-width: 640px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(248,250,252,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule);
    padding: 12px var(--pad) 16px;
    flex-direction: column; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; margin-top: 4px; justify-content: center; }
}
@media (max-width: 520px) {
  .flowchart { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .int-strip { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
