:root {
  color-scheme: light;
  --ink: #17243a;
  --muted: #465a74;
  --paper: #f3f6fa;
  --line: #d7e1ee;
  --blue: #1646ac;
  --teal: #075b50;
  --focus: #a05209;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.58 system-ui, sans-serif; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: 1136px; padding-inline: clamp(16px, 3vw, 34px); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); background: #fff; }
.site-nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; }
.brand { color: var(--blue); font-size: 25px; font-weight: 850; line-height: 1.1; text-decoration: none; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .09em; }
.navlinks { display: flex; flex-wrap: wrap; gap: 4px; }
.navlinks a { padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: .89rem; font-weight: 650; }
.navlinks a:hover, .navlinks a[aria-current="page"] { background: #e8efff; color: var(--blue); }
.skip-link { position: absolute; left: 12px; top: 12px; padding: 10px; background: white; z-index: 5; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.breadcrumbs { margin-top: 17px; font-size: .83rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 3px 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #687b92; }
.breadcrumbs a { text-underline-offset: .2em; }
.site-hero { text-align: center; margin: 20px 0 28px; padding: clamp(22px, 5vw, 52px); border: 1px solid #cddcf0; border-radius: 22px; background: linear-gradient(112deg, #fff, #eef4ff 62%, #e8f6f2); }
.site-hero-home { margin-top: 30px; }
.site-hero .messengers { justify-content: center; }
.site-hero-compact { padding-block: clamp(20px, 3vw, 32px); }
.site-hero-compact h1 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); max-width: 28ch; }
.eyebrow { margin: 0 0 12px; font-size: .84rem; font-weight: 800; color: var(--teal); }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.65rem); line-height: 1.08; letter-spacing: -.037em; max-width: 24ch; margin: 0 auto 16px; }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 16px; }
.hero-lead { max-width: 66ch; color: var(--muted); margin: 0 auto 20px; font-size: clamp(1rem, 2vw, 1.16rem); }
.messengers, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.btn, button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 42px; background: #fff; color: var(--blue); border: 1px solid var(--line); border-radius: 9px; padding: 8px 15px; font: inherit; font-size: .91rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.btn:hover, button:hover { border-color: #8faad5; }
.messenger { min-width: 110px; color: #fff; border-color: transparent; }
.messenger-tg { background: #184bb9; }
.messenger-max { background: #5840a2; }
.messenger:hover { filter: brightness(.91); border-color: transparent; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 7px; }
.chip { display: inline-flex; align-items: center; padding: 6px 13px; border: 1px solid #cbdaf1; border-radius: 99px; text-decoration: none; font-size: .88rem; font-weight: 700; background: #fff; }
.chip:hover { background: #e8efff; border-color: #9bafd3; }
.content-section { margin-block: 25px; }
.panel { padding: clamp(16px, 3vw, 29px); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.panel p { max-width: 75ch; margin: 0 0 12px; }
.panel p:last-child { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.route-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; height: 100%; padding: 15px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.route-card:hover { border-color: #9eafd0; box-shadow: 0 4px 14px #1c2a4914; }
.route-card:hover strong { color: var(--blue); }
.route-card strong { display: block; line-height: 1.3; font-size: .97rem; }
.route-icon { min-width: 35px; padding: 6px; text-align: center; border-radius: 7px; background: #e9f5f1; color: var(--teal); font-size: .67rem; font-weight: 850; }
.route-arrow { color: var(--blue); font-weight: 800; }
.route-copy { display: block; color: var(--muted); margin-top: 5px; font-size: .85rem; line-height: 1.42; }
.step-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); padding: 0; list-style: none; counter-reset: step; gap: 10px; margin: 0; }
.step-list li { position: relative; padding: 13px 13px 13px 47px; border-radius: 10px; background: #f0f5fe; counter-increment: step; }
.step-list li::before { content: counter(step); position: absolute; left: 12px; top: 13px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #dce8ff; color: var(--blue); font-size: .84rem; font-weight: 800; }
.step-list strong, .step-list span { display: block; }
.step-list span { color: var(--muted); margin-top: 4px; font-size: .94rem; }
.inline-note { color: var(--muted); font-size: .9rem; }
.inline-link { text-underline-offset: .18em; }
.editorial h2:not(:first-child) { margin-top: 24px; }
.faq details { background: #fff; padding: 11px 15px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 3px; color: var(--muted); }
footer { margin-top: 42px; border-top: 1px solid var(--line); background: #fff; padding-block: 26px; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; }
.footer-grid p { margin: 8px 0; }
.footer-grid .footer-heading { margin-top: 0; font-size: 1rem; font-weight: 750; color: var(--ink); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: 4px; }
.footer-grid a:not(.btn, .brand) { text-decoration: none; }
.footer-grid a:not(.btn, .brand):hover { text-decoration: underline; }
.footer-legal { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 17px; align-items: center; }
#consent { position: fixed; z-index: 20; bottom: 14px; left: 50%; transform: translateX(-50%); width: min(720px, calc(100% - 24px)); padding: 12px 16px; background: #17243a; color: #fff; border-radius: 12px; box-shadow: 0 5px 22px #0f172a55; }
#consent:not([hidden]) { display: flex; align-items: center; gap: 14px; }
#consent p { flex: 1; margin: 0; font-size: .86rem; }
#consent a { color: #fff; }
#consent #accept { background: #184bb9; color: #fff; }
#consent #decline { background: transparent; color: #fff; }
@media (max-width: 900px) {
  .site-nav { flex-wrap: wrap; padding-block: 12px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 570px) {
  .cards, .step-list, .footer-grid { grid-template-columns: 1fr; }
  .navlinks { gap: 1px 3px; }
  .navlinks a { padding: 6px 8px; }
  .site-hero { border-radius: 16px; }
  #consent:not([hidden]) { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
