/* Шрифты со своего сервера (не Google: IP посетителей не уходит третьим лицам). */
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-600.ttf) format("truetype"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url(fonts/outfit-latin-700.ttf) format("truetype"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url(fonts/outfit-latin-800.ttf) format("truetype"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(fonts/sourcesans3-latin-400.ttf) format("truetype"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(fonts/sourcesans3-latin-600.ttf) format("truetype"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(fonts/sourcesans3-cyrillic-400.ttf) format("truetype"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(fonts/sourcesans3-cyrillic-600.ttf) format("truetype"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --space: 8px;
  --page: #0e0e0c;
  --page2: #161612;
  --ink: #f2efe8;
  --mute: #8f8a80;
  --line: #2c2a26;
  /* Как акцент в программе (тема «бумага») — единый бренд сайт↔app */
  --accent: #6b8f71;
  --accent-ink: #0e0e0c;
  /* Как тема «бумага» в программе */
  --ui-bg: #f3f1ec;
  --ui-surface: #fffcf7;
  --ui-ink: #1c1b19;
  --ui-muted: #6f6b63;
  --ui-line: #e4e0d8;
  --ui-side: #1f1e1c;
  --ui-accent: #3d5c4a;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --display: "Outfit", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.5 var(--font);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: calc(var(--space) * 2) var(--gutter) calc(var(--space) * 9);
}

/* ——— Header: одна линия по baseline ——— */
header.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 0;
  margin: 0 0 calc(var(--space) * 2);
  position: relative;
  z-index: 2;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  flex: none;
}
nav {
  display: flex;
  align-items: center;
  gap: calc(var(--space) * 3);
  height: 32px;
}
nav a {
  color: var(--mute);
  font-size: 14px;
  line-height: 1;
  padding: 0;
  height: 32px;
  display: inline-flex;
  align-items: center;
}
nav a:hover,
nav a.on {
  color: var(--ink);
  text-decoration: none;
}

/* ——— Hero: две колонки, верх по одной линии ——— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: calc(var(--space) * 6);
  align-items: start;
  padding: calc(var(--space) * 3) 0 calc(var(--space) * 6);
  min-height: calc(100vh - 48px - 32px - 16px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: calc(var(--space) * -2) calc(var(--gutter) * -1);
  background:
    radial-gradient(ellipse 65% 50% at 78% 42%, #1a1a16 0%, transparent 58%),
    linear-gradient(165deg, #141412 0%, var(--page) 52%, #0a0a09 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  padding-top: calc(var(--space) * 2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: rise 0.7s ease both;
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 104px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0 0 calc(var(--space) * 3);
}
.hero-line {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  margin: 0 0 calc(var(--space) * 2);
  letter-spacing: -0.02em;
  max-width: 18em;
}
.hero-sub {
  color: var(--mute);
  font-size: 15px;
  margin: 0 0 calc(var(--space) * 4);
  max-width: 28em;
  line-height: 1.45;
}
.hero-plane {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fade 0.85s ease 0.06s both;
  align-self: start;
  margin-top: calc(var(--space) * 2);
}
.ui-sphere-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.ui-sphere-bar button {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font: 600 12px/1 var(--display);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ui-sphere-bar button:hover {
  color: var(--ink);
  border-color: #4a463e;
}
.ui-sphere-bar button.on {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.hero-plane .ui-app {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 480px;
  height: auto;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* ——— Секции под героем ——— */
.sec-head {
  max-width: 36em;
  margin: 0 0 calc(var(--space) * 3);
}
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 8px;
}
.sec-head p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.5;
}

/* ——— Versus: одна полоса ——— */
.versus {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: calc(var(--space) * 3) 0;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 15px;
  line-height: 1.4;
}
.versus p { margin: 0; }
.versus b {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.versus-sep {
  color: #3a3832;
  user-select: none;
}

.spheres {
  padding: calc(var(--space) * 6) 0 calc(var(--space) * 5);
  border-top: 1px solid var(--line);
  animation: rise 0.7s ease 0.12s both;
}
.sphere-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.sphere-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  padding: 12px 0 4px;
  border-top: 1px solid #3a3832;
  flex: 1 1 140px;
  max-width: 200px;
  transition: border-color 0.2s ease;
}
.sphere-pill:hover { border-top-color: var(--accent); }
.sphere-pill b {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.sphere-pill span {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.35;
}

.dayflow {
  padding: calc(var(--space) * 5) 0;
  border-top: 1px solid var(--line);
}
.day-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--space) * 3) calc(var(--space) * 4);
  counter-reset: none;
}
.day-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}
.day-steps .n {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #3a3832;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.day-steps b {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 2px 0 6px;
  line-height: 1.25;
}
.day-steps span:not(.n) {
  display: block;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.45;
}

