/* Stickene — лендинг. Размеры и цвета взяты из макета Claude Design (docs/site-mockup):
   десктоп — артборд 1a (1440 px), телефон — 1b (390 px). Между ними раскладка сжимается. */

@font-face {
  font-family: "Comfortaa";
  src: url("fonts/Comfortaa.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --paper: #FBFBFC;
  --ink: #17171A;
  --muted: #8A8A8E;
  --line: #E7E7EB;
  --chip: #EFEFF1;

  --yellow: #FBEFA8;
  --amber: #FBD9A5;
  --rose: #F8C8CE;
  --lilac: #DCCEF3;
  --blue: #C3DCF5;
  --teal: #BEE6DF;
  --green: #CDE7BE;
  --graphite: #DCE0E5;

  --display: "Comfortaa", "Nunito", sans-serif;
  --text: "Nunito", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: 80px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--muted);
}

h1,
h2,
p {
  margin: 0;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
}

.only-mobile {
  display: none;
}

.ic {
  flex: none;
  fill: currentColor;
}

/* ---------- Шапка ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

/* Значок приложения. Скругление уже нарисовано в самом SVG, тень — как у квадратика из макета. */
.brand-mark {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(23, 23, 26, .10);
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .current {
  color: var(--ink);
  font-weight: 600;
}

.nav-lang {
  font-size: 14px;
  color: var(--muted);
}

.nav-lang .current {
  color: var(--ink);
  font-weight: 600;
}

.nav-lang a {
  color: var(--muted);
}

/* ---------- Кнопка ---------- */

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 19px 38px;
  border-radius: 26px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  box-shadow: 0 10px 24px rgba(23, 23, 26, .18);
  transition: transform .2s ease;
}

.download:hover {
  color: var(--paper);
  transform: translateY(-2px);
}

