:root {
  --bg: #0b0b0c; --panel: #151517; --line: #26262a; --text: #f4f4f2; --muted: #a2a2a8;
  --accent: #d7ff3c; --accent-ink: #101300; --bad: #ff6b5e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.45; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; }
.mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.mark img { border-radius: 7px; }
.mark span { color: var(--accent); }
.tag { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; white-space: nowrap; }

.hero { display: grid; gap: 28px; padding: 28px 0 40px; }
h1 { font-size: clamp(38px, 9vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 900; margin: 0; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); margin: 14px 0 0; max-width: 34em; }

form.join { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px; }
form.join input[type=email] {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: 17px; color: var(--text); background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; outline: none;
}
form.join input[type=email]:focus { border-color: var(--accent); }
form.join button {
  flex: 0 0 auto; font: inherit; font-size: 17px; font-weight: 800; color: var(--accent-ink); background: var(--accent);
  border: 0; border-radius: 14px; padding: 15px 20px; cursor: pointer;
}
form.join button:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.status { font-size: 15px; font-weight: 600; margin: 12px 0 0; min-height: 1.4em; }
.status.ok { color: var(--accent); }
.status.bad { color: var(--bad); }

h2 { font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 8px; font-weight: 850; }
.sub { color: var(--muted); margin: 0 0 22px; }
section { padding: 36px 0; border-top: 1px solid var(--line); }

.pairs { display: grid; gap: 28px; }
.pair { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 14px; }
.pair-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 4px 12px; }
.pair-title { font-weight: 750; font-size: 16px; }
.sound {
  font: inherit; font-size: 13px; font-weight: 700; color: var(--text); background: transparent;
  border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; cursor: pointer; white-space: nowrap;
}
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone { margin: 0; }
.phone video, .phone img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: 14px; }
.pair-style { font-size: 13px; color: var(--muted); text-align: right; }
.phone figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.phone figcaption b { display: block; color: var(--text); font-size: 14px; }
.phone.after video { outline: 2px solid var(--accent); outline-offset: -2px; }

.steps { display: grid; gap: 14px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.steps li::before {
  counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-weight: 900; margin-bottom: 10px;
}
.steps b { display: block; font-size: 18px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.price strong { font-size: clamp(34px, 7vw, 48px); letter-spacing: -0.03em; font-weight: 900; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--accent); font-weight: 900; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }
details a { color: var(--accent); }
footer { padding: 32px 0 48px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 18px; margin-bottom: 12px; }
footer nav a { color: var(--text); font-weight: 600; text-decoration: none; }
footer p { margin: 6px 0 0; }
.cta-again { margin-top: 18px; }

/* Text pages: privacy, terms, support */
.doc { max-width: 680px; margin: 0 auto; padding: 8px 0 48px; line-height: 1.55; }
.doc h1 { font-size: clamp(30px, 7vw, 44px); letter-spacing: -0.03em; line-height: 1.08; margin: 12px 0 6px; }
.doc h2 { font-size: 20px; letter-spacing: -0.01em; margin: 32px 0 6px; font-weight: 800; }
.doc p, .doc li { font-size: 16px; }
.doc .muted { color: var(--muted); font-size: 14px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--accent); }

@media (min-width: 860px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 56px 0 64px; }
  .pairs { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
