:root {
  color-scheme: light;
  --ink: #071a3d;
  --muted: #52627e;
  --blue: #075ee8;
  --blue-dark: #063fbf;
  --line: #cbd9eb;
  --surface: rgba(255, 255, 255, 0.94);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #f8fbff; }

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 50% 35%, #174b7b 0%, #0a2748 42%, #030c19 100%);
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-dark);
  transform: translateY(-150%);
}

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

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 32px, 1024px);
  min-height: 100svh;
  align-items: center;
  margin: 0 auto;
  padding: 24px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  gap: 18px;
  margin-bottom: 8px;
}

.brand-logos { display: flex; align-items: center; gap: 13px; }
.brand-logos img { width: 66px; height: 66px; object-fit: contain; }
.brand-logos img:first-child { width: 78px; }

.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 24px; font-weight: 750; line-height: 1.15; letter-spacing: 0; }
.brand-copy span { color: #43516b; font-size: 17px; line-height: 1.35; }

.announcement {
  padding: 28px 56px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 5, 18, 0.42);
  backdrop-filter: blur(10px);
}

.announcement-heading { text-align: center; }
.announcement-heading > p:first-child {
  margin: 0 0 7px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 750;
  text-transform: uppercase;
}

.announcement-heading h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.announcement-heading h1 span { color: var(--blue); }
.announcement-heading > i { display: block; width: 56px; height: 3px; margin: 15px auto 14px; background: var(--blue); }
.intro { margin: 0; color: #263652; font-size: 17px; font-weight: 450; line-height: 1.4; }

.domain-transfer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.35fr);
  align-items: stretch;
  gap: 16px;
  margin: 22px 42px 14px;
}

.domain-card {
  min-height: 228px;
  padding: 16px 24px;
  border: 1px solid #cdd8e7;
  border-radius: 12px;
  text-align: center;
  background: #fff;
}

.official-card { border-color: #73aaff; box-shadow: inset 0 0 0 1px rgba(83, 145, 255, 0.1); }
.domain-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 9px;
  place-items: center;
  border: 1px solid #d8e1ed;
  border-radius: 50%;
  color: #596980;
  background: #f7f9fc;
}

