:root {
  color-scheme: dark;
  --bg: #000;
  --legal-bg: #1a2529;
  --text: #fff;
  --muted: rgba(255, 255, 255, .72);
  --accent: #19b7d0;
  --accent-dark: #245667;
  --line: rgba(255, 255, 255, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #62dff1; outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(0, 0, 0, .82);
  box-shadow: 0 15px 30px -10px rgba(0, 11, 48, .2);
}
.site-header.is-solid { position: relative; background: #1a2529; border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 23px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.brand img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(47, 210, 255, .34)); }
.brand > span > span { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-link { color: rgba(255,255,255,.8); font-size: 14px; text-decoration: none; }
.header-link:hover { color: #fff; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent-dark); box-shadow: -4px -4px 10px rgba(69,69,69,.55), 4px 4px 10px rgba(0,0,0,.8); }
.button-primary:hover { background: #2e7187; }
.button-secondary { border-color: rgba(255,255,255,.34); background: rgba(0,0,0,.18); box-shadow: -4px -4px 10px rgba(69,69,69,.35), 4px 4px 10px rgba(0,0,0,.65); }
.button-secondary:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.button-small { min-height: 42px; padding: 0 18px; border-radius: 9px; box-shadow: none; font-size: 13px; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 20px 85px;
  background-image:
    linear-gradient(rgba(0,0,0,.68), rgba(0,0,0,.72)),
    url('../images/tild6261-3838-4430-b235-626138343662__chatgpt_image_30__20.png');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.hero-content { position: relative; z-index: 2; max-width: 940px; margin: 0 auto; text-align: center; }
.hero-logo { width: 86px; height: 86px; margin: 0 auto 22px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(45, 213, 255, .46)); }
.hero h1 { margin: 0 0 20px; font-size: clamp(44px, 7vw, 78px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; text-shadow: 0 3px 24px rgba(0,0,0,.55); }
.hero p { margin: 0 auto; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 25px); font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-actions .button-primary { min-width: 185px; font-size: 21px; }
.hero-actions .button-secondary { min-width: 185px; font-size: 16px; }
.telegram-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 23px; color: rgba(255,255,255,.88); font-size: 15px; font-weight: 600; text-decoration: none; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.telegram-link span { color: #68dcee; font-size: 19px; transition: transform .2s ease; }
.telegram-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.telegram-link:hover span { transform: translateX(4px); }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,.8); border-bottom: 2px solid rgba(255,255,255,.8); transform: translateX(-50%) rotate(45deg); animation: cue 1.8s ease-in-out infinite; }

.site-footer { padding: 38px 0 28px; background: #000; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 72px; align-items: start; }
.footer-brand p { margin: 12px 0 0; color: rgba(255,255,255,.66); font-size: 13px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 170px; }
.footer-column strong { margin-bottom: 5px; color: #696969; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a { color: #fff; font-size: 13px; text-decoration: none; }
.footer-column a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: 12px; }

.legal-page { background: var(--legal-bg); }
.legal-main { min-height: calc(100vh - 150px); padding: 80px 0 95px; background: var(--legal-bg); }
.legal-wrap { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.legal-content { color: rgba(255,255,255,.9); font-size: 20px; font-weight: 400; line-height: 1.52; }
.legal-content > h1 { margin: 0 0 12px; color: #fff; font-size: clamp(31px, 5vw, 44px); line-height: 1.16; }
.legal-content h2 { margin: 42px 0 12px; color: #fff; font-size: 22px; line-height: 1.3; }
.legal-content p { margin: 0 0 11px; }
.legal-content ul { margin: 8px 0 14px; padding-left: 28px; }
.legal-content a { color: #75dceb; text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { margin-bottom: 38px; color: rgba(255,255,255,.68); }
.legal-list { margin: 4px 0 16px; padding: 0; list-style: none; }
.legal-list li { position: relative; padding-left: 21px; }
.legal-list li::before { position: absolute; left: 0; content: '•'; }
.legal-date { margin-top: 38px !important; color: rgba(255,255,255,.6); }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: #000; text-align: center; }
.error-card { max-width: 650px; }
.error-card .brand { margin-bottom: 40px; }
.error-code { margin-bottom: 8px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .2em; }
.error-card h1 { margin: 0 0 18px; font-size: clamp(48px, 9vw, 80px); line-height: 1; }
.error-card p { margin: 0 auto 30px; color: var(--muted); font-size: 18px; }

@keyframes cue { 0%, 100% { opacity: .35; transform: translate(-50%, -5px) rotate(45deg); } 50% { opacity: 1; transform: translate(-50%, 5px) rotate(45deg); } }

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 60px; }
  .brand { font-size: 19px; }
  .brand img { width: 28px; height: 28px; }
  .header-link { display: none; }
  .button-small { min-height: 38px; padding: 0 13px; font-size: 12px; }
  .hero { padding: 100px 14px 70px; background-attachment: scroll; background-position: 45% center; }
  .hero-logo { width: 72px; height: 72px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero p { max-width: 520px; font-size: 18px; }
  .hero-actions { width: min(330px, 100%); margin-left: auto; margin-right: auto; }
  .hero-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column { min-width: 0; }
  .legal-main { padding: 55px 0 75px; }
  .legal-content { font-size: 17px; line-height: 1.56; }
  .legal-content h2 { margin-top: 34px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
