:root {
  --ink: #111318;
  --text: #333740;
  --muted: #68707d;
  --line: #d9dde3;
  --soft: #f5f6f8;
  --red: #e30613;
  --red-dark: #b80510;
  --blue: #0b63ce;
  --blue-soft: #eef6ff;
  --green: #087f5b;
  --green-soft: #ecfbf5;
  --amber: #a85d00;
  --amber-soft: #fff8e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a { color: var(--blue); }
a:focus-visible, button:focus-visible {
  outline: 3px solid #ffb3b8;
  outline-offset: 3px;
}
.wrap { width: min(1000px, calc(100% - 48px)); margin: 0 auto; }

.bar { background: var(--ink); color: #fff; }
.bar .wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
}
.mark { width: 8px; height: 36px; background: var(--red); flex: 0 0 auto; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; line-height: 1.2; }
.brand small { color: #cfd3da; font-size: 12px; line-height: 1.3; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  border-radius: 4px;
}
.nav a:hover { background: rgba(255,255,255,.1); }

main { padding: 52px 0 72px; }
section { margin-top: 50px; scroll-margin-top: 24px; }
section:first-child { margin-top: 0; }
.kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--ink); line-height: 1.15; }
h1 { margin: 0 0 16px; max-width: 780px; font-size: clamp(38px, 5.2vw, 58px); letter-spacing: -.035em; }
h2 { margin: 0 0 14px; font-size: 26px; letter-spacing: -.015em; }
h3 { margin: 0 0 7px; font-size: 17px; }
p { margin: 0 0 14px; }
.lead { max-width: 820px; font-size: 19px; line-height: 1.55; color: #444a54; }
.intro { max-width: 820px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 4px;
  border: 1px solid var(--red);
  font-weight: 800;
  text-decoration: none;
}
.button-primary { color: #fff; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--red-dark); background: #fff; }
.button-secondary:hover { background: #fff4f4; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; }
.fact { min-height: 104px; padding: 15px; background: var(--soft); border-top: 3px solid var(--red); }
.fact span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fact strong { display: block; margin: 4px 0 1px; color: var(--ink); font-size: 25px; line-height: 1.15; }
.fact small { color: var(--muted); }

.notice, .limit, .ok {
  padding: 17px 19px;
  border-radius: 7px;
  margin: 18px 0;
}
.notice { background: var(--blue-soft); border: 1px solid #9bc8ff; }
.limit { background: var(--amber-soft); border: 1px solid #f2c465; }
.ok { background: var(--green-soft); border: 1px solid #8ee1bf; }
.notice p:last-child, .limit p:last-child, .ok p:last-child { margin-bottom: 0; }

.grid2, .grid3 { display: grid; gap: 14px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.step-number { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.panel p:last-child { margin-bottom: 0; }
.small { color: var(--muted); font-size: 13px; }

.questions { display: grid; gap: 8px; margin: 18px 0; }
.question { padding: 13px 15px; border-left: 4px solid var(--blue); background: var(--soft); }
.question p { margin: 0; }

ul { margin: 9px 0 0; padding-left: 22px; }
li { margin: 8px 0; padding-left: 3px; }
li::marker { color: var(--red); }
.boundaries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.boundary {
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.boundary strong { display: block; color: var(--ink); margin-bottom: 3px; }

.contact {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 24px;
  margin-top: 20px;
  padding: 22px;
  background: var(--soft);
  border-left: 5px solid var(--red);
  border-radius: 7px;
}
.contact-details { padding-left: 22px; border-left: 1px solid var(--line); }
.contact-details strong, .contact-details span { display: block; }
.contact-details a {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-weight: 800;
  text-decoration: none;
}
.contact-details a:hover { text-decoration: underline; }

footer { background: var(--ink); color: #cfd3da; }
footer .wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

@media (max-width: 820px) {
  .bar .wrap { display: block; padding: 15px 0 12px; }
  .nav { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
  .nav a { justify-content: center; padding-inline: 7px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1000px); }
  main { padding: 35px 0 54px; }
  section { margin-top: 40px; }
  h1 { font-size: 38px; }
  h2 { font-size: 24px; }
  .lead { font-size: 17px; }
  .brand small { font-size: 11px; }
  .nav { grid-template-columns: repeat(2, 1fr); }
  .nav a { border: 1px solid rgba(255,255,255,.13); }
  .facts { gap: 8px; }
  .fact { min-height: 96px; padding: 13px; }
  .fact strong { font-size: 22px; }
  .grid2, .boundaries, .contact { grid-template-columns: 1fr; }
  .panel { padding: 17px; }
  .contact-details { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .actions { display: grid; }
  .button { width: 100%; }
  footer .wrap { display: block; padding: 18px 0; }
  footer span { display: block; margin: 3px 0; }
}

@media print {
  .bar { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .brand small, .nav a { color: #000; }
  .nav, .actions { display: none; }
  main { padding-top: 28px; }
  a { color: #000; text-decoration: none; }
}
