:root {
  --bg: #0E1116;
  --surface: #161B22;
  --border: #232B36;
  --text: #E9EEF5;
  --muted: #93A1B0;
  --rec: #FF453A;
  --sync: #34D399;
  --amber: #F5B14B;
  --mono: "SF Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Segoe UI", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
a { color: var(--amber); }

/* header */
header { padding: 20px 0; border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.logo .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); }
.lang { font-size: 13px; color: var(--muted); text-decoration: none; }

/* hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; font-size: 12px; letter-spacing: .08em; color: var(--sync);
  border: 1px solid var(--sync); border-radius: 999px; padding: 3px 12px; margin-bottom: 20px;
}
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.35; font-weight: 800; }
h1 .accent { color: var(--amber); }
.hero p.lead { margin: 20px 0 8px; color: var(--muted); font-size: 16px; }
.price-line { margin: 14px 0 24px; font-size: 14px; color: var(--muted); }
.price-line strong { color: var(--amber); font-size: 17px; font-family: var(--mono); }

/* phone mocks */
.phones { display: flex; justify-content: center; gap: -10px; position: relative; height: 340px; }
.phone {
  width: 148px; height: 310px; background: #05070A; border: 2px solid #2A3442;
  border-radius: 26px; padding: 26px 10px 14px; position: relative; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.phone::before {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 8px; border-radius: 999px; background: #1B222C;
}
.phone:nth-child(1) { transform: rotate(-7deg) translate(16px, 22px); z-index: 1; }
.phone:nth-child(2) { z-index: 2; }
.phone:nth-child(3) { transform: rotate(7deg) translate(-16px, 22px); z-index: 1; }
.tc { font-family: var(--mono); font-size: 19px; letter-spacing: .04em; color: var(--text); margin-top: 26px; }
.tc .frames { color: var(--amber); animation: tick 1s steps(1) infinite; }
@keyframes tick { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .tc .frames { animation: none; } }
.sync-badge {
  font-family: var(--mono); font-size: 11px; color: var(--sync);
  border: 1px solid rgba(52,217,138,.4); border-radius: 999px; padding: 2px 10px;
}
.cam-label { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.rec-btn { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #2A3442; display: grid; place-items: center; }
.rec-btn .core { width: 26px; height: 26px; border-radius: 50%; background: var(--rec); }
.phone.slave .rec-btn .core { background: #3A4656; }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--border); }
h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.sub { color: var(--muted); margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }
.card .icon { font-size: 24px; margin-bottom: 12px; display: block; }
.step-num { font-family: var(--mono); color: var(--amber); font-size: 13px; display: block; margin-bottom: 6px; }

/* compare */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
td.good { color: var(--sync); }
td.num { font-family: var(--mono); }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px 22px; }
.tier.featured { border-color: var(--amber); position: relative; }
.tier.featured::before {
  content: attr(data-tag); position: absolute; top: -11px; left: 20px; background: var(--amber);
  color: #0E1116; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 10px;
}
.tier h3 { font-size: 15px; color: var(--muted); font-weight: 600; }
.tier .amount { font-family: var(--mono); font-size: 30px; font-weight: 700; margin: 6px 0 2px; }
.tier .amount small { font-size: 13px; color: var(--muted); font-weight: 400; }
.tier ul { list-style: none; margin-top: 14px; }
.tier li { font-size: 13.5px; color: var(--muted); padding: 4px 0 4px 22px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--sync); }
.strike { text-decoration: line-through; color: var(--muted); font-size: 15px; margin-right: 6px; }

/* form */
.signup { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.signup h3 { font-size: 18px; margin-bottom: 4px; }
.signup .note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.form-row { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
input[type="email"], select {
  background: #0B0E13; color: var(--text); border: 1px solid var(--border); border-radius: 8px;
  padding: 13px 14px; font-size: 15px; flex: 1; min-width: 200px;
}
input:focus, select:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: transparent; }
button {
  background: var(--rec); color: #fff; font-weight: 700; font-size: 15px; border: none;
  border-radius: 8px; padding: 13px 26px; cursor: pointer; min-height: 48px;
}
button:hover { filter: brightness(1.1); }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.check input { margin-top: 4px; width: 16px; height: 16px; }
.form-msg { margin-top: 12px; font-size: 14px; display: none; }
.form-msg.ok { display: block; color: var(--sync); }
.form-msg.err { display: block; color: var(--rec); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* faq */
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; position: relative; padding-right: 28px; }
summary::after { content: "+"; position: absolute; right: 4px; color: var(--amber); font-family: var(--mono); }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; font-size: 14px; color: var(--muted); }

footer { padding: 44px 0 60px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  .hero { padding: 44px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phones { height: 268px; }
  .phone { width: 108px; height: 232px; padding: 20px 6px 10px; }
  .phone:nth-child(1) { transform: rotate(-7deg) translate(10px, 16px); }
  .phone:nth-child(3) { transform: rotate(7deg) translate(-10px, 16px); }
  .tc { font-size: 14px; margin-top: 16px; }
  .sync-badge { font-size: 9px; }
  .rec-btn { width: 36px; height: 36px; }
  .rec-btn .core { width: 20px; height: 20px; }
  .cards, .tiers { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .form-row { flex-direction: column; }
  button { width: 100%; }
}
