:root {
  --navy-950: #061722;
  --navy-900: #0a2233;
  --navy-800: #10364b;
  --teal-700: #11695f;
  --teal-600: #168478;
  --teal-500: #1ca594;
  --gold-500: #f5bd57;
  --gold-300: #ffe09b;
  --green-600: #198754;
  --red-600: #c43f3f;
  --ink: #102536;
  --muted: #607286;
  --paper: #ffffff;
  --soft: #f3f8fb;
  --line: #d9e5ec;
  --shadow: 0 24px 70px rgba(7, 31, 47, .13);
  --shadow-soft: 0 12px 35px rgba(7, 31, 47, .075);
  --radius-lg: 30px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 1%, rgba(28, 165, 148, .12), transparent 30rem),
    radial-gradient(circle at 96% 18%, rgba(245, 189, 87, .12), transparent 27rem),
    var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
img, video { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(6, 23, 34, .95);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #fff; text-decoration: none; font-weight: 900; letter-spacing: -.035em; }
.brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(0,0,0,.28)); }
.brand small { display: block; color: #b9c8d4; font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 11px; }
.nav-link { color: #d6e1e8; text-decoration: none; font-size: 14px; white-space: nowrap; }
.nav-link:hover { color: #fff; }
.phone-link { color: #fff; text-decoration: none; font-weight: 800; font-size: 13px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.36); border-radius: 10px; white-space: nowrap; }

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(245,189,87,.7); outline-offset: 3px; }
.btn-primary { background: var(--gold-500); color: #172532; box-shadow: 0 10px 28px rgba(245,189,87,.24); }
.btn-secondary { background: var(--teal-700); color: #fff; }
.btn-outline { color: inherit; background: transparent; border: 1px solid currentColor; }
.btn-light { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.btn-small { padding: 9px 12px; font-size: 13px; }

.hero { padding: 34px 0 26px; }
.audience-switcher { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 auto 14px; color: var(--muted); font-size: 13px; }
.audience-switcher > span { font-weight: 800; }
.audience-switcher a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8); text-decoration: none; font-weight: 750; }
.audience-switcher a[aria-current="page"] { color: #fff; background: var(--teal-700); border-color: var(--teal-700); }
.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(112deg, rgba(255,255,255,.035), transparent 40%),
    linear-gradient(135deg, var(--navy-950), #0a3840 72%, #12695e);
  box-shadow: var(--shadow);
}
.hero-panel::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -235px; border-radius: 50%; background: rgba(28,165,148,.22); }
.hero-panel::after { content: ""; position: absolute; width: 460px; height: 460px; right: -305px; bottom: -340px; border-radius: 42%; background: rgba(245,189,87,.17); transform: rotate(25deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(30px, 5vw, 70px); }
.eyebrow, .kicker { display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 900; }
.eyebrow { padding: 7px 11px; border: 1px solid rgba(245,189,87,.42); border-radius: 999px; color: #fff3c9; background: rgba(245,189,87,.13); }
h1 { max-width: 820px; margin: 21px 0 18px; font-size: clamp(44px, 6vw, 75px); line-height: .99; letter-spacing: -.058em; text-wrap: balance; }
.hero-copy > p { max-width: 760px; margin: 0; color: #d5e4eb; font-size: clamp(17px, 1.7vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 23px; color: #c6f5df; font-size: 13px; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: #56e3a4; font-weight: 900; }

.decision-card { padding: 18px; border: 1px solid rgba(255,255,255,.19); border-radius: 23px; background: rgba(255,255,255,.1); box-shadow: 0 22px 50px rgba(0,0,0,.26); backdrop-filter: blur(7px); }
.decision-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #dbe7ed; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .075em; }
.status-allowed { padding: 6px 10px; border-radius: 999px; color: #bff3d6; background: rgba(25,135,84,.22); border: 1px solid rgba(113,223,158,.42); font-size: 12px; }
.decision-contractor { padding: 16px; border-radius: 15px; color: var(--ink); background: #fff; }
.decision-contractor small { display: block; color: var(--muted); text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.decision-contractor strong { display: block; margin: 3px 0 1px; font-size: 18px; }
.decision-contractor span { display: block; color: var(--muted); font-size: 12px; }
.decision-score { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 9px 0; }
.decision-score > div { padding: 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(4,27,35,.32); }
.decision-score strong { display: block; font-size: 25px; line-height: 1; }
.decision-score span { display: block; margin-top: 6px; color: #c9dbe3; font-size: 11px; }
.gate-path { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.gate-path li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; padding: 10px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.07); }
.gate-path li > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #062116; background: #79dfa5; font-size: 12px; font-weight: 900; }
.gate-path strong, .gate-path small { display: block; }
.gate-path strong { font-size: 13px; }
.gate-path small { color: #c9dbe3; font-size: 10px; }

.proof-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 16px; }
.proof-strip > div { padding: 17px; border: 1px solid rgba(255,255,255,.84); border-radius: 17px; background: rgba(255,255,255,.86); box-shadow: var(--shadow-soft); }
.proof-strip small { display: block; color: var(--teal-700); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.proof-strip strong { display: block; margin-top: 4px; font-size: 16px; line-height: 1.3; }

.section { padding: 48px 0; }
.section-head { max-width: 880px; margin-bottom: 25px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 9px 0 12px; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.kicker { color: var(--teal-700); }

.video-section { padding-top: 56px; }
.video-shell { max-width: 1050px; margin: 0 auto; padding: 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 25px; background: var(--navy-950); box-shadow: 0 30px 85px rgba(6,23,34,.24); }
.video-shell video { width: 100%; aspect-ratio: 16/9; border-radius: 17px; background: #02080c; }
.video-chapters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 1050px; margin: 17px auto 0; }
.video-chapters span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #355064; background: #fff; font-size: 12px; font-weight: 750; }
.video-note { max-width: 820px; margin: 15px auto 0; color: var(--muted); font-size: 13px; text-align: center; }

.decision-section { background: linear-gradient(180deg, rgba(255,255,255,.52), rgba(255,255,255,.1)); }
.capability-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.capability { position: relative; overflow: hidden; min-height: 226px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); }
.capability::after { content: ""; position: absolute; width: 110px; height: 110px; right: -50px; bottom: -54px; border-radius: 50%; background: rgba(28,165,148,.08); }
.capability-code { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--teal-700); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.capability h3 { margin: 16px 0 7px; font-size: 19px; line-height: 1.25; }
.capability p { margin: 0; color: var(--muted); font-size: 14px; }

.lifecycle-panel { padding: clamp(25px,4vw,42px); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); box-shadow: var(--shadow); }
.lifecycle-panel .kicker { color: var(--gold-300); }
.lifecycle-panel .section-head { margin-bottom: 21px; }
.lifecycle { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.lifecycle li { position: relative; min-height: 175px; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.07); }
.lifecycle li > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #172532; background: var(--gold-500); font-size: 12px; font-weight: 900; }
.lifecycle strong { display: block; margin: 14px 0 6px; font-size: 17px; }
.lifecycle small { display: block; color: #c9dbe3; font-size: 13px; }
.lifecycle li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 26px; z-index: 2; color: var(--gold-300); font-size: 20px; font-weight: 900; }

.discovery-panel { position: relative; overflow: hidden; padding: clamp(25px,4vw,43px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(17,105,95,.07), #fff 54%, rgba(245,189,87,.08)); box-shadow: var(--shadow); }
.discovery-panel::after { content: "?"; position: absolute; right: -18px; top: -104px; color: rgba(28,165,148,.07); font-size: 275px; line-height: 1; font-weight: 950; pointer-events: none; }
.discovery-panel .section-head, .question-grid, .discovery-cta { position: relative; z-index: 1; }
.question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.question-card { display: grid; grid-template-columns: 43px 1fr; align-items: start; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 9px 25px rgba(7,31,47,.055); }
.question-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--teal-700); font-size: 12px; font-weight: 900; }
.question-card h3 { margin: 1px 0 6px; font-size: 17px; line-height: 1.28; }
.question-card p { margin: 0; color: var(--muted); font-size: 13px; }
.discovery-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; padding: 18px 20px; border-radius: 16px; color: #fff; background: var(--teal-700); }
.discovery-cta strong { max-width: 760px; }

.calculator-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 27px; background: #fff; box-shadow: var(--shadow); }
.calculator-head { padding: 29px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(17,105,95,.08), #fff); }
.calculator-head h2 { margin: 7px 0 7px; font-size: clamp(29px,4vw,44px); line-height: 1.06; letter-spacing: -.04em; }
.calculator-head p { margin: 0; color: var(--muted); }
.calc-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 600px; }
.calc-fields { padding: 26px; border-right: 1px solid var(--line); }
.field-section { margin-bottom: 23px; }
.field-section h3 { margin: 0 0 11px; font-size: 15px; }
.fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; }
label { display: block; color: #344b5e; font-size: 12px; font-weight: 800; }
input, textarea, select { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #c9d8e2; border-radius: 11px; color: var(--ink); background: #fff; outline: none; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(28,165,148,.13); }
.calc-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.results { padding: 26px; background: linear-gradient(180deg, #f8fbfc, #edf5f7); }
.result-main { padding: 21px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, var(--teal-700), #084d4a); }
.result-main small { color: #d5f2ed; text-transform: uppercase; letter-spacing: .075em; font-size: 10px; font-weight: 900; }
.result-main strong { display: block; margin: 3px 0; font-size: clamp(31px,4vw,47px); }
.result-main span { color: #d5f2ed; font-size: 13px; }
.result-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 9px 0; }
.result-card, .breakdown, .plan { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.result-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .055em; font-size: 9px; font-weight: 900; }
.result-card strong { display: block; margin-top: 5px; font-size: 18px; }
.breakdown, .plan { margin-top: 9px; }
.breakdown h3, .plan h3 { margin: 0 0 9px; font-size: 15px; }
.breakdown-item { margin: 10px 0; }
.breakdown-head { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 800; }
.track { height: 7px; margin-top: 5px; overflow: hidden; border-radius: 99px; background: #edf2f4; }
.track i { display: block; width: var(--w, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-500), var(--red-600)); }
.plan ol { margin: 0; padding-left: 20px; color: #42596a; font-size: 12px; }
.plan li + li { margin-top: 7px; }
.disclaimer { margin: 12px 0 0; color: var(--muted); font-size: 11px; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; counter-reset: process; }
.process { position: relative; min-height: 190px; padding: 21px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-soft); }
.process::before { counter-increment: process; content: "0" counter(process); width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--teal-700); font-size: 12px; font-weight: 900; }
.process h3 { margin: 14px 0 7px; font-size: 17px; line-height: 1.3; }
.process p { margin: 0; color: var(--muted); font-size: 13px; }

.faq { display: grid; gap: 9px; }
details { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
summary { cursor: pointer; font-weight: 820; }
details p { margin: 10px 0 1px; color: var(--muted); }

.contact-panel { padding: clamp(27px,5vw,51px); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--navy-950), #0b494a); box-shadow: var(--shadow); }
.contact-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: start; gap: 38px; }
.contact-copy h2 { margin: 10px 0 12px; font-size: clamp(33px,4.2vw,49px); line-height: 1.02; letter-spacing: -.045em; }
.contact-copy p { color: #d0e0e7; }
.contact-list { display: grid; gap: 10px; margin-top: 21px; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-form { padding: 20px; border-radius: 19px; color: var(--ink); background: #fff; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-fields .full { grid-column: 1 / -1; }
.notice { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; color: #20465b; background: #eaf6fa; font-size: 12px; }

.footer { padding: 25px 0 42px; color: #5d7180; font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer a { text-decoration: none; }
.privacy-copy { max-width: 880px; padding: 30px; }
.privacy-copy h3 { margin: 24px 0 6px; font-size: 19px; }
.privacy-copy h3:first-child { margin-top: 0; }
.privacy-copy p { margin: 0; color: var(--muted); }

@media (max-width: 1120px) {
  .nav-link { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .calc-grid, .contact-grid { grid-template-columns: 1fr; }
  .calc-fields { border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-grid { grid-template-columns: repeat(2,1fr); }
  .lifecycle, .process-grid, .proof-strip { grid-template-columns: repeat(2,1fr); }
  .lifecycle li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  .nav { align-items: center; padding: 10px 0; }
  .brand small { display: none; }
  .phone-link { display: none !important; }
  .nav-actions { gap: 7px; }
  .question-grid { grid-template-columns: 1fr; }
  .discovery-cta { align-items: flex-start; flex-direction: column; }
  .section { padding: 37px 0; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 22px, 1180px); }
  .brand img { width: 42px; height: 42px; }
  .brand { font-size: 14px; }
  .hero { padding-top: 20px; }
  .hero-panel { padding: 25px 18px; border-radius: 22px; }
  h1 { font-size: clamp(39px, 12vw, 52px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .decision-card { padding: 13px; }
  .proof-strip, .capability-grid, .lifecycle, .process-grid, .fields, .contact-fields, .result-pair { grid-template-columns: 1fr; }
  .lifecycle li::after { display: none; }
  .video-shell { padding: 5px; border-radius: 16px; }
  .video-shell video { border-radius: 11px; }
  .calculator-head, .calc-fields, .results { padding: 19px 15px; }
  .discovery-panel, .contact-panel, .lifecycle-panel { padding: 23px 16px; border-radius: 22px; }
  .question-card { grid-template-columns: 39px 1fr; padding: 15px; }
  .question-number { width: 38px; height: 38px; }
  .contact-fields .full { grid-column: auto; }
  .footer-row { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
