:root {
  color-scheme: light;
  --background: #f7fafc;
  --surface: #fff;
  --ink: #0b1826;
  --muted: #526579;
  --brand: #2c74a3;
  --brand-dark: #245f86;
  --brand-light: #e8f3fa;
  --border: #dce7ef;
  --shadow: 0 18px 50px rgba(30, 75, 102, .09), 0 2px 8px rgba(30, 75, 102, .05);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 400 16px/1.55 "Onest", system-ui, sans-serif; }
a { color: var(--brand-dark); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
h1, h2, h3, p, dl, figure { margin: 0; }
h1, h2 { letter-spacing: -.025em; }
h1 { font: 600 clamp(2rem, 4.2vw, 3.25rem)/1.16 "Unbounded", "Onest", sans-serif; text-wrap: balance; }
h2 { font: 600 clamp(1.5rem, 2.7vw, 2.125rem)/1.23 "Unbounded", "Onest", sans-serif; }
h3 { font-size: 1.2rem; line-height: 1.28; }
p { color: var(--muted); }
main [id] { scroll-margin-top: 84px; }
.meter { position: absolute; left: -9999px; }
.shell { width: min(100% - 48px, 1140px); margin-inline: auto; }

.topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-bottom: 24px; }
.topics a { color: var(--muted); font-size: .875rem; text-decoration: none; }
.topics a:hover, .topics a[aria-current="page"] { color: var(--brand-dark); text-decoration: underline; }
.topics a[aria-current="page"] { font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 10px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; }
.button--primary { color: #fff; background: var(--brand-dark); }
.button--primary:hover { background: #16496a; color: #fff; }
.button--soft { background: var(--brand-light); color: #1e4b66; }
.button--soft:hover { background: #dbeaf5; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding: clamp(52px, 7vw, 100px) 0 clamp(50px, 6vw, 82px); }
.hero__intro { max-width: 45ch; margin-top: 20px; font-size: clamp(1rem, 1.65vw, 1.175rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.visual { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.visual__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; background: var(--brand-light); color: #204d68; font-weight: 600; }
.label { padding: 3px 8px; border-radius: 8px; background: var(--surface); color: var(--muted); font-size: .875rem; font-weight: 500; }
.visual__body { padding: clamp(16px, 3vw, 30px); }
.visual__caption, .visual__fields dt { color: var(--muted); font-size: .875rem; }
.visual__title { margin: 4px 0 14px; font-size: 1.35rem; line-height: 1.28; font-weight: 650; }
.visual__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.visual__fields dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; }
.visual__note { padding: 12px 14px; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--background); }
.visual__note p { margin-top: 3px; }
.format-preview__list { display: grid; gap: 14px; }
.format-preview__row { display: grid; grid-template-columns: minmax(7rem, .36fr) 1fr; align-items: center; gap: 14px; color: var(--muted); }
.format-preview__row + .format-preview__row { border-top: 1px solid var(--border); padding-top: 14px; }
.format-preview__name { color: var(--ink); font-weight: 650; }

.section { border-top: 1px solid var(--border); padding: clamp(28px, 5vw, 56px) 0; }
.section__intro { margin-bottom: 20px; }
.section__intro p { max-width: 70ch; margin-top: 10px; }
.grid { display: grid; gap: 14px; }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel, .tariff { padding: clamp(16px, 2.1vw, 24px); border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.panel p { margin-top: 8px; }
.panel--route { background: var(--brand-light); }
.panel--route a { display: inline-block; margin-top: 12px; font-weight: 600; }
.steps { padding: 0; margin: 0; list-style: none; }
.steps .panel { border-top: 3px solid #4ea0d2; }
.scope-note { margin-top: 18px; padding: 16px 18px; border-left: 3px solid #4ea0d2; border-radius: 0 10px 10px 0; background: var(--surface); }
.scope-note p { margin-top: 6px; }
.tariff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tariff dt { color: var(--muted); }
.tariff dd { margin: 3px 0 0; }
.tariff strong { font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
.tariff span { color: var(--muted); }
.cost-link, .guide-link { margin-top: 16px; }
.faq h2 { margin-bottom: 20px; }
.faq details { max-width: 820px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; margin: 10px 0 40px; padding: clamp(20px, 4vw, 42px); border: 1px solid var(--border); border-radius: 20px; background: var(--brand-light); }
.closing p { margin-top: 8px; }
.closing .button { flex-shrink: 0; }

@media (max-width: 900px) {
  .hero { gap: 24px; }
  .grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .hero, .grid, .tariff-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .closing { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 355px) {
  .topics { column-gap: 12px; }
  .visual__fields { grid-template-columns: 1fr; }
}
