:root {
  --text: #1f2328;
  --muted: #59636e;
  --line: #e3e6ea;
  --bg-soft: #f6f8fa;
  --accent: #0b6e4f;
  --accent-dark: #08533b;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

a { color: var(--accent); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.top {
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); margin-left: -9px; }
.logo img { display: block; }
nav.links a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav.links a:hover { color: var(--text); }

.hero { padding: 72px 0 48px; text-align: center; }
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  font-size: 16px;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.secondary { background: #fff; color: var(--accent); }
.btn.secondary:hover { background: var(--bg-soft); }
.hero .btn { margin: 4px 6px; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }

section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 24px; text-align: center; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.step {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
  font-size: 14px;
  margin-bottom: 10px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.shot {
  aspect-ratio: 16 / 10;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  background: var(--bg-soft);
  text-align: center;
  padding: 12px;
}

.table-scroll { overflow-x: auto; }
table.plans {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 16px;
}
.plans th, .plans td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.plans thead th { background: var(--bg-soft); font-size: 18px; }
.plans thead th small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.plans tr:last-child td { border-bottom: none; }
.plans td:first-child { color: var(--muted); }

.waitlist { text-align: center; }
.waitlist p { color: var(--muted); max-width: 560px; margin: 0 auto 20px; }
.waitlist form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}
.waitlist input[type=email] {
  flex: 1 1 240px;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #c9ced4;
  border-radius: 8px;
}
.hidden-field { position: absolute; left: -9999px; }

.legal h1 { font-size: 34px; letter-spacing: -0.02em; margin: 48px 0 4px; }
.legal h2 { font-size: 22px; text-align: left; margin: 32px 0 8px; }
.legal .updated { color: var(--muted); margin-bottom: 24px; }
.legal li { margin-bottom: 6px; }
.legal code { background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; font-size: 14px; word-break: break-word; }
.legal blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--accent); background: var(--bg-soft); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  nav.links a { margin-left: 12px; }
  .hero { padding: 48px 0 32px; }
  section { padding: 40px 0; }
}

/* Backfillab additions */
.answer { font-size: 19px; background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.article h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.2; letter-spacing: -0.02em; margin: 48px 0 8px; }
.article h2 { text-align: left; font-size: 26px; margin: 48px 0 16px; }
.article h3 { font-size: 19px; margin: 24px 0 8px; }
.article .updated { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.article ol li, .article ul li { margin-bottom: 8px; }
.article pre { background: #0d1117; color: #e6edf3; padding: 14px 16px; border-radius: 8px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.article code { background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; font-size: 15px; }
.article pre code { background: none; padding: 0; color: inherit; }
.plans td, .plans th { vertical-align: top; }
.plans td:first-child { color: var(--text); font-weight: 600; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: #e6f4ee; color: var(--accent-dark); border-radius: 4px; padding: 1px 6px; vertical-align: middle; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq details p { margin: 10px 0 0; }
.cta { text-align: center; background: var(--bg-soft); border-radius: var(--radius); padding: 28px 20px; margin: 48px 0; }
.cta p { margin: 0 0 12px; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.app-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: flex; flex-direction: column; }
.app-card h3 { margin: 0 0 4px; font-size: 22px; }
.app-card .for { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.app-card p { flex: 1; }
.app-card .btn { align-self: flex-start; }
.disclaimer { font-size: 13px; color: var(--muted); }
