:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #f8fbff;
  background: #020817;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 48px 20px 28px;
  background:
    radial-gradient(ellipse at 50% 0, #0b3970 0, #071226 38%, #020817 78%);
}

main {
  width: min(100%, 440px);
  margin: 0 auto;
  text-align: center;
}

.brand {
  display: inline-flex;
  width: 118px;
  height: 76px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 40px);
  letter-spacing: -0.045em;
}

h1 span { color: #39a7ff; }

.intro {
  max-width: 340px;
  margin: 12px auto 28px;
  color: #aab8cb;
  font-size: 15px;
  line-height: 1.65;
}

.links {
  display: grid;
  gap: 12px;
}

.link-card,
.coming-soon {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 15px;
  padding: 13px 18px;
  border: 1px solid #ffffff20;
  border-radius: 16px;
  background: #ffffff0d;
  color: #f8fbff;
  text-align: left;
}

.link-card {
  box-shadow: 0 8px 26px #0002;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: #39a7ff99;
  background: #ffffff16;
}

.link-card:focus-visible,
.site-link:focus-visible {
  outline: 3px solid #39a7ff;
  outline-offset: 3px;
}

.link-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 11px;
  background: #078cff22;
  color: #65baff;
  font-size: 17px;
}

.link-card strong,
.coming-soon strong {
  display: block;
  font-size: 15px;
}

.link-card small,
.coming-soon small {
  display: block;
  margin-top: 3px;
  color: #aab8cb;
  font-size: 12px;
}

.link-arrow {
  margin-left: auto;
  color: #8e9bb0;
}

.contact-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 150px auto;
  gap: 12px;
}

.contact-card > span:nth-child(2) {
  grid-column: 2;
  min-width: 0;
}

.contact-card-qr {
  grid-column: 3;
  grid-row: 1;
  display: block;
  width: 150px;
  height: 150px;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
}

.contact-card .link-arrow {
  grid-column: 4;
  margin-left: 0;
}

@media (max-width: 400px) {
  .contact-card {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .contact-card-qr {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: 160px;
    height: 160px;
  }

  .contact-card .link-arrow {
    grid-column: 3;
    grid-row: 1;
  }
}

.site-link {
  display: inline-block;
  margin-top: 28px;
  color: #b9c9dc;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer {
  margin-top: 22px;
  color: #738198;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
