:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c1f1e;
  --muted: #5b6360;
  --line: #dcded9;
  --accent: #1f6f5c;
  --accent-text: #ffffff;
  --code-bg: #eef0ec;
  --max: 44rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131615;
    --surface: #1b1f1d;
    --text: #e8ebe8;
    --muted: #9aa39f;
    --line: #2d332f;
    --accent: #5fc4a8;
    --accent-text: #0e1211;
    --code-bg: #232826;
  }
}
:root[data-theme="dark"] {
  --bg: #131615;
  --surface: #1b1f1d;
  --text: #e8ebe8;
  --muted: #9aa39f;
  --line: #2d332f;
  --accent: #5fc4a8;
  --accent-text: #0e1211;
  --code-bg: #232826;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-underline-offset: 0.2em; }
header, main, footer { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.5rem; padding-bottom: 1rem; }
.brand { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; letter-spacing: 0.01em; }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.97rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
main { padding-top: 1.5rem; padding-bottom: 3rem; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.35rem; }
.lede { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.5rem; }
code, pre { font: 0.9rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 4px; }
pre { background: var(--code-bg); padding: 0.9rem 1rem; border-radius: 8px; overflow-x: auto; margin: 0 0 1rem; }
pre code { background: none; padding: 0; }
.button { display: inline-block; background: var(--accent); color: var(--accent-text); padding: 0.6rem 1.1rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.note { border-left: 3px solid var(--accent); padding: 0.1rem 0 0.1rem 1rem; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.5rem 0; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
.plan h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.plan .price { font-size: 1.8rem; font-weight: 700; margin: 0; }
.plan .price small { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.plan p { margin: 0.25rem 0 0; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding-top: 1.25rem; padding-bottom: 2.5rem; color: var(--muted); font-size: 0.93rem; }
footer nav { margin-bottom: 0.75rem; }
.updated { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 30rem) { h1 { font-size: 1.7rem; } }
form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem 0.5rem; margin: 0 0 1rem; background: var(--surface); }
form legend { padding: 0 0.4rem; color: var(--muted); font-size: 0.93rem; }
form label.choice { display: block; margin: 0 0 0.4rem; cursor: pointer; }
form label.field { display: block; font-weight: 600; margin: 1.25rem 0 0.35rem; }
form input[type="text"] { width: 100%; max-width: 22rem; font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
form .inline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
form .inline input[type="text"] { flex: 1 1 12rem; width: auto; min-width: 0; }
form .inline button.button { flex: none; white-space: nowrap; }
form input:focus-visible, button.button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button.button { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
button.button:disabled { opacity: 0.5; cursor: not-allowed; }
.status { min-height: 1.65rem; margin: 0.4rem 0 0; color: var(--muted); }
.status.bad { color: #b3261e; }
.status.good { color: var(--accent); }
:root[data-theme="dark"] .status.bad { color: #f2a29b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status.bad { color: #f2a29b; } }
.code { display: block; font-size: 1.15rem; padding: 1rem; word-break: break-all; user-select: all; }
