:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-2: #f1f5ec;
  --text: #17241a;
  --muted: #56685a;
  --line: #e1e8da;
  --brand: #166534;
  --brand-2: #15803d;
  --accent: #65a30d;
  --on-brand: #f0fdf4;
  --callout-bg: #166534;
  --callout-text: #f0fdf4;
  --lawn-1: #4d7c0f;
  --lawn-2: #5b8f14;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(20 40 20 / 6%), 0 12px 32px rgb(20 40 20 / 10%);
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1410;
    --surface: #141c16;
    --surface-2: #19241b;
    --text: #e5eee6;
    --muted: #9bb0a0;
    --line: #243026;
    --brand: #4ade80;
    --brand-2: #22c55e;
    --accent: #a3e635;
    --on-brand: #052e16;
    --callout-bg: #14532d;
    --callout-text: #ecfdf5;
    --lawn-1: #365314;
    --lawn-2: #3f6212;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 35%);
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-2); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--surface); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { left: 16px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--brand-2); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

@media (max-width: 760px) {
  .nav { display: none; }
  .site-header .pill { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-2); color: var(--on-brand); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Example quote card */
.quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 18px; max-width: 420px; justify-self: center; width: 100%;
}
.quote-card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.quote-card .qid { font-weight: 700; }
.quote-card .meta { font-size: 0.8rem; color: var(--muted); }
.aerial {
  position: relative; height: 170px; border-radius: 14px; overflow: hidden; margin-bottom: 14px;
  background: repeating-linear-gradient(135deg, var(--lawn-1) 0 22px, var(--lawn-2) 22px 44px);
}
.aerial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aerial .tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgb(255 255 255 / 92%); color: #17241a;
  font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.lines { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.lines li span:last-child { font-variant-numeric: tabular-nums; }
.lines .sub { color: var(--muted); font-size: 0.82rem; display: block; }
.total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.total strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.send { background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 0.9rem; padding: 9px 14px; border-radius: 10px; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.alt { background: var(--surface-2); border-block: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: var(--brand); color: var(--on-brand); font-weight: 700;
}
.steps p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 4px 0; }
.feature svg { width: 28px; height: 28px; stroke: var(--brand-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .steps, .features { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.featured { border-color: var(--brand-2); box-shadow: var(--shadow); }
.plan .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { padding-left: 1.1em; margin: 16px 0 0; color: var(--muted); }
.plan li { margin: 6px 0; }
.beta-note { margin-top: 24px; color: var(--muted); }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* Beta callout */
.callout {
  background: var(--callout-bg); color: var(--callout-text); border-radius: 22px; padding: 44px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.callout h2 { color: inherit; }
.callout p { opacity: 0.9; margin: 0; }
.callout .when { background: rgb(255 255 255 / 12%); border-radius: var(--radius); padding: 20px 24px; }
.callout .when strong { display: block; font-size: 1.4rem; }
@media (max-width: 800px) { .callout { grid-template-columns: 1fr; padding: 32px 24px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Plain pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 720px; }
.page h2 { font-size: 1.3rem; margin-top: 2em; }
.page p, .page li { color: var(--muted); }
.page .updated { font-size: 0.9rem; }

.center { text-align: center; }
.not-found { padding: 120px 0; }
.not-found p { color: var(--muted); margin-bottom: 28px; }
