:root {
  color-scheme: dark;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0b1d34;
  color: #f5f8ff;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 43%, rgba(27, 64, 111, .5) 0%, rgba(11, 29, 52, 0) 50%),
    linear-gradient(145deg, #0d2340 0%, #0b1d34 52%, #0d1e37 100%);
}

a { color: inherit; }

.page {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 38px 24px 26px;
  isolation: isolate;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(80, 142, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}

.ambient::before, .ambient::after {
  position: absolute;
  content: '';
  border: 1px solid rgba(80, 142, 255, .06);
  border-radius: 50%;
  inset: 34px;
}

.ambient::after { inset: 78px; }
.ambient--top { top: -320px; right: -230px; }
.ambient--bottom { bottom: -345px; left: -220px; }

.intro {
  display: flex;
  width: min(100%, 520px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: appear .8s ease-out both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 58px;
  color: #9db3d1;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42d9e7;
  box-shadow: 0 0 13px rgba(66, 217, 231, .7);
}

.brand-logo {
  display: block;
  width: clamp(230px, 42vw, 340px);
  height: auto;
  margin-bottom: 38px;
  filter: drop-shadow(0 14px 40px rgba(43, 102, 255, .16));
}

h1 {
  margin: 3px 0 0;
  color: #f8faff;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.15;
  text-indent: .22em;
}

h1 span {
  color: #8ea5c4;
  font-size: .42em;
  font-weight: 500;
  letter-spacing: .1em;
  vertical-align: .35em;
}

.description {
  margin: 16px 0 28px;
  color: #bac8dc;
  font-size: 1rem;
  line-height: 1.7;
}

.description strong { color: #f5f8ff; font-weight: 600; }

.project-link {
  color: #58d8ec;
  font-weight: 600;
  text-decoration-color: rgba(88, 216, 236, .45);
  text-underline-offset: 4px;
  transition: color .2s ease;
}

.project-link:hover { color: #a1eff8; }

.topspravy-card {
  display: flex;
  width: min(100%, 340px);
  min-height: 94px;
  align-items: center;
  gap: 16px;
  padding: 12px 17px 12px 13px;
  border: 1px solid rgba(143, 173, 214, .18);
  border-radius: 16px;
  background: rgba(13, 31, 55, .72);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12), inset 0 1px rgba(255, 255, 255, .025);
  text-align: left;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.topspravy-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 216, 236, .42);
  background: rgba(17, 41, 70, .9);
}

.topspravy-mark {
  display: grid;
  width: 69px;
  height: 65px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: #f5f7fa;
}

.topspravy-mark img { display: block; width: 62px; max-width: 100%; height: auto; }

.topspravy-copy { display: grid; gap: 4px; }
.topspravy-label { color: #94a9c5; font-size: .76rem; }
.topspravy-domain { color: #f6f8fc; font-size: 1.06rem; font-weight: 600; }
.arrow { margin-left: auto; color: #63d9eb; font-size: 1.25rem; }

.legal {
  width: min(100%, 920px);
  margin-top: auto;
  padding-top: 36px;
  color: #71839e;
  font-size: .7rem;
  line-height: 1.8;
  text-align: center;
}

.legal p { margin: 2px 0; }
.legal span { padding: 0 5px; color: #405675; }

@keyframes appear {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-height: 720px) and (min-width: 601px) {
  .page { padding-top: 22px; padding-bottom: 16px; }
  .brand-logo { width: 245px; }
  .eyebrow { margin-bottom: 42px; }
  .description { margin-top: 10px; margin-bottom: 18px; }
  .topspravy-card { min-height: 78px; }
  .topspravy-mark { height: 54px; }
  .legal { padding-top: 20px; }
}

@media (max-width: 600px) {
  .page { justify-content: center; padding: 32px 20px 20px; }
  .eyebrow { margin-bottom: 42px; font-size: .65rem; }
  .brand-logo { width: clamp(220px, 68vw, 300px); }
  .brand-logo { margin-bottom: 28px; }
  h1 { margin-top: 0; }
  .description { max-width: 330px; margin: 13px 0 22px; font-size: .94rem; }
  .topspravy-card { min-height: 86px; }
  .legal { padding-top: 28px; font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
