/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

:root {
  --bg: #fdfaf5;          /* кремовый фон */
  --card: #ffffff;
  --text: #2c2c2c;
  --muted: #6b6b6b;
  --accent: #e07a5f;       /* мягкий акцент (терракотовый/оранжевый) */
  --border: #e8e2da;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  padding: 20px;
}

.container {
  max-width: 880px;
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

header .brand {
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}

header a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.hero {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.app-promo {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.app-promo__image {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 24px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.app-promo__content h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.app-promo__content p {
  color: var(--muted);
}

.app-promo__eyebrow {
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.app-promo__button {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-promo__button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 6px;
}

.hero .meta {
  font-size: 14px;
  color: var(--muted);
}

.section {
  background: var(--card);
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.section h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--accent);
}

ul {
  margin: 10px 0 0 18px;
}

.toc {
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.toc h3 {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 10px;
}

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

.toc li {
  margin-bottom: 6px;
}

.toc a {
  color: var(--accent);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
/* Language switch buttons */
header .lang-switch {
  display: flex;
  gap: 8px;
}

header .lang-switch button {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

header .lang-switch button:hover {
  background: #f5f5f5;
  border-color: #999;
}

header .lang-switch button.active {
  background: #333;
  color: #fff;
  border-color: #333;
}
/* Navigation between policy pages */
.nav-pages {
  margin: 40px 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-pages a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-pages a:hover {
  background: #f5f5f5;
  color: #000;
}

@media (max-width: 640px) {
  .app-promo {
    flex-direction: column;
    align-items: flex-start;
  }
}
