:root {
  --bg: #0b0b10;
  --bg-2: #12121a;
  --card: #15151f;
  --fg: #f4f2ee;
  --muted: #9a98a6;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff7a3d;
  --accent-2: #ffb43d;
  --codex: #2dd4bf;
  --danger: #ff5d5d;
  --ok: #3ddc84;
  --grad: linear-gradient(135deg, #ffc23d 0%, #ff8a3d 55%, #ff6a2d 100%);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg); color: var(--fg); font-family: var(--body);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
canvas { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.hidden { display: none !important; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(30px, 5vw, 60px); font-weight: 700; max-width: 900px; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn-primary { background: var(--grad); color: #1a1205; box-shadow: 0 10px 30px -10px rgba(255, 138, 61, 0.7); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-dark { background: #1b1b28; color: var(--fg); border-color: rgba(255, 255, 255, 0.14); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-danger { background: transparent; border-color: rgba(255, 93, 93, 0.4); color: var(--danger); }

/* ---------- шапка ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 44px);
  transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent;
}
.nav.scrolled, body:not(.landing) .nav { background: rgba(11, 11, 16, 0.78); backdrop-filter: blur(14px); border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.logo-mark { display: block; width: 34px; height: 34px; border-radius: 9px; flex: none; }
.nav-links { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.nav-links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.nav-auth { display: flex; gap: 8px; align-items: center; }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 31; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- первый экран ---------- */
/* Первый экран — не уже высоты окна, но и не короче содержимого: текст никогда не уходит под шапку. */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 50%, rgba(11, 11, 16, 0.85) 0%, rgba(11, 11, 16, 0.2) 55%, transparent 75%);
}
.hero-copy { position: relative; z-index: 2; max-width: 780px; padding: 112px clamp(16px, 5vw, 64px) 96px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 26px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.04); font-size: 13px; font-weight: 700;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
/* Размер заголовка зависит и от ширины, и от высоты окна — на невысоких экранах и при масштабе Windows 125–175% он не разрастается. */
.hero h1 { font-size: clamp(34px, min(5.4vw, 8.2vh), 80px); font-weight: 800; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .accent > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: #c9c7d1; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-steps { position: absolute; z-index: 2; right: clamp(16px, 4vw, 44px); bottom: 40px; list-style: none; display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.hero-steps li { transition: color 0.3s; }
.hero-steps li b { color: var(--fg); opacity: 0.5; margin-right: 6px; }
.hero-steps li.on { color: var(--fg); }
.hero-steps li.on b { color: var(--accent); opacity: 1; }
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 13px; color: var(--muted); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- секции ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 150px) clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.feature {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.feature::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; opacity: 0; transition: opacity 0.3s; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 138, 61, 0.14), transparent 60%);
}
.feature:hover { border-color: rgba(255, 138, 61, 0.35); transform: translateY(-4px); }
.feature:hover::before { opacity: 1; }
.feature .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 138, 61, 0.12); font-size: 22px; margin-bottom: 20px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; counter-reset: s; }
.step { padding: 30px; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, 0.16); }
.step > b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #1a1205; font-family: var(--display); margin-bottom: 20px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- тарифы ---------- */
.period { display: inline-flex; gap: 4px; padding: 5px; margin-top: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); flex-wrap: wrap; }
.period button { position: relative; padding: 10px 18px; border: 0; border-radius: 999px; background: none; font-weight: 800; font-size: 14px; color: var(--muted); cursor: pointer; }
.period button.on { background: var(--fg); color: var(--bg); }
.period button em { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(61, 220, 132, 0.15); color: var(--ok); font-size: 11px; }
.period button.on em { background: #d6f5e3; color: #127a3e; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.plan.featured { background: linear-gradient(180deg, rgba(255, 138, 61, 0.1), rgba(255, 138, 61, 0.02) 40%), var(--card); border-color: rgba(255, 138, 61, 0.45); }
.plan .badge { position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #1a1205; font-size: 12px; font-weight: 800; }
.plan h3 { font-size: 24px; }
.plan .who { color: var(--muted); margin-top: 6px; font-size: 15px; min-height: 46px; }
.plan .price { margin-top: 24px; font-family: var(--display); font-size: clamp(36px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; }
.plan .price small { font-family: var(--body); font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plan .old { color: var(--muted); text-decoration: line-through; font-size: 15px; min-height: 22px; }
.plan .per { color: var(--muted); font-size: 14px; min-height: 21px; }
.plan ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.plan li.off { color: var(--muted); }
.plan li.off::before { content: "—"; color: var(--muted); }
.seats { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.seats label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }
.seats input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--accent); }

/* ---------- вопросы ---------- */
.faq details { max-width: 860px; border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-of-type { margin-top: 40px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

.cta { text-align: center; padding: clamp(80px, 12vw, 150px) 16px; background: radial-gradient(ellipse at 50% 100%, rgba(255, 138, 61, 0.18), transparent 60%); }
.cta h2 { margin: 0 auto; }
.cta .lead { margin: 18px auto 30px; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 30px clamp(16px, 5vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a:hover { color: var(--fg); }

/* ================= Вход и регистрация (карточка из двух половин) ================= */
.page { min-height: 100vh; padding: 110px clamp(16px, 4vw, 44px) 60px; max-width: 1180px; margin: 0 auto; }
.auth {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; overflow: hidden; min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.auth-form {
  position: relative; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(ellipse at 15% 0%, rgba(255, 180, 61, 0.16), transparent 50%), #0d0f17;
}
.auth-form h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.auth-form .lead { margin-top: 12px; font-size: 15px; color: var(--muted); }
.auth-form form { margin-top: 28px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #aeb3c2; }
.input { position: relative; }
.input input, .input select, .input textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; background: #161a26; border: 1px solid rgba(255, 255, 255, 0.08);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.input input:focus, .input select:focus, .input textarea:focus { border-color: rgba(255, 180, 61, 0.7); box-shadow: 0 0 0 4px rgba(255, 180, 61, 0.12); }
.input input.bad { border-color: rgba(255, 93, 93, 0.7); }
.input .peek {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: none;
  color: #aeb3c2; font-weight: 800; font-size: 13px; padding: 6px 8px; cursor: pointer; border-radius: 8px;
}
.input .peek:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; background: none; border: 0; font-weight: 700; font-size: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #c9c7d1; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent-2); flex: none; }
.check a { color: var(--accent-2); }
.pw-meter { display: flex; gap: 6px; margin-top: 2px; }
.pw-meter i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); transition: background 0.2s; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: var(--danger); }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: #ff9f43; }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--accent-2); }
.pw-meter[data-score="4"] i { background: var(--ok); }
.pw-hint { font-size: 13px; color: var(--muted); min-height: 18px; }
.btn-yellow { background: linear-gradient(180deg, #ffc93d, #ffb12d); color: #1a1205; border-radius: 14px; padding: 16px; box-shadow: 0 14px 30px -14px rgba(255, 177, 45, 0.8); }
.form-error { padding: 12px 14px; border-radius: 12px; background: rgba(255, 93, 93, 0.1); border: 1px solid rgba(255, 93, 93, 0.3); color: #ffb3b3; font-size: 14px; }
.form-ok { padding: 12px 14px; border-radius: 12px; background: rgba(61, 220, 132, 0.1); border: 1px solid rgba(61, 220, 132, 0.3); color: #b8f5d2; font-size: 14px; }
.back-link { justify-self: center; color: var(--muted); font-weight: 700; font-size: 14px; background: none; border: 0; cursor: pointer; }
.back-link:hover { color: var(--fg); }

.auth-side {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 5vw, 56px); background: var(--grad); color: #1d1405;
}
.auth-side::before, .auth-side::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.auth-side::before { width: 260px; height: 260px; right: -70px; top: -70px; background: rgba(255, 255, 255, 0.18); }
.auth-side::after { width: 340px; height: 340px; right: -60px; bottom: -190px; border: 1px solid rgba(255, 255, 255, 0.45); }
.auth-side .eyebrow { color: #4a3208; }
.auth-side h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: #17110a; }
.auth-side p { margin-top: 16px; max-width: 380px; font-size: 15px; color: #3b2a0c; }
.auth-side .btn { margin-top: 28px; align-self: flex-start; background: transparent; border: 1px solid rgba(29, 20, 5, 0.45); color: #1d1405; }
.auth-side .btn:hover { background: rgba(255, 255, 255, 0.2); }
.auth-side ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; font-weight: 700; font-size: 15px; position: relative; z-index: 1; }
.auth-side li::before { content: "✓ "; }

/* ================= Личный кабинет и админка ================= */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.dash-head h1 { font-size: clamp(28px, 4vw, 44px); }
.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); flex-wrap: wrap; }
.tabs button { padding: 9px 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 800; font-size: 14px; cursor: pointer; }
.tabs button.on { background: var(--fg); color: var(--bg); }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card h3 { margin-bottom: 14px; }
.stat b { display: block; font-family: var(--display); font-size: 30px; }
.stat span { color: var(--muted); font-size: 14px; }
.license { position: relative; }
.license .key {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0; padding: 14px 16px;
  border-radius: 14px; background: #10131c; border: 1px dashed rgba(255, 180, 61, 0.45);
  font-family: ui-monospace, Consolas, monospace; font-size: clamp(14px, 2vw, 18px); letter-spacing: 0.04em; overflow-wrap: anywhere;
}
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.pill.ok { background: rgba(61, 220, 132, 0.14); color: var(--ok); }
.pill.warn { background: rgba(255, 180, 61, 0.14); color: var(--accent-2); }
.pill.bad { background: rgba(255, 93, 93, 0.14); color: var(--danger); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15px; }
.kv dt { color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.note { padding: 16px 18px; border-radius: 16px; background: rgba(255, 180, 61, 0.08); border: 1px solid rgba(255, 180, 61, 0.25); font-size: 15px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { flex: 1; min-width: 150px; }

.modal-bg { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(5, 5, 8, 0.7); backdrop-filter: blur(6px); }
.modal { width: min(520px, 100%); max-height: 90vh; overflow: auto; padding: 30px; border-radius: 26px; background: #12141d; border: 1px solid var(--line); }
.modal h3 { font-size: 22px; margin-bottom: 8px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 800; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }

.doc { max-width: 820px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 30px 0 10px; }
.doc p, .doc li { color: #c9c7d1; margin-top: 10px; }
.doc ul { padding-left: 22px; }

/* ---------- адаптив ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .features, .steps, .plans, .grid-2, .auth { grid-template-columns: 1fr; }
  .auth-side { order: 2; }
  .row2 { grid-template-columns: 1fr; }
  .hero-steps { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 11, 16, 0.3), rgba(11, 11, 16, 0.85) 70%); }
  .nav-auth .btn-ghost { display: none; }
  .plan { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.footer .disclaimer { flex-basis: 100%; order: 3; font-size: 12px; line-height: 1.5; color: var(--muted); opacity: .8; max-width: 900px; }

/* юридические страницы */
.doc-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.doc-nav a.on { color: var(--accent-2); }
.doc-nav a:hover { color: var(--fg); }
.doc-table { width: 100%; margin-top: 14px; font-size: 14px; }
.doc-table th { width: 30%; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--muted); }
.doc-table.req th { width: 40%; }
.doc ol, .doc ul { padding-left: 22px; }

/* бета-тест */
.beta-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(26px, 4vw, 44px);
  border-radius: 28px; border: 1px solid rgba(45, 212, 191, 0.35); background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(45, 212, 191, 0.02) 60%), var(--card); }
.beta-box h2 { font-size: clamp(26px, 3.4vw, 40px); }
.beta-box .lead { max-width: 560px; }

/* скриншоты программы */
.shot-main { margin-top: 48px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.shot-main img, .shot-grid img { display: block; width: 100%; height: auto; }
.shot-main span { display: block; padding: 14px 18px; color: var(--muted); font-size: 14px; }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.shot-grid figure { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.shot-grid figcaption { padding: 12px 14px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .shot-grid { grid-template-columns: 1fr; } }

/* кнопка бета-теста на первом экране */
.btn-beta { background: rgba(45, 212, 191, 0.12); border-color: rgba(45, 212, 191, 0.55); color: #8ff0e1; }
.btn-beta:hover { background: rgba(45, 212, 191, 0.2); }
.beta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--codex); box-shadow: 0 0 10px var(--codex); }

/* меню в шапке — без переноса слов; на средних экранах прячем */
.nav-links a { white-space: nowrap; }
@media (max-width: 1100px) { .nav-links { display: none; } }

/* невысокие окна: плотнее отступы первого экрана */
@media (max-height: 760px) {
  .hero-copy { padding-top: 96px; padding-bottom: 72px; }
  .hero .chip { margin-bottom: 16px; }
  .hero .lead { margin-top: 14px; }
  .hero-cta { margin-top: 20px; }
  .scroll-hint, .hero-steps { display: none; }
}
