:root {
  --bg: #faf8f4;
  --cream: #f5f0e8;
  --white: #ffffff;
  --green-900: #1a3024;
  --green-800: #1f3d2a;
  --green-700: #2f6b40;
  --green-500: #67a060;
  --green-100: #e1f0d9;
  --orange: #ed6c1f;
  --orange-hover: #d85f18;
  --text: #232e28;
  --muted: #6b756c;
  --line: #e1d6c0;
  --shadow: 0 12px 40px rgba(26, 48, 36, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --container: min(1200px, calc(100% - 48px));
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--green-700);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-800);
}

.btn--accent {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(237, 108, 31, 0.35);
}

.btn--accent:hover {
  background: var(--orange-hover);
}

.btn--ghost {
  background: var(--cream);
  color: var(--green-900);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--block {
  width: 100%;
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid rgba(237, 108, 31, 0.45);
  outline-offset: 2px;
}

.play {
  font-size: 11px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
  position: relative;
  z-index: 202;
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--green-900);
}

.logo--light {
  color: var(--white);
}

.logo__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 4px;
  transition: transform 0.2s ease;
}

.logo:hover .logo__mark {
  transform: rotate(-6deg) scale(1.05);
}

.logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo--light .logo__mark {
  background: rgba(255, 255, 255, 0.12);
}

.logo--light .logo__mark img {
  filter: brightness(1.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--green-700);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 56px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 48, 36, 0.94) 0%, rgba(31, 61, 42, 0.88) 45%, rgba(26, 48, 36, 0.75) 100%),
    url("https://images.unsplash.com/photo-1585110390930-9a806295eb56?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-100);
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 32px;
  font-size: 18px;
  color: rgba(225, 240, 217, 0.92);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 480px;
  backdrop-filter: blur(6px);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.hero__stats li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: -14px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
}

