:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --emerald: #34d399;
  --emerald-dark: #047857;
  --ink: #14213d;
  --muted: #5b6b82;
  --bg: #ffffff;
  --bg-alt: #f3f6fb;
  --border: #dde4ef;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
a { color: inherit; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,31,58,.96); backdrop-filter: blur(6px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { color: #cfd9ea; text-decoration: none; font-size: .95rem; }
.nav nav a:hover { color: #fff; }
.logo { font-weight: 800; font-size: 1.35rem; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--emerald); }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--emerald-dark); color: #fff; }
.btn-primary:hover { background: #065f46; }
.hero .btn-primary { background: var(--emerald); color: var(--navy); }
.hero .btn-primary:hover { background: #6ee7b7; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 8px 16px; background: var(--emerald); color: var(--navy) !important; }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }

.hero {
  background: radial-gradient(1200px 500px at 80% -10%, var(--navy-2), var(--navy));
  color: #fff; padding: 96px 0 80px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 900px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--emerald); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--emerald); font-weight: 600; margin: 0 0 18px; }
.lead { font-size: 1.2rem; color: #cfd9ea; max-width: 660px; margin: 20px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.proof { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: #aebbd2; font-size: .95rem; }
.proof li::before { content: "✓"; color: var(--emerald); margin-right: 8px; font-weight: 700; }

.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -.01em; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 36px; }
.center .sub { margin-inline: auto; }

.grid { display: grid; gap: 20px; margin-top: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; }
.service .tag { color: var(--emerald-dark); font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.service ul { padding-left: 18px; margin: 16px 0 0; color: var(--ink); font-size: .95rem; }
.service-featured { border-color: rgba(4,120,87,.35); box-shadow: 0 12px 30px rgba(11,31,58,.07); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--emerald-dark); font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.service-hero { padding-bottom: 88px; }
.service-hero h1 { max-width: 820px; }
.service-hero .lead { max-width: 780px; }
.outcome-strip { background: #fff; border-bottom: 1px solid var(--border); }
.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.outcome-grid div { padding: 26px 22px; border-right: 1px solid var(--border); }
.outcome-grid div:first-child { padding-left: 0; }
.outcome-grid div:last-child { border-right: 0; padding-right: 0; }
.outcome-grid strong, .outcome-grid span { display: block; }
.outcome-grid strong { color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.outcome-grid span { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.eyebrow-dark { color: var(--emerald-dark); }
.section-intro { max-width: 760px; }
.capability-list { display: grid; gap: 22px; margin-top: 38px; }
.capability { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(11,31,58,.045); }
.capability-copy, .capability-details { padding: 34px; }
.capability-copy { background: linear-gradient(145deg, #f7fafc, #eef4f8); border-right: 1px solid var(--border); }
.capability-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 30px; border-radius: 999px; background: rgba(4,120,87,.1); color: var(--emerald-dark); font-size: .78rem; font-weight: 800; letter-spacing: .08em; margin-bottom: 18px; }
.capability h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.capability h4 { margin: 0 0 16px; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.capability-copy > p:not(.business-message) { color: var(--muted); margin: 16px 0 0; }
.business-message { color: var(--navy); font-size: 1.06rem; font-weight: 700; line-height: 1.5; margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.check-list li { position: relative; padding-left: 20px; color: var(--ink); font-size: .92rem; line-height: 1.45; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald-dark); font-weight: 800; }
.tech-note { color: var(--muted); font-size: .88rem; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border); }
.fractional { color: #fff; background: radial-gradient(900px 420px at 90% 10%, var(--navy-2), var(--navy)); }
.fractional-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 64px; align-items: center; }
.fractional h2, .fractional h3 { color: #fff; }
.fractional h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.fractional-lead { color: #cfd9ea; font-size: 1.08rem; max-width: 680px; margin: 20px 0 28px; }
.engagement-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 30px; }
.engagement-card h3 { margin-bottom: 22px; }
.check-list-light { grid-template-columns: 1fr; }
.check-list-light li { color: #e7edf7; }
.check-list-light li::before { color: var(--emerald); }
.assessment { background: var(--bg-alt); }
.assessment h2 { max-width: 720px; margin-inline: auto; }
.assessment .sub { max-width: 690px; font-size: 1.05rem; }
.cta-center { justify-content: center; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.assessment-note { color: var(--muted); font-size: .88rem; margin: 20px 0 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; border-top: 3px solid var(--emerald-dark); padding-top: 16px; }
.steps li::before { content: "0" counter(s); color: var(--emerald-dark); font-weight: 700; }
.steps p { color: var(--muted); margin: 0; }

.calc { display: grid; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.calc label { display: grid; gap: 8px; font-weight: 500; }
.calc input[type=number] { padding: 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
.calc input[type=range] { accent-color: var(--emerald-dark); }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 24px 0; }
.results div { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; text-align: center; }
.results span { display: block; font-size: 2rem; font-weight: 800; color: var(--emerald); }
.results small { color: #aebbd2; }

.form-wrap { margin-top: 12px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.form-wrap iframe { width: 100%; height: 720px; border: 0; display: block; }
.small { color: var(--muted); margin-top: 32px; }

details { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details p { color: var(--muted); margin: 12px 0 0; }

footer { background: var(--navy); color: #aebbd2; padding: 40px 0; font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; }
.foot p { margin: 8px 0 0; }
.foot a { color: var(--emerald); }

@media (max-width: 720px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-grid div { padding: 20px 16px; border-bottom: 1px solid var(--border); }
  .outcome-grid div:first-child { padding-left: 0; }
  .outcome-grid div:nth-child(2) { border-right: 0; padding-right: 0; }
  .outcome-grid div:nth-child(3) { padding-left: 0; border-bottom: 0; }
  .outcome-grid div:last-child { border-bottom: 0; }
  .capability { grid-template-columns: 1fr; }
  .capability-copy, .capability-details { padding: 26px 22px; }
  .capability-copy { border-right: 0; border-bottom: 1px solid var(--border); }
  .check-list { grid-template-columns: 1fr; }
  .fractional-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { width: 100%; flex-direction: column; gap: 8px; }
}
