:root {
  color-scheme: light;
  --navy: #0c1d38;
  --blue: #164bb3;
  --blue-dark: #113981;
  --ink: #1a2c48;
  --muted: #4b5c74;
  --line: #dbe4f0;
  --pale: #f1f6fe;
  --paper: #fff;
  --radius: 18px;
  font: 16px/1.62 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--blue); text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1f65db; outline-offset: 4px; }
h1,h2,h3 { margin: 0 0 .55em; color: var(--navy); line-height: 1.12; letter-spacing: -.036em; }
h1 { font-size: clamp(2.4rem,5.25vw,5.05rem); }
h2 { font-size: clamp(1.85rem,3.5vw,3.3rem); }
h3 { font-size: 1.29rem; }
p { margin: 0 0 1em; }
[id] { scroll-margin-top: 104px; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .5rem; left: .5rem; transform: translateY(-150%); background: white; padding: .5rem 1rem; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 81px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { width: 188px; }
nav { display: flex; align-items: center; gap: clamp(12px,2.1vw,31px); }
nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 600; }
nav a:hover, nav a[aria-current="page"]:not(.button) { color: var(--blue); text-decoration: underline; }
.menu-toggle { border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--navy); padding: 7px 12px; }
.menu-toggle span { margin-left: 5px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: .85rem; max-width: 100%; text-decoration: none; font-weight: 700; line-height: 1.28; padding: .86rem 1.12rem; border: 1px solid transparent; border-radius: 9px; background: var(--blue); color: white; transition: background .18s, border-color .18s; }
.button:hover { background: var(--blue-dark); }
.button:disabled { opacity: .55; cursor: default; }
.button span { flex: none; }
.button.secondary { background: white; border-color: #becce2; color: var(--blue-dark); }
.button.secondary:hover { background: #eaf1ff; border-color: var(--blue); }
.nav-contact { padding: .65rem .9rem; }
.hero { background: radial-gradient(ellipse at 93% 45%,#e8f0ff 0,transparent 60%), linear-gradient(135deg,#fff,#f6f9ff); }
.hero-grid { display: grid; grid-template-columns: 1.14fr 1fr; gap: clamp(26px,4vw,65px); align-items: center; padding-block: clamp(58px,7.3vw,110px); }
.eyebrow { color: var(--blue-dark); font-size: .74rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; margin-bottom: 1.05rem; }
.signal { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2a69d6; margin-right: 5px; }
.divider-dot { padding: 0 .2em; }
.hero h1 { font-size: clamp(2.55rem,4.65vw,4.65rem); margin-bottom: .4em; line-height: 1.035; }
.hero h1 em { color: var(--blue); font-style: normal; }
.lede { font-size: clamp(1.05rem,1.45vw,1.24rem); color: var(--muted); max-width: 67ch; }
.hero .lede { max-width: 49ch; }
.actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 25px; }
.hero-visual { border: 1px solid #cfddf4; border-radius: 21px; overflow: hidden; background: #f9fbff; box-shadow: 0 20px 58px #163a7518; }
.visual-meta, .visual-legend { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 19px; background: #fff; color: var(--blue-dark); font-size: .71rem; letter-spacing: .085em; font-weight: 750; }
.visual-meta { border-bottom: 1px solid var(--line); }
.visual-meta i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4884e9; margin-right: 6px; }
.visual-art { background: radial-gradient(ellipse at 50% 55%,#deebff,#f7faff 78%); }
.visual-art img { width: 100%; }
.visual-legend { border-top: 1px solid var(--line); text-transform: uppercase; }
.visual-legend b { color: var(--blue); margin-right: 3px; }
.trust-strip { background: var(--navy); color: #d9e5fb; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 16px; gap: 15px; font-size: .89rem; text-align: center; }
.trust-grid b { color: white; }
.section { padding-block: clamp(54px,7vw,100px); }
.section-head { margin-bottom: 28px; max-width: 780px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,6.5vw,100px); align-items: start; }
.inline-link, .text-button { font-weight: 700; color: var(--blue-dark); }
.approach-band { background: var(--pale); border-block: 1px solid var(--line); }
.process-grid,.service-grid,.two-cards { display: grid; gap: 16px; }
.process-grid,.service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.two-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.process-grid,.two-cards { margin-bottom: 22px; }
.process-grid article,.two-cards article,.service-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px,2.25vw,31px); }
.process-grid article > span { display: block; color: var(--blue); font: 700 .85rem/1.4 ui-monospace, monospace; margin-bottom: 16px; }
.process-grid p,.two-cards p,.service-card p { color: var(--muted); }
.process-grid p,.two-cards p { margin-bottom: 0; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.service-card:hover { border-color: #648bce; box-shadow: 0 8px 22px #163a7512; }
.service-card.featured { background: #eff5ff; border-color: #9db9e7; }
.service-card small { color: var(--blue-dark); text-transform: uppercase; letter-spacing: .09em; font-weight: 800; margin-bottom: 7px; }
.icon { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 10px; color: var(--blue); background: #e8f0ff; margin-bottom: 15px; }
.icon svg { width: 24px; height: 24px; }
.card-link { margin-top: auto; font-size: .89rem; font-weight: 750; }
.estimate-band { padding-block: clamp(54px,7vw,100px); background: #edf4ff; border-block: 1px solid var(--line); }
.estimate-layout,.contact-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); align-items: start; gap: 18px; }
.estimate-form,.contact-form,.result-card { min-width: 0; padding: clamp(18px,3vw,35px); background: white; border: 1px solid #d1def1; border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
label { display: grid; gap: 6px; min-width: 0; color: var(--navy); font-size: .9rem; font-weight: 700; }
label b { color: var(--blue); font: 700 .73rem ui-monospace, monospace; margin-right: 4px; }
select,input:not([type=checkbox]),textarea { width: 100%; min-width: 0; min-height: 46px; padding: .56rem .69rem; border: 1px solid #afbed5; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 400; }
textarea { resize: vertical; }
.text-button { padding: 9px 12px; border: none; text-decoration: underline; text-underline-offset: 3px; background: transparent; }
.result-card { background: var(--navy); border-color: var(--navy); color: #e5eeff; }
.result-card h3 { color: white; font-size: 1.7rem; }
.result-card .eyebrow,.result-card .fine { color: #becfeb; }
.result-card .button { background: #e3eeff; color: var(--blue-dark); margin-block: 4px 8px; }
.result-card .button:hover { background: white; }
.estimate-effort { font-size: 1.18rem; color: #b9d6ff; font-weight: 750; }
.estimate-note { border-top: 1px solid #405475; margin-top: 18px; padding-top: 15px; font-size: .9rem; }
.fine { color: var(--muted); font-size: .86rem; }
.result-card .fine { margin-bottom: 0; }
.check-list { list-style: none; display: grid; gap: 11px; margin: 0 0 22px; padding: 0; }
.check-list li { position: relative; padding-left: 25px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.cta-wrap { padding-bottom: clamp(42px,6vw,80px); }
.approach-band + .cta-wrap { padding-top: clamp(42px,6vw,80px); }
.cta { background: linear-gradient(120deg,#0c1d38,#163a75); border-radius: 20px; padding: clamp(26px,4.8vw,58px); color: white; display: flex; gap: 22px; justify-content: space-between; align-items: center; }
.cta h2 { color: white; font-size: clamp(1.65rem,3.3vw,3rem); margin: 0; max-width: 22ch; }
.cta .eyebrow { color: #c4dbff; }
.cta .button { flex-shrink: 0; background: white; color: var(--blue-dark); }
.cta .button:hover { background: #e7efff; }
.page-intro { padding-block: clamp(48px,7vw,93px); background: radial-gradient(ellipse at right,#e1ecff,transparent 74%),#f3f7ff; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 19ch; font-size: clamp(2.45rem,5.4vw,4.65rem); }
.page-intro .lede { margin-bottom: 0; }
.detail-stack { display: grid; gap: 18px; }
.service-detail { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: clamp(18px,5vw,64px); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px,4vw,48px); }
.service-detail h2 { font-size: clamp(1.65rem,3vw,2.5rem); }
.feature-detail { background: #eff5ff; border-color: #b7cbed; }
.scope-note { margin-bottom: 0; }
.steps { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.steps span { color: var(--blue-dark); background: var(--pale); padding: 5px 8px; border-radius: 7px; align-self: start; font-weight: 750; }
.steps h3,.steps p { margin-bottom: .3em; }
.contact-layout { grid-template-columns: minmax(0,.67fr) minmax(0,1.33fr); gap: clamp(18px,4vw,54px); }
.contact-aside h2,.contact-form h2 { font-size: clamp(1.6rem,2.6vw,2.3rem); }
.preview-note { background: #edf4ff; border-left: 3px solid #4579cd; border-radius: 7px; padding: 12px 14px; margin: 17px 0; font-size: .9rem; overflow-wrap: anywhere; }
.preview-note p { margin-bottom: 0; }
.preview-note ul { margin: .55em 0 0; padding-left: 18px; }
.full-field,.consent { margin-top: 18px; }
.consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; }
.consent input { width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.contact-status { margin: .8em 0 0; color: var(--muted); font-size: .91rem; }
.prose { max-width: 850px; }
.prose h2 { font-size: clamp(1.4rem,2.8vw,1.9rem); margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }
.site-footer { background: #f4f7fc; border-top: 1px solid var(--line); color: var(--muted); font-size: .91rem; }
.footer-main { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 24px; padding-block: 36px 24px; }
.footer-main .brand { margin-bottom: 8px; }
.footer-main p { max-width: 31ch; }
.footer-main strong { color: var(--navy); }
.footer-main a:not(.brand) { display: block; width: fit-content; margin-top: 6px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); padding-block: 15px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner .brand img { width: 160px; }
}
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; min-height: 68px; gap: 0; padding-block: 6px; }
  .header-inner nav { flex: 0 0 100%; flex-wrap: wrap; align-items: flex-start; gap: 10px 18px; padding-block: 12px; }
  .header-inner.menu-ready nav { display: none; }
  .header-inner.menu-ready nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 570px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-layout,.estimate-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner.menu-ready nav.open { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-grid { padding-block: 43px; }
  .hero h1 { font-size: clamp(2.35rem,9vw,3.3rem); }
  .hero .actions { align-items: stretch; }
  .trust-grid { grid-template-columns: 1fr; gap: 7px; text-align: left; }
  .split,.process-grid,.service-grid,.two-cards,.service-detail,.form-grid { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
  .cta .button { flex-shrink: 1; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition: none !important; scroll-behavior: auto !important; }
}