.hero__stats strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, var(--green-100) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero__stats span {
  font-size: 12.5px;
  color: rgba(225, 240, 217, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .hero__stats li:not(:last-child)::after {
    display: none;
  }
}

.hero__visual {
  position: relative;
  min-height: 420px;
}

.hero__rabbit {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f5f0e8 0%, #e8dcc8 40%, transparent 41%),
    url("https://images.unsplash.com/photo-1585110390930-9a806295eb56?auto=format&fit=crop&w=400&q=80") center / cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.app-preview {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.app-preview__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.app-preview__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e57373;
}

.app-preview__chrome span:nth-child(2) {
  background: #ffb74d;
}

.app-preview__chrome span:nth-child(3) {
  background: var(--green-500);
}

.app-preview__chrome p {
  margin: 0 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.app-preview__body {
  display: flex;
  min-height: 280px;
}

.app-preview__sidebar {
  width: 120px;
  background: var(--green-900);
  padding: 16px 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.app-preview__brand {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  font-size: 12px;
}

.app-preview__sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-preview__sidebar li {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.app-preview__sidebar li.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 600;
}

.app-preview__main {
  flex: 1;
  padding: 16px;
  background: var(--bg);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.kpi-row article {
  background: var(--white);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--line);
}

.kpi-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.kpi-row strong {
  font-size: 16px;
  color: var(--green-900);
}

.chart-block {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--line);
}

.chart-block h4 {
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--muted);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.bars span {
  flex: 1;
  height: var(--h);
  background: var(--green-500);
  border-radius: 6px 6px 2px 2px;
  opacity: 0.85;
}

.bars span.accent {
  background: var(--orange);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section__title {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0 auto 48px;
  text-align: center;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
}

/* ==========================================================================
   Общий "eyebrow" заголовок над секциями
   ========================================================================== */
.eyebrow {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 1px;
  background: var(--green-500);
  margin: 0 12px;
  opacity: 0.6;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features {
  background: var(--white);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(103, 160, 96, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(237, 108, 31, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.features .container {
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px 28px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700) 0%, var(--green-500) 50%, var(--orange) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(47, 107, 64, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 107, 64, 0.28);
  box-shadow: 0 24px 60px rgba(26, 48, 36, 0.12);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card .feature-card__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-100) 0%, rgba(225, 240, 217, 0.4) 100%);
  color: var(--green-700);
  margin: 0 0 22px;
  font-size: 0;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.feature-card .feature-card__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.feature-card:hover .feature-card__icon {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
  color: var(--white);
  transform: scale(1.05) rotate(-4deg);
  box-shadow: 0 12px 28px rgba(47, 107, 64, 0.28);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Screens */
.screens {
  overflow-x: clip;
}

.screens__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.screen-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.screen-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.screen-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--green-900);
}

.screen-card header button {
  padding: 8px 14px;
  border: none;
  border-radius: 10px;
  background: var(--green-700);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.screen-card__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px 4px;
}

.screen-card__table-wrap table {
  min-width: 420px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.tag--green {
  background: var(--green-100);
  color: var(--green-700);
}

.tag--orange {
  background: #fde8d4;
  color: var(--orange);
}

.tag--blue {
  background: #dbeafe;
  color: #2563eb;
}

.screen-card--chart .chart-label {
  margin: 0 0 16px;
  color: var(--muted);
}

.screen-card--chart strong {
  color: var(--green-900);
  font-size: 20px;
}

.mini-chart {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  flex: 1;
}

.mini-bars span {
  flex: 1;
  height: var(--h);
  background: var(--green-500);
  border-radius: 6px 6px 2px 2px;
}

.mini-bars span.accent {
  background: var(--orange);
}

.donut {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(
    var(--green-700) 0 45%,
    var(--orange) 45% 75%,
    #94a3b8 75% 100%
  );
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: var(--white);
  border-radius: 50%;
}

.legend {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

.legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-700);
}

.legend .c2 {
  background: var(--orange);
}

.legend .c3 {
  background: #94a3b8;
}

/* ==========================================================================
   Steps · "Как это работает"
   ========================================================================== */
.steps {
  background:
    radial-gradient(circle at 80% 10%, rgba(237, 108, 31, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, #efe7d6 100%);
  position: relative;
  overflow: hidden;
}

.steps__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

/* Соединяющая пунктирная линия позади карточек (декор) */
.steps__row::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 14%;
  right: 14%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--green-500) 50%, transparent 0);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  opacity: 0.45;
  z-index: 0;
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 30px 30px;
  text-align: left;
  box-shadow: 0 12px 36px rgba(26, 48, 36, 0.08);
  overflow: hidden;
  z-index: 1;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--green-100);
  letter-spacing: -0.04em;
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.35s ease, color 0.35s ease;
  z-index: 0;
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 107, 64, 0.3);
  box-shadow: 0 24px 56px rgba(26, 48, 36, 0.16);
}

.step-card:hover::before {
  -webkit-text-stroke-color: var(--orange);
  color: transparent;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.step-card__num::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.step-card__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%);
  color: var(--white);
  margin-bottom: 22px;
  box-shadow: 0 14px 32px rgba(47, 107, 64, 0.28);
  font-size: 0;
  transition: transform 0.35s ease;
}

.step-card__icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.step-card:hover .step-card__icon {
  transform: rotate(-6deg) scale(1.05);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Старая стрелка больше не используется */
.steps__arrow {
  display: none;
}

@media (max-width: 1024px) {
  .steps__row {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .steps__row::before {
    display: none;
  }
}

/* Download CTA */
.download {
  background: var(--bg);
  padding-bottom: 96px;
}

.download__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(237, 108, 31, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 12% 90%, rgba(103, 160, 96, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 60%, #275236 100%);
  border-radius: 28px;
  padding: 56px 56px;
  color: var(--white);
  box-shadow: 0 32px 80px rgba(26, 48, 36, 0.32);
  overflow: hidden;
}

.download__card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.download__content .badge--light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.download__content h2 {
  margin: 18px 0 16px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.download__content > p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(225, 240, 217, 0.92);
  max-width: 520px;
}

.download__features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.download__features li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.download__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.download__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.download__actions .btn--accent {
  box-shadow: 0 12px 32px rgba(237, 108, 31, 0.45);
}

.download__meta {
  font-size: 13.5px;
  color: rgba(225, 240, 217, 0.7);
}

.download__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.download__visual img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .download__visual img { animation: none; }
}

@media (max-width: 1024px) {
  .download__card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    text-align: center;
  }

  .download__content > p,
  .download__features {
    margin-inline: auto;
  }

  .download__features {
    max-width: 480px;
  }

  .download__actions {
    justify-content: center;
  }

  .download__visual img {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 640px) {
  .download__features {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .download__card {
    padding: 32px 22px;
  }
}

/* Footer */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 48px;
}

.footer__brand p {
  margin: 12px 0 20px;
  font-size: 14px;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.7);
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.footer h4 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 15px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--white);
}

.contacts-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.footer__newsletter p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 14px;
}

