:root {
  --paper: #f3f1ec;
  --paper-2: #ebe8e2;
  --surface: #fbfaf7;
  --white: #ffffff;
  --ink: #0d141a;
  --ink-2: #19242d;
  --body: #424b52;
  --muted: #626b72;
  --line: #d2cec6;
  --line-strong: #aaa69f;
  --accent: #285b6c;
  --accent-2: #173f4d;
  --accent-soft: #dbe8e9;
  --signal: #b65d3c;
  --success: #2f7058;
  --warning: #9a6928;
  --dark: #101820;
  --dark-2: #18242d;
  --max: 1220px;
  --read: 740px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 70px rgba(13, 20, 26, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: #c9dcdf; }

.skip-link {
  position: fixed; left: 18px; top: 12px; z-index: 1000;
  padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px;
  transform: translateY(-160%); text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }
.reading { max-width: var(--read); }
.stack > * + * { margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.micro {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: .72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .135em;
  text-transform: uppercase;
}
.micro-light { color: #9dc2ca; }
.lede {
  color: var(--body);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}
.rule { height: 1px; background: var(--line); }

.mb-5 { margin-bottom: 5px !important; }
.mt-18 { margin-top: 18px !important; }
.mt-28 { margin-top: 28px !important; }
.proof-head-flat { padding: 0 0 18px; }
.boundary-single { grid-template-columns: 1fr; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243, 241, 236, .94);
  border-bottom: 1px solid rgba(210, 206, 198, .85);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.035em; font-size: 1.25rem;
}
.wordmark-mark {
  width: 22px; height: 22px; display: inline-grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 4px; position: relative;
}
.wordmark-mark::before {
  content: ""; position: absolute; width: 9px; height: 1.5px; background: var(--ink); transform: rotate(-45deg);
}
.desktop-nav { display: flex; align-items: center; gap: 25px; }
.desktop-nav > a:not(.btn) { text-decoration: none; color: #3d464d; font-size: .91rem; font-weight: 650; }
.desktop-nav > a:not(.btn):hover,
.desktop-nav > a[aria-current="page"] { color: var(--ink); }
.mobile-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--ink); }
.mobile-nav { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 8px;
  font-size: .92rem; line-height: 1.1; font-weight: 750; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.btn-primary:hover { background: #202b33; border-color: #202b33; }
.btn-accent { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-secondary { background: transparent; color: var(--ink) !important; border-color: var(--line-strong); }
.btn-secondary:hover { background: rgba(255,255,255,.55); }
.btn-light { color: #fff !important; border-color: #53616a; background: transparent; }
.btn-light:hover { background: rgba(255,255,255,.07); }
.nav-cta { min-height: 40px; padding: 10px 14px; }

h1, h2, h3, h4 { font-family: "Inter Display", Inter, "Segoe UI", sans-serif; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3.25rem, 6.7vw, 5.55rem);
  line-height: .96;
  letter-spacing: -.062em;
  font-weight: 660;
}
h2 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.047em;
  font-weight: 650;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.16;
  letter-spacing: -.027em;
  font-weight: 650;
}
h4 { font-size: 1rem; margin: 0; }
p { margin-bottom: 1.08em; }

.hero { padding: 84px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 62px; align-items: center; }
.hero-copy h1 { max-width: 760px; margin-bottom: 26px; }
.hero-copy .lede { max-width: 690px; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 32px; }
.hero-footnote { margin: 26px 0 0; color: var(--muted); font-size: .87rem; }
.hero-proof { position: relative; }
.hero-proof::after {
  content: ""; position: absolute; left: -24px; top: 24px; bottom: -24px; width: 1px; background: var(--line);
}

.brief {
  background: var(--dark); color: #edf1f1; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(13, 20, 26, .16);
}
.brief-top {
  padding: 16px 18px; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  background: var(--dark-2); border-bottom: 1px solid #31404b;
  font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: #9eb0ba;
}
.status-dot { display: inline-flex; align-items: center; gap: 7px; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #79b89e; box-shadow: 0 0 0 4px rgba(121,184,158,.08); }
.brief-body { padding: 26px; }
.brief-title { font-size: 1.5rem; letter-spacing: -.03em; margin: 0 0 5px; }
.brief-sub { color: #9eabb3; font-size: .86rem; margin-bottom: 24px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #34434d; border-left: 1px solid #34434d; }
.metric { padding: 17px 15px; border-right: 1px solid #34434d; border-bottom: 1px solid #34434d; }
.metric strong { display: block; font-size: 1.48rem; letter-spacing: -.035em; color: #f7f8f7; }
.metric span { display: block; margin-top: 3px; font-size: .73rem; color: #91a1aa; }
.brief-table { margin-top: 22px; border: 1px solid #34434d; }
.brief-row { display: grid; grid-template-columns: 1.15fr .75fr .7fr; min-height: 40px; align-items: center; border-bottom: 1px solid #34434d; font-size: .76rem; }
.brief-row:last-child { border-bottom: 0; }
.brief-row > span { padding: 9px 11px; }
.brief-row > span + span { border-left: 1px solid #34434d; }
.tag { display: inline-flex; align-items: center; gap: 6px; color: #c5d1d6; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6aa58d; }
.tag.flagged::before { background: #c48357; }
.demo-note { margin: 16px 0 0; color: #8798a1; font-size: .72rem; }

.assurance-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.34); }
.assurance-grid { min-height: 75px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.assurance-item { padding: 0 22px; font-size: .82rem; color: #4c555b; border-right: 1px solid var(--line); }
.assurance-item:first-child { padding-left: 0; }
.assurance-item:last-child { border-right: 0; }
.assurance-item strong { display: block; color: var(--ink); font-size: .84rem; margin-bottom: 2px; }

.section { padding: 98px 0; border-top: 1px solid var(--line); }
.section.no-border { border-top: 0; }
.section-tight { padding: 72px 0; }
.section-dark { background: var(--dark); color: #f1f3f3; border-top: 0; }
.section-dark .lede, .section-dark .muted { color: #aebbc1; }
.section-head { max-width: 800px; margin-bottom: 45px; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lede { max-width: 720px; }
.split { display: grid; grid-template-columns: .84fr 1.16fr; gap: 78px; align-items: start; }

.services-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.services-side { display: grid; gap: 18px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; min-height: 100%; text-decoration: none; position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-2px); border-color: #aaa79f; box-shadow: var(--shadow); }
.service-card.primary { min-height: 470px; padding: 42px; background: var(--ink); color: #f2f4f3; border-color: var(--ink); }
.service-card.primary .micro { color: #9fc4ca; }
.service-card.primary p { color: #b4c0c5; }
.service-card.primary .service-arrow { color: #fff; }
.service-card h2, .service-card h3 { margin-bottom: 14px; font-size: 1.7rem; }
.service-card.primary h2, .service-card.primary h3 { font-size: clamp(2rem, 3vw, 2.8rem); max-width: 560px; }
.service-card p { color: var(--body); max-width: 590px; }
.service-card .service-meta { margin-top: auto; padding-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: #596168; font-size: .72rem; font-weight: 700; }
.primary .chip { border-color: #41505a; color: #aebbc1; }
.service-arrow { margin-top: 22px; color: var(--accent); font-weight: 750; font-size: .9rem; }

.proof-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 18px; }
.proof-grid > * { min-width: 0; }
.proof-intro { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.proof-intro h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.proof-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proof-panel-head { padding: 20px 22px; display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.proof-panel-body { padding: 27px; }
.proof-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; }
.proof-metric { padding: 4px 18px 4px 0; border-right: 1px solid var(--line); }
.proof-metric + .proof-metric { padding-left: 18px; }
.proof-metric:last-child { border-right: 0; }
.proof-metric strong { display: block; font-size: 1.65rem; letter-spacing: -.035em; }
.proof-metric span { color: var(--muted); font-size: .76rem; }
.evidence-note { padding: 18px 20px; background: #edf2ef; border-left: 3px solid var(--success); font-size: .86rem; color: #40534b; }

.boundary { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.boundary-col { padding: 31px; }
.boundary-col + .boundary-col { border-left: 1px solid var(--line); background: #eeece7; }
.clean-list { list-style: none; padding: 0; margin: 22px 0 0; }
.clean-list li { padding: 10px 0 10px 23px; position: relative; border-bottom: 1px solid rgba(210,206,198,.7); }
.clean-list li:last-child { border-bottom: 0; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.clean-list.no li::before { width: 8px; height: 1px; border-radius: 0; background: var(--signal); }

.process-line { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.process-item { padding: 28px 26px 20px 0; border-right: 1px solid var(--line); }
.process-item + .process-item { padding-left: 26px; }
.process-item:last-child { border-right: 0; }
.process-no { display: block; margin-bottom: 19px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.process-item h3 { font-size: 1.16rem; margin-bottom: 10px; }
.process-item p { color: var(--muted); font-size: .86rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 28px; }
.price-card.featured { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--ink); }
.price { font-size: 2rem; letter-spacing: -.05em; font-weight: 700; margin: 10px 0 5px; }
.price-card p { color: var(--muted); font-size: .87rem; }
.price-note { margin-top: 20px; color: var(--muted); font-size: .82rem; max-width: 740px; }

.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.qa-table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.qa-table th, .qa-table td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); font-size: .82rem; vertical-align: top; }
.qa-table th { background: #ece9e3; color: #596168; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.qa-table tr:last-child td { border-bottom: 0; }
.state-ok { color: var(--success); font-weight: 750; }
.state-flag { color: var(--warning); font-weight: 750; }

.quote-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote-result { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: .84rem; }
.quote-result:last-child { border-bottom: 0; }
.delta-pass { color: var(--success); font-weight: 750; }

.page-hero { padding: 84px 0 68px; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 62px; align-items: start; }
.page-hero h1 { font-size: clamp(3.15rem, 6vw, 5.2rem); margin-bottom: 26px; max-width: 850px; }
.page-hero-aside { border-left: 1px solid var(--line); padding-left: 30px; margin-top: 8px; }
.page-hero-aside dl { margin: 0; }
.page-hero-aside div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.page-hero-aside dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.page-hero-aside dd { margin: 5px 0 0; font-weight: 650; }

.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fit-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fit-card h3 { font-size: 1.1rem; margin-bottom: 9px; }
.fit-card p { color: var(--muted); font-size: .86rem; }

.cta-band { background: var(--accent); color: #fff; border-radius: 16px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { max-width: 720px; margin-bottom: 12px; }
.cta-band p { color: #d7e4e7; margin-bottom: 0; max-width: 690px; }
.cta-band .btn { background: #fff; color: var(--ink) !important; border-color: #fff; white-space: nowrap; }

.note { padding: 19px 21px; background: var(--accent-soft); border: 1px solid #bfd1d5; border-radius: 10px; color: #334d56; }
.form-shell { max-width: 850px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
.service-fields { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.service-fields > legend { font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; color: var(--muted); }
.service-fields[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label { font-size: .84rem; font-weight: 750; }
input, select, textarea {
  width: 100%; min-height: 47px; padding: 12px 13px; color: var(--ink); background: #fff;
  border: 1px solid #b9b5ae; border-radius: 7px;
}
textarea { min-height: 148px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 3px solid rgba(40,91,108,.22); outline-offset: 1px; }
.help { color: var(--muted); font-size: .78rem; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-status { color: var(--muted); font-size: .82rem; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { padding: 54px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 34px; }
.footer-brand p { max-width: 390px; margin-top: 15px; color: var(--muted); font-size: .86rem; }
.footer-title { margin-bottom: 11px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #596168; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #4c555c; text-decoration: none; font-size: .86rem; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .76rem; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .mobile-nav.open { display: grid; gap: 0; padding: 5px 22px 18px; border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 650; }
  .hero-grid, .page-hero-grid, .proof-grid, .split { grid-template-columns: 1fr; gap: 42px; }
  .hero-proof::after { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.primary { min-height: 360px; }
  .assurance-grid { grid-template-columns: repeat(2, 1fr); }
  .assurance-item { min-height: 66px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
  .assurance-item:nth-child(2) { border-right: 0; }
  .assurance-item:nth-child(3), .assurance-item:nth-child(4) { border-bottom: 0; }
  .process-line { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .process-item { border-top: 1px solid var(--line); }
  .process-item:nth-child(even) { border-right: 0; }
  .pricing-grid, .fit-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .nav-wrap { min-height: 66px; }
  h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero { padding: 64px 0 55px; }
  .hero-grid { gap: 38px; }
  .hero-actions .btn { width: 100%; }
  .brief-body { padding: 20px; }
  .metric { padding: 14px 12px; }
  .brief-row { grid-template-columns: 1fr .72fr; }
  .brief-row > span:nth-child(3) { display: none; }
  .assurance-grid { grid-template-columns: 1fr; }
  .assurance-item { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .assurance-item:last-child { border-bottom: 0 !important; }
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .service-card, .service-card.primary { padding: 26px; min-height: auto; }
  .proof-metrics { grid-template-columns: 1fr; gap: 15px; }
  .proof-metric, .proof-metric + .proof-metric { padding: 0 0 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-metric:last-child { border-bottom: 0; }
  .boundary { grid-template-columns: 1fr; }
  .boundary-col + .boundary-col { border-left: 0; border-top: 1px solid var(--line); }
  .process-line { grid-template-columns: 1fr; }
  .process-item, .process-item + .process-item { padding: 22px 0; border-right: 0; }
  .page-hero { padding: 64px 0 52px; }
  .page-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .page-hero-aside { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .quote-result { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .quote-result > span:first-child { grid-column: 1 / -1; }
  .form-shell { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-band { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
.footer-legal { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.footer-legal a { color: inherit; text-underline-offset: 2px; }
