@import url("assets/colors_and_type.css");

/* readability override */
:root { --night-gray: #374151; }

/* =================================================================
   Civis × Salesforce: Nonprofit campaign landing pages
   Shared stylesheet. Built on the Civis marketing UI vocabulary.
   ================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-canvas);
  font-family: var(--font-sans);
  color: var(--night-gray);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 8px; border: 0; line-height: 1;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast), box-shadow var(--dur-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--civis-navy); color: #fff; }
.btn-primary:hover { background: var(--navy-600); }
.btn-secondary { background: #fff; color: var(--civis-navy); border: 1.5px solid var(--civis-navy); }
.btn-secondary:hover { background: var(--navy-50); }
.btn-ghost { background: transparent; color: var(--civis-navy); }
.btn-ghost:hover { color: var(--navy-700); }
.btn-accent { background: var(--civis-amber); color: var(--civis-night); font-weight: 900; }
.btn-accent:hover { background: #e58f26; }
.btn-lg { font-size: 16px; padding: 16px 28px; }
.btn-ondark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ondark:hover { background: rgba(255,255,255,.1); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow.cyan { color: var(--civis-cyan); }
.eyebrow.amber { color: var(--civis-amber); }
.eyebrow.navy { color: var(--civis-navy); }

/* ---------- Nav ---------- */
nav.topnav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner { display: flex; align-items: center; height: 74px; gap: 36px; }
.nav-logo img { height: 30px; }
.nav-links { display: flex; gap: 26px; align-items: center; flex: 1; }
.nav-links a { font-weight: 700; font-size: 14.5px; color: var(--night); }
.nav-links a:hover { color: var(--civis-navy); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, #0A2138 0%, #215470 52%, #0097A7 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; right: -160px; top: -80px; width: 660px; height: 660px;
  background: radial-gradient(closest-side, rgba(241,161,55,.32), transparent 70%); pointer-events: none;
}
.hero-ring {
  position: absolute; left: -180px; bottom: -260px; width: 560px; height: 560px;
  opacity: .07; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 104px 0 116px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center;
}
.hero h1 {
  font-size: 60px; line-height: 1.04; letter-spacing: -.03em; font-weight: 900; color: #fff;
  margin: 18px 0 22px; text-wrap: balance;
}
.hero p.lead {
  font-size: 20px; line-height: 1.55; font-weight: 400; color: #d6e3ea; max-width: 540px; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.trust-row {
  margin-top: 52px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  color: #95acbb; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.trust-row .chip { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .sep { width: 1px; height: 16px; background: rgba(255,255,255,.18); }

/* Hero preview card */
.hero-preview {
  background: #fff; border-radius: 16px;
  box-shadow: 0 34px 70px rgba(10,33,56,.4), 0 12px 24px rgba(10,33,56,.18);
  overflow: hidden; color: var(--night);
}
.hp-head { display: flex; align-items: center; gap: 8px; padding: 11px 15px; border-bottom: 1px solid var(--border-subtle); background: #f7f9fa; }
.hp-head .dots { display: flex; gap: 6px; }
.hp-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: #cbd3d8; }
.hp-head .dots span:first-child { background: #D33D3D; }
.hp-head .dots span:nth-child(2) { background: #FBBF24; }
.hp-head .dots span:nth-child(3) { background: #487058; }
.hp-head .url { flex: 1; font-family: var(--font-mono); font-size: 11px; color: var(--night-gray); text-align: center; }
.hp-body { padding: 18px; }
.hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.metric { background: #f7f9fa; border: 1px solid var(--border-subtle); border-radius: 10px; padding: 15px; }
.metric .k { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--civis-cyan); }
.metric .v { font-size: 30px; font-weight: 900; color: var(--civis-navy); margin-top: 5px; line-height: 1; }
.metric .v.amber { color: var(--civis-orange); }
.metric .t { font-size: 11px; color: var(--night-gray); margin-top: 5px; }
.hp-chart { height: 132px; border-radius: 10px; background: #fff; border: 1px solid var(--border-subtle); padding: 12px; }
.hp-chart .cap { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--night-gray); margin-bottom: 4px; }

/* Hero "three reasons" graphic */
.why-stack-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--civis-amber); margin-bottom: 15px; display: flex; align-items: center; gap: 9px; }
.why-stack-label .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.why-stack { display: flex; flex-direction: column; gap: 13px; }
.why-card { background: #fff; border-radius: 14px; padding: 18px 20px; display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: center; box-shadow: 0 18px 42px rgba(10,33,56,.30); position: relative; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
a.why-card { cursor: pointer; }
a.why-card::after { content: ""; position: absolute; right: 16px; top: 16px; width: 18px; height: 18px; background: var(--civis-cyan-dark); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0; transform: translate(-3px, 3px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
a.why-card:hover { transform: translateY(-3px); box-shadow: 0 26px 54px rgba(10,33,56,.38); }
a.why-card:hover::after { opacity: 1; transform: none; }
.why-card .ic { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.why-card .ic.a { background: var(--amber-100); color: var(--civis-amber-dark); }
.why-card .ic.n { background: var(--navy-50); color: var(--civis-navy); }
.why-card .ic.c { background: var(--cyan-100); color: var(--civis-cyan-dark); }
.why-card .rl { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--civis-cyan-dark); }
.why-card h3 { font-size: 16.5px; font-weight: 900; color: var(--civis-navy); margin: 3px 0 4px; line-height: 1.18; }
.why-card p { font-size: 13px; color: var(--night-gray); margin: 0; line-height: 1.45; }

/* ---------- Sections ---------- */
section.section { padding: 100px 0; }
section.section.tight { padding: 72px 0; }
section.section.alt { background: var(--bg-subtle); }
.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 {
  font-size: 42px; line-height: 1.1; letter-spacing: -.02em; font-weight: 900; color: var(--civis-navy);
  margin: 14px 0 16px; text-wrap: balance;
}
.section-head p { font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--night-gray); text-wrap: pretty; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Problem: strengths vs weaknesses ---------- */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.vs-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 32px 30px; box-shadow: var(--shadow-sm); }
.vs-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; margin: 0 0 18px; }
.vs-card.good h3 { color: var(--civis-green); }
.vs-card.bad h3 { color: var(--civis-red); }
.vs-card .tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--night-gray); display: block; margin-bottom: 4px; }
.vs-list { list-style: none; margin: 0; padding: 0; }
.vs-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border-subtle); font-size: 15.5px; line-height: 1.5; color: var(--night); }
.vs-list li:first-child { border-top: 0; }
.vs-list li .ic { flex-shrink: 0; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.vs-card.good .ic { color: var(--civis-green); }
.vs-card.bad .ic { color: var(--civis-red); }

/* ---------- Feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 28px;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.feat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat .ic {
  width: 48px; height: 48px; border-radius: 11px; background: var(--navy-50); color: var(--civis-navy);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feat h3 { font-size: 18px; font-weight: 900; color: var(--civis-navy); margin: 0 0 8px; }
.feat p { font-size: 15px; line-height: 1.55; color: var(--night-gray); margin: 0; }

/* ---------- Before / After diagram ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.ba-col { border-radius: 16px; padding: 34px 32px; }
.ba-col.before { background: #fff; border: 1px solid var(--border-default); }
.ba-col.after { background: linear-gradient(160deg, #215470 0%, #0A2138 100%); color: #fff; box-shadow: var(--shadow-lg); }
.ba-col .ba-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.ba-col.before .ba-label { color: var(--civis-red); }
.ba-col.after .ba-label { color: var(--civis-amber); }
.ba-col h4 { font-size: 23px; font-weight: 900; margin: 0 0 22px; line-height: 1.2; }
.ba-col.before h4 { color: var(--civis-navy); }
.ba-col.after h4 { color: #fff; }
.ba-arrow { display: flex; align-items: center; justify-content: center; padding: 0 22px; color: var(--civis-cyan); }
.ba-arrow svg { width: 40px; height: 40px; }
/* storage bar visual */
.store { margin: 0 0 24px; }
.store .lab { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.store .bar { height: 26px; border-radius: 6px; overflow: hidden; display: flex; }
.before .store .bar { background: var(--gray-100); }
.before .store .fill { background: var(--civis-red); height: 100%; }
.after .store .bar { background: rgba(255,255,255,.14); }
.after .store .fill { background: var(--civis-cyan); height: 100%; }
.after .store .fill.arch { background: var(--civis-amber); }
.ba-points { list-style: none; margin: 0; padding: 0; }
.ba-points li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; line-height: 1.45; }
.ba-col.after .ba-points li { color: #d6e3ea; }
.ba-points li .ic { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
.before .ba-points .ic { color: var(--civis-red); }
.after .ba-points .ic { color: var(--civis-amber); }

/* ---------- Analytics stack diagram ---------- */
.stack { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.stack-layer {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 22px 26px;
  box-shadow: var(--shadow-xs);
}
.stack-layer.hl { border: 1.5px solid var(--civis-navy); background: var(--navy-50); box-shadow: var(--shadow-md); }
.stack-layer .lyr-name { display: flex; align-items: center; gap: 12px; }
.stack-layer .lyr-name .ic { width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stack-layer .lyr-name .ic.navy { background: var(--civis-navy); color: #fff; }
.stack-layer .lyr-name .ic.cyan { background: var(--cyan-100); color: var(--civis-cyan-dark); }
.stack-layer .lyr-name .ic.amber { background: var(--amber-100); color: var(--civis-amber-dark); }
.stack-layer .lyr-name h4 { margin: 0; font-size: 17px; font-weight: 900; color: var(--civis-navy); line-height: 1.15; }
.stack-layer .lyr-name .sub { font-size: 12px; color: var(--night-gray); font-weight: 700; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-chips .chip { font-size: 13px; font-weight: 700; color: var(--night); background: var(--bg-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); padding: 6px 14px; }
.stack-layer.hl .stack-chips .chip { background: #fff; border-color: var(--navy-200); color: var(--civis-navy); }
.stack-flow { text-align: center; color: var(--navy-200); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Big stat / ring ---------- */
.stat-feature { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto; }
.ring-wrap { position: relative; width: 320px; height: 320px; margin: 0 auto; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-center .big { font-size: 78px; font-weight: 900; color: var(--civis-navy); line-height: .9; letter-spacing: -.03em; }
.ring-center .lbl { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--night-gray); margin-top: 8px; }
.stat-feature h2 { font-size: 38px; font-weight: 900; color: var(--civis-navy); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; }
.stat-feature p { font-size: 18px; font-weight: 400; line-height: 1.6; color: var(--night-gray); margin: 0 0 22px; }
.mini-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.mini-stats .ms .n { font-size: 34px; font-weight: 900; color: var(--civis-cyan-dark); line-height: 1; }
.mini-stats .ms .t { font-size: 13px; color: var(--night-gray); margin-top: 6px; max-width: 180px; line-height: 1.4; }

/* ---------- Case study ---------- */
.case-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.case-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: var(--radius-pill); padding: 8px 16px 8px 8px; font-size: 13px; font-weight: 800; color: var(--civis-navy); }
.case-badge .mk { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.case-badge .mk img { width: 20px; height: 20px; }
.case-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.outcome { background: #fff; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); }
.outcome .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--cyan-100); color: var(--civis-cyan-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.outcome h4 { font-size: 16px; font-weight: 900; color: var(--civis-navy); margin: 0 0 6px; }
.outcome p { font-size: 14px; line-height: 1.5; color: var(--night-gray); margin: 0; }

.caps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.cap-block h3 { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--civis-cyan-dark); margin: 0 0 12px; }
.cap-block p { font-size: 16.5px; line-height: 1.65; color: var(--night); margin: 0 0 14px; font-weight: 400; }
.cap-block p strong { font-weight: 700; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.check-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border-subtle); font-size: 15.5px; line-height: 1.5; color: var(--night); }
.check-list li:first-child { border-top: 0; }
.check-list .ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; background: var(--cyan-100); color: var(--civis-cyan-dark); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }

/* second client card */
.client-2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--border-subtle); border-radius: 18px; padding: 44px; box-shadow: var(--shadow-sm); }

/* hub-and-spoke mini diagram */
.spoke { position: relative; width: 280px; height: 280px; margin: 0 auto; }
.spoke .hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 96px; height: 96px; border-radius: 50%; background: var(--civis-navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 2; }
.spoke .hub img { width: 30px; height: 30px; margin-bottom: 2px; }
.spoke .hub span { font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.spoke .node { position: absolute; width: 80px; height: 56px; border-radius: 10px; background: #fff; border: 1px solid var(--border-default); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; font-weight: 700; color: var(--night); box-shadow: var(--shadow-xs); padding: 4px; }

/* ---------- Quote ---------- */
.quote-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 18px; padding: 48px 52px; max-width: 900px; margin: 0 auto; position: relative; box-shadow: var(--shadow-sm); }
.quote-card .mark { font-family: Georgia, serif; font-size: 90px; line-height: .5; color: var(--navy-100); position: absolute; top: 38px; left: 36px; }
.quote-card .q { font-size: 27px; line-height: 1.4; font-weight: 700; color: var(--civis-navy); margin: 0 0 26px; text-wrap: balance; position: relative; }
.quote-card .who { display: flex; align-items: center; gap: 15px; }
.quote-card .avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #215470, #0097A7); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; }
.quote-card .name { font-weight: 900; color: var(--night); font-size: 15px; }
.quote-card .role { color: var(--night-gray); font-size: 13.5px; font-weight: 400; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--civis-night); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.stat-band .ring { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; opacity: .06; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; z-index: 2; }
.stat .n { font-size: 56px; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--civis-amber); }
.stat .t { font-size: 15px; color: #c7d5de; margin-top: 10px; font-weight: 400; max-width: 300px; line-height: 1.5; }
.stat .src { font-size: 11px; color: #6c8193; margin-top: 8px; font-weight: 700; letter-spacing: .04em; }

/* ---------- CTA + form ---------- */
.cta-section { background: linear-gradient(150deg, #0A2138 0%, #215470 60%, #0097A7 100%); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.cta-section .ring { position: absolute; left: -140px; bottom: -200px; width: 480px; height: 480px; opacity: .08; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.cta-copy h2 { font-size: 44px; font-weight: 900; letter-spacing: -.02em; color: #fff; margin: 16px 0 18px; line-height: 1.08; text-wrap: balance; }
.cta-copy p { font-size: 18px; font-weight: 400; color: #d6e3ea; line-height: 1.6; margin: 0 0 26px; max-width: 480px; }
.cta-copy .reassure { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.cta-copy .reassure .item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: #aec1cd; }
.form-card { background: #fff; border-radius: 18px; padding: 38px; box-shadow: var(--shadow-xl); color: var(--night); }
.form-card .tabs { display: flex; gap: 8px; background: var(--bg-subtle); border-radius: 10px; padding: 5px; margin-bottom: 24px; }
.form-card .tab { flex: 1; text-align: center; padding: 10px; border-radius: 7px; font-size: 14px; font-weight: 800; color: var(--night-gray); cursor: pointer; transition: all var(--dur-fast); }
.form-card .tab.active { background: #fff; color: var(--civis-navy); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; font-weight: 900; color: var(--civis-navy); margin: 0 0 4px; }
.form-card .sub { font-size: 14px; color: var(--night-gray); margin: 0 0 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 800; color: var(--night); margin-bottom: 6px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-default); border-radius: 8px;
  font: 400 15px var(--font-sans); color: var(--night); background: #fff;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--civis-cyan); box-shadow: var(--shadow-focus); }
.field textarea { resize: vertical; min-height: 84px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-card .legal { font-size: 12px; color: var(--muted-gray); margin-top: 14px; text-align: center; line-height: 1.5; }

/* ---------- Salesforce archival callout (top row) ---------- */
.arch-callout { display: grid; grid-template-columns: 340px 1fr; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle); }
.arch-stat { position: relative; overflow: hidden; background: linear-gradient(158deg, #0A2138 0%, #215470 70%, #0097A7 120%); color: #fff; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.arch-stat .ring { position: absolute; right: -70px; bottom: -90px; width: 240px; height: 240px; opacity: .1; }
.arch-stat .lab { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--civis-amber); position: relative; }
.arch-stat .big { font-size: 64px; font-weight: 900; letter-spacing: -.03em; line-height: .95; margin: 10px 0 6px; position: relative; }
.arch-stat .sub { font-size: 15px; font-weight: 400; color: #d6e3ea; line-height: 1.45; position: relative; }
.arch-body { background: #fff; padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.arch-body h2 { font-size: 30px; font-weight: 900; color: var(--civis-navy); letter-spacing: -.02em; line-height: 1.12; margin: 12px 0 14px; text-wrap: balance; }
.arch-body p { font-size: 16.5px; font-weight: 400; line-height: 1.6; color: var(--night-gray); margin: 0 0 18px; }
.arch-diff { display: flex; align-items: flex-start; gap: 11px; background: var(--amber-100); border: 1px solid var(--amber-300); border-radius: 12px; padding: 14px 18px; font-size: 14.5px; font-weight: 700; color: var(--amber-900); line-height: 1.45; }
.arch-diff .ic { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--civis-amber); color: var(--civis-night); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
/* archival process diagram holder */
.arch-diagram { margin-top: 22px; background: #fff; border: 1px solid var(--border-subtle); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 14px; }
.arch-diagram img { width: 100%; height: auto; display: block; border-radius: 10px; }
.arch-diagram .ph { border: 2px dashed var(--border-default); border-radius: 12px; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted-gray); text-align: center; padding: 32px; background: var(--bg-subtle); }
.arch-diagram .ph .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--civis-navy); display: inline-flex; align-items: center; justify-content: center; }
.arch-diagram .ph .t { font-size: 15px; font-weight: 800; color: var(--civis-navy); }
.arch-diagram .ph .s { font-size: 13px; font-weight: 400; max-width: 420px; line-height: 1.5; }

/* ---------- Readiness ladder (the 3-layer gap) ---------- */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; max-width: 1120px; margin: 0 auto; }
.rung { background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 28px 26px; box-shadow: var(--shadow-sm); position: relative; }
.rung.r1 { margin-top: 56px; }
.rung.r2 { margin-top: 28px; }
.rung .step { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy-50); color: var(--civis-navy); font-weight: 900; font-size: 15px; margin-bottom: 16px; }
.rung .layer { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--civis-cyan-dark); }
.rung .ready { font-size: 22px; font-weight: 900; color: var(--civis-navy); margin: 5px 0 16px; letter-spacing: -.01em; }
.rung ul { list-style: none; margin: 0; padding: 0; }
.rung li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border-subtle); font-size: 14px; line-height: 1.45; color: var(--night); }
.rung li:first-child { border-top: 0; }
.rung li .ic { flex-shrink: 0; width: 17px; height: 17px; color: var(--civis-cyan-dark); margin-top: 1px; }
.rung.ai { background: linear-gradient(162deg, #215470 0%, #0A2138 100%); color: #fff; box-shadow: var(--shadow-lg); border: 0; overflow: hidden; }
.rung.ai .step { background: var(--civis-amber); color: var(--civis-night); }
.rung.ai .ready { color: #fff; }
.rung.ai .layer { color: var(--civis-amber); }
.rung.ai li { border-top-color: rgba(255,255,255,.14); color: #d6e3ea; }
.rung.ai li .ic { color: var(--civis-amber); }
.rung.ai .flag { display: inline-flex; align-items: center; gap: 7px; background: rgba(241,161,55,.16); border: 1px solid rgba(241,161,55,.4); color: var(--civis-amber); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.ladder-flow { max-width: 1120px; margin: 18px auto 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted-gray); }
.ladder-flow b { color: var(--civis-navy); }

/* ---------- Claude pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 30px 28px; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pillar .tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--civis-amber-dark); }
.pillar .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--amber-100); color: var(--civis-amber-dark); display: inline-flex; align-items: center; justify-content: center; margin: 12px 0 14px; }
.pillar h3 { font-size: 18px; font-weight: 900; color: var(--civis-navy); margin: 0 0 8px; line-height: 1.2; }
.pillar p { font-size: 14.5px; line-height: 1.55; color: var(--night-gray); margin: 0; }
.pillar .mono { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--civis-cyan-dark); background: var(--cyan-100); border-radius: 5px; padding: 2px 7px; display: inline-block; margin-top: 12px; letter-spacing: .02em; }

/* ---------- Claude in practice (secure/accurate/self-serve) ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.practice-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 24px 26px 28px; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.practice-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.practice-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.practice-top .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--navy-50); color: var(--civis-navy); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.practice-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.practice-badge i { width: 13px; height: 13px; }
.practice-badge.secure { background: var(--cyan-100); color: var(--civis-cyan-dark); }
.practice-badge.accurate { background: var(--amber-100); color: var(--civis-amber-dark); }
.practice-badge.selfserve { background: var(--amber-100); color: var(--civis-amber-dark); }
.practice-card .lbl { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--civis-cyan-dark); }
.practice-card h3 { font-size: 18px; font-weight: 900; color: var(--civis-navy); margin: 6px 0 9px; line-height: 1.22; }
.practice-card p { font-size: 14.5px; line-height: 1.55; color: var(--night-gray); margin: 0; }
@media (max-width: 1000px) { .practice-grid { grid-template-columns: 1fr; } }

/* governed-by-design reassurance panel */
.gov-panel { max-width: 1040px; margin: 44px auto 0; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: 16px; padding: 26px 34px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.gov-panel .lead { font-size: 16px; font-weight: 900; color: var(--civis-navy); display: flex; align-items: center; gap: 11px; flex: 1; min-width: 260px; line-height: 1.3; }
.gov-panel .lead .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--civis-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gov-panel .chips { display: flex; gap: 9px; flex-wrap: wrap; }
.gov-panel .chip { font-size: 12.5px; font-weight: 800; color: var(--civis-navy); background: #fff; border: 1px solid var(--navy-100); border-radius: var(--radius-pill); padding: 8px 14px; display: inline-flex; gap: 7px; align-items: center; }
.gov-panel .chip i { width: 14px; height: 14px; color: var(--civis-cyan-dark); }

/* before/after callout sample (Claude conversation) */
.q-sample { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 22px 24px; max-width: 760px; margin: 36px auto 0; box-shadow: var(--shadow-sm); }
.q-sample .ask { display: flex; gap: 11px; align-items: flex-start; }
.q-sample .ask .who { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-50); color: var(--civis-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; flex-shrink: 0; }
.q-sample .ask .bub { font-size: 15.5px; color: var(--night); font-weight: 700; }
.q-sample .ans { display: flex; gap: 11px; align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.q-sample .ans .who { width: 30px; height: 30px; border-radius: 8px; background: var(--civis-amber); color: var(--civis-night); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.q-sample .ans .txt { font-size: 14.5px; color: var(--night-gray); line-height: 1.55; }
.q-sample .ans .txt b { color: var(--night); font-weight: 700; }

/* why-civis row */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1120px; margin: 0 auto; }
.why { background: #fff; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 24px 22px; }
.why .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-50); color: var(--civis-navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.why h4 { font-size: 15.5px; font-weight: 900; color: var(--civis-navy); margin: 0 0 6px; line-height: 1.2; }
.why p { font-size: 13.5px; line-height: 1.5; color: var(--night-gray); margin: 0; }

/* ---------- Footer ---------- */
footer.site { background: var(--civis-night); color: #c7d5de; padding: 72px 0 44px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 28px; }
.foot-brand p { margin-top: 16px; font-size: 13.5px; font-weight: 400; color: #8ca0ad; line-height: 1.6; max-width: 300px; }
.foot-col h4 { font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.foot-col a { display: block; font-size: 13.5px; color: #8ca0ad; margin-bottom: 9px; }
.foot-col a:hover { color: #fff; }
.foot-base { margin-top: 52px; padding-top: 24px; border-top: 1px solid #1b3a56; display: flex; justify-content: space-between; font-size: 12.5px; color: #6c8193; flex-wrap: wrap; gap: 10px; }

/* ---------- Modal ---------- */
.modal-scrim { position: fixed; inset: 0; background: rgba(10,33,56,.6); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal-scrim.open { display: flex; }
.modal { background: #fff; border-radius: 16px; max-width: 460px; width: 100%; padding: 34px; box-shadow: var(--shadow-xl); }
.modal h3 { margin: 0 0 6px; font-size: 23px; font-weight: 900; color: var(--civis-navy); }
.modal p { margin: 0 0 20px; font-size: 14.5px; color: var(--night-gray); line-height: 1.5; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner, .case-hero, .stat-feature, .cta-grid, .client-2, .arch-callout { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .vs-grid, .case-outcomes, .stat-grid, .caps-grid, .ba-grid, .ladder, .pillars { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .rung.r1, .rung.r2 { margin-top: 0; }
  .ba-arrow { transform: rotate(90deg); padding: 8px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 46px; }
}

/* ===== Main-site integration (added 2026-06-11) =====
   Nav crumb + footer legal/social rows, mirroring audience.civisanalytics.com */
.nav-crumb { font-size: 13px; font-weight: 700; color: var(--civis-navy); padding: 4px 10px; border-radius: 999px; background: var(--navy-50); border: 1px solid rgba(33,84,112,.15); letter-spacing: .01em; white-space: nowrap; }
.nav-crumb:hover { background: var(--navy-100); }
.foot-legal, .foot-social { display: flex; gap: 16px; }
.foot-legal a, .foot-social a { font-size: 12px; color: #6c8193; }
.foot-legal a:hover, .foot-social a:hover { color: #fff; }
/* Responsive nav: hide crumb on small screens; compact nav on phones.
   Also fixes a pre-existing horizontal overflow in the original page at phone widths. */
@media (max-width: 1140px) { .nav-crumb { display: none; } }
@media (max-width: 480px) {
  .topnav .wrap-wide { padding: 0 16px; }
  .nav-inner { gap: 12px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: 10px 13px; font-size: 13px; }
}
/* Stack-diagram layers: single column on small screens (fixes pre-existing chip overflow on phones) */
@media (max-width: 700px) {
  .stack-layer { grid-template-columns: 1fr; gap: 14px; }
}
/* Narrow phones: tighter gutters so the fixed-width hub-and-spoke diagram fits (pre-existing overflow) */
@media (max-width: 380px) {
  .wrap, .wrap-wide { padding: 0 20px; }
}
/* Form Name/Role row: stack on phones so inputs aren't cramped (pre-existing) */
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}
/* Mobile nav: hamburger + dropdown menu, ported from the Audience Builder microsite.
   Appears at the same breakpoint where the inline section links are hidden. */
.nav-hamburger, .nav-mobile-cta { display: none; }
@media (max-width: 1000px) {
  .nav-hamburger { display: flex; align-items: center; justify-content: center; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 6px; color: var(--civis-navy); flex-shrink: 0; }
  .nav-hamburger svg { width: 22px; height: 22px; display: block; }
  .nav-hamburger:hover { background: var(--navy-50); }
  .nav-links.open { display: flex; position: fixed; top: 74px; left: 0; right: 0; z-index: 200; background: #fff; border-bottom: 1px solid var(--border-subtle); box-shadow: 0 4px 24px rgba(10,33,56,.12); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .nav-links.open a { padding: 14px 24px; font-size: 15px; }
  .nav-links.open .nav-mobile-cta { display: block; padding: 12px 24px 0; border-top: 1px solid var(--border-subtle); margin-top: 4px; }
  .nav-links.open .nav-mobile-cta .btn { display: flex; width: 100%; justify-content: center; }
  /* The hero h1 carries an inline font-size:52px that defeats the pre-existing
     46px mobile rule above; restore the intended mobile size. */
  .hero h1 { font-size: 46px !important; }
}
/* Small phones: drop the ghost CTA from the top bar (still in the menu + hero + form) */
@media (max-width: 480px) { .nav-actions .btn-ghost { display: none; } }
