:root {
  color-scheme: dark;
  --bg: #0b1220;
  --card: #121c2c;
  --text: #e9eef5;
  --muted: #9aa8ba;
  --accent: #6aa9ff;
  --border: #26364a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 0%, rgba(106, 169, 255, 0.16), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.migration-banner {
  flex: 0 0 auto;
  background: linear-gradient(90deg, #f59e0b 0%, #ffb020 100%);
  border-bottom: 1px solid #c97a00;
  color: #2a1a00;
}

.migration-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: calc(8px + env(safe-area-inset-top)) 18px 8px;
}

.migration-banner__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: #2a1a00;
  color: #ffd27a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.migration-banner__content {
  flex: 1 1 auto;
  min-width: 0;
}

.migration-banner__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0;
}

.migration-banner__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.migration-banner__time {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.82;
}

.migration-banner__message {
  margin: 2px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.migration-banner__contact {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.migration-banner__contact a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.migration-banner__contact a:hover,
.migration-banner__contact a:focus-visible {
  color: #000000;
}

.page {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(560px, 100%);
  padding: 46px 38px 40px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px;
  border: 1px solid rgba(106, 169, 255, 0.35);
  border-radius: 999px;
  background: rgba(106, 169, 255, 0.09);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(106, 169, 255, 0.14);
}

.logo {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.text {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 620px) {
  .migration-banner__inner {
    gap: 8px;
    padding: calc(7px + env(safe-area-inset-top)) 12px 7px;
  }

  .migration-banner__title {
    font-size: 11.5px;
  }

  .migration-banner__message {
    font-size: 12px;
  }

  .migration-banner__contact {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 14px;
  }

  .card {
    padding: 36px 24px 32px;
  }
}
