:root {
  --bg: #ffffff; --bg-alt: #f6f7f9; --fg: #111318; --muted: #5b6270; --line: #e3e6ea;
  --accent: #0f766e; --accent-fg: #ffffff; --warn: #b45309; --card: #ffffff;
  --radius: 12px; --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1116; --bg-alt: #151a21; --fg: #e8eaee; --muted: #9aa3b2; --line: #262d38;
    --accent: #2dd4bf; --accent-fg: #06201c; --warn: #f59e0b; --card: #131821;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); z-index: 10; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); letter-spacing: -0.01em; }
nav a { margin-left: 18px; text-decoration: none; color: var(--muted); font-size: 15px; }
nav a.btn { color: var(--accent-fg); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: 11px 18px; border-radius: 9px; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font-size: 15px; }
.btn.secondary { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn:disabled { opacity: .6; cursor: progress; }
section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
h2 { font-size: clamp(22px, 3.2vw, 30px); letter-spacing: -0.015em; margin: 0 0 22px; }
h3 { font-size: 18px; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.hero { padding: 72px 0 56px; }
.hero .cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 700; margin-bottom: 10px; font-size: 14px; }
.price { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.price .card { display: flex; flex-direction: column; }
.price .amount { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 2px; }
.price .amount small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price ul { padding-left: 18px; margin: 12px 0 18px; color: var(--muted); flex: 1; }
.price li { margin: 5px 0; }
.price .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 500; font-size: 18px; margin-right: 6px; }
.callout { border-left: 4px solid var(--accent); background: var(--bg-alt); padding: 16px 18px; border-radius: 8px; }
.callout.warn { border-color: var(--warn); }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
/* form */
form .row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 14px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
label .opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=url], input[type=number], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--fg); font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
.help { font-size: 13px; color: var(--muted); margin-top: 5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; margin: 10px 0; }
.check input { margin-top: 4px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 18px; }
legend { font-weight: 700; padding: 0 6px; }
.plan-pick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan-pick label { border: 1px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; font-weight: 500; }
.plan-pick label:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }
.plan-pick input { margin-right: 8px; }
.hp { position: absolute; left: -9999px; }
.err { color: #b91c1c; font-size: 14px; margin-top: 10px; display: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
@media (max-width: 640px) { nav a:not(.btn) { display: none; } section { padding: 42px 0; } .hero { padding: 48px 0 36px; } }