.domain-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.domain-icon.official { color: #fff; border-color: #9ac1ff; background: var(--blue); box-shadow: 0 0 0 9px #fff, 0 0 0 10px #9ac1ff; }
.domain-icon.official svg { width: 37px; height: 37px; fill: currentColor; stroke: #fff; }

.domain-card h2 { margin: 6px 0 7px; font-size: 21px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.official-card h2 { color: #064ec9; font-size: 25px; }
.label { display: inline-block; padding: 4px 10px; border-radius: 5px; font-size: 11px; line-height: 1; text-transform: uppercase; }
.label.legacy { color: #425066; background: #e8edf3; }
.label.official { color: #fff; background: linear-gradient(180deg, #267bef, #0755cd); }
.domain-card > p { margin: 14px auto 0; max-width: 250px; color: #43536c; font-size: 13px; line-height: 1.5; }

.official-card ul { display: grid; gap: 6px; width: max-content; max-width: 100%; margin: 13px auto 0; padding: 0; list-style: none; text-align: left; }
.official-card li { position: relative; padding-left: 24px; color: #263550; font-size: 13px; line-height: 1.35; }
.official-card li::before { position: absolute; top: 0; left: 0; width: 17px; height: 17px; border-radius: 50%; color: #fff; background: var(--blue); content: "✓"; font-size: 11px; font-weight: 900; line-height: 17px; text-align: center; }

.transfer-arrow { display: flex; align-items: center; justify-content: center; gap: 5px; color: #4e9bff; }
.transfer-arrow span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.25; }
.transfer-arrow span:nth-child(2) { opacity: 0.4; }
.transfer-arrow span:nth-child(3) { opacity: 0.65; }
.transfer-arrow span:nth-child(4) { opacity: 0.9; }
.transfer-arrow svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 6; }

.notice-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 24px;
  align-items: center;
  margin: 0 34px 13px;
  padding: 11px 16px;
  border: 1px solid #cae0f8;
  border-radius: 10px;
  background: #f8fbff;
}

.notice-row::before { grid-column: 2; grid-row: 1; width: 1px; height: 52px; content: ""; background: #9bbde7; }
.notice-item { display: flex; grid-column: 1; grid-row: 1; align-items: center; gap: 13px; }
.notice-item.warning { grid-column: 3; }
.notice-icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border: 1px solid #ffd1d1; border-radius: 50%; color: #e11b2e; background: #fff7f7; }
.notice-icon.bookmark { color: var(--blue); border-color: #d4e4fa; background: #fff; }
.notice-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.notice-icon.bookmark svg { fill: currentColor; stroke: none; }
.notice-item p { display: grid; gap: 2px; margin: 0; color: #3b4960; font-size: 12px; line-height: 1.4; }
.notice-item strong { color: #16243d; font-size: 13px; font-weight: 750; }
.notice-item span b { color: #dd162a; }

.actions { display: grid; justify-items: center; }
.primary-action {
  display: flex;
  width: min(100%, 390px);
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(90deg, #064bd7, #0968f9);
  box-shadow: 0 8px 18px rgba(4, 87, 220, 0.23);
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 11px 22px rgba(4, 87, 220, 0.29); }
.primary-action:focus-visible,
.actions button:focus-visible { outline: 3px solid #8bbcff; outline-offset: 3px; }
.primary-action svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.actions button { min-height: 36px; padding: 5px 14px; border: 0; color: #0755cf; background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.actions button:disabled { color: #66758e; cursor: default; }

.redirect-status {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 7px;
  padding: 13px 32px 0;
  border-top: 1px solid #cdd9e8;
}
.redirect-copy { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: #1d2c45; font-size: 13px; }
.redirect-copy svg { width: 27px; height: 27px; color: var(--blue); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.redirect-copy strong { color: var(--blue); font-size: 32px; line-height: 1; }
.progress-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 14px; }
.progress-track { grid-column: 1 / -1; height: 10px; overflow: hidden; border-radius: 999px; background: #d8e6f6; }
.progress-track span { display: block; width: 100%; height: 100%; border-radius: inherit; background: repeating-linear-gradient(135deg, #2a78ef 0 8px, #5ba2ff 8px 16px); transform: scaleX(0); transform-origin: left; transition: transform 900ms linear; }
.progress-wrap small { grid-column: 1 / -1; color: #4d5e79; text-align: center; }
.progress-wrap b { color: #0755cf; }
.redirect-status.paused { grid-template-columns: 1fr; justify-items: center; color: #627087; }
.redirect-status.paused .redirect-copy strong { color: #627087; font-size: 14px; }
.redirect-status.paused .progress-wrap { display: none; }

.institution { display: none; width: min(100%, 560px); min-height: 64px; align-items: center; gap: 14px; margin: 9px auto 0; }
.institution-icon { display: grid; width: 52px; height: 52px; place-items: center; color: #0870d7; }
.institution-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.institution p { display: grid; gap: 1px; margin: 0; color: #53627b; font-size: 11px; line-height: 1.3; }
.institution strong { color: #14213a; font-size: 14px; }
.institution b { color: #0755cf; }

@media (max-height: 900px) and (min-width: 761px) {
  .page-shell { padding: 6px 0; }
  .brand { min-height: 58px; gap: 14px; }
  .brand-logos img { width: 48px; height: 48px; }
  .brand-logos img:first-child { width: 58px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy span { font-size: 14px; }
  .announcement { padding: 14px 48px 10px; }
  .announcement-heading > p:first-child { margin-bottom: 3px; font-size: 12px; }
  .announcement-heading h1 { font-size: 43px; }
  .announcement-heading > i { height: 2px; margin: 8px auto; }
  .intro { font-size: 14px; line-height: 1.3; }
  .domain-transfer { margin-top: 10px; margin-bottom: 8px; }
  .domain-card { min-height: 176px; padding: 10px 18px; }
  .domain-icon { width: 40px; height: 40px; margin-bottom: 5px; }
  .domain-icon svg { width: 24px; height: 24px; }
  .domain-icon.official { box-shadow: 0 0 0 6px #fff, 0 0 0 7px #9ac1ff; }
  .domain-icon.official svg { width: 27px; height: 27px; }
  .domain-card h2 { margin: 4px 0 5px; font-size: 18px; }
  .official-card h2 { font-size: 21px; }
  .domain-card > p { margin-top: 8px; font-size: 12px; line-height: 1.35; }
  .official-card ul { gap: 3px; margin-top: 8px; }
  .official-card li { font-size: 11px; line-height: 1.35; }
  .official-card li::before { width: 15px; height: 15px; font-size: 10px; line-height: 15px; }
  .notice-row { margin-bottom: 8px; padding-top: 7px; padding-bottom: 7px; }
  .notice-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .notice-icon svg { width: 22px; height: 22px; }
  .primary-action { min-height: 44px; font-size: 15px; }
  .primary-action svg { width: 22px; height: 22px; }
  .actions button { min-height: 28px; padding: 3px 12px; font-size: 12px; }
  .redirect-status { gap: 16px; margin-top: 3px; padding-top: 8px; }
  .redirect-copy strong { font-size: 26px; }
  .progress-track { height: 8px; }
  .institution { display: none; }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 20px, 560px); padding: 12px 0 22px; }
  .brand { min-height: 68px; gap: 10px; }
  .brand-logos { gap: 6px; }
  .brand-logos img { width: 48px; height: 48px; }
  .brand-logos img:first-child { width: 56px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy span { font-size: 13px; }
  .announcement { padding: 22px 14px 16px; border-radius: 16px; }
  .announcement-heading h1 { font-size: 40px; }
  .announcement-heading > p:first-child { font-size: 12px; }
  .intro { font-size: 15px; }
  .domain-transfer { grid-template-columns: 1fr; gap: 12px; margin: 20px 0 14px; }
  .domain-card { min-height: 0; }
  .transfer-arrow { height: 40px; transform: rotate(90deg); }
  .official-card h2 { font-size: 22px; }
  .notice-row { grid-template-columns: 1fr; gap: 14px; margin: 0 0 14px; padding: 14px; }
  .notice-row::before { display: none; }
  .notice-item,
  .notice-item.warning { grid-column: 1; grid-row: auto; }
  .notice-item br { display: none; }
  .redirect-status { grid-template-columns: 1fr; gap: 10px; padding: 13px 0 0; }
  .redirect-copy { justify-content: center; white-space: normal; }
  .progress-wrap { width: 100%; }
  .institution { padding: 6px 4px 0; }
}

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