/* SmmProsto — фирменный стиль (док 59): тёплые нейтрали, оранжевый акцент,
   прямые углы, много воздуха. Manrope — заголовки, Golos Text — текст. */

:root {
  --graphite: #333b44;
  --warm-white: #f7f4ee;
  --beige: #efe9dc;
  --steel: #5c6670;
  --steel-light: #9aa0a2;
  --orange: #e0592e;
  --orange-dark: #b8472a;
  --teal: #1e7a88;
  --max: 860px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--graphite);
  font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.35rem;
  margin: 0 0 1.2rem;
}

h2 {
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
}

h3 {
  font-size: 1.1rem;
  margin: 2rem 0 0.6rem;
}

p {
  margin: 0 0 1.1rem;
}

a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

ul {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Шапка --- */

.site-header {
  border-bottom: 1px solid var(--beige);
  background: var(--warm-white);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--graphite);
}

.brand:hover {
  color: var(--graphite);
}

/* Фирменный знак — маленький оранжевый квадрат, без скруглений. */
.mark {
  width: 14px;
  height: 14px;
  background: var(--orange);
  flex: none;
}

.brand-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--steel-light);
}

.lang-switch button {
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  color: var(--steel);
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--graphite);
  color: var(--warm-white);
}

/* --- Экран-заставка --- */

.hero {
  background: var(--beige);
  padding: 72px 0 64px;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--steel);
  max-width: 620px;
  margin-bottom: 0;
}

main {
  padding: 8px 0 72px;
}

.note {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 18px;
  color: var(--steel);
  margin: 1.6rem 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 0 0 1.3rem 46px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  background: var(--graphite);
  color: var(--warm-white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps b {
  display: block;
  font-family: 'Manrope', sans-serif;
}

.meta {
  color: var(--steel);
  font-size: 0.92rem;
}

/* --- Подвал --- */

.site-footer {
  border-top: 1px solid var(--beige);
  background: var(--beige);
  padding: 32px 0;
  font-size: 0.92rem;
  color: var(--steel);
}

.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* --- Переключение языка --- */

body[data-lang='ru'] [lang='en'],
body[data-lang='en'] [lang='ru'] {
  display: none;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .hero {
    padding: 48px 0 44px;
  }
}
