:root {
  --bg: #090909;
  --surface: #141414;
  --ink: #fff;
  --muted: #aaa9ad;
  --yellow: #ffc21c;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 194, 28, .34);
  --display: "Inter Tight", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.55; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.07); }
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
.brand b { color: var(--yellow); }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; background: var(--yellow); color: #0b0b0b; font-size: .82rem; letter-spacing: -.05em; }
.header-cta { padding: 11px 18px; border: 1px solid var(--line-strong); color: var(--yellow); font-size: .83rem; font-weight: 800; text-decoration: none; transition: .2s ease; }
.header-cta:hover { background: var(--yellow); color: #090909; }

.hero { min-height: 740px; position: relative; display: flex; align-items: stretch; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.hero-glow { position: absolute; width: 560px; height: 560px; left: -220px; top: 80px; border-radius: 50%; background: rgba(255,194,28,.08); filter: blur(110px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; padding-top: 118px; padding-bottom: 52px; }
.hero-copy { max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid var(--line-strong); background: rgba(255,194,28,.06); color: var(--yellow); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 15px var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.05em; }
h1 { max-width: 780px; margin: 22px 0 20px; font-size: clamp(3.05rem, 5.6vw, 5.8rem); font-weight: 800; line-height: .93; }
h1 em, h2 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 670px; color: #c1c0c4; font-size: 1.08rem; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 56px; padding: 0 25px; border: 0; background: var(--yellow); color: #111; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 12px 36px rgba(255,194,28,.14); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #ffd154; box-shadow: 0 16px 44px rgba(255,194,28,.22); }
.telegram-cta { min-width: 290px; }
.risk-note { display: flex; align-items: flex-start; gap: 11px; max-width: 590px; margin: 18px 0 0; color: #87868a; font-size: .72rem; }
.risk-note span { flex: 0 0 20px; height: 20px; display: grid; place-items: center; border: 1px solid #555; border-radius: 50%; color: #bbb; font-family: serif; }
.hero-media { height: 560px; position: relative; align-self: center; overflow: hidden; border-inline: 1px solid var(--line); }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 52% 30%; filter: saturate(.96) contrast(1.03); }
.hero-media-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9,9,9,.04) 40%, rgba(9,9,9,.9) 100%), linear-gradient(90deg, rgba(9,9,9,.4), transparent 35%); }
.photo-caption { position: absolute; z-index: 3; left: 25px; bottom: 24px; display: grid; gap: 2px; }
.photo-caption span { color: #d8d7d9; font-size: .64rem; letter-spacing: .16em; }
.photo-caption strong { font-family: var(--display); font-size: 1.15rem; }
.data-chip { position: absolute; z-index: 3; padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); background: rgba(8,8,8,.7); backdrop-filter: blur(10px); font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.chip-one { top: 30px; right: 25px; }
.chip-two { top: 72px; right: 25px; color: var(--yellow); }

.topic-strip { padding: 23px 0; border-bottom: 1px solid var(--line); background: #101010; }
.topic-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #87868a; font-family: var(--display); font-size: .67rem; font-weight: 800; letter-spacing: .13em; white-space: nowrap; }
.topic-row i { width: 5px; height: 5px; background: var(--yellow); transform: rotate(45deg); }
.section-kicker { display: inline-block; margin-bottom: 18px; color: var(--yellow); font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; align-items: start; }
h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 5.3rem); line-height: .98; }
.context-copy > p { margin-bottom: 36px; color: #bab9bd; font-size: 1.1rem; line-height: 1.8; }
.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.check-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); color: #d4d3d5; }
.check-list span { color: var(--yellow); font-family: var(--display); font-weight: 800; }

.learning-section { border-block: 1px solid var(--line); background: #101010; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 52px; }
.section-heading h2 { max-width: 760px; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); }
.learning-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.learning-card { min-height: 300px; display: flex; flex-direction: column; padding: 30px 27px; border-right: 1px solid var(--line); }
.learning-card:last-child { border-right: 0; }
.card-number { color: var(--yellow); font-family: var(--display); font-weight: 800; }
.learning-card h3 { margin: auto 0 16px; font-size: 1.35rem; line-height: 1.14; }
.learning-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 32px; }
.faq-intro > p { max-width: 390px; margin-top: 24px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; font-family: var(--display); font-size: 1.12rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--yellow); font-size: 1.4rem; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 50px 24px 0; color: var(--muted); }

.site-footer { padding: 52px 0 28px; border-top: 1px solid var(--line); background: #070707; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 50px; align-items: center; }
.footer-top > p { margin: 0; color: #828185; font-size: .8rem; }
.footer-top nav { display: flex; gap: 22px; }
.footer-top nav a { color: #aaa9ad; font-size: .75rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: #636267; font-size: .67rem; }
.footer-bottom p { margin: 0; }

.legal-page { min-height: 100vh; padding: 90px 0; background: #0b0b0b; }
.legal-shell { width: min(800px, calc(100% - 40px)); margin-inline: auto; }
.legal-back { display: inline-block; margin-bottom: 40px; color: var(--yellow); font-size: .8rem; }
.legal-shell h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.legal-shell h2 { margin: 38px 0 12px; font-size: 1.5rem; }
.legal-shell p, .legal-shell li { color: #b4b3b7; }
.legal-shell li + li { margin-top: 8px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  h1 { font-size: clamp(3rem, 7vw, 4.7rem); }
  .hero-media { height: 520px; }
  .learning-grid { grid-template-columns: 1fr 1fr; }
  .learning-card:nth-child(2) { border-right: 0; }
  .learning-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-grid { gap: 55px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top nav { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 30px, 1160px); }
  .section { padding: 76px 0; }
  .header-inner { height: 70px; }
  .header-cta { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 92px; }
  h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-media { order: -1; width: calc(100% + 30px); height: 390px; margin-left: -15px; }
  .hero-media img { object-position: 52% 25%; }
  .hero-copy { margin-top: -8px; }
  .topic-row { justify-content: flex-start; overflow: hidden; }
  .topic-row span:nth-of-type(n+4), .topic-row i:nth-of-type(n+4) { display: none; }
  .context-grid, .faq-grid { grid-template-columns: 1fr; gap: 45px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .learning-card { min-height: 270px; }
  .faq-intro { position: static; }
  .footer-top, .footer-bottom { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .footer-top nav { grid-column: auto; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .brand { font-size: .9rem; }
  .brand-mark { width: 35px; height: 35px; }
  .eyebrow { font-size: .61rem; }
  .hero-media { height: 340px; }
  .hero-actions { align-items: stretch; }
  .telegram-cta { width: 100%; min-width: 0; }
  .learning-grid { grid-template-columns: 1fr; }
  .learning-card { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .learning-card:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
