:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "PingFang SC", sans-serif;
  color: #191a21;
  background: #fafbfe;
  --line: #dddfea;
  --body: #4e5567;
  --accent: #4238a6;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #6f64de; outline-offset: 5px; }
.wrap { width: min(1112px, calc(100% - 48px)); margin-inline: auto; }

.header, .footer { display: flex; align-items: center; gap: 18px; }
.header { justify-content: space-between; height: 78px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 750; text-decoration: none; }
.brand img { object-fit: contain; }
nav { display: flex; gap: 22px; color: var(--body); font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding-block: clamp(65px, 11vw, 134px) clamp(56px, 8vw, 103px);
}

h1 { margin: 0; font-size: clamp(44px, 7vw, 82px); font-weight: 775; line-height: 1.08; letter-spacing: -.07em; }
.hero p { max-width: 22em; margin: 24px 0; }
p { color: var(--body); line-height: 1.7; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.button:hover { background: #362e89; }

.example {
  min-width: 0;
  margin: 0;
  padding: 22px 25px 28px;
  border: 1px solid #2f3246;
  border-radius: 15px;
  background: #171923;
  color: #e2e5f0;
}
.example figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #3a3e54;
  color: #c2c6d7;
  font-size: 13px;
}
pre { margin: 20px 0 0; overflow-x: auto; line-height: 1.6; font-size: 14px; }
code { font-family: ui-monospace, Menlo, monospace; }
code b { color: #ac9bff; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.features article { padding: 24px 22px; }
.features article + article { border-left: 1px solid var(--line); }
h2 { margin: 0; font-size: 18px; }
.features p { margin: 9px 0 0; font-size: 14px; }
.footer { min-height: 99px; flex-wrap: wrap; padding-block: 24px; color: var(--body); font-size: 13px; }
.footer span { margin-right: auto; }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: 1fr; }
  .features article + article { border-left: 0; border-top: 1px solid var(--line); }
}
