:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --ink: #0f172a;
  --ink-muted: #475569;
  --line: #e2e8f0;
  --accent: #0f766e;
  --accent-dark: #0d5e58;
  --accent-soft: #ccfbf1;
  --danger: #b91c1c;
  --max: 1120px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: "JetBrains Mono", "Consolas", "SF Mono", monospace;
  font-size: 0.92em;
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
}
pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 12px 0;
}
pre code { background: transparent; padding: 0; color: inherit; font-size: 13px; line-height: 1.55; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.4em; color: var(--ink); }
h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 18px; }
h3 { font-size: 18px; font-weight: 700; }

.muted { color: var(--ink-muted); }
.small { font-size: 13px; }

/* topbar */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}
.brand:hover { text-decoration: none; }
.logo { width: 28px; height: 28px; }
.brand b { color: var(--accent); }

.topbar nav { display: flex; gap: 20px; }
.topbar nav a { color: var(--ink-muted); font-size: 14px; }
.topbar nav a:hover { color: var(--accent-dark); text-decoration: none; }

/* hero */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.lead { font-size: 17px; color: var(--ink-muted); margin: 12px 0 24px; max-width: 60ch; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.1s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-alt); }

.hero-card h3 { margin-top: 0; color: var(--accent-dark); }

/* sections */
.section { padding: 56px 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* cards & grids */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card .ico { font-size: 28px; margin-bottom: 8px; }

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

/* lists */
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li {
  position: relative;
  padding: 6px 0 6px 26px;
  border-bottom: 1px dashed var(--line);
}
ul.check li:last-child { border-bottom: 0; }
ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
  font-weight: 800;
}

ol.numbered { padding-left: 22px; }
ol.numbered li { margin-bottom: 10px; }

/* install steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin-top: 24px; }
.steps > li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 20px 68px;
  margin-bottom: 14px;
  position: relative;
  box-shadow: var(--shadow);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.steps > li h3 { margin-top: 0; }

/* faq */
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 2px 0;
  position: relative;
  padding-right: 24px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
}
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 2px; color: var(--ink-muted); }

/* footer */
footer { padding: 32px 0; border-top: 1px solid var(--line); background: var(--surface); }
.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-muted);
}

/* mobile */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .topbar nav { display: none; }
  .hero { padding: 36px 0 28px; }
  .section { padding: 36px 0; }
}
