:root {
  --bg: #f6f1e4;
  --surface: #fffdf7;
  --ink: #17221a;
  --muted: #56645a;
  --line: #e2dccb;
  --leaf: #3f5530;
  --pear: #d3e5a2;
  --accent: #3f5530;
  --accent-ink: #f6f1e4;
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111612;
    --surface: #182019;
    --ink: #eef0e6;
    --muted: #a3ad9f;
    --line: #2a352c;
    --accent: #d3e5a2;
    --accent-ink: #17221a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 20px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.buy {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 17px; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
}
.buy:hover { filter: brightness(1.08); }
.buy[aria-disabled="true"] { opacity: .55; cursor: default; filter: none; }
.cta small { color: var(--muted); font-size: 14px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.shot img { border-radius: 12px; }

p.more { margin: 22px 0 0; font-size: 16px; color: var(--muted); }
a.guide { text-decoration: none; display: block; }
a.guide:hover { border-color: var(--accent); }
.grid.guides { grid-template-columns: repeat(2, 1fr); }

/* sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split + .split { margin-top: 48px; }
kbd { font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
ul.ticks { padding: 0; margin: 0; list-style: none; }
ul.ticks li { padding-left: 26px; position: relative; margin: 8px 0; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) ul.ticks li::before { background: var(--pear); } }

/* pricing */
.price-card { max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.price { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 6px 0 4px; }
.price span { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .buy { margin-top: 22px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; 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; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 46em; }

footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
footer a { color: var(--muted); }

/* prose pages */
.prose { max-width: 720px; padding: 32px 0 64px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); }
.prose h2 { font-size: 24px; margin-top: 32px; }
.prose p, .prose li { color: var(--muted); }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 24px; }
  .grid, .grid.guides { grid-template-columns: 1fr; }
  .top nav a.hide-sm { display: none; }
}
