:root {
  --bg-main: #0b0f18;
  --bg-alt: #0f1420;
  --surface: #131827;
  --surface-2: #0f172a;
  --text: #e9eefb;
  --muted: #b6c2e2;
  --muted-2: #93a3c7;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --accent-teal: #00e0c6;
  --accent-orange: #ff6732;
  --accent-gold: #ffcc66;
  --good: #39d98a;
  --warn: #ffd166;
  --bad: #ff4d6d;
  --radius: 18px;
  --radius-2: 26px;
  --container: 1320px;
  --pad: clamp(18px, 2.2vw, 28px);
  --h1: clamp(32px, 4.2vw, 54px);
  --h2: clamp(22px, 2.6vw, 34px);
  --h3: clamp(18px, 2vw, 22px);
  --p: clamp(15px, 1.3vw, 17px);
  --page-bg:
    radial-gradient(
      900px 500px at 12% 10%,
      rgba(0, 224, 198, 0.18),
      transparent 60%
    ),
    radial-gradient(
      700px 450px at 88% 12%,
      rgba(255, 103, 50, 0.16),
      transparent 55%
    ),
    radial-gradient(
      900px 520px at 55% 110%,
      rgba(255, 204, 102, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, #070a12 0%, var(--bg-main) 45%, #070a12 100%);
}

* {
  box-sizing: border-box;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: transparent; /* important */
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Inter,
    Arial,
    "Noto Sans";
  line-height: 1.45;
}
/* One stable background layer for the whole page */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--page-bg);
  background-repeat: no-repeat;
}
a {
  color: inherit;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
}
.container,
.otr-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    180deg,
    rgba(11, 15, 24, 0.82),
    rgba(11, 15, 24, 0.55)
  );
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}
.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(
      16px 16px at 25% 30%,
      rgba(0, 224, 198, 0.55),
      transparent 60%
    ),
    radial-gradient(
      18px 18px at 70% 25%,
      rgba(255, 103, 50, 0.45),
      transparent 65%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__name {
  font-weight: 800;
  font-size: 18px;
}
.brand__tag {
  font-size: 14px;
  color: var(--muted-2);
}
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: 0.15s ease;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s ease;
  user-select: none;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
}
.btn--primary {
  border-color: rgba(0, 224, 198, 0.4);
  background: linear-gradient(
    180deg,
    rgba(0, 224, 198, 0.2),
    rgba(0, 224, 198, 0.1)
  );
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}
.lang {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  color: var(--text);
  background: rgba(0, 224, 198, 0.14);
  border: 1px solid rgba(0, 224, 198, 0.25);
}
@media (max-width: 1024px) {
  :root {
    --page-bg:
      radial-gradient(
        600px 360px at 20% 12%,
        rgba(0, 224, 198, 0.16),
        transparent 65%
      ),
      radial-gradient(
        520px 360px at 80% 14%,
        rgba(255, 103, 50, 0.14),
        transparent 65%
      ),
      linear-gradient(180deg, #070a12 0%, var(--bg-main) 55%, #070a12 100%);
  }
}
@media (max-width: 640px) {
  :root {
    --page-bg: linear-gradient(
      180deg,
      #070a12 0%,
      var(--bg-main) 70%,
      #070a12 100%
    );
  }
}
