:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --surface-2: #1c1c1f;
  --line: #2a2a2e;
  --text: #f3f1ed;
  --muted: #a09c95;
  --rec: #ff3b30;
  --rec-soft: rgba(255, 59, 48, 0.14);
  --ok: #4ade80;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px var(--rec-soft); }
.top nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding: 56px 0 88px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rec); color: #fff; font-family: var(--mono); font-weight: 700;
  font-size: 14px; letter-spacing: 0.08em; padding: 6px 14px 6px 12px; border-radius: 999px;
}
.pill i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: blink 1.4s steps(2, jump-none) infinite; }
.pill span { font-weight: 500; opacity: 0.9; letter-spacing: 0.04em; }
@keyframes blink { 50% { opacity: 0.15; } }

h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 22px 0 20px; font-weight: 750; text-wrap: balance; }
h1 em { font-style: normal; color: var(--rec); }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 30px; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--surface-2); border-color: #3a3a40; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--rec); border-color: var(--rec); color: #fff; }
.btn.primary:hover { background: #ff5247; border-color: #ff5247; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Recorder mock */
.mock { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mock-head .time { font-family: var(--mono); color: var(--muted); font-size: 14px; }
.lane { margin-bottom: 14px; }
.lane-label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lane svg { display: block; width: 100%; height: 44px; background: var(--bg); border-radius: 8px; }
.lane .you rect { fill: #8ab4ff; }
.lane .them rect { fill: #c9a6ff; }
.merge { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px dashed #3a3a40; font-family: var(--mono); font-size: 13.5px; }
.merge b { color: var(--ok); font-weight: 500; }
.merge span:first-child { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caption { margin: 12px 4px 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* Sections */
section { padding: 84px 0; border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rec); margin: 0 0 14px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 14px; text-wrap: balance; }
.sub { color: var(--muted); max-width: 38em; margin: 0 0 44px; text-wrap: pretty; }

.sub.flush { margin-bottom: 0; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why article { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.why .n { font-family: var(--mono); color: var(--rec); font-size: 13px; }
.why h3 { margin: 10px 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.why p { margin: 0; color: var(--muted); font-size: 16px; }

/* Install */
.install { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cmd-alt { margin: 0; color: var(--muted); font-size: 15px; }
.cmd { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.cmd-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 12px; }
.os { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #ffb74a; border: 1px solid rgba(255, 183, 74, 0.4); border-radius: 999px; padding: 2px 8px; }
.cmd code { display: block; font-family: var(--mono); font-size: 14px; color: #e8e5df; white-space: pre-wrap; overflow-wrap: anywhere; padding: 4px 0 6px; }
.copy { font: inherit; font-size: 13px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px; cursor: pointer; }
.copy:hover { color: var(--text); border-color: #3a3a40; }
.note { color: var(--muted); font-size: 15px; margin: 22px 0 0; }
.note a { color: var(--text); }

/* Cloud */
.cloud { background: linear-gradient(180deg, rgba(255, 59, 48, 0.05), transparent 60%); }
.cloud-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.soon { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--rec); color: var(--rec); border-radius: 999px; padding: 3px 10px; margin-bottom: 16px; }
.cloud ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.cloud li { padding-left: 28px; position: relative; color: var(--text); }
.cloud li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--rec); }
.cloud li span { display: block; color: var(--muted); font-size: 15px; }

form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
label.f, legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
input[type="email"] {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px;
}
input[type="email"]::placeholder { color: #6b6862; }
input[type="email"]:focus-visible { border-color: var(--rec); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 22px 0 0; }
legend small { font-weight: 400; color: var(--muted); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prices label { position: relative; }
.prices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.prices span { display: block; text-align: center; padding: 12px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.prices small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.prices input:checked + span { border-color: var(--rec); background: var(--rec-soft); }
.prices input:focus-visible + span { outline: 2px solid var(--rec); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; justify-content: center; margin-top: 22px; }
.status { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; }
.status.ok { color: var(--ok); }
.status.err { color: #ff8a80; }
.promise { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 28px 0 64px; }
  .why, .cloud-grid { grid-template-columns: minmax(0, 1fr); }
  .cloud-grid { gap: 36px; }
  section { padding: 64px 0; }
  .top nav .hide-sm { display: none; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .btn { width: 100%; justify-content: center; }
  form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill i { animation: none; }
  .btn { transition: none; }
}
