:root {
  --t-ink: #141a24;
  --t-body: #464f5e;
  --t-muted: #6f7887;
  --t-line: #dfe3ea;
  --t-tint: #f7f8fa;
  --t-blue: #3d5afe;
  --t-blue-dim: #2a41cc;
  --t-ok: #16875a;
  --t-warn: #a8720c;
  --t-bad: #b4342b;
  --t-sec: 66px;
  --t-head: 28px;
  --t-card: 24px;
  --t-nav: 64px;
}

body {
  margin: 0;
  color: var(--t-body);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: #fff;
}

.mono, .badge-s, .reg .mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--t-nav);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--t-line);
}
.site-head .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--t-ink);
  text-decoration: none;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 8px 11px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--t-body);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--t-blue);
}
.site-nav a.active {
  color: var(--t-blue);
  background: rgba(61, 90, 254, 0.09);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--t-line);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--t-ink);
  border-radius: 2px;
}

.kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9db0ff;
}
.kicker--ink {
  color: var(--t-blue);
}

.hero {
  position: relative;
  padding-top: 66px;
  padding-bottom: 58px;
  overflow: hidden;
  background: var(--t-ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 26, 36, 0.95) 0%, rgba(20, 26, 36, 0.86) 46%, rgba(20, 26, 36, 0.44) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero-title {
  margin: 13px 0 15px 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: #fff;
}
.hero-lead {
  max-width: 62ch;
  font-size: 1.01rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding-top: var(--t-sec);
  padding-bottom: var(--t-sec);
  background: #fff;
}
.section-tint {
  background: var(--t-tint);
}

.head {
  margin-bottom: var(--t-head);
}
.head-title {
  font-size: clamp(1.3rem, 2.1vw, 1.72rem);
  line-height: 1.28;
  letter-spacing: -0.022em;
  font-weight: 800;
  color: var(--t-ink);
}
.head .kicker + .head-title {
  margin-top: 8px;
}

.lede {
  font-size: 1.01rem;
  line-height: 1.74;
  color: var(--t-body);
  margin: 0;
}
.lede + .lede {
  margin-top: 16px;
}

.fig {
  width: 100%;
  height: 100%;
  min-height: 210px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
.row.align-items-center:has(> [class*="col-"] > .fig) {
  align-items: stretch !important;
}
.row:has(> [class*="col-"] > .fig) > [class*="col-"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.row:has(> [class*="col-"] > .fig) > [class*="col-"] > .fig {
  flex: 1 1 auto;
}

.note {
  margin: var(--t-head) 0 0 0;
  padding: 15px 19px;
  background: var(--t-tint);
  border-left: 3px solid var(--t-blue);
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--t-body);
}
.section-tint .note {
  background: #fff;
}

.tile {
  display: flex;
  flex-direction: column;
  padding: var(--t-card);
  background: #fff;
  border: 1px solid var(--t-line);
  border-radius: 8px;
}
.tile-title {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.012em;
  color: var(--t-ink);
}
.tile-text {
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--t-muted);
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--t-line);
  border-radius: 8px;
}
.reg {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.reg th,
.reg td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--t-line);
}
.reg thead th {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-ink);
  background: var(--t-tint);
  white-space: nowrap;
}
.reg tbody th {
  font-weight: 700;
  color: var(--t-ink);
}
.reg tbody tr:last-child th,
.reg tbody tr:last-child td {
  border-bottom: 0;
}
.reg .mono {
  font-size: 0.88rem;
  color: var(--t-muted);
  white-space: nowrap;
}
.badge-s {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
}
.badge--ok {
  background: rgba(22, 135, 90, 0.12);
  color: var(--t-ok);
}
.badge--warn {
  background: rgba(168, 114, 12, 0.13);
  color: var(--t-warn);
}
.badge--bad {
  background: rgba(180, 52, 43, 0.12);
  color: var(--t-bad);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px var(--t-card);
  background: #fff;
  border: 1px solid var(--t-line);
  border-radius: 8px;
}
.step + .step {
  margin-top: 12px;
}
.step-n {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(61, 90, 254, 0.1);
  color: var(--t-blue);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
}
.step-body {
  min-width: 0;
}

.kv-list {
  background: #fff;
  border: 1px solid var(--t-line);
  border-radius: 8px;
  overflow: hidden;
}
.kv {
  display: grid;
  grid-template-columns: minmax(120px, 11rem) 1fr;
  gap: 6px 18px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--t-line);
}
.kv:last-child {
  border-bottom: 0;
}
.kv-k {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--t-ink);
}
.kv-v {
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--t-muted);
}

.cta {
  padding-top: 52px;
  padding-bottom: 52px;
  background: var(--t-blue);
}
.cta-title {
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 12px;
}
.cta-text {
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.86);
}
.cta-mail {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding-bottom: 4px;
}
.cta-mail:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.cta-place {
  display: block;
  margin-top: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.site-foot {
  padding-top: 42px;
  padding-bottom: 22px;
  background: #fff;
  border-top: 1px solid var(--t-line);
}
.foot-brand {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--t-ink);
}
.foot-tag {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--t-muted);
}
.foot-k {
  display: block;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.foot-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links li + li {
  margin-top: 7px;
}
.foot-links a,
.foot-links span {
  font-size: 0.9rem;
  color: var(--t-body);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--t-blue);
}
.foot-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--t-line);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--t-muted);
}

@media (max-width: 1199.98px) {
  .site-nav a {
    padding: 8px 8px;
    font-size: 0.83rem;
  }
}

@media (max-width: 991.98px) {
  :root {
    --t-sec: 44px;
    --t-head: 22px;
    --t-card: 20px;
  }
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--t-nav);
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--t-line);
    box-shadow: 0 12px 24px rgba(20, 26, 36, 0.08);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 12px 12px;
  }
  .site-nav a {
    padding: 11px 12px;
    font-size: 0.92rem;
  }
  .hero {
    padding-top: 46px;
    padding-bottom: 40px;
  }
  .hero-veil {
    background: rgba(20, 26, 36, 0.93);
  }
  .row:has(> [class*="col-"] > .fig) > [class*="col-"] {
    display: block;
  }
  .fig {
    height: auto;
    aspect-ratio: 3 / 2;
    min-height: 0;
  }
  .kv {
    grid-template-columns: 1fr;
  }
}
