:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #50565a;
  --cyan: #00b2e0;
  --blue: #0062d8;
  --cobalt: #0143a2;
  --light: #f2f9fb;
  --rule: #d8e2e5;
  --paper: #fff;
  --font: Inter, sans-serif;
  --logo-width: clamp(244px, 22vw, 300px);
  --logo-inset: calc(var(--logo-width) * .076);
  --section-space: clamp(64px, 8.5vw, 122px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
html:has(.request-dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font: 700 2.25rem/2.5rem var(--font); text-wrap: balance; }
h3 { font: 600 1.125rem/1.75rem var(--font); }
section[id] { scroll-margin-top: 24px; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 2; left: 16px; top: 12px; padding: 8px 12px;
  background: var(--paper); transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header {
  display: flex; align-items: center; justify-content: space-between; min-height: 80px;
  gap: clamp(48px, 5.15vw, 78px);
}
.wordmark { display: block; flex: 0 0 auto; width: var(--logo-width); margin-inline-start: calc(-1 * var(--logo-inset)); }
.wordmark img { width: 100%; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px clamp(16px, 2vw, 28px); }
.nav a { color: var(--muted); font: 500 .875rem/1.25rem var(--font); text-decoration: none; }
.nav a:hover { color: var(--cobalt); text-decoration: underline; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.messenger-links { display: flex; align-items: center; gap: 4px; }
.messenger-links a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; }
.messenger-links a:hover { background: #00b2e01c; }
.messenger-links img { width: 32px; }

.button {
  display: inline-flex; gap: 12px; align-items: center; justify-content: center;
  min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px;
  font: 500 .875rem/1.25rem var(--font); text-decoration: none; text-align: center; cursor: pointer;
}
.button-primary { background: var(--cyan); color: var(--ink); }
.button-primary:hover { border-color: var(--blue); background: var(--blue); color: var(--paper); }
.button-outline { border-color: var(--blue); color: var(--cobalt); white-space: nowrap; }
.button-outline:hover { background: var(--blue); color: var(--paper); }

.hero { background: var(--light); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 78px); padding-block: clamp(42px, 6vw, 90px);
}
.hero h1 { font-size: 3.75rem; line-height: 1; text-wrap: initial; }
.hero h1 span { display: block; color: var(--cobalt); }
.hero-copy p { max-width: 510px; margin-top: 24px; color: var(--muted); font-size: 1.125rem; line-height: 1.75rem; }
.hero-copy .button { margin-top: 27px; }
.hero-media img { width: 100%; aspect-ratio: 1.15; object-fit: cover; object-position: 53% 66%; border-radius: 8px; }

.section { padding-block: var(--section-space); }
.section-intro { max-width: 700px; }
.section p { color: var(--muted); }
.section-intro p { margin-top: 16px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.services article { padding: 20px 28px; border-inline-start: 1px solid var(--rule); }
.services article:first-child { padding-inline-start: 0; border-inline-start: 0; }
.services article:last-child { padding-inline-end: 0; }
.service-icon { display: block; width: 32px; height: 32px; margin-bottom: 18px; color: var(--cyan); }
.services p, .connection-steps p { margin-top: 10px; }

.terms-section { border-block: 1px solid var(--rule); }
.terms {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center; gap: clamp(30px, 7vw, 110px);
}
.terms-copy p { margin-top: 17px; max-width: 490px; }
.square-list { list-style-type: square; margin: 17px 0 0; padding-inline-start: 21px; }
.square-list li { padding-inline-start: 4px; }
.square-list li::marker { color: var(--cyan); }
.split {
  padding: clamp(27px, 5vw, 64px); border-radius: 8px;
  background: linear-gradient(120deg, var(--cobalt) 40%, var(--blue) 86%, var(--cyan) 135%);
  color: var(--paper);
}
.split strong { font: 700 clamp(4.2rem, 8.75vw, 8rem)/.9 var(--font); letter-spacing: -.07em; }
.split p { margin-top: 20px; max-width: 355px; color: var(--paper); }

.connection-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px;
  list-style: none; padding: 0; margin: 38px 0 0;
  counter-reset: connection-step;
}
.connection-steps li { border-top: 1px solid var(--rule); padding-block-start: 20px; counter-increment: connection-step; }
.connection-steps li::before {
  display: block; content: counter(connection-step, decimal-leading-zero); color: var(--cobalt);
  font: 700 2rem/1 var(--font); margin-bottom: 14px;
}

.request { background: var(--light); padding-block: var(--section-space); }
.request-layout {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start; gap: clamp(22px, 5.2vw, 74px);
}
.request-layout > div p { max-width: 430px; margin-top: 14px; color: var(--muted); }
.request-dialog {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 12px; color: var(--ink); background: var(--paper);
  overscroll-behavior: contain;
}
.request-dialog::backdrop { background: #1a1a1ab3; }
.request-dialog-content { position: relative; padding: clamp(20px, 5vw, 40px); }
.request-dialog h2 { padding-inline-end: 38px; text-wrap: initial; }
.request-dialog-content > p { margin: 12px 0 23px; color: var(--muted); }
.request-dialog-close {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: var(--paper);
  color: var(--ink); font: 400 1.7rem/1 var(--font); cursor: pointer;
}
.request-dialog-close:hover { background: var(--light); }
.lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lead-form label { display: grid; gap: 7px; font-weight: 700; }
.lead-form input {
  width: 100%; min-width: 0; min-height: 49px; padding: 10px 13px; border: 1px solid #899ba4;
  border-radius: 6px; background: var(--paper); color: var(--ink); font: 1rem/1.3 var(--font);
}
.lead-form input::placeholder { color: #58636a; }
.button-form { margin-top: 20px; }
.form-note, .lead-documents { font-size: .85rem; }
.form-note { margin-top: 12px; color: var(--muted); }
.lead-documents { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 6px; }
.lead-documents a, .legal-related a { color: var(--cobalt); }
.lead-form .lead-agreement { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: .85rem; font-weight: 400; }
.lead-form .lead-agreement input { flex: 0 0 18px; width: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; }
.lead-agreement a { color: var(--cobalt); }
.lead-honeypot { display: none; }
.form-error { color: #a11d2b; }
.button-form:disabled { cursor: wait; opacity: .65; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 52px; }
.questions { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary {
  list-style: none; padding: 16px 34px 16px 0; position: relative; cursor: pointer;
  font: 600 1.06rem/1.45 var(--font);
}
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; content: "+"; right: 6px; top: 14px; font: 700 1.45rem/1 var(--font); color: var(--cobalt); }
details[open] summary::after { content: "−"; }
details p { padding: 0 28px 16px 0; max-width: 720px; }

.footer { color: var(--paper); background: var(--ink); }
.footer a:focus-visible { outline-color: var(--cyan); }
.footer-layout {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 5vw, 68px);
  padding-block: 28px 40px;
}
.footer-company, .footer-documents, .footer-contact { display: grid; gap: 7px; }
.footer-company > span, .footer-documents, .footer-status { font-size: .875rem; }
.footer-status { color: #d6d8da; }
.footer-documents a:hover { color: var(--cyan); }

.legal-page { max-width: 860px; padding-block: clamp(42px, 7vw, 84px); }
.legal-status { margin-bottom: 12px; color: var(--muted); font-size: .875rem; }
.legal-page h1 { overflow-wrap: anywhere; text-wrap: initial; }
.legal-page h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; text-wrap: initial; }
.legal-page section { margin-top: 36px; }
.legal-page section p, .legal-related { margin-top: 12px; }
.legal-details { margin-block: 16px 0; border-top: 1px solid var(--rule); }
.legal-details div {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 16px;
  padding-block: 10px; border-bottom: 1px solid var(--rule);
}
.legal-details dt { font-weight: 700; }
.legal-details dd { margin: 0; color: var(--muted); }

.thanks-page { display: flex; flex-direction: column; min-height: 100vh; }
.thanks { display: grid; flex: 1; place-items: center; padding-block: clamp(60px, 9vw, 120px); background: var(--light); }
.thanks-card { max-width: 720px; }
.thanks-card p { color: var(--muted); margin-top: 16px; }
.thanks-card .button { margin-top: 24px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .wrap { width: min(1240px, calc(100% - 64px)); }
}

@media (max-width: 1023px) {
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 767px) {
  h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .hero h1 { font-size: 2.25rem; line-height: 1.25; }
}

@media (max-width: 740px) {
  .hero-grid, .terms, .request-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .hero-media img { aspect-ratio: 1.5; }
  .footer-layout { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .header-actions .button { display: none; }
  .header { gap: 8px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .header { justify-content: flex-start; min-height: 72px; }
  .header .button { display: none; }
  .header { flex-wrap: wrap; justify-content: space-between; }
  .hero-copy p { margin-top: 17px; }
  .hero-copy .button { margin-top: 21px; }
  .services, .connection-steps, .lead-fields { grid-template-columns: 1fr; }
  .services { margin-top: 22px; }
  .services article { border-inline-start: 0; border-top: 1px solid var(--rule); padding: 20px 0; }
  .service-icon { margin-bottom: 11px; }
  .connection-steps { gap: 20px; margin-top: 26px; }
  .faq-layout { gap: 24px; }
  .footer-layout { flex-direction: column; align-items: flex-start; gap: 20px; }
  .legal-details div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 374px) {
  .header { row-gap: 0; padding-bottom: 8px; }
  .header-actions { margin-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
