@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #007bc3;
  --blue-dark: #00609a;
  --blue-soft: #e8f2f9;
  --slate: #4a5157;
  --ink: #1d262e;
  --muted: #5b646c;
  --line: #e3e7eb;
  --bg: #ffffff;
  --tint: #f5f7f9;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(29, 38, 46, .04), 0 8px 24px rgba(29, 38, 46, .06);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 650; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem;
}
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 550; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(29, 38, 46, .05); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; }
.brand-text { width: 168px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  color: var(--slate); text-decoration: none; font-weight: 500;
  padding: .5em .8em; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--tint); }
.nav-call { margin-left: 10px; }

.header-call, .menu-toggle { display: none; }

.hero { padding: 72px 0 88px; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--slate); }
.hero-points svg { width: 20px; height: 20px; color: var(--blue); }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  position: relative; width: min(100%, 440px); aspect-ratio: 1;
  border-radius: 36px; background: var(--blue-soft);
  display: grid; place-items: center;
}
.hero-bg { position: absolute; inset: 6%; width: 88%; height: 88%; color: rgba(0, 123, 195, .28); }
.hero-card picture { position: relative; width: 56%; }
.hero-mark { width: 100%; height: auto; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: .55em 1em .55em .7em;
  font-weight: 550; font-size: .95rem; color: var(--ink); box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip svg { width: 22px; height: 22px; color: var(--blue); }
.chip-a { top: 9%; left: -6%; }
.chip-b { top: 46%; right: -8%; }
.chip-c { bottom: 8%; left: 2%; }

.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 44px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.prose p { color: var(--muted); font-size: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }

.icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px;
  border-radius: 16px; background: var(--blue-soft); color: var(--blue); margin-bottom: 20px;
}
.icon svg { width: 28px; height: 28px; }
.icon-sm { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.icon-sm svg { width: 22px; height: 22px; }

.tags { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .4em 1.05em; font-weight: 500; color: var(--slate);
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.steps p { color: var(--muted); margin: 0; }
.step-no {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 600; margin-bottom: 18px;
}

.places { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.places li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 14px; background: var(--tint); font-weight: 500;
}
.places li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 550; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.contact-list a, .contact-list span { font-weight: 550; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--blue-dark); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 34px; box-shadow: var(--shadow); position: relative;
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .92rem; font-weight: 550; margin-bottom: 6px; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--tint); border: 1.5px solid var(--tint); border-radius: 12px;
  padding: .75em .9em; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234a5157' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; }
.field .invalid { border-color: #c4352b; background-color: #fff; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 6px 0 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.check.invalid span { color: #c4352b; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { margin: 0; min-height: 0; font-weight: 500; color: #c4352b; }
.form-msg:not(:empty) { margin-bottom: 14px; }
.form-note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); text-align: center; }

.form-done { display: none; text-align: center; padding: 40px 10px; }
.form-done .icon { margin: 0 auto 18px; }
.form-done p { color: var(--muted); margin: 0; }
.form-card.sent .form-done, .form-done:target { display: block; }
.form-card.sent form, .form-done:target + form { display: none; }

.site-footer { background: var(--ink); color: #c9d0d6; padding: 72px 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #8fc8ea; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-grid picture { display: block; width: 220px; }
.footer-logo { width: 100%; background: #fff; border-radius: 18px; padding: 18px 22px; }
.footer-title { font-size: 1rem; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

.legal { margin-top: 48px; display: grid; gap: 10px; }
.legal details { border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; }
.legal summary { cursor: pointer; padding: 14px 20px; font-weight: 550; color: #fff; }
.legal-body { padding: 4px 20px 18px; font-size: .95rem; line-height: 1.6; }
.legal-body h3 { font-size: 1rem; color: #fff; margin: 1.2em 0 .4em; }
.legal-body .muted { color: #9aa4ad; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem; color: #9aa4ad;
}
.footer-bottom p { margin: 0; }
.site-footer .credit { color: #9aa4ad; }
.site-footer .credit:hover { color: #fff; }

@media (max-width: 1080px) {
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text { width: 140px; }

  .header-call {
    display: grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  }
  .header-call svg { width: 22px; height: 22px; }
  .menu-toggle {
    display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px;
    border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(29, 38, 46, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .8em 1em; font-size: 1.08rem; border-radius: 12px; }
  .nav-call { margin: 10px 0 0; padding: .9em; }

  .hero { padding: 48px 0 64px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { width: min(100%, 380px); }
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  body { font-size: 1rem; }
  .lead { font-size: 1.08rem; }
  .hero-actions .btn { width: 100%; }
  .chip { font-size: .85rem; }
  .chip svg { width: 18px; height: 18px; }
  .steps, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .form-card { padding: 24px 18px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
}

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