:root {
  color-scheme: dark;
  --bg: #0f1115;
  --panel: #171a21;
  --panel-soft: #111318;
  --text: #eef2f7;
  --muted: #b4b4b4;
  --accent: #10a37f;
  --accent-soft: rgba(16, 163, 127, 0.12);
  --border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: #7ce7cf; }

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

header {
  background: #141414;
  border-bottom: 1px solid var(--border);
}

header .wrap,
footer .wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; border-radius: 11px; }

nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--text); }

main { padding: 54px 0 72px; }

.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: #7ce7cf; }

.hero,
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.hero { padding: clamp(28px, 6vw, 60px); }
.hero .eyebrow { color: #7ce7cf; font-weight: 750; }

h1 {
  max-width: 850px;
  margin: 10px 0 18px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 { margin: 0 0 12px; font-size: clamp(25px, 4vw, 34px); line-height: 1.2; }
h3 { margin: 0 0 8px; font-size: 20px; }
p { margin: 0 0 16px; }
.lead { max-width: 780px; color: var(--muted); font-size: clamp(18px, 2.5vw, 22px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.button.secondary { background: transparent; border: 1px solid var(--border); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.panel { padding: 26px; }
.panel p { color: var(--muted); }
.section { margin-top: 48px; }
.section > p { max-width: 820px; color: var(--muted); }

.article-body { max-width: 820px; }
.article-body h2 { margin-top: 42px; }
.article-body h3 { margin-top: 28px; }
.article-body p,
.article-body li { color: var(--muted); }
.article-body strong { color: var(--text); }
.article-body ul,
.article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 10px; }
.summary {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--accent-soft);
}
.summary p:last-child { margin-bottom: 0; }
.faq { margin-top: 26px; display: grid; gap: 14px; }
.faq details {
  padding: 18px 20px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.faq summary { cursor: pointer; color: var(--text); font-weight: 750; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.steps { counter-reset: step; display: grid; gap: 14px; margin: 22px 0 0; padding: 0; }
.steps li {
  list-style: none;
  position: relative;
  padding: 18px 18px 18px 64px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #7ce7cf;
  font-weight: 850;
}

.callout {
  margin-top: 48px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(16, 163, 127, 0.45);
  border-radius: 22px;
  background: var(--accent-soft);
}

footer { border-top: 1px solid var(--border); color: var(--muted); }
footer a { text-decoration: none; }

@media (max-width: 760px) {
  header .wrap, footer .wrap { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .grid { grid-template-columns: 1fr; }
  main { padding-top: 30px; }
}
