:root {
  color-scheme: dark;
  --bg: #0f0f10;
  --surface: #17171c;
  --surface-2: #202027;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f7f8;
  --muted: rgba(247, 247, 248, 0.68);
  --soft: rgba(247, 247, 248, 0.46);
  --red: #ff174d;
  --cyan: #2dd4bf;
  --green: #86efac;
  --amber: #fbbf24;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(45, 212, 191, 0.12), transparent 30%),
    radial-gradient(circle at 86% 6%, rgba(255, 23, 77, 0.1), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 15, 16, 0.9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  min-width: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: 0 0 auto;
}

.links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  min-width: 0;
}

.links a:hover {
  color: var(--text);
}

.install-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 15px;
  color: #fff;
  background: var(--red);
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 850;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--red), #c91443);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.summary-card,
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.summary-card {
  padding: 18px;
}

.summary-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.summary-card p,
.card p,
.answer p,
li {
  color: var(--muted);
}

section {
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.card {
  padding: 22px;
}

.card.accent {
  border-color: rgba(45, 212, 191, 0.26);
  background: rgba(45, 212, 191, 0.06);
}

ol,
ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.answer {
  border-left: 3px solid var(--cyan);
  padding: 2px 0 2px 16px;
  margin-top: 18px;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 760;
}

.related a strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  font-weight: 740;
}

code {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px 6px;
}

@media (max-width: 860px) {
  .links a:not(.install-link) {
    display: none;
  }

  main,
  .nav-inner,
  .footer {
    width: min(358px, calc(100% - 32px));
    margin-left: 16px;
    margin-right: auto;
  }

  main {
    padding-top: 54px;
  }

  h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 16px;
  }

  .summary-grid,
  .content-grid,
  .related {
    grid-template-columns: 1fr;
  }
}
