:root {
  --bg: #f6f5f1;
  --panel: #ffffff;
  --sunken: #efede6;
  --line: #e2dfd6;
  --ink: #1c2221;
  --muted: #646d6a;
  --brand: #1f5f5b;
  --brand-2: #174a46;
  --accent: #d6912c;
  --good: #278056;
  --bad: #be3a34;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111514;
    --panel: #191e1d;
    --sunken: #151a19;
    --line: #2c3432;
    --ink: #e8ecea;
    --muted: #96a09c;
    --brand: #5cb2a8;
    --brand-2: #7cc6bc;
    --accent: #e8aa50;
    --good: #60be8c;
    --bad: #ec7068;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--brand); }
img { max-width: 100%; }
h1, h2, h3 { font-family: 'Segoe UI Variable Display', 'Segoe UI', -apple-system, system-ui, sans-serif; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.logo img { width: 30px; height: 30px; }
nav.main { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav.main a:hover, nav.main a[aria-current='page'] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 11px 18px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: var(--panel); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.hero { padding: 72px 0 48px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
section { padding: 48px 0; }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.price { font-size: 3rem; font-weight: 700; letter-spacing: -0.02em; }
.price-box { max-width: 460px; margin: 0 auto; text-align: center; }
ul.checks { list-style: none; padding: 0; margin: 16px 0; text-align: left; }
ul.checks li { padding: 6px 0 6px 28px; position: relative; }
ul.checks li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; margin-top: 48px; color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
/* forms */
form .row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; }
label.field span.hint { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
input[type='text'], input[type='email'], input[type='tel'], input[type='date'], select, textarea {
  font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 1px; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-group label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--panel); font-weight: 500; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin: 10px 0; }
.check input { margin-top: 4px; }
.err { color: var(--bad); font-size: 0.85rem; font-weight: 500; }
.alert { border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line); background: var(--sunken); margin: 12px 0; }
.alert.bad { border-color: color-mix(in srgb, var(--bad) 35%, transparent); background: color-mix(in srgb, var(--bad) 8%, var(--panel)); color: var(--bad); }
.alert.good { border-color: color-mix(in srgb, var(--good) 35%, transparent); background: color-mix(in srgb, var(--good) 8%, var(--panel)); }
.order-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 880px) { .order-layout { grid-template-columns: 1fr; } nav.main { display: none; } }
.summary { position: sticky; top: 84px; }
.summary .line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.95rem; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-weight: 700; font-size: 1.1rem; }
.mono { font-family: Consolas, 'SF Mono', Menlo, monospace; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; font-size: 0.95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.hidden { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.badge { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line); }
.screens { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, var(--panel), var(--sunken)); padding: 28px; }
.mock-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; font-size: 0.92rem; }
.mock-row .when { color: var(--accent); font-weight: 600; white-space: nowrap; }
