:root {
  --bg: #ffffff; --bg-alt: #f4f6fa; --card: #ffffff; --text: #0f172a; --muted: #475569; --line: #e2e8f0;
  --brand: #0a66c2; --brand-2: #1e88e5; --ok: #059669; --ai: #7c3aed; --err: #dc2626;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f17; --bg-alt: #111827; --card: #151b26; --text: #e5e7eb; --muted: #9ca3af; --line: #253042;
    --brand: #4ea1f3; --brand-2: #60a5fa;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 15px; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn.big { padding: 14px 22px; font-size: 16px; }
.btn.block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .6; cursor: default; }
.small { font-size: 13px; color: var(--muted); }
.center { text-align: center; }

.nav { 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); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.logo { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.nav nav { display: flex; align-items: center; gap: 18px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }

.hero { padding: 72px 0 56px; background: radial-gradient(1200px 400px at 70% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent); }
.hero-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
h1 { font-size: 46px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 20px 50px rgba(15, 23, 42, .12); font-size: 14px; }
.hc-row { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.hc-row b { margin-left: auto; color: var(--ok); font-weight: 600; }
.hc-row.muted { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.dot.ok { background: var(--ok); } .dot.ai { background: var(--ai); }
.hc-foot { padding-top: 12px; color: var(--muted); font-size: 13px; }

.section { padding: 64px 16px; }
.section.alt { background: var(--bg-alt); padding-left: 0; padding-right: 0; }
h2 { font-size: 32px; margin: 0 0 24px; letter-spacing: -0.01em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.feature h3 { margin: 6px 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }

.price-card { max-width: 420px; background: var(--card); border: 2px solid var(--brand); border-radius: 18px; padding: 28px; }
.pc-name { font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.pc-price { font-size: 52px; font-weight: 800; margin: 6px 0 12px; }
.pc-price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.price-card ul { padding-left: 20px; margin: 0 0 22px; }
.price-card li { margin: 6px 0; }

.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.steps, .install { padding-left: 20px; }
.steps li, .install li { margin: 8px 0; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input:not([type=checkbox]) { padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 15px; }
.form .check { flex-direction: row; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { margin-top: 4px; }
.err { color: var(--err); font-size: 14px; min-height: 18px; }
code { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 14px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

.foot { border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.doc { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 20px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--muted); }

@media (max-width: 860px) {
  .hero-in, .signup { grid-template-columns: 1fr; gap: 32px; }
  .grid3 { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .nav nav { gap: 8px; }
  .nav .btn { padding: 8px 12px; font-size: 14px; }
  .nav nav a.btn.ghost { display: none; }
  .brand { font-size: 15px; }
  .pc-price { font-size: 40px; }
  .section { padding: 48px 16px; }
}
