:root {
  --ink: #14242c;
  --muted: #4d626c;
  --paper: #f3f6f7;
  --sheet: #ffffff;
  --line: #c5d2d8;
  --teal: #1a6460;
  --teal-deep: #114743;
  --wash: #e5f1ef;
  --stamp: #d9772c;
  --focus: #0b6e91;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Golos Text", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

img { max-width: 100%; }

a { color: var(--teal-deep); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(243, 246, 247, 0.94);
  border-bottom: 1px solid var(--line);
}

.site-header__bar,
.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Unbounded, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav__menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: white;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 36px;
}

.hero h1,
.page-intro h1,
.section h2,
.plan h2,
.sheet h2 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(40px, 5vw, 64px);
}

.lede,
.page-intro p,
.section p,
.plan p,
.faq p {
  max-width: 62ch;
  color: var(--muted);
}

.hero__actions,
.page-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.desk {
  background: var(--sheet);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--wash);
}

.desk__head,
.station,
.company-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
}

.desk__head {
  border-bottom: 1px solid var(--ink);
  font-family: Unbounded, sans-serif;
  font-size: 13px;
}

.station {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.station.is-current {
  background: var(--wash);
  color: var(--ink);
  box-shadow: inset 4px 0 0 var(--teal);
}

.station strong,
.company-row strong { font-weight: 600; }

.section,
.page-intro { padding: 28px 0 8px; }

.section h2,
.page-intro h1 { font-size: clamp(28px, 3vw, 40px); }

.flow {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px 28px;
  margin: 28px 0 12px;
  padding: 0;
  list-style: none;
}

.flow li {
  display: contents;
}

.flow b {
  font-family: Unbounded, sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.live {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 48px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

.scenarios,
.plans,
.split {
  display: grid;
  gap: 18px;
}

.scenarios,
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.scenario,
.plan,
.sheet,
.faq details {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 18px;
}

.plan--main {
  border-color: var(--ink);
  background: var(--wash);
}

.plan__price {
  margin: 14px 0;
  font-family: Unbounded, sans-serif;
  font-size: 32px;
}

.plan ul,
.sheet ul { margin: 12px 0 0; padding-left: 18px; }

.faq { display: grid; gap: 8px; margin: 20px 0 56px; }

.faq summary { cursor: pointer; font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--line);
  padding-bottom: 28px;
}

.site-footer p { color: var(--muted); font-size: 14px; }

.split { grid-template-columns: 280px minmax(0, 1fr); align-items: start; margin-bottom: 48px; }

.filters { display: grid; gap: 12px; }

.filters label { display: grid; gap: 6px; font-size: 15px; }

.filters input,
.filters select {
  min-height: 42px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0 10px;
}

.company-list { display: grid; }

.company-row {
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.company-row:last-child { border-bottom: 0; }

.company-row small { display: block; color: var(--muted); }

.empty-note { padding: 18px; color: var(--muted); }

@media (max-width: 860px) {
  .hero,
  .flow,
  .scenarios,
  .plans,
  .split,
  .desk__head,
  .station,
  .company-row {
    grid-template-columns: 1fr;
  }

  .nav__links { display: none; }

  .nav__menu { display: block; }

  .nav__menu[open] .nav__links {
    display: grid;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    gap: 12px;
    padding: 16px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .hero { padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
