:root {
  color-scheme: dark;
  --paper: #111111;
  --ink: #ededed;
  --muted: #a2a2a2;
  --rule: #383838;
  --accent: #f1f1f1;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 32%),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.04), transparent 45%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

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

.page-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  padding: 34px clamp(24px, 6vw, 88px) 26px;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.topbar,
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: block;
  width: 110px;
  line-height: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.copyright {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.chooser {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  margin: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.coming-soon-panel {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
  animation: rise-in 700ms 100ms ease-out both;
}

.coming-soon-title {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-transform: none;
}

.divider {
  width: 100%;
  height: 1px;
  margin-top: 26px;
  margin-bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
}

.partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border: 0;
  background: transparent;
  color: rgba(237, 237, 237, 0.7);
  overflow: hidden;
  text-decoration: none;
}

.partner-logo:hover,
.partner-logo:focus-visible {
  background: transparent;
  outline: none;
}

.partner-logo img {
  display: block;
  max-width: 62%;
  max-height: 42px;
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.partner-logo:hover img,
.partner-logo:focus-visible img {
  filter: none;
  transform: translateY(-1px);
}

.footer {
  position: relative;
  z-index: 1;
  min-height: 52px;
  border-top: 1px solid var(--rule);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 19px;
}

.social-links a {
  display: grid;
  width: 24px;
  height: 28px;
  place-items: center;
  color: #a5a5a5;
  transition: color 160ms ease, transform 160ms ease;
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .page-shell {
    min-height: 100svh;
    padding: 18px 16px 14px;
  }

  .topbar {
    justify-content: center;
  }

  .coming-soon-panel {
    gap: 24px;
    width: min(100%, 420px);
  }

  .coming-soon-title {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1;
  }

  .divider {
    margin-top: 4px;
  }

  .partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .partner-logo {
    min-height: 90px;
  }

  .partner-logo img {
    max-width: 72%;
    max-height: 22px;
  }

  .copyright {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .social-links {
    grid-area: social;
    justify-content: center;
    width: min(100%, 280px);
    gap: 0;
    margin-inline: auto;
  }

  .social-links a {
    width: 40px;
    height: 44px;
  }

  .footer {
    display: grid;
    grid-template-areas: "social" "copyright";
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 10px;
    padding: 10px 0 0;
  }

  .copyright {
    grid-area: copyright;
    text-align: center;
  }
}

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