:root {
  --accent: #2f5bea; --ink: #14171f; --soft: #525a6b; --line: #e3e6ee; --bg: #ffffff; --band: #f6f7fb;
  --card: #ffffff; --danger: #c0352b; --ok: #1d7a46; --radius: 12px; --shadow: 0 1px 2px rgba(20, 23, 31, .06), 0 8px 28px rgba(20, 23, 31, .08);
  color-scheme: light dark;
}
:root[data-theme=light] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) { --ink: #eef0f6; --soft: #a9b0c0; --line: #2a2f3c; --bg: #0f1218; --band: #151923; --card: #181d28;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px rgba(0, 0, 0, .35); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 750; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.2em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--band); padding: .1em .35em; border-radius: 6px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.mark svg { display: block; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .95rem; }
nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
nav a, nav .link { color: var(--soft); text-decoration: none; font-size: .95rem; }
nav a:hover, nav .link:hover { color: var(--ink); }
.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.button { display: inline-block; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 10px;
  padding: 11px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: filter .15s, transform .05s; }
.button:hover { filter: brightness(1.08); }
.button:active { transform: translateY(1px); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button.small { padding: 7px 14px; font-size: .92rem; color: #fff; }
.button.danger { background: var(--danger); border-color: var(--danger); }
.button[disabled] { opacity: .6; cursor: progress; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
section { padding: clamp(40px, 7vw, 84px) 0; }
.band { background: var(--band); border-block: 1px solid var(--line); }
.hero { text-align: center; padding-bottom: clamp(32px, 5vw, 56px);
  background: radial-gradient(1200px 420px at 50% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.hero h1 { max-width: 17ch; margin-inline: auto; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--soft); max-width: 62ch; margin-inline: auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 1.6em 0 0; }
.preview { margin: clamp(28px, 5vw, 52px) auto 0; max-width: 900px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); text-align: left; overflow: hidden; }
.chrome { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--band); font-size: .85rem; color: var(--soft); }
.chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.chrome b { margin-left: 8px; font-weight: 600; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--soft); font-weight: 600; text-transform: capitalize; font-size: .82rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
figcaption { padding: 8px 14px; font-size: .8rem; color: var(--soft); border-top: 1px solid var(--line); }
.two { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.two h2 { margin-top: 0; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.4em; }
.grid article, .plan, .card, .panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.grid p, .steps p { color: var(--soft); margin: 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.4em 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 46px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; }
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 1.6em auto 1em; max-width: 820px; }
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan ul { list-style: none; padding: 0; margin: 6px 0 18px; color: var(--soft); flex: 1; }
.plan li { padding: 5px 0 5px 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 12px; height: 6px; border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.price { font-size: 2.2rem; font-weight: 750; margin: 0; letter-spacing: -.02em; }
.price small { font-size: .95rem; font-weight: 500; color: var(--soft); }
.note { color: var(--soft); font-size: .92rem; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .7em 0 0; color: var(--soft); }
.prose h2 { font-size: 1.25rem; }
.prose li { margin: .3em 0; }
.card-wrap { display: grid; place-items: center; }
.card { width: min(420px, 100%); box-shadow: var(--shadow); }
.card h1 { font-size: 1.6rem; }
label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 14px; }
label small { display: block; font-weight: 400; color: var(--soft); margin-top: 4px; }
input, textarea, select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px; }
input[type=checkbox] { display: inline-block; width: auto; margin: 0 8px 0 0; }
textarea { min-height: 96px; resize: vertical; }
.error { color: var(--danger); font-size: .92rem; }
.okmsg { color: var(--ok); font-size: .92rem; }
.apphead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.apphead h1 { font-size: 1.8rem; margin: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 9px 12px; font: inherit; color: var(--soft);
  cursor: pointer; text-transform: capitalize; }
.tabs button[aria-selected=true] { color: var(--ink); border-color: var(--accent); font-weight: 600; }
.panel { margin: 0 0 18px; }
.panel.danger { border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); }
.inline { display: grid; gap: 10px; max-width: 640px; }
.inline input, .inline textarea { margin-top: 0; }
.rowform { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; margin: 0 0 16px; }
.rowform label { margin: 0; text-transform: capitalize; }
.rowform .check { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; padding-bottom: 11px; }
.rowform .button, .inline .button { justify-self: start; }
.empty { padding: 28px; text-align: center; color: var(--soft); border: 1px dashed var(--line); border-radius: var(--radius); }
td .link { color: var(--danger); }
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--soft); font-size: .92rem; }
.cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cols a { display: block; color: var(--soft); text-decoration: none; padding: 2px 0; }
.cols a:hover { color: var(--ink); }
.cols strong { color: var(--ink); }
@media (max-width: 560px) { nav { gap: 2px 12px; } .bar { padding: 8px 0; } th, td { padding: 9px 10px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
ul.error { margin: 0 0 12px; padding-left: 20px; }
[data-slot=outcome] { margin: 0 0 14px; }
[data-slot=outcome] input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
[data-form=action] textarea { min-height: 190px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
td .link.act { color: var(--accent); text-decoration: underline; }
ul.guides { list-style: none; padding: 0; }
ul.guides li { margin: 0 0 18px; }
.prose form.panel { max-width: 460px; }
.prose form.panel.wide { max-width: none; }
.prose form.panel textarea { min-height: 150px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; white-space: pre; overflow-x: auto; }
pre { font: .85rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--band); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; }
.links { display: flex; gap: 10px; flex-wrap: wrap; margin: 1em 0; }
.rowform .link { justify-self: start; align-self: center; }
.points { list-style: none; padding: 0; margin: 1.1em auto 0; display: flex; gap: 6px 22px; justify-content: center; flex-wrap: wrap;
  color: var(--soft); font-size: .93rem; }
.points li { position: relative; padding-left: 22px; }
.points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.facts { display: flex; gap: 8px 32px; flex-wrap: wrap; padding: 14px; border-bottom: 1px solid var(--line); }
.facts p { margin: 0; }
.facts span { display: block; font-size: .78rem; color: var(--soft); }
.showcase tbody tr:last-child td { font-weight: 650; background: var(--band); }
.maker { margin: 0 0 .4em; }
.maker a { display: inline; color: var(--ink); text-decoration: underline; padding: 0; }
