@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/barlow-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/barlow-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/barlow-800-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-800-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #e9edf0;
  --paper: #f8f7f2;
  --white: #fffefa;
  --ink: #142033;
  --ink-soft: #5e6977;
  --navy: #101b2d;
  --navy-deep: #09111e;
  --blue: #245fe8;
  --blue-deep: #1747ae;
  --aqua: #68ddd2;
  --signal: #ff7858;
  --ice: #d9e5ee;
  --line: rgba(20, 32, 51, .2);
  --line-light: rgba(255, 255, 255, .2);
  --max: 1320px;
  --display: "Barlow Condensed", sans-serif;
  --body: "Barlow", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--canvas); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--canvas); font-family: var(--body); text-rendering: optimizeLegibility; }
body, input, select, textarea, button { font-family: var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link { position: fixed; top: .8rem; left: .8rem; z-index: 100; padding: .8rem 1rem; border-radius: 999px; color: #fff; background: var(--blue); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { width: 100%; min-height: 74px; padding: 0 max(1rem, calc((100vw - var(--max)) / 2)); position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .65rem; align-items: center; color: var(--ink); font-size: 1.05rem; font-weight: 800; letter-spacing: .13em; text-decoration: none; }
.brand > span { width: 42px; height: 42px; grid-row: 1 / 3; position: relative; display: grid; place-items: center; border: 2px solid var(--blue); border-radius: 50%; color: var(--blue); font: 800 1rem/1 var(--display); letter-spacing: 0; }
.brand > span::after { content: ""; width: 12px; height: 12px; position: absolute; right: -4px; top: 1px; border: 3px solid var(--paper); border-radius: 50%; background: var(--signal); }
.brand small { grid-column: 2; color: var(--ink-soft); font-size: .57rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.7vw, 2.5rem); }
nav a { color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; }
.nav-cta { padding: .82rem 1.1rem; border-radius: 999px; color: #fff; background: var(--blue); }

.hero { width: 100%; min-height: calc(100svh - 74px); padding: clamp(4.5rem, 8vw, 7.5rem) max(1.5rem, calc((100vw - var(--max)) / 2)) 9rem; position: relative; display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.hero::before { content: ""; width: min(72vw, 1120px); aspect-ratio: 1.8; position: absolute; right: -12vw; top: 4%; border: 1px solid rgba(104, 221, 210, .35); border-radius: 50%; transform: rotate(-8deg); pointer-events: none; }
.hero::after { content: ""; width: min(65vw, 980px); height: 10px; position: absolute; right: -9vw; top: 47%; border-top: 2px solid rgba(255, 255, 255, .45); border-radius: 50%; transform: rotate(-8deg); pointer-events: none; }
.hero picture { width: 59%; height: calc(100% - 2.5rem); position: absolute; inset: 1.25rem 0 1.25rem auto; overflow: hidden; border-radius: 52% 0 0 52% / 72% 0 0 72%; }
.hero picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,27,45,.92), rgba(16,27,45,.2) 45%, rgba(16,27,45,.05)); }
.hero picture img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; filter: saturate(.62) contrast(1.1); }
.hero-copy { width: min(48%, 660px); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1rem; color: var(--blue-deep); font-size: .72rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.hero .eyebrow { color: var(--aqua); }
h1 { max-width: 700px; margin-bottom: 1.5rem; font-size: clamp(4rem, 6.4vw, 7.1rem); line-height: .87; letter-spacing: -.025em; }
.hero-copy > p:not(.eyebrow) { max-width: 590px; color: #c9d3df; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.68; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.2rem 1.6rem; flex-wrap: wrap; }
.button { min-height: 50px; padding: .95rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; color: #fff; background: var(--blue); font-size: .69rem; font-weight: 800; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--blue-deep); }
.secondary { padding: .75rem 0; color: #fff; font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-underline-offset: .35rem; }
.hero-facts { width: 100%; margin: 0; padding: 0 max(1.5rem, calc((100vw - var(--max)) / 2)); position: absolute; left: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); list-style: none; }
.hero-facts li { min-height: 74px; padding: 1rem clamp(.6rem, 2vw, 1.5rem); display: flex; align-items: center; gap: .7rem; border-right: 1px solid var(--line-light); color: #d7e0e9; font-size: .76rem; font-weight: 600; }
.hero-facts li:first-child { padding-left: 0; }
.hero-facts li:last-child { border-right: 0; }
.hero-facts span { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--aqua); border-radius: 50%; color: var(--aqua); font: 800 .65rem/1 var(--display); }

.section { width: 100%; margin: 0; padding: clamp(5.5rem, 10vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2)); }
h2 { max-width: 980px; margin-bottom: 1.5rem; font-size: clamp(3.2rem, 5.7vw, 6.1rem); line-height: .9; letter-spacing: -.02em; }

.diagnostic { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: end; gap: clamp(3rem, 9vw, 9rem); background: var(--ice); overflow: hidden; }
.diagnostic::before { content: ""; width: 720px; height: 260px; position: absolute; right: -150px; top: -160px; border: 38px solid rgba(36, 95, 232, .1); border-radius: 50%; transform: rotate(-7deg); }
.diagnostic h2 { position: relative; z-index: 1; }
.diagnostic h2 small { display: block; margin-bottom: 1.2rem; color: var(--blue-deep); font: 800 .72rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.symptoms { position: relative; z-index: 1; border-top: 1px solid var(--ink); }
.symptoms span { min-height: 52px; padding: .8rem 0; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: .8rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .91rem; font-weight: 600; }
.symptoms span::before { content: ""; width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; }

.services { background: var(--paper); }
.section-head { max-width: 940px; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-head > p:last-child { max-width: 680px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.72; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.service-grid article { min-height: 430px; padding: clamp(1.8rem, 4vw, 3.5rem); position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.service-grid article::after { content: ""; width: 250px; height: 100px; position: absolute; right: -90px; top: -65px; border: 18px solid rgba(36,95,232,.08); border-radius: 50%; transform: rotate(-10deg); }
.service-code { width: 48px; height: 48px; position: relative; z-index: 1; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font: 800 .7rem/1 var(--display); }
.service-grid h3 { max-width: 500px; margin: auto 0 1rem; font-size: clamp(2.4rem, 4vw, 4rem); line-height: .92; letter-spacing: -.015em; }
.service-grid p { max-width: 560px; color: var(--ink-soft); line-height: 1.65; }
.service-grid ul { margin: 1rem 0 2rem; padding: 0; list-style: none; }
.service-grid li { padding: .58rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.service-grid a { width: fit-content; margin-top: auto; color: var(--blue-deep); font-size: .69rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; text-underline-offset: .35rem; }

.method { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); color: #fff; background: var(--navy); }
.method-head { align-self: start; position: sticky; top: 120px; }
.method .eyebrow { color: var(--aqua); }
.method-head h2 { font-size: clamp(3.1rem, 5vw, 5.4rem); }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.timeline li { min-height: 150px; padding: 1.7rem 0; display: grid; grid-template-columns: 56px minmax(180px, .72fr) minmax(240px, 1.28fr); align-items: center; gap: 1.25rem; border-bottom: 1px solid var(--line-light); }
.timeline > li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--aqua); border-radius: 50%; color: var(--aqua); font: 800 .68rem/1 var(--display); }
.timeline h3 { margin: 0; font-size: clamp(1.8rem, 2.5vw, 2.6rem); line-height: 1; }
.timeline p { margin: 0; color: #b9c5d3; line-height: 1.65; }

.truth { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); background: var(--white); }
.truth-mark { width: min(27vw, 320px); aspect-ratio: 1.12; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 50%; color: var(--navy); background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--aqua) 13% 100%); font: 600 clamp(8rem, 17vw, 14rem)/.6 var(--display); transform: rotate(-8deg); }
.truth h2 { max-width: 900px; }
.truth h2 small { display: block; max-width: 620px; margin-top: 1.2rem; color: var(--blue-deep); font: 800 .72rem/1.4 var(--body); letter-spacing: .09em; text-transform: uppercase; }
.truth p:last-child { max-width: 720px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.72; }

.faq { background: var(--canvas); }
.faq-grid { max-width: 980px; margin-left: auto; border-top: 1px solid var(--ink); }
details { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
summary { padding-right: 3rem; position: relative; cursor: pointer; list-style: none; font: 600 clamp(1.3rem, 2.3vw, 1.8rem)/1.25 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; width: 30px; height: 30px; position: absolute; right: 0; top: 50%; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font-family: var(--body); font-size: 1rem; transform: translateY(-50%); }
details[open] summary::after { content: "–"; }
details p { max-width: 720px; margin: 1rem 0 .2rem; color: var(--ink-soft); line-height: 1.68; }

.quote { display: grid; grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr); gap: clamp(3rem, 8vw, 8rem); color: #fff; background: var(--blue-deep); }
.quote .eyebrow { color: var(--aqua); }
.quote-copy > p { max-width: 620px; color: #d4ddeb; line-height: 1.7; }
.response-note { margin-top: 2.2rem; padding: 1.1rem 0 1.1rem 1.2rem; display: grid; gap: .5rem; border-left: 3px solid var(--aqua); }
.response-note strong { color: var(--aqua); font-size: .7rem; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.response-note span { color: #d4ddeb; line-height: 1.58; }
form { padding: clamp(1.6rem, 4vw, 3.3rem); align-self: start; border-top: 8px solid var(--aqua); border-radius: 0 92px 0 0; color: var(--ink); background: var(--white); box-shadow: 18px 18px 0 rgba(9,17,30,.25); font-family: var(--body); }
form label { margin-bottom: 1.15rem; display: grid; gap: .5rem; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
form input, form select, form textarea { width: 100%; min-height: 50px; padding: .85rem .15rem; border: 0; border-bottom: 1px solid #83909e; border-radius: 0; color: var(--ink); background: transparent; font-size: 1rem; line-height: 1.4; }
form textarea { resize: vertical; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form .check { display: grid; grid-template-columns: auto 1fr; align-items: start; text-transform: none; letter-spacing: 0; font-weight: 400; line-height: 1.45; }
.check input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--blue); }
form .button { width: 100%; }
.form-result { margin-top: 1rem; padding: 1.2rem; border-left: 3px solid var(--blue); color: var(--ink); background: var(--ice); }
.form-result:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.result-kicker { margin: 0; color: var(--blue-deep); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.form-result h3 { margin: .4rem 0; font: 600 1.7rem/1.1 var(--display); }
.form-result p { line-height: 1.5; }

footer { width: 100%; min-height: 180px; margin: 0; padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: minmax(260px, 1.4fr) minmax(240px, 1fr) auto auto; align-items: end; gap: 2rem; color: #fff; background: var(--navy-deep); }
footer .brand { color: #fff; }
footer .brand > span { color: var(--aqua); border-color: var(--aqua); }
footer .brand > span::after { border-color: var(--navy-deep); }
footer .brand small, footer p { color: #aebccc; }
footer p { max-width: 360px; margin: 0; font-size: .79rem; line-height: 1.55; }
footer > a:last-child { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-underline-offset: .35rem; }

.has-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.has-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

@media (max-width: 1040px) {
  nav a:not(.nav-cta) { display: none; }
  .hero-copy { width: 52%; }
  .diagnostic, .method, .truth, .quote { grid-template-columns: 1fr; }
  .method-head { position: static; }
  .truth-mark { width: 260px; }
  .quote form { width: min(760px, 100%); margin-left: auto; }
  footer { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 820px) {
  .hero { min-height: auto; padding: 0; display: block; }
  .hero::before, .hero::after { display: none; }
  .hero picture { width: 100%; height: 430px; position: relative; inset: auto; border-radius: 0 0 52% 14% / 0 0 30% 10%; }
  .hero picture::after { background: linear-gradient(0deg, var(--navy), rgba(16,27,45,.08) 58%); }
  .hero-copy { width: 100%; max-width: 700px; padding: 2.4rem 1.5rem 3.5rem; }
  .hero-facts { position: relative; grid-template-columns: 1fr; }
  .hero-facts li { min-height: 58px; padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .hero-facts li:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 52px 1fr; }
  .timeline p { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; gap: .7rem; }
  .brand { font-size: .88rem; }
  .brand > span { width: 36px; height: 36px; }
  .brand small { font-size: .49rem; }
  .nav-cta { padding: .72rem .75rem; font-size: .6rem; }
  .hero picture { height: 300px; }
  h1 { font-size: clamp(3.6rem, 17vw, 5.3rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .diagnostic { grid-template-columns: 1fr; }
  .service-grid article { min-height: 390px; }
  .timeline li { grid-template-columns: 44px 1fr; gap: .8rem; }
  .timeline > li > span { width: 36px; height: 36px; }
  .truth-mark { width: 210px; }
  .form-two { grid-template-columns: 1fr; }
  form { border-radius: 0 58px 0 0; box-shadow: 9px 9px 0 rgba(9,17,30,.25); }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
  .site-header { padding-left: .7rem; padding-right: .6rem; }
  .brand { font-size: .76rem; letter-spacing: .1em; }
  .nav-cta { padding: .68rem .55rem; letter-spacing: .05em; }
  .hero-copy { padding-left: 1rem; padding-right: 1rem; }
}

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