:root {
  color-scheme: dark;
  --bg: #070b10;
  --bg-deep: #040608;
  --surface: #141c26;
  --text: #e8edf4;
  --muted: #8b97a8;
  --accent: #4d9fff;
  --accent-strong: #7ab8ff;
  --border: rgba(255, 255, 255, 0.09);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 60% 45% at 75% 0%, rgba(77, 159, 255, 0.09), transparent 65%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  width: min(70rem, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 11, 16, 0.88);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.3rem;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  background: #f4f7fb;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .btn,
.btn {
  display: inline-flex;
  min-height: 2.3rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid #f4f7fb;
  border-radius: 6px;
  background: #f4f7fb;
  color: #07101a;
  font-weight: 700;
  text-decoration: none;
}

.site-nav .btn:hover,
.btn:hover {
  background: #fff;
  color: #07101a;
}

.page {
  flex: 1;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

.legal {
  max-width: 45rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.legal-note,
.redirect-panel {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.redirect-page .page {
  display: flex;
  align-items: center;
}

.redirect-panel {
  width: min(34rem, 100%);
  margin: 0 auto;
}

.redirect-panel h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 680px) {
  .site-nav a:nth-child(-n + 2) {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.25rem;
  }
}