.start {
  padding: calc(var(--space) * 5) 0;
  border-top: 1px solid var(--line);
}
.start-steps {
  list-style: none;
  margin: 0 0 calc(var(--space) * 3);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--space) * 3) calc(var(--space) * 4);
}
.start-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}
.start-steps .n {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(196, 180, 154, 0.14);
  border: 1px solid #4a453c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.start-steps b {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 2px 0 6px;
  line-height: 1.25;
}
.start-steps span:not(.n) {
  display: block;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.45;
}
.start-actions { margin-top: 4px; }

/* ——— Trust: 3 равные колонки ——— */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--space) * 3) calc(var(--space) * 4);
  padding: calc(var(--space) * 5) 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.trust > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
}
.trust h3 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  min-height: 1.25em;
}
.trust p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.45;
}

.prices {
  padding: calc(var(--space) * 5) 0 calc(var(--space) * 2);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.prices h2 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 8px;
}
.prices > .lead {
  color: var(--mute);
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
  max-width: 40em;
}
.prices > .promo-note {
  color: var(--mute);
  margin: 0 0 calc(var(--space) * 3);
  font-size: 14px;
  line-height: 1.45;
  max-width: 44em;
}
.price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
a.price-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  background: var(--page2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
a.price-item:hover,
a.price-item:focus-visible {
  border-color: var(--accent);
  outline: none;
}
a.price-item.featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--page2));
  position: relative;
}
a.price-item.featured::before {
  content: 'Выгоднее';
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
}
.price-item b {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
}
.price-item > span:not(.price-cta) {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.35;
  flex: 1;
}
.price-item .sum {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
/* line-through через ::after — у <a> text-decoration:none иначе съедает зачёркивание */
.price-item .sum .was,
.price-item .sum del,
.was-inline,
.was-inline del {
  position: relative;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0;
  text-decoration: none;
  opacity: 0.85;
}
.price-item .sum .was::after,
.price-item .sum del::after,
.was-inline::after,
.was-inline del::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 55%;
  border-top: 1.5px solid var(--mute);
  pointer-events: none;
}
.price-item .price-cta {
  font-size: 13px;
  color: var(--accent);
  margin-top: 4px;
}
.price-item.featured .price-cta {
  color: color-mix(in srgb, var(--accent) 85%, #fff);
}

/* ——— UI mock ——— */
.ui-app {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  height: 100%;
  background: var(--ui-bg);
  color: var(--ui-ink);
  font-size: 13px;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.ui-side {
  background: var(--ui-side);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}
.ui-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  height: auto;
  padding: 0 8px 14px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ui-logo > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ui-logo img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: block;
  flex: none;
}
.ui-logo small {
  display: block;
  color: #9c978c;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 4px 0 0 30px;
}
.ui-side button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #c8c4bc;
  text-align: left;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1;
}
.ui-side button.on { background: rgba(255,255,255,0.1); color: #fff; }
.ui-side .badge {
  background: var(--ui-accent);
  color: #fff;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding: 0 5px;
  line-height: 1;
}
.ui-who {
  margin-top: auto;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: #9c978c;
  font-size: 11px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ui-who b {
  color: #ece8e0;
  font-weight: 600;
  font-size: 12px;
}
.ui-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ui-top {
  height: 48px;
  padding: 0 12px;
  border-bottom: 1px solid var(--ui-line);
  display: flex;
  align-items: center;
  flex: none;
}
.ui-search {
  width: 100%;
  height: 32px;
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--radius-sm);
  color: var(--ui-muted);
  padding: 0 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  line-height: 1;
}
.ui-body {
  padding: 14px 16px 16px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.ui-body h3 {
  margin: 0 0 2px;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.ui-day {
  color: var(--ui-muted);
  font-size: 11px;
  margin: 10px 0 6px;
  line-height: 1;
}
.ui-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}
.ui-tabs span {
  font-size: 12px;
  color: var(--ui-muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ui-bg) 70%, var(--ui-surface));
  border: 1px solid var(--ui-line);
}
.ui-tabs span.on {
  color: #fff;
  background: var(--ui-accent);
  border-color: var(--ui-accent);
}
.ui-card {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
}
.ui-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  line-height: 1.3;
}
.ui-card .muted { color: var(--ui-muted); font-size: 12px; margin-top: 4px; }
.ui-visit {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ui-ink);
}
.ui-visit .sep { color: var(--ui-muted); margin: 0 5px; }
.ui-visit b { font-weight: 650; }
.ui-stat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.ui-stat span {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  min-width: 0;
}
.ui-stat b { display: block; font-size: 15px; line-height: 1.2; }
.ui-stat i { font-style: normal; color: var(--ui-muted); font-size: 11px; line-height: 1.2; }

