:root {
  color-scheme: dark;
  --bg: #111722;
  --surface: #181f2b;
  --surface-2: #202938;
  --border: #303a49;
  --text: #f4f7fa;
  --text-muted: #a8b0bd;
  --text-soft: #7e8999;
  --accent: #1fc7b1;
  --accent-light: #4ee4d4;
  --accent-dark: #0c9c8f;
  --ink: #071513;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 14%, rgb(31 199 177 / 0.13), transparent 28rem),
    radial-gradient(circle at 12% 6%, rgb(65 78 99 / 0.2), transparent 24rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / 0.08) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0.6), transparent 70%);
  content: "";
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  width: min(1120px, calc(100% - 2rem));
  height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #4bd8ed);
  box-shadow: 0 8px 24px rgb(31 199 177 / 0.2);
}

.brand-mark svg {
  width: 18px;
  fill: var(--ink);
}

.status {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(24 31 43 / 0.72);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(31 199 177 / 0.12);
}

main {
  display: grid;
  min-height: calc(100dvh - 144px);
  padding: 3rem 1rem 4rem;
  place-items: center;
}

.migration-card {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgb(31 199 177 / 0.045), transparent 36%),
    rgb(24 31 43 / 0.92);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.75);
  text-align: center;
  backdrop-filter: blur(18px);
}

.migration-card::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(78 228 212 / 0.8), transparent);
  content: "";
}

.eyebrow {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.85rem;
  border: 1px solid rgb(31 199 177 / 0.24);
  border-radius: 999px;
  background: rgb(31 199 177 / 0.08);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow svg,
.primary-action svg,
.domain-change > svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

h1 {
  margin: 1.7rem auto 0;
  font-size: clamp(2.2rem, 7vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--accent-light);
}

.lead {
  max-width: 580px;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.7;
}

.lead strong {
  color: var(--text);
}

.primary-action {
  display: inline-flex;
  min-height: 52px;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 12px 30px -10px rgb(31 199 177 / 0.55);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
  box-shadow: 0 16px 36px -10px rgb(31 199 177 / 0.65);
  transform: translateY(-2px);
}

.primary-action:active {
  transform: translateY(0) scale(0.98);
}

.domain-change {
  display: grid;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.domain-change > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.35rem;
}

.domain-change > svg {
  color: var(--text-soft);
}

.domain-label {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.domain {
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  font-weight: 700;
}

.domain.old {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--text-soft);
}

.domain.new {
  color: var(--accent-light);
}

footer {
  display: flex;
  width: min(1120px, calc(100% - 2rem));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.75rem;
}

@media (max-width: 560px) {
  .status {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .status-dot {
    display: none;
  }

  main {
    align-items: start;
    padding-top: 2rem;
  }

  .migration-card {
    border-radius: 22px;
  }

  .domain-change {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .domain-change > svg {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  footer {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
    text-align: center;
  }

  footer p {
    margin: 0;
  }
}

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