:root {
  --bg:       #1e1a1b;
  --bg1:      #282124;
  --bg2:      #352c30;
  --line:     rgba(255,248,250,0.09);
  --line2:    rgba(255,248,250,0.16);
  --text:     #ebe5e7;
  --mid:      #a89da3;
  --dim:      #7a6e73;
  --mute:     #4a4145;
  --burgundy: #9b4b5a;
  --burgundy-lo: rgba(155,75,90,0.14);
  --serif:    'EB Garamond', Georgia, serif;
  --sans:     'DM Sans', sans-serif;
  --mono:     'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.7; overflow-x: hidden; }

/* grain overlay */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.02'/%3E%3C/svg%3E");
  opacity: .55;
}

/* ─── LAYOUT ─────────────────────────── */
.W  { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.WN { max-width:  780px; margin: 0 auto; padding: 0 48px; }

/* ─── NAV ────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 52px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(30,26,27,.9); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.n-brand { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); }
.n-r { display: flex; align-items: center; gap: 2px; }
.n-a { color: var(--dim); font-size: 13px; text-decoration: none; padding: 4px 12px; border-radius: 4px; transition: color .15s, background .15s; }
.n-a:hover { color: var(--text); background: var(--bg2); }
.n-cta { color: var(--bg); background: var(--text); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 7px 18px; border-radius: 4px; margin-left: 10px; transition: opacity .15s; white-space: nowrap; }
.n-cta:hover { opacity: .85; }

/* ─── SECTIONS ───────────────────────── */
section { position: relative; padding: 112px 0; border-top: 1px solid var(--line); }
#hero { border-top: none; padding: 0; min-height: 100vh; display: flex; align-items: center; padding-top: 52px; overflow: hidden; }
#cta { padding: 128px 0; }

/* ─── EYEBROW ────────────────────────── */
.ey {
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 40px;
  display: flex; align-items: center; gap: 14px;
}
.ey::before { content: ''; width: 24px; height: 1px; background: var(--mute); flex-shrink: 0; }

/* ─── TYPOGRAPHY ─────────────────────── */
h1 { font-family: var(--serif); font-size: clamp(52px, 7.5vw, 96px); line-height: 1.03; font-weight: 500; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 62px); line-height: 1.07; font-weight: 500; }
h3 { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); font-weight: 500; line-height: 1.25; }
h4 { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.4; }
em { font-style: italic; }
strong { font-weight: 500; color: var(--text); }
p { color: var(--mid); line-height: 1.75; margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

/* Pull quote */
.pull {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text); line-height: 1.5;
  padding: 0 0 0 28px; border-left: 2px solid var(--burgundy);
  margin: 44px 0;
}

/* ─── GRID ───────────────────────────── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* ─── BUTTONS ────────────────────────── */
.btn { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 12px 26px; border-radius: 4px; transition: all .15s; }
.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid:hover { opacity: .86; }
.btn-outline { border: 1px solid var(--line2); color: var(--mid); }
.btn-outline:hover { color: var(--text); }

/* ══════════════ HERO ══════════════════ */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 72% 48%, rgba(155,75,90,.08) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 63px, var(--line) 64px),
    repeating-linear-gradient(90deg, transparent, transparent 63px, var(--line) 64px);
  mask-image: radial-gradient(ellipse 85% 85% at 60% 50%, black 10%, transparent 75%);
}
/* large decorative numeral in hero */
.hero-deco {
  position: absolute; right: 48px; top: 50%; transform: translateY(-52%);
  font-family: var(--serif); font-size: clamp(280px, 28vw, 420px);
  font-style: italic; font-weight: 600;
  color: rgba(155,75,90,.05);
  line-height: 1; pointer-events: none; user-select: none;
  letter-spacing: -.04em;
}
.hero-body { position: relative; padding: 80px 0; max-width: 700px; }
.hero-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 32px; }
h1 em { color: var(--burgundy); }
.hero-lead { font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); color: var(--mid); line-height: 1.65; margin-top: 28px; font-weight: 400; }
.hero-btns { display: flex; gap: 10px; margin-top: 44px; flex-wrap: wrap; }
.hero-scroll { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 16px; }
.hero-scroll-line { width: 40px; height: 1px; background: var(--mute); }

/* ══════════════ I. МОМЕНТ ИСТИНЫ ══════ */
#s1 { background: var(--bg1); }

