/* durka.love: their colours (brandbook «ДУРКА+ · Цвет»): black, one gradient pink → red, white. */
@font-face {
  font-family: 'Unbounded';
  src: url('/fonts/Unbounded-400_900-cyrillic.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/fonts/Unbounded-400_900-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000;
  --text: #fff;
  --muted: #8b8790;
  --line: #26232a;
  --accent: #f01a6b;
  --grad: linear-gradient(195deg, #fc0fa9, #f01a6b 50%, #de162a);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wordmark { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 900; letter-spacing: -0.02em; }

/* the landing: one screen */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 16px 24px; gap: 20px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: auto -20% -55% -20%; height: 80%; background: radial-gradient(closest-side, rgba(240, 26, 107, 0.28), transparent); pointer-events: none; }
.logo { width: min(46vw, 220px); height: auto; filter: drop-shadow(0 0 40px rgba(240, 26, 107, 0.35)); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.06); } 16% { transform: scale(1); } 24% { transform: scale(1.04); } 32% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .logo { animation: none; } }
.hero h1 { margin: 0; font-size: clamp(40px, 11vw, 88px); line-height: 1; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0; max-width: 520px; font-size: clamp(16px, 4.2vw, 20px); color: #d9d6dd; }
.cta { display: inline-block; margin-top: 4px; padding: 16px 30px; border-radius: 999px; background: var(--grad); color: #fff; font-family: 'Unbounded', system-ui, sans-serif; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 10px 40px rgba(240, 26, 107, 0.35); transition: transform 0.15s; }
.cta:hover { transform: translateY(-2px); }
.age { font-size: 13px; color: var(--muted); }

.foot { position: relative; z-index: 1; padding: 20px 16px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.foot nav a { color: #d9d6dd; text-decoration: none; }
.foot nav a:hover { color: var(--accent); }
.foot p { margin: 2px 0; }

/* documents */
.top { display: flex; align-items: center; gap: 10px; max-width: 820px; margin: 0 auto; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.top a { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 18px; }
.top img { width: 34px; height: 34px; }
.doc { max-width: 820px; margin: 0 auto; padding: 28px 16px 48px; color: #e4e1e7; overflow-wrap: anywhere; }
.doc h1 { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 800; font-size: clamp(24px, 6vw, 34px); line-height: 1.15; margin: 0 0 6px; color: #fff; }
.doc h1 + p { color: var(--muted); margin: 0 0 24px; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; color: #fff; }
.doc p, .doc li { margin: 0 0 8px; }
.doc code { font: inherit; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: #111014; }
.doc .scroll { overflow-x: auto; }
