:root {
  --bg: #0b100e;
  --bg-2: #0f1713;
  --card: #141d18;
  --line: #27362e;
  --ink: #eef7f1;
  --muted: #9db0a5;
  --accent: #a4efc0;
  --accent-2: #176b45;
  --warn: #f1bc6c;
  --danger: #f28b82;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #173326 0%, var(--bg) 55%);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 14, .82);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.brand small { font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

.hero { padding: 68px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 42px; align-items: center; }
.kicker { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.02; margin: 12px 0 18px; letter-spacing: -.02em; }
h1 em { color: var(--accent); font-style: normal; }
.lead { color: var(--muted); font-size: 18px; max-width: 52ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: inherit; font-weight: 650; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #07130c; }
.btn.primary:hover { background: #b9f7cf; }
.btn.ghost { background: transparent; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }

.phone {
  position: relative; width: min(330px, 100%); margin: 0 auto;
  padding: 14px; border: 1px solid var(--line); border-radius: 34px;
  background: linear-gradient(160deg, #1a2821, #0d1410);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.phone .screen { border-radius: 24px; background: #0b1210; padding: 18px; border: 1px solid #203028; }
.phone .topline { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.phone .speed { font-size: 58px; font-weight: 800; text-align: center; margin: 18px 0 0; line-height: 1; }
.phone .speed small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.phone .bar { height: 8px; border-radius: 8px; background: #1d2c24; overflow: hidden; margin: 22px 0 10px; }
.phone .bar span { display: block; height: 100%; width: 78%; background: var(--accent); }
.phone .metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.phone .metric { background: #111b16; border: 1px solid #223229; border-radius: 12px; padding: 9px 10px; }
.phone .metric b { display: block; font-size: 16px; }
.phone .metric span { color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

.section { padding: 54px 0; }
.section h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; letter-spacing: -.01em; }
.section .sub { color: var(--muted); max-width: 66ch; margin: 0 0 26px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: linear-gradient(170deg, var(--card), #111914);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #1b2c23; color: var(--accent); margin-bottom: 12px; font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.step { position: relative; padding: 22px 18px 18px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #07130c; font-weight: 800; font-size: 13px; margin-bottom: 12px;
}
.step h3 { font-size: 15px; margin: 0 0 6px; }
.step p { font-size: 13px; }

.price-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; overflow: hidden; }
.price-main { padding: 28px; }
.price-side { padding: 28px; background: #0f1a15; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 0; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.checklist li::before { content: "\2713"; color: var(--accent); margin-right: 8px; font-weight: 700; }

.install { display: grid; gap: 10px; }
.install .card { padding: 16px 18px; }
.install b { color: var(--ink); }

.faq { display: grid; gap: 10px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
summary { cursor: pointer; font-weight: 650; }
details p { color: var(--muted); margin: 10px 0 0; font-size: 14px; }

.notice { border: 1px solid #4a3a1d; background: #1e180d; color: #f3d9a4; border-radius: 14px; padding: 14px 16px; font-size: 13px; }
.notice.error { border-color: #5a2a26; background: #1e1010; color: #ffc9c4; }
.notice.ok { border-color: #2a5a3f; background: #0f1e16; color: #bdf5d1; }

.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.field input {
  min-height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: #0c1410; color: var(--ink); padding: 0 14px; font: inherit; width: 100%;
}
.field input:focus { outline: 2px solid rgba(164, 239, 192, .35); border-color: var(--accent); }
.field .hint { font-size: 12px; color: var(--muted); }

.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.checkout-grid.single { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.qr-box { display: grid; place-items: center; gap: 10px; padding: 18px; background: #fff; border-radius: 16px; }
.qr-box img { width: 220px; height: 220px; image-rendering: pixelated; }
.pix-code {
  width: 100%; min-height: 90px; resize: vertical; font: 12px/1.45 ui-monospace, monospace;
  background: #0c1410; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 10px;
}
.code {
  font: 700 22px/1.3 ui-monospace, monospace; letter-spacing: .06em; text-align: center;
  background: #0c1a12; border: 1px dashed var(--accent); color: var(--accent);
  border-radius: 14px; padding: 18px 12px; word-break: break-all;
}
.muted { color: var(--muted); }
.hidden { display: none !important; }
.spacer { height: 18px; }
.center { text-align: center; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, monospace; }
.steps-mini { counter-reset: mini; display: grid; gap: 8px; padding: 0; list-style: none; }
.steps-mini li { counter-increment: mini; color: var(--muted); font-size: 14px; padding-left: 30px; position: relative; }
.steps-mini li::before {
  content: counter(mini); position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: #1b2c23; color: var(--accent);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}

.footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--muted); font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }
.footer .links { display: flex; gap: 16px; flex-wrap: wrap; }

.legal { padding: 46px 0 60px; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { order: -1; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .price-card, .checkout-grid { grid-template-columns: 1fr; }
  .price-side { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .nav-links a:not(.btn) { display: none; }
  .grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .lead { font-size: 16px; }
}