.moment-statements { display: flex; flex-direction: column; }
.ms { display: grid; grid-template-columns: 56px 1fr; padding: 32px 0; border-bottom: 1px solid var(--line); }
.ms:first-child { padding-top: 0; }
.ms:last-child { border-bottom: none; padding-bottom: 0; }
.ms-num { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .08em; padding-top: 5px; }
.ms-body h3 { margin-bottom: 10px; color: var(--text); }
.ms-body p { font-size: 15px; margin: 0; }

/* ══════════════ II. РЫНОК ═════════════ */
.trad-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border-radius: 8px; overflow: hidden; margin-top: 64px; }
.trad-col { background: var(--bg1); padding: 36px; }
.trad-col.hi { background: var(--bg2); }
.trad-label { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.trad-col h4 { font-size: 18px; font-family: var(--serif); font-weight: 500; color: var(--text); margin-bottom: 14px; line-height: 1.3; }
.trad-col p { font-size: 14px; margin: 0; line-height: 1.7; }

/* declaration block */
.market-declaration { margin-top: 64px; padding: 52px; background: var(--burgundy-lo); border: 1px solid rgba(155,75,90,.22); border-radius: 8px; text-align: center; }
.market-declaration p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.8vw, 32px); color: var(--text); margin: 0; line-height: 1.45; }

/* ══════════════ III. КООПЕРАТИВ ═══════ */
#s3 { background: var(--bg1); }

.coop-claims { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.cc { display: grid; grid-template-columns: 1fr 1fr; background: var(--line); border-radius: 6px; overflow: hidden; gap: 1px; }
.cc-l { background: var(--bg2); padding: 24px 28px; }
.cc-r { background: var(--bg1); padding: 24px 28px; }
.cc-label { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.cc-l .cc-label { color: rgba(220,80,80,.4); }
.cc-r .cc-label { color: rgba(140,200,150,.4); }
.cc-l h4 { font-size: 14px; color: var(--mute); font-weight: 400; text-decoration: line-through; text-decoration-color: var(--mute); }
.cc-r h4 { font-size: 14px; color: var(--text); }
.cc-r p { font-size: 13px; margin-top: 6px; margin-bottom: 0; line-height: 1.6; }

/* ══════════════ IV. ЦИФРА ═════════════ */
.digital-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-radius: 8px; overflow: hidden; margin-top: 56px; }
.dg-cell { background: var(--bg1); padding: 32px 28px; }
.dg-n { font-family: var(--mono); font-size: 10px; color: var(--mute); letter-spacing: .16em; margin-bottom: 14px; }
.dg-cell h4 { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--text); margin-bottom: 10px; line-height: 1.25; }
.dg-cell p { font-size: 13px; margin: 0; line-height: 1.65; }