/* Docs / download */
.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 8px 0 28px;
  font-size: 14px;
  min-height: 24px;
}
.doc-nav a { color: var(--mute); }
.legal-layout { max-width: 1100px; }
.legal-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  font-size: 13px;
}
.legal-toc-title {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-toc a {
  color: var(--mute);
  text-decoration: none;
  line-height: 1.35;
  padding: 2px 0;
}
.legal-toc a:hover { color: var(--accent); text-decoration: none; }
.legal { max-width: 42em; }
.guide-body { max-width: 46em; }
.guide-lead { color: var(--mute); margin-top: 0; }
.guide-keys { list-style: none; padding-left: 0; }
.guide-keys li { margin: 6px 0; }
.guide-keys kbd,
.guide-body kbd {
  display: inline-block;
  min-width: 1.4em;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--page2);
  font: 600 12px/1.4 ui-monospace, Consolas, monospace;
  color: var(--ink);
  text-align: center;
}
.legal h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 8px 0 12px;
}
.legal h2 {
  font-family: var(--display);
  font-size: 20px;
  margin: 32px 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  scroll-margin-top: 20px;
}
.legal h3 { font-size: 16px; margin: 22px 0 8px; line-height: 1.3; }
.legal p, .legal li { color: #c8c2b6; }
.legal ul, .legal ol { padding-left: 1.2em; color: #c8c2b6; }
.legal li { margin: 4px 0; }
.legal code {
  font-size: 0.92em;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--page2);
  border: 1px solid var(--line);
}
.place { color: var(--accent); font-weight: 600; }

.download-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  background: var(--page2);
  max-width: 36em;
  margin: 20px 0;
}
.download-box .sum {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
}
.download-box .actions { margin-top: 16px; }
.download-box p { margin: 0 0 10px; color: #c8c2b6; }
.download-box .hint { color: var(--mute); font-size: 14px; }
.download-box.devices-box {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.lead-cab {
  max-width: 36em;
  color: #c8c2b6;
  margin: 0 0 8px;
  line-height: 1.45;
}

/* ——— Кабинет ——— */
.form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.form-row input[type="email"],
.form-row input[type="text"] {
  height: 44px;
  min-width: 240px;
  flex: 1 1 240px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--ink);
  font: inherit;
}
.form-row input:focus { outline: none; border-color: var(--accent); }
.btn[disabled] { opacity: 0.5; cursor: default; }
button.btn { cursor: pointer; }
.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; color: #c8c2b6; font-size: 15px; cursor: pointer; }
.check-line input { margin-top: 4px; accent-color: var(--accent); }
.msg { margin: 10px 0; font-size: 15px; }
.msg.err { color: #e59a8a; }
.msg.ok { color: #9fcf9a; }
.plans { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.plans .btn.on { border-color: var(--accent); background: rgba(196, 180, 154, 0.12); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 6px; color: #c8c2b6; }
.kv b { color: var(--ink); font-weight: 600; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 14px; color: #c8c2b6; }
.mini-table td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hidden { display: none !important; }

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--page2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color: #c8c2b6;
  font-size: 14px;
  line-height: 1.45;
}
.cookie-bar p { margin: 0 0 12px; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

footer.foot {
  margin-top: calc(var(--space) * 6);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 40px;
}
.foot-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.foot-contacts a {
  color: var(--mute);
}
.foot-contacts a:hover {
  color: var(--accent);
  text-decoration: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .legal-grid { grid-template-columns: 1fr; gap: 12px; }
  .legal-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
  }
  .legal-toc-title { width: 100%; margin-bottom: 0; }
  .wrap { padding: 16px var(--gutter) 56px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: calc(var(--space) * 4);
    padding: calc(var(--space) * 2) 0 calc(var(--space) * 4);
  }
  .hero-copy {
    max-width: none;
    order: 1;
    padding-top: 0;
  }
  .hero-plane {
    order: 2;
    margin-top: 0;
    max-height: none;
    aspect-ratio: 16 / 11;
  }
  .hero-brand { font-size: clamp(52px, 16vw, 72px); }
  .hero-plane .ui-app {
    max-height: none;
    aspect-ratio: 16 / 11;
  }
  .trust, .price-row, .day-steps, .start-steps { grid-template-columns: 1fr; }
  .versus { flex-direction: column; gap: 10px; }
  .versus-sep { display: none; }
  .sphere-pill { max-width: none; flex: 1 1 42%; }
  .price-item { min-height: 0; }
  .hero-plane .ui-app,
  .ui-app { grid-template-columns: 1fr; }
  .ui-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 8px;
  }
  .ui-logo, .ui-who { display: none; }
  .ui-side button { height: 32px; }
}
