:root {
  --ink: #172d42;
  --muted: #3f5467;
  --line: #c7d3df;
  --blue: #164b9d;
  --blue-hover: #113975;
  --blue-paper: #e8f2fe;
  --paper: #fbfaf6;
  --navy: #142d4b;
  font-family: "Golos Text", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scrollbar-gutter: stable;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h2 { font-size: clamp(32px, 4vw, 57px); letter-spacing: -.05em; font-weight: 590; text-wrap: balance; }
h3 { font-size: 23px; font-weight: 620; letter-spacing: -.026em; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
input, button, textarea { font: inherit; }
:focus-visible { outline: 3px solid #397cf2; outline-offset: 4px; }
[hidden] { display: none !important; }

.shell {
  width: min(100% - 2 * clamp(20px, 5vw, 80px), 1232px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  gap: 24px;
}

.brand { display: block; flex: none; color: var(--ink); text-decoration: none; }
.brand img { width: 155px; height: auto; }
.brand span { display: block; font-size: 12px; margin-top: 2px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.site-nav a { color: var(--ink); display: block; padding-block: 11px; font-weight: 510; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; }

.hero { background: var(--blue-paper); }
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(28px, 4vw, 62px);
  padding-block: clamp(36px, 5vw, 76px);
}

.hero h1 {
  font-size: clamp(43px, 5.55vw, 81px);
  font-weight: 620;
  line-height: .99;
  letter-spacing: -.068em;
}

.hero-copy p {
  max-width: 36ch;
  margin-block: 26px 30px;
  color: #283f58;
  font-size: clamp(17px, 1.46vw, 21px);
  line-height: 1.5;
}

.hero-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  max-width: 100%;
  padding: 12px 22px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 590;
  line-height: 1.25;
  cursor: pointer;
}

.button:hover { background: var(--blue-hover); }
.band { padding-block: clamp(54px, 7.4vw, 105px); }
section[id] { scroll-margin-top: 20px; }

.section-head {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  align-items: start;
  gap: clamp(20px, 5vw, 78px);
}

.work .section-head { align-items: end; margin-bottom: 36px; }
.section-head > p { color: var(--muted); max-width: 39ch; font-size: 18px; }
.disciplines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 50px; border-bottom: 1px solid var(--line); }
.disciplines article { border-top: 1px solid var(--line); padding-block: 22px 28px; }
.disciplines p { color: var(--muted); max-width: 46ch; margin-top: 8px; }

.walkthrough { background: var(--navy); color: #fff; }
.scenario-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 8vw, 122px); }
.scenario-intro p { margin-top: 18px; color: #d3e4fa; max-width: 32ch; }
.workflow { list-style: none; padding: 0; margin: 0; counter-reset: workflow; }
.workflow li {
  position: relative;
  padding: 17px 0 21px 53px;
  border-top: 1px solid #8196af;
  counter-increment: workflow;
}
.workflow li:last-child { border-bottom: 1px solid #8196af; }
.workflow li::before { content: counter(workflow); position: absolute; left: 0; top: 18px; font-size: 17px; color: #b5d4ff; font-variant-numeric: tabular-nums; }
.workflow p { margin-top: 8px; color: #d3e4fa; max-width: 42ch; }

.proof { background: #e2edfb; }
.story {
  display: grid;
  grid-template-columns: .86fr 1fr;
  align-items: center;
  gap: clamp(26px, 7vw, 98px);
}
.story h2 { font-size: clamp(30px, 3.3vw, 48px); }
.story div p { margin-block: 15px 19px; max-width: 51ch; }
.case-fact { padding-block: 25px; border-block: 1px solid #829bb8; color: #104589; }
.case-fact strong { display: block; font-size: clamp(75px, 11vw, 163px); letter-spacing: -.082em; line-height: .92; font-weight: 600; white-space: nowrap; }
.case-fact span { display: block; margin-top: 14px; font-weight: 530; }
.underlink { text-decoration-thickness: 1px; text-underline-offset: .25em; font-weight: 560; }

.team-details p { padding-block: 14px 18px; border-top: 1px solid var(--line); }
.team-details p:last-child { border-bottom: 1px solid var(--line); }

.offer { background: #ece9df; }
.offer-inner { display: grid; grid-template-columns: .8fr 1fr 1fr; align-items: center; gap: clamp(18px, 4vw, 64px); }
.offer-inner h2 { font-size: clamp(30px, 3.5vw, 50px); }
.offer-inner > p { max-width: 37ch; }
.price strong { display: block; color: var(--navy); font-size: clamp(41px, 5vw, 74px); font-weight: 610; line-height: .98; letter-spacing: -.07em; white-space: nowrap; }
.price span { display: block; margin-top: 10px; max-width: 23ch; }

.demo { background: var(--blue-paper); }
.demo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 7vw, 105px); align-items: start; }
.demo-layout > div:first-child p { max-width: 36ch; margin-block: 16px 20px; font-size: 18px; }
.audit-form { display: grid; gap: 7px; }
.audit-form label { font-weight: 580; }
.audit-form input, .audit-form textarea {
  border: 1px solid #839bb6;
  border-radius: 4px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  min-height: 48px;
  width: 100%;
  margin-bottom: 10px;
  font-size: 16px;
}
.audit-form textarea { resize: vertical; }
.audit-form ::placeholder { color: #506278; opacity: 1; }
.audit-form button { justify-self: start; }
.request-result { border-top: 1px solid #94acc7; margin-top: 22px; padding-top: 16px; overflow-wrap: anywhere; }
.request-result p { white-space: pre-wrap; margin-block: 12px 17px; }
.result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }

.site-footer { padding-block: 26px; }
.footer-inner, .footer-inner nav { display: flex; gap: 10px 24px; flex-wrap: wrap; align-items: center; }
.footer-inner { justify-content: space-between; font-size: 14px; }
.site-footer a { text-decoration: none; }

@media (max-width: 860px) {
  .header-inner { min-height: 64px; }
  .menu-toggle {
    display: block;
    min-width: 98px;
    min-height: 44px;
    border: 1px solid #879ab0;
    border-radius: 5px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 9px max(20px, 5vw);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px rgb(13 31 51 / 14%);
  }
  .site-nav.is-open { display: grid; gap: 0; }
  .offer-inner { grid-template-columns: 1fr 1fr; }
  .offer-inner h2 { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .hero-layout, .section-head, .scenario-layout, .story, .offer-inner, .demo-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-layout { padding-block: 38px 24px; }
  .hero h1 { font-size: clamp(40px, 9.7vw, 61px); }
  .hero-copy p { margin-block: 16px 23px; }
  .hero-image { aspect-ratio: 1.58; }
  h2 { text-wrap: wrap; }
  .work .section-head { margin-bottom: 23px; }
  .disciplines { grid-template-columns: minmax(0, 1fr); }
  .disciplines article { padding-block: 18px; }
  .story > div { grid-row: 1; }
  .case-fact { padding-block: 18px; }
}
