:root,
[data-theme="light"] {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --surface-2: #f0efec;
  --text: #1a1a1a;
  --muted: #6e6e6e;
  --accent: #2d6b22;
  --border: #e2e0db;
  --code: #eceae5;
}

[data-theme="dark"] {
  --bg: #0c0c0c;
  --surface: #161616;
  --surface-2: #1e1e1e;
  --text: #e8e8e3;
  --muted: #949494;
  --accent: #c4f042;
  --border: #2a2a2a;
  --code: #101010;
}

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

html {
  color-scheme: light dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.topbar a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.topbar a:hover,
.topbar a:focus-visible {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 32px 88px;
}

.hero {
  padding: 52px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 820px;
}

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

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}

.button.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.button.secondary {
  color: var(--text);
  background: transparent;
}

.proof-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.proof-panel h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.proof-list li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.proof-list li:first-child {
  border-top: 0;
}

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

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

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

h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

p {
  color: var(--muted);
}

.section-intro {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: 17px;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.step,
.compare-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.card p,
.step p,
.compare-row p {
  margin: 0;
  font-size: 14px;
}

.card h3 + p,
.step h3 + p,
.compare-row h3 + p {
  margin-top: 8px;
}

.label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

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

code,
pre {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--text);
  background: var(--surface-2);
}

td {
  color: var(--muted);
}

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

.faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px 18px;
  margin-top: 10px;
}

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

.faq p {
  margin-bottom: 0;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .topbar,
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
