:root {
  --bg: #f6f7f5; --surface: #fff; --ink: #17201d; --muted: #56625d; --line: #d9dfdb;
  --accent: #0f6b5c; --accent-soft: #e2f0ec; --bad: #a3261b; --good: #2c6e2f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121715; --surface: #1a211e; --ink: #e6ece9; --muted: #9eaba5; --line: #2e3833;
    --accent: #5cc4ae; --accent-soft: #183530; --bad: #f08a80; --good: #8fd18f; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 640px; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-direction: column; gap: 24px; }
.brand { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0; }
h1 { font-size: 30px; line-height: 1.15; margin: 6px 0 8px; }
.lead { color: var(--muted); margin: 0; }
form { display: flex; flex-direction: column; gap: 20px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
legend { font-weight: 700; padding: 0 6px; }
.toggle, .choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.save { font-size: 12px; font-weight: 700; color: var(--good); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.plan { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; }
.plan:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.plan-price { font-variant-numeric: tabular-nums; color: var(--muted); }
.field-label { font-size: 14px; color: var(--muted); }
input[type=email], #name { font: inherit; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.name-row { display: flex; align-items: center; gap: 6px; }
.name-row #name { flex: 1; min-width: 0; }
.suffix { color: var(--muted); white-space: nowrap; font-size: 14px; }
.help { font-size: 14px; color: var(--muted); margin: 0; }
.status { font-size: 14px; margin: 0; min-height: 1.4em; }
.status.ok { color: var(--good); } .status.bad, .error { color: var(--bad); }
.error { margin: 0; }
.note { background: var(--accent-soft); border-radius: 8px; padding: 10px 14px; margin: 0; }
button { font: inherit; font-weight: 700; padding: 12px 18px; border-radius: 8px; border: 0; background: var(--accent); color: var(--surface); cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.progress { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.progress .done { color: var(--good); } .progress .done::after { content: " ✓"; }
.progress .current { color: var(--ink); font-weight: 700; }

/* The 12-month commitment's terms, next to the button: body text size, not small print. */
.terms { font-size: 15px; line-height: 1.5; margin: 0 0 14px; padding: 12px 14px; border-left: 4px solid var(--accent); background: var(--accent-soft); }