.download:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-note {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Первый экран ---------- */

.hero {
  display: grid;
  grid-template-columns: 680px 1fr;
  gap: 40px;
  align-items: center;
  /* Первый экран шире колонки страницы: текст стоит по сетке 1440, а иллюстрация дотягивается
     до края окна — у неё край экрана настоящий. Проценты считаются от ширины без полосы прокрутки. */
  padding: 72px 0 88px max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
}

html[lang="en"] .hero {
  grid-template-columns: 600px 1fr;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 62px;
  line-height: 1.1;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.hero-lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  text-wrap: pretty;
}

.hero .cta-note {
  padding-left: 4px;
}

/* ---------- Иллюстрация: край экрана со стопкой ---------- */

.edge {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.note {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: 13px;
  overflow: hidden;
}

.note-bar {
  flex: none;
}

.note-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.note-title {
  font-family: var(--display);
  font-weight: 700;
}

.note-yellow {
  left: 46px;
  top: 34px;
  width: 300px;
  height: 214px;
  background: var(--yellow);
  box-shadow: 0 18px 40px rgba(23, 23, 26, .14);
}

.note-yellow .note-bar {
  height: 18px;
  background: #F4E58E;
}

.note-yellow .note-bar:last-child {
  height: 14px;
}

.note-yellow .note-body {
  padding: 14px 20px;
  gap: 9px;
}

.note-yellow .note-title {
  font-size: 17px;
  color: #6A6320;
}

.task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #55511F;
}

.task-box {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 2px solid #6A6320;
}

.task.done {
  color: #A79F6E;
  text-decoration: line-through;
}

.task.done .task-box {
  border: 0;
  background: #C9BC5E;
  color: var(--yellow);
  font-size: 11px;
  line-height: 15px;
  text-align: center;
}

.note-rose {
  left: 174px;
  top: 282px;
  width: 268px;
  height: 178px;
  background: var(--rose);
  box-shadow: 0 14px 34px rgba(23, 23, 26, .13);
}

.note-rose .note-bar {
  height: 18px;
  background: #F0B7BE;
}

.note-rose .note-body {
  padding: 14px 20px;
  gap: 4px;
}

.note-rose .note-title {
  font-size: 17px;
  color: #8A3B4A;
}

.note-placeholder {
  font-size: 15px;
  color: #B08B92;
}

.note-rose .note-foot {
  flex: none;
  height: 36px;
  background: #F0B7BE;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  color: #6E4A50;
}

.note-foot .ic {
  width: 16px;
  height: 16px;
  fill: #9E5A63;
}

/* Стопка за краем: спрятана целиком и выезжает при наведении — как у приложения. */
.stack-slide {
  position: absolute;
  inset: 0;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.stack {
  position: absolute;
  top: 56px;
  right: -236px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.card {
  width: 92px;
  height: 56px;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 14px rgba(23, 23, 26, .10);
}

.card-wide {
  width: 236px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--yellow);
  box-shadow: 0 6px 18px rgba(23, 23, 26, .13);
  color: #8A7B2F;
}

.grip {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.grip i {
  display: block;
  width: 13px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.card-label {
  flex: 1;
  font-size: 16px;
  color: #6A6320;
}

.card-wide .ic {
  width: 15px;
  height: 15px;
}

.card-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(23, 23, 26, .08);
  font-size: 22px;
  color: var(--muted);
}

.pages {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 12px 0 0;
}

.pages i {
  display: block;
  height: 4px;
  border-radius: 2px;
}

.pages i:first-child {
  width: 14px;
  background: var(--muted);
}

.pages i:last-child {
  width: 4px;
  background: #C9C9CE;
}

.tools {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 12px;
  color: var(--muted);
}

.tools .i-filter {
  width: 16px;
  height: 16px;
}

.tools .i-gear {
  width: 14px;
  height: 14px;
}

/* Плашка у края — точь-в-точь как в приложении. */
.plate {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  min-height: 24px;
  padding: 6px 5px 6px 4px;
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(0, 0, 0, .12);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity .15s ease;
}

.plate i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-bottom: 4px;
}

.edge-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

@media (hover: hover) {
  .edge:hover .stack-slide {
    transform: translateX(-254px);
  }

  /* Пока стопка снаружи, плашка гаснет — в приложении так же. */
  .edge:hover .plate {
    opacity: 0;
  }
}

/* Без мыши навести не на что — стопка сразу выдвинута. */
@media (hover: none) {
  .stack-slide {
    transform: translateX(-254px);
  }

  .plate {
    opacity: 0;
  }

  .edge-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stack-slide,
  .download {
    transition: none;
  }
}

/* ---------- Разделы ---------- */

.section {
  padding: 0 var(--gutter) 100px;
  scroll-margin-top: 24px;
}

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 34px;
  margin-bottom: 40px;
}

/* Как это работает */

.steps {
  padding-bottom: 96px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.step {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(23, 23, 26, .06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-num {
  font-family: var(--display);
  font-size: 15px;
  color: var(--muted);
}

.step-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
}

.step-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

/* Возможности */

.features .section-title {
  margin-bottom: 44px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 28px;
}

.feature {
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 22px rgba(23, 23, 26, .09);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
}

.feature-text {
  font-size: 17px;
  line-height: 1.55;
}

.feature:nth-child(1) { background: var(--yellow); transform: rotate(-2deg); }
.feature:nth-child(2) { background: var(--blue); transform: rotate(3deg); }
.feature:nth-child(3) { background: var(--graphite); transform: rotate(-3deg); }
.feature:nth-child(4) { background: var(--teal); transform: rotate(2deg); }
.feature:nth-child(5) { background: var(--green); transform: rotate(-2deg); }
.feature:nth-child(6) { background: var(--lilac); transform: rotate(3deg); }

/* Карточка напоминания, выглядывающая из-за края стикера «Напоминания». */
.feature-peek {
  position: relative;
  height: 130px;
  margin: 8px -30px -14px 0;
  overflow: hidden;
}

.feature-peek .note {
  right: -26px;
  top: 0;
  width: 246px;
  height: 140px;
  border-radius: 13px 0 0 13px;
  background: var(--rose);
  box-shadow: 0 14px 34px rgba(23, 23, 26, .13);
}

.feature-peek .note-bar {
  height: 18px;
  background: #F0B7BE;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 5px;
}

.feature-peek .note-bar .ic {
  width: 11px;
  height: 11px;
  fill: #9E5A63;
}

.feature-peek .note-body {
  padding: 14px 20px;
  gap: 4px;
}

.feature-peek .note-title {
  font-size: 16px;
  color: #8A3B4A;
}

.feature-peek .note-placeholder {
  font-size: 14px;
}

.feature-peek .note-foot {
  flex: none;
  height: 36px;
  background: #F0B7BE;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #6E4A50;
}

.soon {
  margin-top: 38px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--muted);
}

/* Приватность */

.privacy-box {
  background: var(--graphite);
  border-radius: 16px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.privacy-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-copy .section-title {
  margin: 0;
}

.privacy-text {
  font-size: 19px;
  line-height: 1.6;
  max-width: 440px;
  text-wrap: pretty;
}

.privacy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  background: var(--paper);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 17px;
}

/* Снимки экрана */

.shots {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.shots-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.shot {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #F1F1F4;
  box-shadow: 0 6px 20px rgba(23, 23, 26, .06);
}

.shot-wide {
  height: 420px;
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Снимки у края: при обрезке сохраняется правая сторона — там и стопка, и край экрана. */
.shot-edge img {
  object-position: right center;
}

/* Что дальше: этапы и поддержка */

.next .steps-grid {
  margin-bottom: 28px;
}

.stage {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.stage-done {
  background: var(--green);
  color: var(--ink);
}

.support-box {
  background: var(--lilac);
  border-radius: 16px;
  padding: 48px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.support-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
}

.support-text {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.support-links {
  display: flex;
  gap: 16px;
}

/* Контурные: рядом нет «Скачать», но и спорить с ним ниже по странице не должны. */
.support-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  padding: 16px 26px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  transition: transform .2s ease;
}

.support-link:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.support-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
}

.support-note {
  font-size: 14px;
  color: rgba(23, 23, 26, .62);
}

/* Скачать */

.get {
  padding-bottom: 96px;
}

.get-box {
  background: var(--yellow);
  border-radius: 16px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.get-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
}

.get-text {
  font-size: 19px;
  line-height: 1.6;
  max-width: 560px;
}

.get .cta {
  align-items: center;
}

.get .cta-note {
  color: rgba(23, 23, 26, .62);
}

.warning {
  margin-top: 14px;
  background: var(--paper);
  border-radius: 14px;
  padding: 26px 30px;
  max-width: 720px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.warning-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}

.warning-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Версии — отдельная страница /releases/. Карточки — как шаги «Как это работает». */

.releases-page {
  max-width: 960px;
  padding-top: 64px;
}

.releases-page .section-title {
  margin-bottom: 14px;
}

.releases-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 40px;
}

.releases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.release {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 6px 20px rgba(23, 23, 26, .06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.release-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.release-version {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
}

.release-latest {
  align-self: center;
  background: var(--yellow);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 700;
}

.release-date {
  font-size: 15px;
  color: var(--muted);
}

.release-notes {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  font-size: 17px;
  line-height: 1.6;
}

.release-download {
  margin-top: 6px;
  padding: 14px 28px;
  font-size: 16px;
}

.release-failed {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-current {
  color: var(--ink);
}

/* Подвал */

.footer {
  border-top: 1px solid var(--line);
  padding: 34px var(--gutter) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.switch {
  display: inline-flex;
  gap: 2px;
  background: var(--chip);
  border-radius: 12px;
  padding: 4px;
}

.switch a,
.switch span {
  padding: 4px 12px;
  border-radius: 9px;
  color: var(--muted);
}

.switch .current {
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}

.switch a:hover {
  color: var(--ink);
}

/* ---------- Промежуточные ширины ---------- */

@media (max-width: 1279px) {
  :root {
    --gutter: 48px;
  }

  .hero,
  html[lang="en"] .hero {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
  }

  .hero h1 {
    font-size: clamp(44px, 4.6vw, 62px);
    white-space: normal;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-box {
    padding: 48px;
    gap: 40px;
  }

  .support-box {
    padding: 48px;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* ---------- Телефон (артборд 1b) ---------- */

@media (max-width: 899px) {
  :root {
    --gutter: 24px;
  }

  .only-desktop {
    display: none;
  }

  .only-mobile {
    display: revert;
  }

  .nav {
    padding: 22px 24px 0;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
  }

  .brand-name {
    font-size: 17px;
    letter-spacing: 0;
  }

  .nav-links {
    display: none;
  }

  .download {
    padding: 17px 28px;
    border-radius: 24px;
    font-size: 17px;
    box-shadow: none;
  }

  .cta {
    gap: 10px;
    align-items: flex-start;
  }

  .cta-note {
    font-size: 13px;
  }

  .hero,
  html[lang="en"] .hero {
    display: block;
    padding: 0;
  }

  .hero-copy {
    padding: 40px 24px 8px;
    gap: 18px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero .cta-note {
    padding-left: 0;
  }

  .edge {
    height: 430px;
    margin-top: 20px;
  }

  .note-yellow {
    left: 8px;
    top: 10px;
    width: 196px;
    height: 150px;
  }

  .note-yellow .note-bar {
    height: 14px;
  }

  .note-yellow .note-bar:last-child {
    height: 10px;
  }

  .note-yellow .note-body {
    padding: 11px 14px;
    gap: 7px;
  }

  .note-yellow .note-title,
  .note-rose .note-title {
    font-size: 15px;
  }

  .task {
    font-size: 13px;
  }

  .task-box {
    width: 13px;
    height: 13px;
  }

  .task.done .task-box {
    font-size: 9px;
    line-height: 13px;
  }

  .note-rose {
    left: 38px;
    top: 186px;
    width: 200px;
    height: 148px;
  }

  .note-rose .note-bar {
    height: 14px;
  }

  .note-rose .note-body {
    padding: 11px 14px;
  }

  .note-placeholder {
    font-size: 13px;
  }

  .note-rose .note-foot {
    height: 30px;
    font-size: 13px;
  }

  /* На телефоне стопка стоит выдвинутой, без анимации. */
  .stack-slide,
  .stack-slide:hover,
  .edge:hover .stack-slide {
    transform: none;
    transition: none;
  }

  .edge:hover .plate,
  .plate {
    opacity: 1;
  }

  .stack {
    top: 16px;
    right: 14px;
    gap: 10px;
  }

  .card {
    width: 68px;
    height: 42px;
    border-radius: 10px 0 0 10px;
  }

  .card-wide {
    width: 168px;
    height: 40px;
    gap: 9px;
    padding: 0 12px;
  }

  .grip i {
    width: 11px;
  }

  .card-label {
    font-size: 13px;
  }

  .card-plus {
    font-size: 18px;
  }

  .pages {
    padding: 2px 9px 0 0;
  }

  .tools {
    padding-right: 9px;
  }

  .edge-hint {
    display: none;
  }

  .mobile-flow {
    padding: 24px 24px 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .section,
  .steps,
  .get {
    padding: 0;
  }

  .section {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .section-title,
  .features .section-title {
    font-size: 25px;
    margin: 0;
  }

  .steps-grid,
  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .step {
    border-radius: 15px;
    padding: 22px;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(23, 23, 26, .06);
  }

  .step-num {
    font-size: 13px;
  }

  .releases-page {
    padding-top: 32px;
  }

  .releases-lead {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .releases {
    gap: 16px;
  }

  .release {
    border-radius: 15px;
    padding: 22px;
    gap: 10px;
  }

  .release-version {
    font-size: 20px;
  }

  .release-notes {
    font-size: 16px;
  }

  .release-download {
    align-self: stretch;
    padding: 15px 16px;
    font-size: 15px;
    text-align: center;
  }

  .step-title {
    font-size: 19px;
  }

  .step-text {
    font-size: 15px;
  }

  .feature {
    border-radius: 15px;
    padding: 22px;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(23, 23, 26, .09);
  }

  .feature-title {
    font-size: 18px;
  }

  .feature-text {
    font-size: 15px;
  }

  .feature:nth-child(2) { transform: rotate(2deg); }
  .feature:nth-child(3) { background: var(--rose); }

  .feature-peek {
    display: none;
  }

  .next .steps-grid {
    margin-bottom: 0;
  }

  .stage {
    font-size: 12px;
  }

  .support-box {
    border-radius: 15px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .support-title {
    font-size: 22px;
  }

  .support-text {
    margin-top: 8px;
    font-size: 15px;
  }

  .support-links {
    flex-direction: column;
    gap: 12px;
  }

  .support-link {
    min-width: 0;
    padding: 14px 20px;
    border-radius: 18px;
  }

  .support-name {
    font-size: 17px;
  }

  .support-note {
    font-size: 13px;
  }

  .soon {
    margin: 0;
    font-size: 13px;
  }

  .privacy {
    display: block;
  }

  .privacy-box {
    border-radius: 15px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .privacy-copy {
    gap: 14px;
  }

  .privacy-text {
    font-size: 16px;
  }

  .privacy-list {
    gap: 8px;
  }

  .privacy-list li {
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
  }

  .shots-section {
    gap: 14px;
  }

  .shots,
  .shots-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .shot,
  .shot-wide {
    height: 200px;
    border-radius: 15px;
    box-shadow: none;
  }

  .shots-side .shot:last-child {
    display: none;
  }


  .get-box {
    border-radius: 15px;
    padding: 28px 24px;
    gap: 16px;
  }

  .get-title {
    font-size: 26px;
  }

  .get-text {
    display: none;
  }

  .warning {
    margin-top: 0;
    border-radius: 12px;
    padding: 18px;
    gap: 8px;
  }

  .warning-title {
    font-size: 16px;
  }

  .warning-text {
    font-size: 14px;
  }

  .footer {
    padding: 22px 24px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer .brand-line {
    order: 2;
  }

  .footer .switch {
    display: none;
  }
}

/* Вторая платформа под кнопкой скачивания и страница Android. */
.alt-download {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted, #6b6b70);
}

.alt-download a {
  color: inherit;
  text-decoration: underline;
}

.for-android {
  display: none;
}

.is-android .for-desktop {
  display: none;
}

.is-android .for-android {
  display: inline;
}

/* Предупреждение-карточка: у неё свой display (flex), а не inline. */
.warning.for-android {
  display: none;
}

.is-android .warning.for-android {
  display: flex;
}

.warning .warning-text a {
  color: inherit;
  text-decoration: underline;
}

.android-version {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted, #6b6b70);
}

.android-steps-title {
  margin: 28px 0 10px;
  font-size: 18px;
}

.android-steps {
  margin: 0 auto 18px;
  max-width: 34em;
  padding-left: 22px;
  line-height: 1.55;
  text-align: left;
}

.android-steps li + li {
  margin-top: 6px;
}

/* ---------- Заявка в бета-тестирование ---------- */

/* На телефоне вступление к блоку скрыто (.get-text), но здесь оно и есть суть страницы. */
.beta-page .get-text {
  display: block;
}

.beta-form {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  text-align: left;
}

.beta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.beta-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
}

.beta-field input,
.beta-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  line-height: 1.5;
  resize: vertical;
}

.beta-field input:focus,
.beta-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.beta-hint {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(23, 23, 26, .62);
}

.beta-count {
  white-space: nowrap;
  font-weight: 700;
}

.beta-count.beta-enough {
  color: #2F6B3A;
}

/* Приманка для ботов: из потока и за экран, но не display:none — такие поля боты как раз обходят. */
.beta-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button.beta-send {
  border: 0;
  cursor: pointer;
  align-self: center;
}

button.beta-send:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
}

.beta-status {
  min-height: 1.5em;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

.beta-status.beta-bad {
  color: #A02F3B;
}

.beta-privacy {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(23, 23, 26, .62);
}

.beta-done .beta-field,
.beta-done .beta-send,
.beta-done .beta-privacy {
  display: none;
}

@media (max-width: 720px) {
  .beta-page .get-text {
    font-size: 16px;
  }

  .beta-field input,
  .beta-field textarea {
    font-size: 16px;
  }
}

/* ---------- Политика конфиденциальности ---------- */

.policy-doc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.65;
}

.policy-doc h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  margin-bottom: 8px;
}

.policy-doc h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  margin: 40px 0 12px;
}

.policy-doc p,
.policy-doc ul,
.policy-doc ol {
  margin-bottom: 12px;
}

.policy-doc ul,
.policy-doc ol {
  padding-left: 22px;
}

.policy-doc li {
  margin-bottom: 6px;
}

.policy-doc a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-date {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 720px) {
  .policy-doc {
    font-size: 16px;
  }

  .policy-doc h1 {
    font-size: 26px;
  }

  .policy-doc h2 {
    font-size: 21px;
  }
}
