:root {
  color-scheme: light;
  --ink: #15171a;
  --muted: #626872;
  --line: #e7e9ed;
  --soft: #f7f8fa;
  --accent: #1c5cff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 233, 237, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--accent);
  font-size: 40px;
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1;
}

.logo-text {
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.2em;
}

.back {
  color: #454a52;
  font-size: 14px;
  text-decoration: none;
}

.back:hover,
.back:focus-visible {
  color: var(--accent);
}

.hero {
  padding: clamp(70px, 9vw, 126px) 0 clamp(52px, 7vw, 84px);
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 610;
  letter-spacing: -0.06em;
  line-height: 0.99;
  text-wrap: balance;
}

.lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.content {
  padding: clamp(46px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 1.55fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
}

.article {
  max-width: 820px;
}

.article section {
  padding: 0 0 34px;
  border: 0;
}

.article section + section {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

p {
  margin: 0;
}

p + p {
  margin-top: 14px;
}

ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 21px;
}

.details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.details div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  gap: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.details dt {
  color: var(--muted);
}

.details dd {
  margin: 0;
  font-weight: 600;
}

footer {
  background: var(--ink);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  gap: clamp(24px, 4vw, 52px);
  padding: 36px 0 32px;
}

.footer-brand {
  margin: 0;
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 590;
  letter-spacing: -0.045em;
  line-height: 1.04;
  white-space: nowrap;
}

.footer-brand span {
  display: inline;
}

.footer-brand span + span::before {
  content: " ";
}

.footer-title {
  margin: 0 0 16px;
  color: #8fb0ff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 590;
  line-height: 1.45;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #8fb0ff;
}

.footer-bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #32363d;
  color: #989ea8;
  font-size: 12px;
}

.site-version {
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .content-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 28px;
  }

  .logo-text {
    display: none;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 32px, var(--max));
  }

  .details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}
