/* vstakane.su landing + articles. Shared by /landing/index.html and the article pages in apps/web/public. */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(/landing/fonts/unbounded-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(/landing/fonts/unbounded-latin.woff2) format('woff2');
  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: #0d0b09; --surface: #15110d; --card: #1c1712; --card-2: #241d16;
  --text: #f5efe6; --muted: #b9ae9d; --line: rgba(255, 236, 205, .09);
  --amber: #f6b83c; --amber-2: #e8891c; --amber-ink: #2a1a02; --green: #4cd27a;
  --display: 'Unbounded', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Arial, sans-serif;
  --r-lg: 28px; --r-md: 20px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); overflow-x: clip; }
body::before { /* warm bar-light glow behind the hero */
  content: ''; position: absolute; inset: -20vh -20vw auto; height: 110vh; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 45% at 70% 30%, rgba(246, 184, 60, .16), transparent 70%),
              radial-gradient(40% 40% at 15% 10%, rgba(232, 137, 28, .10), transparent 70%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 8.5vw, 72px); font-weight: 800; }
h2 { font-size: clamp(26px, 5vw, 40px); font-weight: 800; }
h3 { font-size: clamp(20px, 3.4vw, 26px); font-weight: 700; }
.gold { background: linear-gradient(180deg, #ffd88a, var(--amber) 55%, var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 34em; margin: 18px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: .08em; }

/* buttons: ≥48px tall touch targets */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--gold { background: var(--amber); color: var(--amber-ink); box-shadow: 0 12px 34px rgba(246, 184, 60, .28); }
.btn--gold:hover { background: #ffc85a; }
.btn--line { background: rgba(255, 255, 255, .04); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.btn--line:hover { background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 479px) { .ctas .btn { flex: 1 1 100%; } }

/* header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(13, 11, 9, .72); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 18px; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.top nav { display: none; gap: 24px; font-size: 15px; color: var(--muted); }
.top nav a { text-decoration: none; } .top nav a:hover { color: var(--text); }
@media (min-width: 900px) { .top nav { display: flex; } }

/* hero */
.hero { display: grid; gap: 40px; align-items: center; padding: 40px 0 56px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; padding: 72px 0 96px; } }
.age { display: inline-grid; place-items: center; height: 26px; padding: 0 9px; margin-left: 6px; border: 2px solid currentColor; border-radius: 999px; font: 800 12px/1 var(--body); vertical-align: 3px; color: var(--text); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--amber); }

/* phone mockup + floating chips */
.stage { position: relative; display: grid; place-items: center; min-height: 480px; }
.phone { position: relative; width: min(300px, 74vw); aspect-ratio: 360 / 780; border-radius: 44px; background: #000; padding: 9px;
  box-shadow: 0 0 0 2px #2c2620, 0 40px 90px rgba(0, 0, 0, .65), 0 0 120px rgba(246, 184, 60, .12); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phone::after { content: ''; position: absolute; top: 18px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 14px; background: #000; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; font-size: 14px; font-weight: 700;
  background: rgba(36, 29, 22, .92); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0, 0, 0, .5); white-space: nowrap; }
.chip i { font-style: normal; }
.chip--match { top: 12%; right: max(0px, calc(50% - 230px)); color: var(--amber); }
.chip--near { bottom: 22%; left: max(0px, calc(50% - 235px)); }
.chip--live { bottom: 6%; right: max(0px, calc(50% - 200px)); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(76, 210, 122, .18); }

/* sections */
section { scroll-margin-top: 80px; }
.block { padding: 56px 0; }
@media (min-width: 900px) { .block { padding: 88px 0; } }
.block__head { max-width: 640px; margin-bottom: 32px; }
.block__head p { color: var(--muted); margin: 14px 0 0; }

.feats { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feats { grid-template-columns: repeat(4, 1fr); } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; transition: transform .25s var(--ease), border-color .25s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(246, 184, 60, .35); }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(246, 184, 60, .12); color: var(--amber); margin-bottom: 16px; }
.ico svg { width: 24px; height: 24px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }

.show { display: grid; gap: 18px; }
.show__row { display: grid; gap: 28px; align-items: center; background: linear-gradient(180deg, var(--card), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 22px; overflow: hidden; }
.show__row .phone { width: min(240px, 64vw); margin: 0 auto; }
.show__row p { color: var(--muted); margin: 12px 0 0; }
@media (min-width: 800px) {
  .show__row { grid-template-columns: 1fr 1fr; padding: 40px 48px; }
  .show__row:nth-child(even) .phone { order: -1; }
}

/* two ways to open */
.ways { display: grid; gap: 14px; }
@media (min-width: 800px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; }
.way--new { border-color: rgba(246, 184, 60, .4); background: linear-gradient(160deg, rgba(246, 184, 60, .1), var(--card) 55%); }
.badge { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-size: 12px; font-weight: 800; }
.way ol { margin: 0; padding-left: 20px; color: var(--muted); }
.way li + li { margin-top: 6px; }
.way .btn { justify-self: start; margin-top: 6px; }

.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--amber); color: var(--amber-ink); font: 800 18px/1 var(--display); margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.rules { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 800px) { .rules { grid-template-columns: 1fr 1fr; } }
.rules li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.rules .ico { margin: 0; flex: none; width: 40px; height: 40px; border-radius: 12px; }
.rules .ico svg { width: 20px; height: 20px; }
.rules b { display: block; }
.rules span { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.reads { display: grid; gap: 14px; }
@media (min-width: 800px) { .reads { grid-template-columns: 1fr 1fr; } }
.read { display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; text-decoration: none; transition: border-color .2s; }
.read:hover { border-color: rgba(246, 184, 60, .4); }
.read span { color: var(--amber); font-weight: 700; font-size: 15px; }

.final { text-align: center; padding: 64px 22px; margin: 24px 0 56px; border-radius: 36px; border: 1px solid rgba(246, 184, 60, .3);
  background: radial-gradient(70% 90% at 50% 0%, rgba(246, 184, 60, .2), transparent 70%), var(--surface); }
.final .lead { margin-inline: auto; }
.final .ctas { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* article pages */
.article { max-width: 720px; margin: 0 auto; padding: 40px 0 24px; }
.article h1 { font-size: clamp(30px, 6vw, 48px); }
.article h2 { font-size: clamp(22px, 4vw, 30px); margin: 44px 0 14px; }
.article p, .article li { color: #e2d9cc; }
.article ul, .article ol { padding-left: 22px; }
.article li + li { margin-top: 8px; }
.article .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.article .crumbs a { color: var(--muted); }
.article .cta-box { margin: 36px 0; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid rgba(246, 184, 60, .35); }
.article .cta-box p { margin: 0 0 4px; }

/* reveal-on-scroll: hidden only when JS is running (no-JS and crawlers see everything) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-hero], .js [data-phone], .js [data-chip] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-hero], .js [data-phone], .js [data-chip] { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
