:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f0f4f8;
  --text: #16202a;
  --muted: #596675;
  --line: #d9e1ea;
  --brand: #0b4f6c;
  --brand-strong: #07384e;
  --accent: #b72f45;
  --code-bg: #101820;
  --code-text: #e7eef5;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 14px 20px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
}

.brand img {
  height: 34px;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.button {
  align-items: center;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
}

.button:hover {
  background: var(--brand-strong);
  color: #fff;
  text-decoration: none;
}

.button.secondary {
  background: var(--surface);
  color: var(--brand);
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 62px 20px 56px;
}

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 760px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 20px 0 0;
  max-width: 720px;
}

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

.hero-panel {
  align-self: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.hero-panel img {
  display: block;
  height: 92px;
  margin-bottom: 18px;
  width: 92px;
}

.stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.stat strong {
  display: block;
  font-size: 22px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 48px 20px;
}

.section > p {
  color: var(--muted);
  max-width: 760px;
}

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

.item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.item p {
  color: var(--muted);
  margin-bottom: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: 42px 1fr;
  padding: 18px;
}

.step::before {
  align-items: center;
  background: var(--brand);
  border-radius: 50%;
  color: white;
  content: counter(step);
  counter-increment: step;
  display: flex;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.code-block {
  background: var(--code-bg);
  border-radius: 8px;
  color: var(--code-text);
  margin-top: 18px;
  overflow-x: auto;
  padding: 18px;
}

code,
pre {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  color: var(--muted);
  margin-bottom: 0;
}

.notice {
  background: #fff7e8;
  border: 1px solid #f0d4a4;
  border-radius: 8px;
  color: #6a4a16;
  margin-top: 24px;
  padding: 16px 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 30px 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-inner,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}
