:root { color-scheme: light dark; --volt:#C8F53B; --ink:#0F1216; --bg:#F5F6F1; --card:#fff; --text:#0F1216; --muted:#5B6168; --line:#E6E8E1; --accent:#3F5A00; --soft:#EEF7D2; }
@media (prefers-color-scheme: dark) { :root { --bg:#0B0D10; --card:#171A1F; --text:#F2F4EE; --muted:#A3A9B0; --line:#252A31; --accent:#C8F53B; --soft:#1C2410; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin:0; background:var(--bg); color:var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; overflow-wrap: break-word; }
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
main.wide { max-width: 1040px; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header { display:flex; align-items:center; gap:12px; margin-bottom: 32px; }
header .brand { display:flex; align-items:center; gap:10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 20px; }
header .brand img { width:36px; height:36px; border-radius:9px; }
header nav { margin-left:auto; display:flex; gap:16px; font-size:15px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover { color: var(--text); }

h1 { font: 800 40px/1.1 ui-rounded, -apple-system, system-ui, sans-serif; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 32px 0 8px; line-height: 1.25; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.card { background: var(--card); border:1px solid var(--line); border-radius: 22px; padding: 20px; margin: 16px 0; }
.button { display:inline-block; background:var(--volt); color:var(--ink); font-weight:700; padding:14px 22px; border-radius:999px; text-decoration:none; }
.button:hover { filter: brightness(0.96); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.code { font: 800 44px/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: 0.12em; }
.hl { color: var(--accent); }

/* Footer */
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
footer a { margin-right: 16px; }
footer p { margin: 8px 0 0; }

/* Forms */
label { display:block; font-weight:600; margin: 12px 0 6px; }
input, select, textarea { width:100%; font: inherit; color: var(--text); background: var(--bg); border:1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
form .button { border: 0; cursor: pointer; margin-top: 16px; font: inherit; font-weight: 700; }

/* Landing page */
.hero { display:grid; gap: 32px; align-items:center; margin-bottom: 40px; }
.hero h1 { font-size: clamp(40px, 9vw, 64px); line-height: 1.02; margin-bottom: 16px; }
.hero .lede { font-size: 19px; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.cta { display:flex; flex-wrap:wrap; gap: 12px; align-items:center; }
.cta-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.shot { width: 100%; max-width: 300px; margin: 0 auto; border-radius: 28px; box-shadow: 0 20px 50px rgba(15,18,22,.18); background: var(--ink); aspect-ratio: 1320 / 2868; }
.pills { list-style:none; padding:0; margin: 24px 0 0; display:flex; flex-wrap:wrap; gap:8px; font-size:14px; }
.pills li { border:1px solid var(--line); background: var(--card); border-radius:999px; padding: 4px 12px; color: var(--muted); }

.section { padding: 40px 0; border-top: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.section h2 { font: 800 30px/1.15 ui-rounded, -apple-system, system-ui, sans-serif; letter-spacing: -0.01em; margin: 0 0 12px; }
.feature { display:grid; gap: 28px; align-items:center; }
.feature p { margin: 0 0 12px; }
.feature ul { padding-left: 1.2em; margin: 0; }
.feature li { margin: 4px 0; }

.grid { display:grid; gap: 16px; margin-top: 20px; }
.grid .card { margin: 0; }
.grid .card strong { display:block; margin-bottom: 4px; }

.formula { font: 700 18px/1.5 ui-rounded, -apple-system, system-ui, sans-serif; background: var(--soft); border-radius: 18px; padding: 16px 18px; margin: 16px 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.plans { display:grid; gap: 16px; margin-top: 20px; }
.plans .card { margin: 0; }
.plans h3 { margin: 0 0 4px; font-size: 20px; }
.plans ul { padding-left: 1.2em; margin: 8px 0 0; }
.plans .pro { border-color: var(--accent); }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display:flex; justify-content:space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 8px 0 0; color: var(--muted); }

.final { text-align:center; padding: 48px 20px; background: var(--ink); color: #F2F4EE; border-radius: 28px; margin-top: 16px; }
.final h2 { color: #F2F4EE; margin-bottom: 8px; }
.final p { color: #A3A9B0; margin: 0 0 20px; }
.final img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 16px; }
@media (prefers-color-scheme: dark) { .final { background: var(--card); border: 1px solid var(--line); } }

@media (min-width: 760px) {
  main { padding-top: 32px; }
  .hero { grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 16px; }
  .shot { max-width: 320px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature.flip > :first-child { order: 2; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .section h2 { font-size: 36px; }
}
@media (max-width: 420px) { header nav { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
