/* ==========================================================================
   Corp-Dev — styles
   ========================================================================== */
:root {
  --navy-950: #060B16;
  --navy-900: #0B1426;
  --navy-850: #0F1B33;
  --navy-800: #13213D;
  --navy-700: #1D2F52;
  --green: #7BE0A8;
  --green-300: #A6EBC4;
  --green-600: #2E9E63;
  --green-ink: #1F7A4B;
  --ink: #0B1426;
  --ink-2: #2A3448;
  --muted: #586379;
  --muted-dark: #A3AEC2;
  --line: #E3E6EB;
  --line-dark: rgba(255,255,255,.09);
  --bg: #F5F6F2;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11,20,38,.05), 0 1px 1px rgba(11,20,38,.03);
  --shadow: 0 1px 2px rgba(11,20,38,.04), 0 8px 24px -8px rgba(11,20,38,.10);
  --shadow-lg: 0 2px 4px rgba(11,20,38,.04), 0 24px 48px -16px rgba(11,20,38,.22);

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; line-height: 1.1; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible, .hero :focus-visible, .final-cta :focus-visible, .footer :focus-visible { outline-color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--green); --b-fg: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 14px 24px; min-height: 48px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; text-decoration: none;
  background: var(--b-bg); color: var(--b-fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-primary { box-shadow: 0 0 0 1px rgba(123,224,168,.4), 0 8px 24px -8px rgba(123,224,168,.55); }
.btn-primary:hover { transform: translateY(-2px); background: var(--green-300); box-shadow: 0 0 0 1px rgba(123,224,168,.5), 0 14px 32px -10px rgba(123,224,168,.7); }
.btn-primary:active { transform: translateY(0); }
.section-light .btn-primary, .section-white .btn-primary, .modal .btn-primary {
  --b-bg: var(--navy-900); --b-fg: #fff;
  box-shadow: 0 10px 24px -10px rgba(11,20,38,.5);
}
.section-light .btn-primary:hover, .section-white .btn-primary:hover, .modal .btn-primary:hover { background: var(--navy-700); box-shadow: 0 16px 32px -12px rgba(11,20,38,.55); }
.section-light .btn-primary .arrow, .section-white .btn-primary .arrow { color: var(--green); }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: 14.5px; }
.btn-lg { padding: 16px 28px; min-height: 54px; font-size: 16.5px; }
.btn-xl { padding: 20px 36px; min-height: 62px; font-size: 18px; }
.btn-ghost { --b-bg: transparent; --b-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn-ghost:hover { --b-bg: rgba(255,255,255,.08); }
.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 4px; }
.text-link::after { content: "↓"; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translateY(3px); }
.text-link-dark { color: #fff; opacity: .85; }
.text-link-dark:hover { opacity: 1; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(11,20,38,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.is-scrolled { background: rgba(11,20,38,.9); border-bottom-color: var(--line-dark); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-mark { width: 30px; height: 30px; }
.nav .logo-mark rect { fill: #16243F; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.logo-word span { color: var(--green); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { padding: 8px 24px 20px; display: grid; gap: 2px; border-top: 1px solid var(--line-dark); }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 18px; font-weight: 500; padding: 14px 4px; border-bottom: 1px solid var(--line-dark); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- Eyebrows / heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 18px; }
.eyebrow-dark { color: var(--green); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(123,224,168,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(123,224,168,.55); } 70% { box-shadow: 0 0 0 10px rgba(123,224,168,0); } 100% { box-shadow: 0 0 0 0 rgba(123,224,168,0); } }

.section { position: relative; padding: 120px 0; }
.section-light { background: var(--bg); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy-900); color: #fff; overflow: hidden; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-sub { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 640px; }
.section-dark .section-sub, .final-cta .section-sub { color: var(--muted-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; padding: 72px 0 64px; overflow: hidden; margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + 72px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.hero .orb-1 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(123,224,168,.38), transparent 65%); top: -180px; right: -120px; animation: drift1 22s ease-in-out infinite alternate; }
.hero .orb-2 { width: 720px; height: 720px; background: radial-gradient(circle, rgba(46,86,170,.55), transparent 65%); bottom: -360px; left: -220px; animation: drift2 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-90px, 60px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(80px, -50px) scale(1.06); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--green) 10%, #C9F5DC 60%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 26px; font-size: 19px; line-height: 1.6; color: #C3CBDA; max-width: 580px; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.qualifier { margin-top: 22px; font-size: 14.5px; color: var(--muted-dark); }
.risk { margin-top: 10px; font-size: 14.5px; color: #DCE3EE; display: flex; align-items: flex-start; gap: 8px; }
.risk svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }

/* ---------- File samples: Excel workbook + PowerPoint slide (illustrative deliverables) ---------- */
.xl, .deck { margin: 0; background: #fff; color: var(--ink); border-radius: 8px; overflow: hidden; border: 1px solid rgba(11,20,38,.08); box-shadow: 0 1px 2px rgba(11,20,38,.06), 0 22px 44px -20px rgba(11,20,38,.35); font-size: 12px; line-height: 1.4; }
.file-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #F4F5F2; border-bottom: 1px solid #E3E6EB; font-size: 11.5px; font-weight: 500; color: #4A5468; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft { flex: none; font-size: 9px; font-weight: 700; letter-spacing: .04em; color: #fff; padding: 2px 5px; border-radius: 3px; }
.ft-x { background: #1E7145; }
.ft-p { background: #C4502A; }
.fx { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-bottom: 1px solid #E3E6EB; font-size: 11px; color: #4A5468; }
.fx .ref { min-width: 34px; padding: 1px 6px; border: 1px solid #E3E6EB; border-radius: 3px; font-weight: 600; }
.fx i { font-family: Georgia, serif; color: #9AA1AE; }
.fx code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11px; color: var(--ink); }
.sheet { width: 100%; border-collapse: collapse; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.sheet th { background: #F4F5F2; color: #8A92A2; font-weight: 500; font-size: 10px; border: 1px solid #E6E8EC; padding: 3px 6px; text-align: center; }
.sheet tbody th { width: 26px; }
.sheet td { border: 1px solid #ECEEF1; padding: 4px 8px; color: var(--ink-2); white-space: nowrap; }
.sheet .r { text-align: right; }
.sheet .b { font-weight: 600; color: var(--ink); }
.sheet .i { font-style: italic; color: #7A8294; }
.sheet .adj td { color: #1F5FBF; }              /* hard-coded inputs in blue, banker convention */
.sheet .tot td { font-weight: 600; color: var(--ink); border-top: 1.5px solid var(--ink); }
.sheet td.sel { outline: 2px solid #1E7145; outline-offset: -2px; background: rgba(30,113,69,.07); }
.sheet td.cmt { position: relative; }
.sheet td.cmt::after { content: ""; position: absolute; top: 0; right: 0; border-left: 6px solid transparent; border-top: 6px solid #D13438; }
.svc .sheet td:last-child { white-space: normal; }
.tabs { display: flex; gap: 2px; padding: 0 8px; background: #F4F5F2; border-top: 1px solid #E3E6EB; font-size: 10.5px; color: #7A8294; overflow: hidden; }
.tabs span { padding: 5px 10px; white-space: nowrap; }
.tabs .on { background: #fff; color: #1E7145; font-weight: 600; box-shadow: inset 0 -2px 0 #1E7145; }

.slide { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; padding: 5.5% 6% 3.5%; background: #fff; border-top: 4px solid var(--navy-900); }
.slide p { margin: 0; }
.s-kicker { font-size: 8.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.s-title { font-family: "Newsreader", Georgia, serif; font-size: 16px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin: 3px 0 8px !important; }
.s-body { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; min-height: 0; }
.s-bullets { list-style: disc; padding-left: 13px; font-size: 9.5px; line-height: 1.4; color: var(--ink-2); }
.s-bullets li { margin-bottom: 4px; }
.s-chart { display: flex; flex-direction: column; justify-content: flex-end; }
.s-cap { font-size: 7.5px; color: #7A8294; margin-bottom: 4px !important; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 48px; border-bottom: 1px solid #C9CED6; }
.bars i { flex: 1; height: var(--h); background: var(--navy-700); border-radius: 2px 2px 0 0; }
.bars i.last { background: var(--green-600); }
.bar-l { display: flex; gap: 6px; font-size: 7.5px; color: #7A8294; }
.bar-l span { flex: 1; text-align: center; }
.s-range { margin-top: 6px !important; font-size: 8px; color: #7A8294; }
.s-range b { display: block; font-size: 12px; color: var(--ink); }
.s-table { margin: 0; flex: 1; display: grid; align-content: start; font-size: 9.5px; }
.s-table div { display: grid; grid-template-columns: 30% 1fr; gap: 8px; padding: 4px 0; border-bottom: 1px solid #EEF0F2; }
.s-table dt { font-weight: 600; color: var(--ink); }
.s-table dd { margin: 0; color: var(--ink-2); }
.s-table .walk { color: #B4462F; }
.s-foot { display: flex; justify-content: space-between; margin-top: auto !important; padding-top: 4px; border-top: 1px solid #EEF0F2; font-size: 7px; color: #9AA1AE; }

/* hero composition */
.files { position: relative; padding-bottom: 196px; }
.xl-hero { width: 92%; }
.deck-hero { position: absolute; right: -8px; bottom: 0; width: 70%; box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 40px 70px -24px rgba(0,0,0,.65); }
.margin-note { position: absolute; left: 0; bottom: 34px; width: 24%; min-width: 150px; padding: 10px 12px; background: #FFF6D5; color: #4A3B10; border-radius: 4px; font-size: 11.5px; line-height: 1.45; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.margin-note b { display: block; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; color: #8A6A00; }
.js .hero-visual .margin-note, .js .hero-visual .deck-hero { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .hero-visual .deck-hero { transition-delay: .35s; }
.js .hero-visual .margin-note { transition-delay: .9s; }
.js .hero-visual.is-visible .margin-note, .js .hero-visual.is-visible .deck-hero { opacity: 1; transform: none; }


/* credibility bar */
.cred-bar { position: relative; margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.cred-bar li { padding: 24px 20px 0 0; display: grid; gap: 2px; }
.cred-bar li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.cred-bar strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.cred-bar span { font-size: 14px; color: var(--muted-dark); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card > p, .svc-copy > p { color: var(--muted); font-size: 16px; }

.problem-card { position: relative; display: flex; flex-direction: column; }
.card-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .06em; margin-bottom: 22px; display: inline-block; }
.problem-card .impact { margin-top: auto; padding-top: 22px; color: var(--ink-2); font-weight: 500; font-size: 15px; display: flex; gap: 12px; align-items: baseline; }
.problem-card .impact span { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #B4462F; background: #FBEDE9; padding: 3px 8px; border-radius: 6px; }
.problem-card p:not(.impact) { margin-bottom: 0; }

.section-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: -450px; transform: translateX(-50%); background: radial-gradient(circle, rgba(123,224,168,.14), transparent 60%); pointer-events: none; }
.card-dark { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border-color: var(--line-dark); box-shadow: none; }
.card-dark:hover { border-color: rgba(123,224,168,.35); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--muted-dark); }
.icon-badge { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(123,224,168,.1); border: 1px solid rgba(123,224,168,.22); margin-bottom: 24px; }
.icon-badge svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Framework ---------- */
.framework { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-line { position: absolute; left: 32px; right: calc((100% - 60px) / 4 - 32px); top: 31px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.flow-line span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--green-600), var(--green), transparent); width: 30%; animation: flow 3.6s linear infinite; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.stage-card { position: relative; padding: 0 8px 0 0; }
.stage-dot { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 28px; transition: background .3s, color .3s, border-color .3s; }
.stage-card:hover .stage-dot { background: var(--navy-900); color: var(--green); border-color: var(--navy-900); }
.stage-card h3 { font-size: 23px; margin-bottom: 10px; }
.stage-card p { color: var(--muted); font-size: 16px; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; }
.svc-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.svc-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); background: rgba(123,224,168,.18); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; align-self: flex-start; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.compare-col { border-radius: var(--radius-lg); padding: 36px; }
.compare-before { background: var(--bg); border: 1px solid var(--line); }
.compare-after { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.compare-after::before { content: ""; position: absolute; width: 400px; height: 400px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(123,224,168,.22), transparent 65%); }
.compare-label { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; color: var(--muted); position: relative; }
.compare-after .compare-label { color: var(--green); }
.compare ul { display: grid; gap: 14px; position: relative; }
.compare li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.compare li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: center/12px no-repeat; }
.compare-before li { color: var(--muted); }
.compare-before li::before { background-color: #ECEEF1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3 3 9' stroke='%238A94A6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.compare-after li { color: #E3E9F2; }
.compare-after li::before { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%230B1426' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compare-arrow { display: grid; place-items: center; }
.compare-arrow svg { width: 44px; height: 44px; fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.inline-cta { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.inline-cta p { font-size: 18px; color: var(--ink-2); font-weight: 500; }

/* ---------- Proof ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.counter { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
.counter strong { display: block; font-family: var(--font-display); font-size: 52px; font-weight: 600; letter-spacing: -0.04em; color: var(--green); line-height: 1; }
.counter span { display: block; margin-top: 10px; color: var(--muted-dark); }
.case { position: relative; display: flex; flex-direction: column; gap: 18px; border-style: dashed; border-color: #C9D0DA; }
.placeholder-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A5A00; background: #FFF4D6; padding: 4px 10px; border-radius: 6px; }
.case-type { font-weight: 600; color: var(--ink) !important; }
.case dl { margin: 0; display: grid; gap: 14px; }
.case dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.case dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15.5px; }
.case-result { font-weight: 600; color: var(--green-ink) !important; }
.case blockquote { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); font-style: italic; }
.case cite { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; color: var(--muted); }

/* ---------- Why / table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; background: var(--white); box-shadow: var(--shadow-sm); }
.vs { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.vs th, .vs td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }
.vs thead th { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); background: var(--bg); }
.vs tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.vs td { color: var(--muted); }
.vs .vs-us { background: rgba(123,224,168,.1); color: var(--ink); font-weight: 600; }
.vs thead .vs-us { background: var(--navy-900); color: var(--green); }
.diffs { margin-top: 48px; }
.diff { padding: 4px 0 0 20px; border-left: 2px solid var(--green); }
.diff h3 { font-size: 19px; margin-bottom: 8px; }
.diff p { color: var(--muted); font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; position: relative; box-shadow: var(--shadow-sm); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-900); color: var(--green); font-family: var(--font-display); font-weight: 600; margin-bottom: 22px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: background .25s, border-color .25s; }
.faq-list details[open] { background: var(--white); border-color: #CCD3DD; box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; position: relative; border-radius: var(--radius); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--white) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230B1426' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--green); border-color: var(--green); }
.faq-a { padding: 0 24px 22px; color: var(--muted); max-width: 680px; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; background: var(--navy-950); color: #fff; padding: 120px 0; overflow: hidden; }
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.final-cta .orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(123,224,168,.3), transparent 65%); top: -300px; right: -100px; animation: drift1 24s ease-in-out infinite alternate; }
.final-cta .orb-2 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(46,86,170,.5), transparent 65%); bottom: -300px; left: -100px; animation: drift2 28s ease-in-out infinite alternate; }
.final-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.final-cta h2 { font-size: clamp(36px, 4.8vw, 60px); letter-spacing: -0.035em; }
.ticks { margin-top: 18px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: #DCE3EE; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--green) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%230B1426' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.final-action { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 40px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.final-action .btn { width: 100%; white-space: normal; }
.final-action .qualifier { margin-top: 20px; }
.risk-small { margin-top: 8px; font-size: 14px; color: var(--green); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding: 48px 0 40px; font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer-brand p { margin-top: 12px; max-width: 340px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.footer-links a, .footer-links .link-btn { color: #DCE3EE; text-decoration: none; padding: 4px 0; font-size: 14.5px; }
.footer-links a:hover, .footer-links .link-btn:hover { color: var(--green); }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,11,22,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal-card { position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); padding: 36px; animation: pop .35s var(--ease); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.modal-close:hover { background: var(--bg); }
.modal-head { padding-right: 40px; margin-bottom: 24px; }
.modal-head h2 { font-size: 30px; }
.modal-sub { margin-top: 10px; color: var(--muted); }
.calendar-slot iframe { width: 100%; height: 660px; border: 0; border-radius: 14px; background: var(--bg); }
.calendar-slot:empty { display: none; }
.calendar-fallback { text-align: center; padding: 32px 16px 12px; border: 1px dashed #C9D0DA; border-radius: var(--radius); background: var(--bg); }
.fallback-icon { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px; background: var(--navy-900); display: grid; place-items: center; }
.fallback-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; }
.calendar-fallback h3 { font-size: 21px; margin-bottom: 8px; }
.calendar-fallback p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
body.modal-open { overflow: hidden; }

/* ---------- Consent ---------- */
.consent { position: fixed; z-index: 250; left: 20px; bottom: 20px; max-width: 440px; background: var(--navy-900); color: #DCE3EE; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.5); font-size: 14px; display: grid; gap: 14px; }
.consent[hidden] { display: none; }
.consent a { color: var(--green); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2), .bento > .reveal:nth-child(2), .framework > .reveal:nth-child(3), .steps > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .bento > .reveal:nth-child(3), .framework > .reveal:nth-child(4), .steps > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4), .bento > .reveal:nth-child(4), .framework > .reveal:nth-child(5) { transition-delay: .24s; }
.grid > .reveal:nth-child(5) { transition-delay: .08s; }
.grid > .reveal:nth-child(6) { transition-delay: .16s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 620px; }
  .grid-3, .bento { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .svc-wide, .bento > .svc:nth-child(5) { grid-column: span 2; }
  .framework { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .flow-line { display: none; }
  .final-inner { grid-template-columns: 1fr; gap: 48px; }
  .cred-bar { grid-template-columns: repeat(2, 1fr); }
  .cred-bar li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cred-bar li { padding-bottom: 20px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-actions .btn { display: none; }
  .section { padding: 88px 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); }
  .steps { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .mobile-bar { display: block; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(11,20,38,0), rgba(11,20,38,.92) 35%); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-bar.is-shown { transform: none; }
  .mobile-bar .btn { width: 100%; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 104px; }
  .consent { left: 16px; right: 16px; bottom: 88px; max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 48px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .lede { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { justify-content: center; }
  .files { padding-bottom: 0; }
  .xl-hero { width: 100%; }
  .deck-hero { position: relative; right: auto; width: 94%; margin: -24px 0 0 auto; }
  .margin-note { display: none; }
  .slide { aspect-ratio: auto; padding: 16px 16px 10px; }
  .s-foot { margin-top: 10px !important; }
  .sheet { font-size: 10.5px; }
  .sheet td { padding: 4px 5px; }
  .cred-bar { grid-template-columns: 1fr; margin-top: 48px; }
  .cred-bar li, .cred-bar li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .cred-bar li:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-sub { font-size: 17px; }
  .grid-3, .grid-4, .bento, .framework { grid-template-columns: 1fr; }
  .bento > .svc:nth-child(n) { grid-column: auto; }
  .svc-wide { grid-template-columns: 1fr; gap: 24px; }
  .card, .step, .compare-col { padding: 24px; }
  .final-cta { padding: 80px 0; }
  .final-action { padding: 28px 20px; }
  .btn-xl { font-size: 17px; padding: 18px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .modal { padding: 0; place-items: end center; }
  .modal-card { border-radius: 22px 22px 0 0; padding: 28px 20px; max-height: 92vh; max-height: 92dvh; }
  .modal-head h2 { font-size: 25px; }
  .calendar-slot iframe { height: 600px; }
  .faq-list summary { font-size: 16.5px; padding: 18px 56px 18px 18px; }
  .faq-a { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
