:root{
  --bg: #fbfaf7;
  --bg-muted: #f3f1ec;
  --text: #121212;
  --muted: rgba(18,18,18,.72);
  --line: rgba(18,18,18,.14);

  /* brand accents */
  --magma-1: #1b0b08;
  --magma-2: #5c1a10;
  --magma-3: #c07a2d;

  --card: rgba(255,255,255,.72);
  --shadow: 0 18px 60px rgba(0,0,0,.08);
  --shadow-soft: 0 10px 40px rgba(0,0,0,.07);

  --r-2xl: 24px;
  --r-xl: 18px;

  --container: 1120px;
  --pad: 20px;

  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.skip-link{
  position:absolute; left:-999px; top:8px;
  background:#fff; color:#000; padding:10px 14px; border-radius:12px; border:1px solid var(--line);
}
.skip-link:focus{ left:12px; z-index:9999; }

h1, h2, h3{
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
h1{ font-size: clamp(32px, 4vw, 54px); font-family: var(--serif); }
h2{ font-size: clamp(24px, 2.4vw, 34px); font-family: var(--serif); }
h3{ font-size: 18px; }

p{ margin: 0 0 14px; }
.muted{ color: var(--muted); }
.body-lg{ font-size: 18px; }
.lead{ font-size: 18px; }
.sublead{ color: var(--muted); max-width: 58ch; }

.eyebrow{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(18,18,18,.70); 
}


[data-reveal]{ opacity: 1; transform: none; }

/* Анимацию включаем только если body получил класс .reveal */
.reveal [data-reveal]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal [data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal [data-reveal]{ transition:none; transform:none; opacity:1; }
}
