:root {
  --ink: #171717;
  --muted: #5f5b53;
  --paper: #fbf7ef;
  --sand: #f7f1e7;
  --warm: #efe4d2;
  --line: #e4d5bd;
  --gold: #b99342;
  --gold-deep: #7a5a24;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", "Noto Sans", "Noto Sans Cyrillic", sans-serif;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
}
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.015em;
}
.brand img {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.nav-pills,
.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nav-pills { justify-content: center; }
.pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4c4aa;
  border-radius: 999px;
  background: var(--paper);
  color: var(--gold-deep);
  padding: 6px 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.005em;
  line-height: 1.1;
}
.pill:hover { background: var(--warm); }
.pill.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 10%, rgba(185, 147, 66, 0.18), transparent 30%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: center;
  padding-block: 88px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.105em;
  line-height: 1.3;
  text-transform: uppercase;
}
h1,
h2 {
  margin: 0;
  max-width: 900px;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.09;
  letter-spacing: -0.032em;
}
h1 { font-size: clamp(42px, 8vw, 78px); }
h2 { font-size: clamp(32px, 5vw, 54px); }
html:lang(ru) h1,
html:lang(ru) h2 {
  line-height: 1.11;
  letter-spacing: -0.018em;
}
h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p {
  margin: 14px 0 0;
  color: var(--muted);
}
.lead {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.43;
  letter-spacing: -0.012em;
}
.section-lead {
  max-width: 780px;
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.7;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0.005em;
  line-height: 1.12;
}
.button.primary {
  background: var(--ink);
  color: var(--paper);
}
.button.secondary {
  border: 1px solid var(--gold);
  background: var(--paper);
  color: var(--gold-deep);
}
.button.light {
  background: var(--paper);
  color: var(--ink);
  align-self: start;
}
.doctrine {
  margin-top: 28px;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  font-weight: 700;
}
.symbol-card {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(145deg, var(--sand), var(--paper));
}
.symbol-card img {
  width: min(55%, 180px);
  height: auto;
}
.section {
  border-bottom: 1px solid var(--line);
  padding-block: 80px;
  background: var(--sand);
}
.section.warm { background: var(--warm); }
.section.dark {
  background: var(--ink);
  color: var(--paper);
}
.section.dark h2,
.section.dark p,
.section.dark .eyebrow {
  color: var(--paper);
}
.cards,
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card,
.contact-card {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 22px;
  text-decoration: none;
}
.contact-list {
  display: grid;
  gap: 14px;
}
.contact-card span {
  display: block;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
}
.contact-card strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 18px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--warm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding-block: 42px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.copyright {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 820px) {
  .header-grid,
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-pills { justify-content: start; }
  .hero-grid { padding-block: 56px; }
  .symbol-card { min-height: 220px; }
  .cards,
  .cards.three,
  .steps {
    grid-template-columns: 1fr;
  }
}