:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --code-bg: #f1f5f9;
  --max: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

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

.header-inner {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 1.75rem;
  width: auto;
  max-width: 7.5rem;
  display: block;
  border-radius: 6px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.875rem;
}

.nav a {
  color: var(--muted);
}

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

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero .tagline {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero p.lead {
  margin: 0 0 1.5rem;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--muted);
  text-decoration: none;
}

section {
  margin-bottom: 2.75rem;
}

section h2 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

section p {
  margin: 0 0 1rem;
  color: var(--muted);
}

section p:last-child {
  margin-bottom: 0;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.steps li {
  margin-bottom: 0.65rem;
}

.steps strong {
  color: var(--text);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.feature-list li {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list li strong {
  display: block;
  color: var(--text);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.code-block {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  overflow-x: auto;
  color: var(--text);
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq details p {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 0.5rem;
}

@media (min-width: 640px) {
  main {
    padding-top: 3rem;
  }
}
