.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: calc(100% - 32px);
  max-width: 1120px;
  height: 60px;
  margin: 16px auto 0;
  padding: 0 8px 0 20px;
  border-radius: var(--radius-full);
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease;
}

.site-header.is-scrolled {
  background: var(--glass-strong);
  box-shadow: var(--shadow-pop);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font: 500 14px/20px var(--font-sans);
  color: var(--ink-2);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}

.site-nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.site-nav a.is-active {
  background: var(--surface-2);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink-2);
  font: 500 14px/1 var(--font-sans);
  cursor: pointer;
}

.lang img {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 84px 12px auto;
  z-index: 19;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-pop);
  transform-origin: top center;
  animation: menu-in var(--dur) var(--ease-out);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--ink);
}

.mobile-menu a:hover {
  background: var(--surface-2);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

.hero {
  position: relative;
  padding-top: 72px;
}

.hero__wave {
  position: absolute;
  top: 40px;
  right: -180px;
  width: 980px;
  max-width: none;
  pointer-events: none;
  animation: float 7s var(--ease-in-out) infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 70%;
  height: 720px;
  background: radial-gradient(ellipse at center, var(--glow), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px;
  align-items: start;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: 40px;
  min-width: 0;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 20px;
  color: var(--ink-2);
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist svg {
  flex: none;
  color: var(--tide);
}

.hero__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-weight: 500;
  font-size: 15px;
}

.hero__more svg {
  transition: transform var(--dur) var(--ease-out);
}

.hero__more:hover svg {
  transform: translateY(3px);
}

.locations__more {
  margin-top: 28px;
}

.locations__more:hover svg {
  transform: translateX(3px);
}

.configurator {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-pop);
}

.configurator__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.configurator__title {
  margin: 0;
  font: 600 20px/26px var(--font-sans);
}

.configurator__summary {
  font: 400 13px/16px var(--font-mono);
  color: var(--ink-3);
}

.configurator fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.configurator legend {
  padding: 0 0 12px;
  font: 600 12px/16px var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slider {
  display: grid;
  gap: 8px;
}

.slider__head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  line-height: 20px;
}

.slider__head label {
  color: var(--ink-2);
}

.slider__head output {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sliders {
  display: grid;
  gap: 18px;
}

.slider__scale {
  display: flex;
  justify-content: space-between;
  margin-top: -4px;
  font: 500 11px/14px var(--font-sans);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.total {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

.total__price {
  display: block;
  font: 600 36px/40px var(--font-sans);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.total__note {
  font-size: 13px;
  line-height: 16px;
  color: var(--ink-3);
}

.sections {
  display: flex;
  flex-direction: column;
  gap: 140px;
  padding-block: 140px 120px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.section-head__text {
  display: grid;
  gap: var(--space-3);
  max-width: 600px;
}

.section-head__text p {
  margin: 0;
  color: var(--ink-2);
}

.period {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.map-wrap {
  margin-bottom: var(--space-10);
}

.map {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 330;
}

.map::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tide-soft), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.map__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map:hover {
  cursor: crosshair;
}

.pin {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.pin::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--tide);
  box-shadow: 0 0 0 3px var(--abyss);
  transition: inset var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.pin:hover::before {
  inset: 7px;
}

.pin[aria-pressed="true"]::before {
  inset: 5px;
  box-shadow: 0 0 0 4px var(--abyss), 0 0 0 6px var(--tide), 0 0 24px 6px var(--glow);
}

.pin__label {
  position: absolute;
  left: 50%;
  bottom: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  font: 500 13px/16px var(--font-sans);
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  pointer-events: none;
  transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out);
}

.pin:hover .pin__label,
.pin:focus-visible .pin__label,
.pin[aria-pressed="true"] .pin__label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.locations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) ease, box-shadow var(--dur) ease;
}

.location:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
}

.location[aria-pressed="true"] {
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1.5px var(--tide);
}

.location img {
  width: 32px;
  height: 32px;
  flex: none;
}

.location__name {
  display: grid;
  flex: 1;
  min-width: 0;
}

.location__city {
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
}

.location__country {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-3);
}

.location__ping {
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 56px 40px;
}

.faq__list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq__item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: background-color 450ms ease;
}

.faq__item[open] {
  background: var(--surface-2);
}

.faq__item.is-closing {
  background: var(--surface);
}

.faq__item summary:focus-visible {
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--tide-ink);
  font: 400 22px/1 var(--font-sans);
  transition: transform 500ms var(--ease-out), background-color 450ms ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
  background: var(--tide-soft);
}

.faq__item.is-closing summary::after {
  transform: none;
  background: var(--surface-3);
}

.faq__answer {
  padding: 0 24px 22px;
  max-width: 62ch;
  color: var(--ink-2);
}

@media (max-width: 1020px) {
  .hero__wave {
    top: 520px;
    right: -200px;
    width: 720px;
  }
}

@media (max-width: 900px) {
  .site-nav,
  .lang {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    height: 56px;
    margin-top: 12px;
    padding: 0 6px 0 16px;
  }

  .site-nav,
  .lang {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 36px;
  }

  .hero__wave {
    top: 500px;
    right: -210px;
    width: 560px;
  }

  .hero__text {
    padding-top: 0;
  }

  .lead {
    font-size: 16px;
    line-height: 24px;
  }

  .configurator {
    padding: 20px;
    border-radius: 24px;
    gap: 22px;
  }

  .sections {
    gap: 96px;
    padding-block: 96px 80px;
  }

  .period {
    justify-items: start;
  }

  .plans {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding: 4px 16px 12px;
    scrollbar-width: none;
  }

  .plans > .plan {
    flex: 0 0 284px;
    scroll-snap-align: start;
  }

  .map-wrap {
    overflow: hidden;
    height: 210px;
    margin-inline: -16px;
  }

  .map {
    width: 900px;
    height: 247px;
    aspect-ratio: auto;
    left: -440px;
    top: -14px;
  }

  .locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .location {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 10px;
    padding: 12px;
  }

  .location img {
    grid-row: span 2;
    width: 26px;
    height: 26px;
  }

  .location__city {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .location__country {
    display: none;
  }

  .location__ping {
    font-size: 12px;
    line-height: 16px;
    color: var(--ink-3);
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }

  .feature__text {
    font-size: 14px;
    line-height: 20px;
  }
}
