@font-face {
  font-family: Golos;
  src: url('./golos-text.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --blue: #0039a6;
  --ink: #172238;
  --paper: #f1f4fa;
  --line: #d8dfeb;
  background: #fff;
  color: var(--ink);
  font: 16px/1.5 Golos, Arial, sans-serif;
}
* { box-sizing: border-box; }
html:not([data-mode="pilot"]) [data-pilot],
html[data-mode="pilot"] [data-demo] { display: none !important; }
body { margin: 0; }
header, main, footer {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 56px);
}
header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
header .brand {
  display: inline-flex;
  align-items: baseline;
  gap: .34em;
  color: var(--blue);
  font-size: 25px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand b { border-left: 1px solid #acbad1; padding-left: .38em; font-weight: 480; }
header nav { display: flex; gap: clamp(12px, 2.5vw, 34px); align-items: center; }
header nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 550; }
header nav a:hover, header nav a[aria-current] { color: var(--blue); text-decoration: underline; text-underline-offset: .4em; }
:focus-visible { outline: 3px solid #d98017; outline-offset: 3px; }
button, input, select { font-family: inherit; }
main h1 { letter-spacing: -.045em; line-height: 1.04; }
main .card, .summary article, main .tariff, #basket, .result, main > section > form {
  border-radius: 10px;
}
main .card, #basket, main > section > form { background: var(--paper); }
main .module { background: white; }
.result, main .tariff, .summary article:first-child { background: var(--blue); color: white; }
@media (max-width: 620px) {
  header { flex-direction: column; align-items: flex-start; gap: 14px; }
  header nav { width: 100%; justify-content: space-between; gap: 6px; }
  header nav a { font-size: 14px; }
}
