:root {
  color-scheme: light;
  --paper: #f7f7f7;
  --white: #fff;
  --ink: #171717;
  --focus-ring: var(--ink);
  --ink-hover: #383838;
  --muted: #545454;
  --line: #d9d9d9;
  --mist: #ececec;
  --shade: #dedede;
  --radius: 24px;
  --gutter: clamp(18px, 3.4vw, 48px);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.5; }
h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3 { line-height: 1.03; }
h1 { font-size: clamp(44px, 6vw, 82px); font-weight: 850; letter-spacing: -.075em; }
h2 { font-size: clamp(34px, 4.3vw, 56px); font-weight: 800; letter-spacing: -.06em; }
h3 { font-size: 23px; font-weight: 750; letter-spacing: -.035em; }
p { color: var(--muted); }
a { color: inherit; }
a[href]:hover { text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(a[href], button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  scroll-margin-block: 8px;
}
:where(.field input, .field select, .field textarea, .city-trigger):focus-visible {
  --focus-ring: var(--ink);
  outline-offset: -2px;
}
:where(.skip, .brand, .nav a, .text-link, .footer-links a, .questions summary):focus-visible { border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: min(100%, 1376px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: 8px; left: 8px; z-index: 20; background: var(--white); padding: 12px; transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; font-size: 19px; font-weight: 850; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--ink); border-radius: 11px; color: var(--white); font-size: 23px; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(8px, 1.35vw, 22px); }
.nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 9px; border-radius: 8px; text-decoration: none; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 54px; padding: 0 20px; border: 1px solid transparent; border-radius: 14px; background: var(--ink); color: var(--white); font-weight: 750; line-height: 1; text-decoration: none; white-space: nowrap; }
.button:active { transform: translateY(1px); }
.button span { font-size: 1.16em; }
.button-small { min-height: 44px; padding-inline: 16px; font-size: 15px; }
.button-outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.calc-result .button, .cta-panel .button, .footer .brand-mark { background: var(--white); color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(30px, 5vw, 74px); padding-block: 32px 0; align-items: stretch; }
.hero-copy { align-self: center; padding-block: clamp(18px, 5vw, 66px); }
.hero h1 { overflow-wrap: anywhere; }
.hero h1 span { display: block; }
.hero h1 .city-line { margin-top: 3px; }
.hero .lead { max-width: 485px; margin-top: 23px; font-size: clamp(17px, 1.55vw, 22px); }
.hero .text-link { margin-top: 19px; }
.hero-actions { display: flex; align-items: start; flex-direction: column; margin-top: 24px; }
.city-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; max-width: 500px; margin-top: 24px; }
.city-form .field { min-width: 0; }
.field { display: grid; gap: 7px; font-size: 15px; font-weight: 700; }
.field input, .field select, .city-trigger {
  width: 100%; min-width: 0; min-height: 54px; padding: 10px 12px;
  color: var(--ink); background: var(--white); border: 1px solid #858585; border-radius: 12px;
  font-size: 16px; font-weight: 600;
}
.city-picker { position: relative; }
.city-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
.city-trigger[aria-expanded="true"] { border-color: var(--ink); }
.city-trigger[aria-invalid="true"] { border: 2px solid var(--ink); padding-inline: 11px; }
.city-trigger::after { content: ""; flex: 0 0 8px; height: 8px; margin: -4px 3px 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.city-trigger[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(225deg); }
.city-options {
  --focus-ring: var(--ink);
  position: absolute; inset: calc(100% + 6px) 0 auto; z-index: 3;
  min-width: 100%; max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
  padding: 4px; list-style: none; color: var(--ink); background: var(--white);
  border: 1px solid #858585; border-radius: 12px; box-shadow: 0 6px 20px #17171726;
  visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(var(--city-menu-shift, -6px));
}
.city-picker.opens-up .city-options { --city-menu-shift: 6px; inset: auto 0 calc(100% + 6px); }
.city-trigger[aria-expanded="true"] + .city-options {
  visibility: visible; opacity: 1; pointer-events: auto; transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .city-trigger::after { transition: transform 180ms ease; }
  .city-options {
    transition: opacity 160ms ease, transform 200ms cubic-bezier(.2, .65, .3, 1), visibility 0s 200ms;
  }
  .city-trigger[aria-expanded="true"] + .city-options { transition-delay: 0s; }
}
.city-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 6px 9px; border-radius: 7px; cursor: pointer; font-size: 16px; font-weight: 500; }
.city-option[data-active] { background: var(--mist); outline: 1px solid var(--focus-ring); outline-offset: -1px; }
.city-option[aria-selected="true"] { font-weight: 750; }
.city-option[aria-selected="true"]::after { content: ""; flex: 0 0 6px; height: 11px; margin: -4px 3px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.city-error { grid-column: 1 / -1; font-size: 15px; font-weight: 650; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 8px; margin-inline: -8px; border-radius: 8px; font-weight: 750; text-decoration: none; }
.route-art {
  position: relative; display: grid; isolation: isolate; place-items: center;
  min-height: 490px; overflow: hidden; border-radius: 32px; background-color: var(--shade);
  background-image: radial-gradient(#17171729 1px, transparent 1.2px);
  background-size: 18px 18px;
}
.route-art::before, .route-art::after { content: ""; position: absolute; z-index: -1; width: 77%; aspect-ratio: 1; border: 1px solid #17171726; border-radius: 50%; }
.route-art::after { width: 62%; }
.route-art--city { min-height: 410px; }
.map-art { position: relative; width: 74%; max-width: 475px; aspect-ratio: 1.3; transform: rotate(-19deg) skewX(13deg) scaleY(.83); background: var(--mist); border: 7px solid var(--white); border-radius: 30px; box-shadow: 1px 13px 0 #c0c0c0, 4px 22px 0 #a6a6a6; }
.map-art::before, .map-art::after { content: ""; position: absolute; background: var(--line); border-radius: 20px; }
.map-art::before { inset: 12% 63% 26% 7%; }
.map-art::after { inset: 54% 7% 11% 53%; }
.map-road-a, .map-road-b { position: absolute; z-index: 1; border: clamp(7px, 1.2vw, 13px) solid var(--white); border-radius: 17px; }
.map-road-a { inset: 25% 21% -8% 40%; border-right: 0; border-bottom: 0; }
.map-road-b { inset: -8% 41% 25% 22%; border-left: 0; border-top: 0; }
.map-path { position: absolute; z-index: 2; inset: 36% 22% 28% 25%; border: 4px dashed var(--ink); border-top: 0; border-right: 0; border-bottom-left-radius: 23px; }
.map-path::before, .map-path::after { content: ""; position: absolute; width: 13px; height: 13px; border: 3px solid var(--white); border-radius: 50%; background: var(--ink); }
.map-path::before { top: -7px; left: -11px; }
.map-path::after { right: -7px; bottom: -11px; }
.map-tile { position: absolute; z-index: 3; top: 24%; right: 14%; width: 23%; aspect-ratio: 1; display: grid; place-items: center; transform: rotate(-9deg); border-radius: 23%; background: var(--ink); box-shadow: 5px 7px 0 var(--muted); color: var(--white); font-size: clamp(30px, 5.5vw, 76px); font-weight: 750; }
.map-place { position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%; background: var(--white); box-shadow: 1px 4px 0 #c0c0c0; }
.map-place-a { top: 12%; left: 13%; }
.map-place-b { bottom: 10%; right: 12%; }
.route-label { position: absolute; display: flex; align-items: center; gap: 9px; right: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px); padding: 9px 13px; background: var(--white); border-radius: 11px; font-size: 14px; font-weight: 750; }
.route-label span { color: var(--ink); }
.section { padding-top: clamp(58px, 7vw, 100px); }
.section:last-of-type { padding-bottom: clamp(58px, 7vw, 96px); }
.section-intro { display: grid; gap: 13px; max-width: 740px; margin-bottom: 25px; }
.section-intro p { max-width: 62ch; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { display: grid; align-content: start; gap: 10px; min-width: 0; padding: clamp(18px, 2.5vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card-symbol, .step-number { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 9px; border-radius: 13px; background: var(--mist); color: var(--ink); font-weight: 800; font-size: 23px; line-height: 1; }
.benefits { padding-top: clamp(46px, 5vw, 70px); }
.format-card { padding: 0; overflow: hidden; gap: 0; }
.format-top { min-height: 103px; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: var(--shade); }
.format-top .format-tag { font-size: 15px; font-weight: 750; border-radius: 10px; background: var(--white); padding: 6px 9px; }
.format-copy { display: grid; gap: 10px; padding: 22px 24px 26px; }
.calculator { display: grid; grid-template-columns: 1.2fr .85fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(18px, 2.8vw, 36px); align-content: start; }
.calc-result { display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 12px; min-height: 255px; padding: clamp(22px, 3.5vw, 46px); background: var(--ink); color: var(--white); }
.calc-result p { color: var(--line); }
.calc-total { display: block; overflow-wrap: anywhere; color: var(--white); font-size: clamp(30px, 4vw, 53px); font-weight: 850; letter-spacing: -.045em; line-height: 1.04; }
.calc-result .button { margin-top: 7px; }
.steps-panel { padding: clamp(20px, 3.6vw, 46px); border-radius: var(--radius); background: var(--mist); }
.steps { list-style: none; padding: 0; }
.step { padding-top: 15px; border-top: 1px solid #bdbdbd; display: grid; align-content: start; gap: 10px; }
.step-number { background: var(--white); font-size: 17px; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 11px 10px; border-radius: 8px; cursor: pointer; font-weight: 750; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: "";
  flex: 0 0 33px;
  height: 33px;
  border-radius: 50%;
  color: var(--faq-sign-ink, var(--ink));
  background-color: var(--faq-sign-fill, var(--white));
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px 3px, 3px var(--faq-sign-height, 13px);
}
.questions details[open] summary::after {
  --faq-sign-height: 0px;
  --faq-sign-fill: var(--ink);
  --faq-sign-ink: var(--white);
}
.questions details p { padding: 0 44px 17px 10px; overflow: clip; }
.city-map { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: clamp(18px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.city-map h2 { font-size: clamp(29px, 3.5vw, 43px); margin-bottom: 10px; }
.cta-panel { display: grid; grid-template-columns: 1fr .66fr; gap: 28px; align-items: center; padding: clamp(22px, 5vw, 64px); border-radius: var(--radius); color: var(--white); background: var(--ink); }
.cta-panel p { margin-top: 12px; color: var(--line); }
.cta-panel .city-form { margin: 0; }
.cta-panel .button { justify-self: end; }
.cta-panel, .footer, .calc-result { --focus-ring: var(--white); }
.footer { color: var(--white); background: var(--ink); }
.footer-inner { padding-block: 30px 34px; display: flex; justify-content: space-between; align-items: start; gap: 28px; }
.footer p { color: var(--line); margin-top: 9px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; margin-inline: -8px; border-radius: 8px; text-decoration: none; }
.sticky { display: none; }
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 17px; }
.prose h2 { font-size: clamp(28px, 4vw, 41px); }
.prose h3 { margin-top: 24px; }
.aux-main { min-height: 58vh; padding-block: clamp(52px, 8vw, 112px); }
.aux-main h1 { font-size: clamp(39px, 6vw, 72px); overflow-wrap: anywhere; }
.aux-main .button { margin-top: 8px; }
.aux-main .card { margin-top: 20px; }
.aux-main .card a { display: inline-block; max-width: 100%; border-radius: 5px; text-underline-offset: 4px; }
@media (hover: hover) {
  :where(.nav a, .text-link, .skip, .aux-main .card a):hover { background-color: var(--mist); }
  .footer-links a:hover { background-color: var(--ink-hover); }
  .brand:hover .brand-mark { background-color: var(--ink-hover); }
  .footer .brand:hover .brand-mark { background-color: var(--shade); }
  .button:hover { background-color: var(--ink-hover); }
  .button-outline:hover { background-color: var(--mist); }
  .calc-result .button:hover, .cta-panel .button:hover { background-color: var(--shade); }
  :is(.field input, .field select, .field textarea, .city-trigger):not(:disabled):hover {
    border-color: var(--ink);
    background-color: var(--mist);
  }
  .city-option:hover, .questions summary:hover { background-color: var(--shade); }
  .questions summary:hover::after { --faq-sign-fill: var(--ink-hover); --faq-sign-ink: var(--white); }
}
@media (prefers-reduced-motion: no-preference) {
  :where(a[href], .button, .field input, .field select, .field textarea, .city-trigger, .city-option, .questions summary),
  .brand-mark,
  .questions summary::after {
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  }
}
@media (forced-colors: active) {
  :where(a[href], button, input, select, textarea, summary):focus-visible,
  .city-option[data-active] { outline-color: Highlight; }
  .questions summary::after {
    forced-color-adjust: none;
    color: ButtonText;
    background-color: ButtonFace;
    outline: 1px solid ButtonText;
    outline-offset: -1px;
  }
}
@media (max-width: 1020px) {
  .hero { gap: 22px; }
  .route-art { min-height: 415px; }
  .header-inner { gap: 13px; }
  .nav { gap: 6px; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel .button { justify-self: start; }
}
@media (max-width: 740px) {
  .header-inner { min-height: 64px; }
  .nav { display: none; }
  .with-sticky .header .button { display: none; }
  .header .button { padding-inline: 12px; }
  .header .button span { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 17px; gap: 16px; }
  .hero-copy { padding-block: 16px 4px; }
  .hero h1 { font-size: clamp(44px, 9.9vw, 65px); }
  .hero .lead { margin-top: 14px; }
  .hero .text-link { margin-top: 10px; }
  .hero .city-form { margin-top: 18px; }
  .route-art { min-height: 247px; border-radius: 22px; }
  .route-label { font-size: 13px; }
  .map-art { max-width: 294px; width: 70%; }
  .map-tile { font-size: 40px; }
  .map-path { border-width: 3px; }
  .grid-three, .calculator, .faq-layout { grid-template-columns: 1fr; }
  .faq-layout { gap: 0; }
  .steps { gap: 18px; }
  .steps .step { grid-template-columns: 44px 1fr; }
  .steps .step-number { grid-row: span 2; }
  .step h3 { align-self: center; }
  .calc-result { min-height: 220px; }
  .footer-inner { flex-direction: column; gap: 13px; }
  .with-sticky { padding-bottom: calc(73px + env(safe-area-inset-bottom)); }
  html:has(.with-sticky) { scroll-padding-bottom: calc(73px + env(safe-area-inset-bottom)); }
  .sticky { position: fixed; inset: auto 0 0; z-index: 4; display: grid; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
}
@media (max-width: 470px) {
  .city-form { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .calc-fields { grid-template-columns: 1fr; }
  .cta-panel .button { justify-self: stretch; }
}
