:root {
  color-scheme: dark;
  --bg: #0c0f14;
  --panel: #141922;
  --text: #eef2f7;
  --muted: #aab6c7;
  --line: #2c3543;
  --accent: #8fb8ff;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  color: #c3d8ff;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
header,
main,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
nav a {
  color: var(--muted);
}
.brand {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 24px;
  color: var(--text);
  text-decoration: none;
}
.brand span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.button {
  display: inline-block;
  background: #3165e9;
  color: #fff;
  padding: 14px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
}
.button:hover {
  color: #fff;
  background: #4879ee;
}
.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.breadcrumbs {
  font-size: 13px;
  gap: 10px;
  margin: 8px 0 36px;
  line-height: 1.6;
}
.intro {
  padding: 24px 0 56px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 900px;
  margin: 20px 0 24px;
}
h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 20px;
}
.lead {
  font-size: 21px;
  max-width: 800px;
  color: var(--muted);
  line-height: 1.6;
}
.text-link {
  display: inline-block;
  margin: 20px;
}
.content-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  max-width: 900px;
}
p,
li {
  font-size: 17px;
  line-height: 1.75;
}
li {
  margin-bottom: 12px;
}
p {
  color: #c9d2de;
}
.steps {
  padding-left: 24px;
}
.steps h3 {
  margin-bottom: 6px;
}
.steps p {
  margin-top: 0;
}
figure {
  margin: 24px 0;
}
figure img {
  display: block;
  width: min(100%, 540px);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}
details p {
  max-width: 780px;
}
.closing {
  background: var(--panel);
  padding: 32px;
  margin: 40px 0;
  border-radius: 16px;
}
footer {
  border-top: 1px solid var(--line);
  padding-bottom: 48px;
}
footer nav {
  margin: 24px 0;
}
footer p {
  font-size: 13px;
  max-width: 800px;
  color: var(--muted);
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
}
.skip:focus {
  top: 10px;
  background: var(--bg);
  padding: 12px;
  z-index: 2;
}
@media (max-width: 640px) {
  header {
    flex-wrap: wrap;
    gap: 18px;
  }
  header nav {
    order: 3;
    width: 100%;
    font-size: 15px;
  }
  header,
  main,
  footer {
    padding: 20px;
  }
  .intro {
    padding-top: 0;
  }
  .lead {
    font-size: 18px;
  }
  .text-link {
    margin-left: 0;
    display: block;
  }
  h1 {
    overflow-wrap: break-word;
  }
  .closing {
    padding: 24px;
  }
  .breadcrumbs {
    margin-bottom: 24px;
  }
  nav {
    gap: 14px;
  }
}
