:root {
  --bg: #0b1118;
  --bg-soft: #111a24;
  --card: rgba(18, 27, 38, 0.74);
  --card-strong: rgba(255, 255, 255, 0.06);
  --text: #eef3f8;
  --muted: #9db0c2;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #18c29c;
  --accent-2: #ff3b30;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(24, 194, 156, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 59, 48, 0.08), transparent 22%),
    linear-gradient(180deg, #0a1016 0%, #0d131c 100%);
  min-height: 100vh;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.background-glow {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.background-glow-1 {
  width: 300px;
  height: 300px;
  background: rgba(24, 194, 156, 0.18);
  top: -80px;
  left: -80px;
}

.background-glow-2 {
  width: 320px;
  height: 320px;
  background: rgba(255, 59, 48, 0.12);
  right: -120px;
  bottom: 0;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
}

.hero-card {
  width: min(100%, 780px);
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(19, 29, 40, 0.92), rgba(12, 18, 26, 0.88));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  margin-bottom: 28px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.logo {
  width: auto;
  height: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--muted);
}

.status-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dce8f1;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(24, 194, 156, 0.12);
}

.links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--accent);
  color: #08110f;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 30px rgba(24, 194, 156, 0.18);
}

.button-link-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.button-link:hover,
.cookie-button:hover,
.back-link:hover,
.text-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 0 0 26px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a,
.text-link,
.back-link {
  color: #d7e3ed;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  z-index: 9;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-content {
  width: min(100%, 920px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(10, 16, 23, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cookie-content p {
  margin: 0;
  line-height: 1.6;
  color: #dbe7f0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-button {
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #08110f;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.document-page {
  padding: 28px 20px 60px;
}

.document-wrap {
  width: min(100%, 860px);
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.document-card {
  padding: 34px 34px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19, 29, 40, 0.94), rgba(12, 18, 26, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.document-logo {
  width: auto;
  height: 32px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.document-card h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.document-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.document-card p,
.document-card li {
  color: #d7e3ed;
  line-height: 1.8;
}

.document-card ul {
  margin: 0;
  padding-left: 20px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero-card,
  .document-card {
    padding: 28px 22px;
  }

  .logo { height: 34px; }

  .lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-link {
    width: 100%;
    min-width: 0;
  }

  .links {
    width: 100%;
  }
}
