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

:root {
  --olive: #556B2F;
  --olive-dark: #3A3E16;
  --olive-light: #EEF2E6;
  --gold: #F0D47A;
  --gold-dark: #A97800;
  --text: #1A1A1A;
  --muted: #555;
  --border: #D6E0C2;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #F9FAF6;
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

header {
  background: var(--olive-dark);
  padding: 28px 20px 20px;
  text-align: center;
}

header .app-name {
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

header h1 {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin-top: 4px;
  opacity: 0.9;
}

header .date-badge {
  display: inline-block;
  margin-top: 12px;
  background: rgba(240, 212, 122, 0.15);
  border: 1px solid rgba(240, 212, 122, 0.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

nav.breadcrumb {
  background: var(--olive-light);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 12px;
  color: var(--olive);
  display: flex;
  align-items: center;
}

nav.breadcrumb a {
  color: var(--olive);
  text-decoration: none;
  font-weight: 600;
}

nav.breadcrumb a:hover {
  text-decoration: underline;
}

nav.breadcrumb .lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
}

nav.breadcrumb .lang-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

nav.breadcrumb .lang-btn:hover {
  color: var(--olive);
  border-color: var(--olive);
}

nav.breadcrumb .lang-btn--active {
  color: var(--olive);
  border-color: var(--olive);
  background: white;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.intro {
  background: var(--olive-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--olive);
  line-height: 1.6;
}

section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

section h2 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--olive);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

section h2 .icon {
  font-size: 13px;
}

section p,
section ul {
  font-size: 14px;
  color: #333;
  line-height: 1.75;
}

section p+p {
  margin-top: 10px;
}

section ul {
  padding-left: 18px;
  margin-top: 8px;
}

section ul li {
  margin-bottom: 6px;
}

.info-row {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  width: 130px;
  flex-shrink: 0;
  color: var(--olive);
  font-weight: 600;
  font-size: 13px;
}

.info-row .value {
  color: #333;
}

a {
  color: var(--gold-dark);
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--olive);
  font-weight: 600;
}

.highlight {
  background: var(--olive-light);
  border-left: 3px solid var(--olive);
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--olive);
}

.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.right-item {
  background: var(--olive-light);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.right-item strong {
  display: block;
  color: var(--olive);
  font-size: 12px;
  margin-bottom: 2px;
}

.warning-box {
  background: #FFFBEA;
  border: 1px solid #E8D080;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 13px;
  color: #6B5500;
}

@media (max-width: 400px) {
  .info-row {
    flex-direction: column;
    gap: 2px;
  }

  .info-row .label {
    width: auto;
  }
}

@media (max-width: 480px) {
  .rights-grid {
    grid-template-columns: 1fr;
  }

  header .app-name {
    font-size: 20px;
  }
}
