:root {
  --bg: #070a10;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.11);
  --text: #f4f7fb;
  --muted: #9ca6b5;
  --blue: #0a84ff;
  --blue-bright: #2f9bff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -15%, rgba(10, 132, 255, 0.24), transparent 36rem),
    radial-gradient(circle at 5% 90%, rgba(61, 76, 107, 0.15), transparent 28rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1080px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
}

.topbar {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 690;
  letter-spacing: -0.02em;
}

.brand-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: linear-gradient(145deg, #2d9aff, #0669ee 75%);
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.22);
}

.brand-icon img {
  width: 17px;
  height: 20px;
  filter: invert(1);
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text);
  background: var(--surface);
  outline: none;
}

.home-shell {
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0 68px;
  text-align: center;
}

.hero-mark {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 27px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 30%),
    linear-gradient(145deg, #35a4ff, #086ff7 62%, #0055d8);
  box-shadow: 0 24px 70px rgba(10, 132, 255, 0.3), inset 0 1px rgba(255, 255, 255, 0.26);
}

.hero-mark img {
  width: 47px;
  height: 57px;
  filter: invert(1);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.16em;
}

.hero h1,
.document-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 74px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-copy {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-bottom: 70px;
}

.link-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(47, 155, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.card-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-bright), #076be9);
  font-size: 20px;
  font-weight: 750;
  box-shadow: 0 10px 25px rgba(10, 132, 255, 0.2);
}

.link-card strong,
.link-card small {
  display: block;
}

.link-card strong {
  margin-bottom: 5px;
  font-size: 17px;
}

.link-card small {
  color: var(--muted);
  font-size: 13px;
}

.arrow {
  color: var(--muted);
  font-size: 22px;
}

.document-shell {
  max-width: 900px;
}

.document-hero {
  padding: 112px 0 72px;
}

.document-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 64px);
}

.document-hero > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.primary-button {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  min-width: 205px;
  margin-top: 34px;
  padding: 14px 18px;
  border-radius: 13px;
  background: linear-gradient(180deg, var(--blue-bright), #0875ee);
  box-shadow: 0 14px 35px rgba(10, 132, 255, 0.24), inset 0 1px rgba(255, 255, 255, 0.28);
  font-size: 15px;
  font-weight: 650;
  transition: transform 160ms ease, filter 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
  outline: 2px solid rgba(47, 155, 255, 0.7);
  outline-offset: 3px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.topic-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.topic-card h2,
.contact-panel h2,
.policy h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.topic-card p,
.contact-panel p,
.policy p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-panel {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  margin-top: 70px;
  padding: 34px;
  border: 1px solid rgba(47, 155, 255, 0.25);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(10, 132, 255, 0.12), rgba(255, 255, 255, 0.035));
}

.contact-panel > div {
  max-width: 560px;
}

.contact-panel a,
.policy a {
  color: var(--blue-bright);
  font-weight: 620;
}

.policy-meta {
  margin-top: 30px;
  color: #758092;
  font-size: 13px;
}

.policy {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.policy section {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 44px;
  padding: 30px 34px;
  border-bottom: 1px solid var(--border);
}

.policy section:last-child {
  border-bottom: 0;
}

.policy p {
  margin: 0;
  font-size: 15px;
}

.footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
  border-top: 1px solid var(--border);
  color: #778191;
  font-size: 12px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--text);
  outline: none;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, 900px);
  }

  .topbar {
    min-height: 68px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding: 74px 0 50px;
  }

  .hero h1,
  .document-hero h1 {
    font-size: 43px;
  }

  .link-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .document-hero {
    padding: 74px 0 50px;
  }

  .topic-card {
    min-height: auto;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 25px;
  }

  .footer {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

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