/* Подсолнух — лендинг, палитра близка к приложению */
:root {
  --green: #90b651;
  --green-dark: #5a7a35;
  --green-soft: #e8f2d8;
  --green-mid: #c5d9a0;
  --text: #2d331f;
  --text-muted: #5c6348;
  --surface: #ffffff;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(45, 51, 31, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: linear-gradient(180deg, var(--green-soft) 0%, #f7faf3 28%, #fff 100%);
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

.wrap {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(144, 182, 81, 0.2);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--green-dark);
}

.brand-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(144, 182, 81, 0.35);
  box-shadow: 0 2px 8px rgba(45, 51, 31, 0.12);
  flex-shrink: 0;
}

.btn-rustore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(180deg, #9bc45a 0%, var(--green) 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(144, 182, 81, 0.45);
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-rustore:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(144, 182, 81, 0.5);
  color: #fff !important;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-cover-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(144, 182, 81, 0.2);
  background: var(--green-soft);
}

.hero-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(360px, 50vh);
  object-fit: cover;
  object-position: center;
}

/* Sections */
section {
  padding: 2.5rem 0;
}

section:nth-child(even) {
  background: rgba(255, 255, 255, 0.65);
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subtitle {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(144, 182, 81, 0.15);
}

ul.features {
  margin: 0;
  padding-left: 1.25rem;
}

ul.features li {
  margin-bottom: 0.65rem;
}

ul.features li:last-child {
  margin-bottom: 0;
}

.extra-grid {
  display: grid;
  gap: 0.75rem;
}

.extra-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(144, 182, 81, 0.12);
}

.extra-item .emoji {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(148px, 46vw), 1fr));
  gap: 0.85rem 1rem;
  margin-top: 1.5rem;
  align-items: start;
}

.shot-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(144, 182, 81, 0.25);
  box-shadow: var(--shadow);
  background: var(--green-soft);
  justify-self: center;
}

/* Data & footer */
.data-box {
  background: linear-gradient(135deg, #f0f7e8 0%, #fff 100%);
  border: 1px solid rgba(144, 182, 81, 0.25);
}

.footer {
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer a {
  font-weight: 500;
}

.mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Политика конфиденциальности (полный текст) */
.privacy-policy {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid rgba(144, 182, 81, 0.28);
  background: var(--surface);
}

.privacy-policy-inner {
  max-width: 52rem;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--text);
}

.privacy-policy-inner h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.privacy-meta {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-indent: 0;
}

.privacy-policy-inner h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.6rem;
  line-height: 1.35;
}

.privacy-policy-inner h3:first-of-type {
  margin-top: 0;
}

.privacy-policy-inner p {
  margin: 0 0 0.85rem;
}

/* Абзацный отступ («красная строка») для обычного текста */
.privacy-policy-inner p.privacy-text {
  text-indent: 1.5em;
}

/* Нумерованные подпункты 1) 2) с выступом номера */
.privacy-policy-inner p.privacy-hang {
  margin: 0 0 0.65rem;
  padding-left: 2em;
  text-indent: -2em;
  text-align: left;
}

/* Маркированные перечисления: каждый пункт — отдельная строка */
.privacy-policy-inner ul.privacy-list {
  display: block;
  margin: 0 0 0.9rem;
  padding: 0 0 0 1.75em;
  list-style: disc outside;
}

.privacy-policy-inner ul.privacy-list li {
  display: list-item;
  margin: 0 0 0.5rem;
  padding-left: 0.35em;
  text-indent: 0;
  line-height: 1.55;
}

.privacy-policy-inner ul.privacy-list li:last-child {
  margin-bottom: 0;
}

/* Подзаголовки внутри п. 5 (5.1 … 5.5) */
.privacy-policy-inner p.privacy-sub {
  text-indent: 0;
  margin: 0 0 0.5rem;
}

.privacy-policy-inner p.privacy-sub strong {
  font-weight: 700;
}

.privacy-policy-inner p:last-child {
  margin-bottom: 0;
}
