/* Verso marketing — plain CSS, no build step. Dark on light with one
   green accent; generous whitespace; typography forward. */

:root {
  --ink: #0d1117;
  --ink-soft: #24292f;
  --mute: #57606a;
  --paper: #ffffff;
  --paper-soft: #f6f8fa;
  --rule: #d0d7de;
  --accent: #0a7a3a;
  --accent-soft: #dbf3e4;
  --shadow: 0 1px 3px rgba(13, 17, 23, 0.06);
  --shadow-lift: 0 4px 16px rgba(13, 17, 23, 0.08);
  --radius: 10px;
  --container: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h1 { font-size: 44px; margin: 0 0 18px; }
h2 { font-size: 30px; margin: 0 0 24px; }
h3 { font-size: 20px; margin: 0 0 10px; }

p { margin: 0 0 14px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  background: var(--paper-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
}

/* ── topbar ───────────────────────────────────────────────── */
.topbar {
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.86);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar .brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.topbar nav a {
  margin-left: 24px;
  color: var(--ink-soft);
  font-size: 15px;
}
.topbar nav a:hover { color: var(--accent); text-decoration: none; }
.topbar .cta {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: var(--radius);
}
.topbar .cta:hover { background: var(--accent); color: var(--paper); text-decoration: none; }
.topbar .nav-signin {
  /* Tertiary affordance next to the primary Sign-up CTA. Not
     suppressed on mobile — returning users need a visible entry
     point even when the marketing links collapse. */
  color: var(--ink);
  font-weight: 500;
}
.topbar .nav-signin:hover { color: var(--accent); text-decoration: none; }

/* ── hero ─────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}
.hero h1 {
  font-size: 54px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 880px;
}
.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 12px;
}
.cta-row { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.quiet {
  font-size: 14px;
  color: var(--mute);
  margin-top: 16px;
}

/* ── buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: background 0.14s ease, transform 0.08s ease, box-shadow 0.14s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn.primary { background: var(--accent); color: white; }
.btn.primary:hover { background: #0d8a44; }
.btn.secondary { background: var(--paper); color: var(--ink); border: 1px solid var(--rule); }
.btn.secondary:hover { border-color: var(--ink); }
.btn.big { padding: 16px 28px; font-size: 16px; }

/* ── problem ──────────────────────────────────────────────── */
/* ── standards ────────────────────────────────────────────── */
.standards {
  padding: 80px 0;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--rule);
}
.standards h2 { margin-bottom: 16px; }
.standards .section-lede { max-width: 780px; margin-bottom: 40px; color: var(--ink-soft); font-size: 18px; }
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.standards-grid .standard {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.standards-grid .standard h3 { margin-bottom: 10px; font-size: 18px; }
.standards-grid .standard h3 a { color: var(--ink); }
.standards-grid .standard h3 a:hover { color: var(--accent); text-decoration: none; }
.standards-grid .standard p { color: var(--ink-soft); font-size: 15px; margin: 0; }
/* Cards that are themselves links — the whole rectangle is clickable.
   Strip default anchor styling; promote to a block; add an affordance
   on hover so cursor + border change signal the click target. */
.standards-grid a.standard-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.08s;
  cursor: pointer;
}
.standards-grid a.standard-link:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.standards-grid a.standard-link h3 { color: var(--ink); }
.standards-grid a.standard-link:hover h3 { color: var(--accent); }
@media (max-width: 780px) {
  .standards-grid { grid-template-columns: 1fr; }
}

/* ── integrate (code sample) ──────────────────────────────── */
.integrate {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.integrate h2 { margin-bottom: 16px; }
.integrate .section-lede { max-width: 780px; margin-bottom: 28px; color: var(--ink-soft); font-size: 18px; }
.code-block {
  background: var(--ink);
  color: #e6edf3;
  padding: 22px 26px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: var(--shadow-lift);
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  margin: 0 0 20px;
}
.code-block code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.problem {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.problem h2 { margin-bottom: 40px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}
.card h3 { color: var(--ink); }
.card p { color: var(--ink-soft); margin: 0; }

/* ── how ──────────────────────────────────────────────────── */
.how { padding: 80px 0; background: var(--paper-soft); border-bottom: 1px solid var(--rule); }
.section-lede { font-size: 17px; color: var(--ink-soft); max-width: 680px; margin-bottom: 40px; }

.feature-stack { display: flex; flex-direction: column; gap: 32px; max-width: 780px; }
.feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.feature-icon {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  width: 48px;
  text-align: right;
  line-height: 1.3;
}
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-soft); margin: 0; }

/* ── demos ───────────────────────────────────────────────── */
.demos { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.demos h2 { margin-bottom: 12px; }
.demo-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.demo-card {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}
.demo-card h3 { margin-bottom: 6px; }
.demo-meta {
  font-size: 14px;
  color: var(--mute);
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  margin-bottom: 18px;
}
.demo-card p { color: var(--ink-soft); font-size: 16px; }
.demo-card strong { color: var(--ink); }
.demo-links {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mute);
}
.demo-links a { color: var(--accent); font-weight: 500; }

/* ── who ──────────────────────────────────────────────────── */
.who { padding: 80px 0; background: var(--paper-soft); border-bottom: 1px solid var(--rule); }
.who h2 { margin-bottom: 30px; }
.who-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 780px;
  font-size: 17px;
  color: var(--ink-soft);
}
.who-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.who-list li:last-child { border-bottom: none; }

/* ── pricing ─────────────────────────────────────────────── */
.pricing { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.pricing h2 { margin-bottom: 40px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.price-card {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--accent);
  background: var(--accent-soft);
}
.price-card h3 { margin-bottom: 12px; }
.price {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.price .per {
  font-size: 16px;
  font-weight: 500;
  color: var(--mute);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15px;
  flex: 1;
}
.price-card ul li {
  padding: 8px 0;
  position: relative;
  padding-left: 20px;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-grid-four {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.tier-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.tier-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}

/* ── faq ──────────────────────────────────────────────────── */
.faq { padding: 80px 0; background: var(--paper-soft); border-bottom: 1px solid var(--rule); }
.faq h2 { margin-bottom: 30px; }
details {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
  background: var(--paper);
}
details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  color: var(--mute);
  font-weight: 400;
}
details[open] summary::after { content: "−"; }
details p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ── footer-cta + footer ─────────────────────────────────── */
.footer-cta {
  padding: 96px 0;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
}
.footer-cta h2 { color: var(--paper); margin-bottom: 16px; }
.footer-cta p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 17px; }
.footer-cta .btn.primary { background: var(--accent); }

.footer {
  padding: 32px 0;
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  text-align: center;
}
.footer a { color: rgba(255,255,255,0.8); }
.footer a:hover { color: var(--paper); }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 700px) {
  h1 { font-size: 34px; }
  .hero h1 { font-size: 36px; }
  h2 { font-size: 24px; }
  .hero { padding: 60px 0 48px; }
  .cta-row { flex-direction: column; }
  .btn { width: 100%; }
  .topbar nav a:not(.cta):not(.nav-signin) { display: none; }
  .feature { flex-direction: column; gap: 8px; }
  .feature-icon { text-align: left; }
}