.footer__newsletter .btn--block {
  max-width: 240px;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

/* ==========================================================================
   Адаптив: планшет и телефон
   ========================================================================== */

/* Планшет и телефон: без меню в шапке */
@media (max-width: 1024px) {
  :root {
    --container: min(1200px, calc(100% - 40px));
    --header-h: 60px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .header__inner {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: var(--header-h);
    gap: 12px;
  }

  .logo {
    flex: 1;
    min-width: 0;
    margin-right: 0;
  }

  .header__tools {
    margin-left: auto;
    flex-shrink: 0;
  }

  .header__cta-desktop {
    display: inline-flex;
    padding: 10px 14px;
    font-size: 13px;
  }

  .header__cta-text {
    font-size: 13px;
  }

  .nav {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
    min-height: 0;
  }

  .hero__rabbit {
    display: none;
  }

  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screens__grid {
    grid-template-columns: 1fr;
  }

  .screen-card__table-wrap {
    margin: 0;
    padding: 0;
    overflow: visible;
    max-width: 100%;
  }

  .screen-card__table-wrap table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .screen-card__table-wrap thead {
    display: none;
  }

  .screen-card__table-wrap tbody tr {
    display: block;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px 12px;
  }

  .screen-card__table-wrap td {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 13px;
  }

  .screen-card__table-wrap td:last-child {
    border-bottom: none;
  }

  .screen-card__table-wrap td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .screen-card__table-wrap td .tag {
    justify-self: start;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .download__card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    text-align: center;
  }

  .download__content > p,
  .download__features {
    margin-inline: auto;
  }

  .download__actions {
    justify-content: center;
  }
}

/* Телефон */
@media (max-width: 768px) {
  :root {
    --container: min(1200px, calc(100% - 32px));
  }

  .header__cta-text {
    font-size: 0;
  }

  .header__cta-text::before {
    content: "Скачать";
    font-size: 13px;
  }

  .header__inner {
    gap: 10px;
  }

  .logo {
    font-size: 16px;
    min-width: 0;
  }

  .logo__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero h1 {
    font-size: clamp(26px, 7.5vw, 34px);
    margin-bottom: 16px;
  }

  .hero h1 br {
    display: none;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: none;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    padding: 16px 18px;
    max-width: none;
  }

  .hero__stats li:not(:last-child)::after {
    display: none;
  }

  .hero__stats strong {
    font-size: 24px;
  }

  .hero__stats span {
    font-size: 11px;
  }

  .hero__visual {
    width: 100%;
  }

  .app-preview {
    max-width: 100%;
    border-radius: var(--radius);
  }

  .app-preview__chrome p {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-preview__sidebar {
    display: none;
  }

  .app-preview__body {
    min-height: 200px;
  }

  .app-preview__main {
    padding: 12px;
  }

  .kpi-row {
    gap: 8px;
  }

  .kpi-row article {
    padding: 8px 6px;
  }

  .kpi-row strong {
    font-size: 14px;
  }

  .kpi-row small {
    font-size: 9px;
  }

  .bars {
    height: 64px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 22px 20px;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: clamp(24px, 6vw, 30px);
  }

  .section__subtitle {
    font-size: 15px;
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .eyebrow::before,
  .eyebrow::after {
    display: none;
  }

  .screen-card {
    padding: 16px 14px;
    border-radius: var(--radius);
  }

  .screen-card header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .screen-card header button {
    width: 100%;
  }

  .mini-chart {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .donut {
    margin: 0 auto;
  }

  .legend {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step-card {
    padding: 28px 22px 24px;
  }

  .step-card::before {
    font-size: 64px;
    top: 12px;
    right: 12px;
  }

  .download {
    padding-bottom: 64px;
  }

  .download__card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .download__content h2 {
    font-size: 24px;
  }

  .download__features {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 8px;
  }

  .download__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .download__actions .btn {
    width: 100%;
  }

  .download__visual {
    display: none;
  }

  .footer {
    padding-top: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .footer__legal {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .scroll-top {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }
}

/* Узкий телефон */
@media (max-width: 400px) {
  :root {
    --container: min(1200px, calc(100% - 24px));
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

}

/* ==========================================================================
   Cookie-баннер
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 200%);
  width: min(960px, calc(100% - 32px));
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(26, 48, 36, 0.22), 0 4px 12px rgba(26, 48, 36, 0.08);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 200;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-banner__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: linear-gradient(135deg, #fde8d4 0%, #f5f0e8 100%);
  border-radius: 16px;
  animation: cookieBounce 2.2s ease-in-out infinite;
}

@keyframes cookieBounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-4px) rotate(3deg); }
}

.cookie-banner__content {
  flex: 1;
  min-width: 0;
}

.cookie-banner__content h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-900);
}

.cookie-banner__content p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-banner__content a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__content a:hover {
  color: var(--orange);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cookie-banner__close:hover {
  background: var(--cream);
  color: var(--green-900);
  border-color: var(--green-100);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    transform: translateY(200%);
    padding: 14px 16px;
    gap: 12px;
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
  }

  .cookie-banner__icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
    border-radius: 12px;
  }

  .cookie-banner__content h4 {
    font-size: 14px;
  }

  .cookie-banner__content p {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .cookie-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cookie-banner__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   Кнопка "Наверх"
   ========================================================================== */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--green-700);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(47, 107, 64, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.15s;
  z-index: 150;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--green-800);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .scroll-top {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 1024px) {
  .scroll-top.is-visible {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   Fade-in анимации при появлении
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cookie-banner__icon {
    animation: none;
  }
}

/* ==========================================================================
   Страница: Политика конфиденциальности
   ========================================================================== */
.legal-page {
  background: var(--bg);
}

.badge--light {
  background: var(--green-100);
  color: var(--green-700);
}

.legal__hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(237, 108, 31, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(47, 107, 64, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--green-700);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.legal__hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-900);
}

.legal__lead {
  margin: 0 0 12px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

.legal__lead strong {
  color: var(--green-900);
}

.legal__meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal__body {
  padding: 56px 0 96px;
}

.legal__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(26, 48, 36, 0.05);
}

.legal__toc h3 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.legal__toc ol {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: toc;
}

.legal__toc li {
  counter-increment: toc;
  padding: 6px 0;
  border-bottom: 1px dashed transparent;
}

.legal__toc li:not(:last-child) {
  border-bottom-color: var(--line);
}

.legal__toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  transition: color 0.15s;
}

.legal__toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-weight: 700;
  color: var(--green-500);
  font-size: 12px;
  flex-shrink: 0;
}

.legal__toc a:hover {
  color: var(--green-700);
}

.legal__contact {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.legal__contact p {
  margin: 0 0 4px;
}

.legal__contact a {
  color: var(--orange);
  font-weight: 600;
}

.legal__contact a:hover {
  color: var(--orange-hover);
}

.legal__article section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(26, 48, 36, 0.04);
  scroll-margin-top: 100px;
}

.legal__article h2 {
  margin: 0 0 18px;
  font-size: 22px;
  color: var(--green-900);
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 12px;
}

.legal__article h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.legal__article h3 {
  margin: 20px 0 10px;
  font-size: 16px;
  color: var(--green-800);
  font-weight: 700;
}

.legal__article p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.legal__article p strong {
  color: var(--green-900);
}

.legal__article ul {
  margin: 0 0 12px;
  padding-left: 0;
  list-style: none;
}

.legal__article ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.legal__article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
}

.legal__article a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.legal__article a:hover {
  color: var(--orange);
}

.legal-table dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.legal-table dt {
  padding: 14px 18px;
  font-weight: 700;
  color: var(--green-900);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.legal-table dd {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}

.legal-table dl > dt:last-of-type,
.legal-table dl > dd:last-of-type {
  border-bottom: none;
}

.legal__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  border-radius: var(--radius-lg);
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.legal__cta .btn--primary {
  background: var(--orange);
}

.legal__cta .btn--primary:hover {
  background: var(--orange-hover);
}

.legal__cta .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal__cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer__bottom--solo {
  padding-top: 24px;
}

@media (max-width: 1024px) {
  .legal__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal__toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .legal__article section {
    padding: 24px 20px;
  }

  .legal-table dl {
    grid-template-columns: 1fr;
  }

  .legal-table dt {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .legal__cta {
    flex-direction: column;
    text-align: center;
  }
}
