:root {
  --bg: #f3f4f6; --card: #ffffff; --text: #111827; --muted: #6b7280; --border: #e5e7eb; --accent: #1f2937;
  --orange: #f97316; --green: #16a34a; --blue: #2563eb; --ok: #15803d;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111827; --card: #1f2937; --text: #f3f4f6; --muted: #9ca3af; --border: #374151; --accent: #e5e7eb; --ok: #4ade80; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text);
  line-height: 1.5; padding-bottom: env(safe-area-inset-bottom); }
a { color: inherit; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .ok { color: var(--ok); font-weight: 600; }
.green { color: var(--green); font-weight: 700; } .blue { color: var(--blue); font-weight: 700; } .accent { color: var(--orange); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1040px; margin: 0 auto;
  padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); padding: 9px 16px; border-radius: 10px; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--card); border-color: var(--accent); }
.btn.big { padding: 13px 20px; font-size: 1.02rem; }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px 24px; }
section { margin: 44px 0; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.1; margin: 8px 0 14px; letter-spacing: -.02em; }
h2 { font-size: 1.5rem; margin: 0 0 14px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }

.hero { display: grid; gap: 28px; align-items: center; margin-top: 16px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.2fr .8fr; } }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.hero-shot { display: flex; justify-content: center; }
.hero-shot img { width: min(320px, 82vw); height: auto; border-radius: 28px; border: 8px solid var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,.25); background: var(--card); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.steps .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange);
  color: #fff; font-weight: 800; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: var(--muted); }
.features strong { color: var(--text); display: block; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.install-grid { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 760px) { .install-grid { grid-template-columns: repeat(3, 1fr); } }
.install-grid ol { margin: 0; padding-left: 20px; color: var(--muted); }
.install-grid li { margin: 4px 0; }
.install-grid strong { color: var(--text); }
.card.this-device { border: 2px solid var(--orange); }
.card.this-device h3::after { content: "  · this device"; color: var(--orange); font-size: .85rem; }
#install-btn { margin: 4px 0 6px; }

.plans { display: grid; gap: 12px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.plan .price { font-size: 2rem; font-weight: 800; margin: 0; }
.plan .price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan.featured { border: 2px solid var(--orange); }

.fair-play { border-left: 6px solid var(--orange); }
.fair-play h2 { font-size: 1.2rem; }
.fair-play p { margin: 0; }

.foot { max-width: 1040px; margin: 0 auto; padding: 18px 16px 28px; display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; border-top: 1px solid var(--border); font-size: .9rem; }

.themes h2 { font-size: 1.2rem; }
.themes p { margin: 0 0 12px; }
.theme-grid { display: grid; gap: 12px; margin-bottom: 10px; }
@media (min-width: 640px) { .theme-grid { grid-template-columns: 1fr 1fr; } }
.theme { display: flex; gap: 12px; align-items: center; }
.swatch { flex: none; width: 48px; height: 48px; border-radius: 6px; border: 1px solid var(--border);
  background: conic-gradient(var(--dark) 0 25%, var(--light) 0 50%, var(--dark) 0 75%, var(--light) 0) 0 0 / 24px 24px; }