/* doc-flow subsection — consistent inner rhythm */
.doc-sub {
  margin-top: 80px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
.doc-sub-label { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.doc-sub-head { margin-bottom: 48px; }
.doc-sub-head h3 { margin-top: 0; margin-bottom: 14px; }
.doc-sub-head p { max-width: 560px; margin-top: 10px; margin-bottom: 0; }

.doc-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.flow-steps { display: flex; flex-direction: column; }
.fs { display: grid; grid-template-columns: 32px 1fr; }
.fs-spine { display: flex; flex-direction: column; align-items: center; }
.fs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); flex-shrink: 0; margin-top: 17px; border: 1px solid var(--line2); }
.fs-line { width: 1px; flex: 1; background: var(--line); min-height: 6px; }
.fs:last-child .fs-line { display: none; }
.fs-b { background: var(--bg2); border: 1px solid var(--line); border-radius: 5px; padding: 12px 16px; margin-bottom: 5px; }
.fs-n { font-family: var(--mono); font-size: 9px; color: var(--mute); margin-bottom: 3px; }
.fs-b h5 { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.fs-b p { font-size: 12px; margin: 0; line-height: 1.5; }
.fs.done .fs-dot { background: rgba(140,200,150,.4); }
.fs.done .fs-b { border-color: rgba(140,200,150,.12); }

/* privacy diagram */
.priv-wrap {}
.priv-label { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.priv-diagram { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pd-head { display: grid; grid-template-columns: 1fr 1fr; }
.pdh { padding: 12px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.pdh:first-child { color: var(--dim); border-right: 1px solid var(--line); }
.pdh:last-child { color: rgba(140,200,150,.5); }
.pd-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.pd-row:last-child { border-bottom: none; }
.pdc { padding: 9px 20px; font-size: 12px; }
.pdc:first-child { border-right: 1px solid var(--line); }
.pdc-k { font-family: var(--mono); color: var(--mute); font-size: 11px; margin-bottom: 2px; }
.pdc-v { color: var(--text); font-size: 12px; }
.pdc-v.h { font-family: var(--mono); color: var(--dim); font-size: 11px; }
.pdc-v.ok { color: rgba(140,200,150,.6); font-family: var(--mono); }
.priv-note { font-size: 12px; color: var(--dim); margin-top: 14px; line-height: 1.65; margin-bottom: 0; }

/* ══════════════ V. ПЕРЕОСМЫСЛЕНИЕ ═════ */
#s5 { background: var(--bg1); }
.choices { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--line); border-radius: 8px; overflow: hidden; margin-top: 56px; }
.ch { background: var(--bg2); padding: 32px 30px; }
.ch-mark { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.ch h4 { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 12px; line-height: 1.25; }
.ch p { font-size: 14px; margin: 0; line-height: 1.7; }

/* ══════════════ VI. ПРИЗЫВ ════════════ */
.appeal-body { max-width: 860px; }
.appeal-body h2 { margin-bottom: 36px; }
.appeal-body > p { font-size: 17px; line-height: 1.8; }
.appeal-body .lg { font-size: clamp(18px, 2.2vw, 22px); color: var(--text); font-family: var(--serif); }
.appeal-final { margin-top: 52px; padding: 44px 52px; border: 1px solid var(--line2); border-radius: 8px; background: var(--bg1); }
.appeal-final p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); color: var(--text); margin: 0; line-height: 1.5; }

/* ══════════════ VII. ЦЕННОСТИ ═════════ */
#s7 { background: var(--bg1); }
.vals { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-radius: 8px; overflow: hidden; margin-top: 48px; }
.v { background: var(--bg2); padding: 28px 26px; }
.v h5 { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.v p { font-size: 13px; margin: 0; line-height: 1.65; }

/* ══════════════ ЭКОСИСТЕМА ════════════ */
.eco-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-radius: 8px; overflow: hidden; margin-top: 48px; }
.ec { background: var(--bg1); padding: 34px 30px; display: flex; flex-direction: column; }
.ec-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.ec h4 { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 12px; }
.ec p { font-size: 14px; flex: 1; margin-bottom: 22px; line-height: 1.65; }
.ec a { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--line2); padding-bottom: 2px; align-self: flex-start; transition: color .15s, border-color .15s; }
.ec a:hover { color: var(--text); border-color: var(--text); }

/* ══════════════ CTA ═══════════════════ */
#cta { text-align: center; }
.cta-in { max-width: 560px; margin: 0 auto; }
.cta-in h2 { margin-bottom: 20px; }
.cta-in .sub { font-family: var(--serif); font-size: 18px; color: var(--mid); max-width: 420px; margin: 0 auto 44px; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.cta-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.cl { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--dim); text-decoration: none; transition: color .15s; }
.cl:hover { color: var(--text); }

/* ══════════════ FOOTER ════════════════ */
footer { padding: 22px 48px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.f-l { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.f-r { font-size: 12px; color: var(--mute); text-align: right; }
.f-r a { color: var(--mute); text-decoration: none; }
.f-r a:hover { color: var(--dim); }

/* ══════════════ REVEAL ════════════════ */
.r { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.r.on { opacity: 1; transform: none; }
.r.d1 { transition-delay: .08s; }
.r.d2 { transition-delay: .17s; }
.r.d3 { transition-delay: .26s; }
.r.d4 { transition-delay: .35s; }

/* ══════════════ RESPONSIVE ════════════ */
@media (max-width: 900px) {
  .W, .WN { padding: 0 24px; }
  nav, footer { padding-left: 24px; padding-right: 24px; }
  footer { flex-direction: column; gap: 10px; }
  .f-r { text-align: center; }
  section { padding: 72px 0; }
  #hero { padding-top: 52px; }
  #cta { padding: 80px 0; }
  .g2 { grid-template-columns: 1fr; gap: 40px; }
  .trad-strip { grid-template-columns: 1fr; }
  .trad-strip { gap: 1px; }
  .cc, .doc-flow { grid-template-columns: 1fr; }
  .cc { gap: 1px; }
  .digital-grid, .vals, .eco-cards { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .hero-deco { display: none; }
  .hero-scroll { display: none; }
  .n-r .n-a { display: none; }
  .market-declaration { padding: 32px 24px; }
  .appeal-final { padding: 28px 24px; }
  .pd-head { grid-template-columns: 1fr; }
  .pdh:first-child { border-right: none; }
  .pd-row { grid-template-columns: 1fr; }
  .pdc:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}
