:root {
  --bg: #f7f8f9;
  --fg: #17181a;
  --muted: #5f6874;
  --card: #ffffff;
  --border: #e4e7eb;
  --code-bg: #141518;
  --code-fg: #e8eaed;
  --accent: #0f9d6e;
  --accent-soft: rgba(15, 157, 110, 0.12);
  --shadow: 0 18px 40px rgba(15, 20, 30, 0.08);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11;
    --fg: #f2f3f5;
    --muted: #9aa2ad;
    --card: #17181b;
    --border: #2a2c31;
    --code-bg: #1c1d21;
    --code-fg: #e8eaed;
    --accent: #35c793;
    --accent-soft: rgba(53, 199, 147, 0.14);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "PingFang SC", "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 24px 40px;
}

a { color: inherit; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 6px;
}

.hero { text-align: center; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.glyph {
  width: 40px;
  height: 40px;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
}

.tagline {
  margin: 22px 0 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sub {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

.shot { margin: 56px 0 0; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

section { margin-top: 72px; }

section h2 {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.features,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.features { margin-top: 56px; }

.faq-grid { margin-top: 18px; }

.features article,
.faq-grid article {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.features h3,
.faq-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.features p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq-grid h3 { line-height: 1.45; }

.compare {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow-x: auto;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.compare thead th {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.compare tbody tr:last-child td { border-bottom: 0; }

.compare td:first-child { color: var(--muted); width: 52%; }

.why {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.why li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.why li strong { color: var(--fg); }

.why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.code {
  position: relative;
  margin: 20px 0 0;
}

.code pre {
  margin: 0;
  padding: 18px 88px 18px 20px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--code-bg);
  color: var(--code-fg);
}

.code code {
  background: none;
  padding: 0;
  font-size: 14px;
}

.code button {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--code-fg);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.code button:hover { background: rgba(255, 255, 255, 0.1); }

.hint { color: var(--muted); font-size: 15px; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 40px 24px 56px;
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--muted); }

@media (max-width: 720px) {
  main { padding-top: 60px; }
  .features, .faq-grid, .why { grid-template-columns: 1fr; }
  .glyph { width: 30px; height: 30px; }
  .compare th, .compare td { padding: 11px 14px; }
}