:root {
  color-scheme: dark;
  --bg: #03070d;
  --panel: rgba(8, 18, 29, 0.82);
  --line: rgba(116, 240, 255, 0.2);
  --cyan: #74f0ff;
  --gold: #ffd56a;
  --text: #f4fbff;
  --muted: #9db2c2;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(0, 210, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 85%, rgba(255, 196, 73, 0.12), transparent 30rem),
    linear-gradient(155deg, #06111c 0%, var(--bg) 54%, #07121b 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(116, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a {
  color: var(--cyan);
  text-underline-offset: 0.22em;
}

a:hover,
a:focus-visible {
  color: #c7faff;
}

.shell {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(116, 240, 255, 0.55);
  border-radius: 11px;
  color: var(--cyan);
  box-shadow: inset 0 0 18px rgba(116, 240, 255, 0.16), 0 0 24px rgba(116, 240, 255, 0.08);
}

.hero {
  padding: clamp(58px, 10vw, 108px) 0 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Arial Black", Inter, ui-sans-serif, sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 8vw, 6.6rem);
  line-height: 0.94;
}

.page h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0 70px;
}

.card,
.section {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.card {
  min-height: 205px;
  padding: 25px;
  border-radius: 22px;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(116, 240, 255, 0.62);
  background: rgba(10, 28, 43, 0.92);
}

.card strong {
  display: block;
  margin-bottom: 13px;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  margin: 0 0 16px;
  padding: clamp(24px, 5vw, 42px);
  border-radius: 22px;
}

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.section p,
.section li {
  color: #bed0dc;
  font-size: 1rem;
  line-height: 1.75;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.return {
  display: inline-block;
  margin-top: 40px;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-decoration: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding: 24px 0 4px;
  border-top: 1px solid rgba(116, 240, 255, 0.14);
  color: #7890a1;
  font-size: 0.77rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #9db2c2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 26px, 920px);
    padding-top: 26px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

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

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