:root {
  color-scheme: light;
  --cloud: #edf6fa;
  --mist: #d9eaf1;
  --paper: #f9fcfd;
  --ink: #173246;
  --muted: #607a89;
  --tide: #16788a;
  --cobalt: #315da8;
  --signal: #d28b45;
  --line: rgba(23, 50, 70, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--cloud);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background:
    radial-gradient(circle at 78% 44%, rgba(49, 93, 168, 0.14), transparent 25rem),
    linear-gradient(125deg, var(--paper) 0 48%, var(--cloud) 48% 100%);
}

/* Security-print lines make the holding page feel like an identity artifact, not a generic error screen. */
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.42;
  background-image:
    repeating-radial-gradient(
      circle at 78% 44%,
      transparent 0 18px,
      rgba(22, 120, 138, 0.09) 19px,
      transparent 20px 34px
    );
  mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(20rem, 0.84fr);
  align-items: center;
  width: min(74rem, calc(100% - 6rem));
  min-height: calc(100vh - 6rem);
  margin: 0 auto;
  padding: 5rem 0 3rem;
  gap: clamp(3rem, 8vw, 8rem);
}

.message {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1.8rem;
  color: var(--tide);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-family:
    "Avenir Next", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.85;
}

.intro strong {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.91em;
  font-weight: 600;
}

.actions {
  display: flex;
  align-items: center;
  margin-top: 2.25rem;
  gap: 1.5rem;
}

.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.home-link span {
  margin-left: 0.65rem;
  font-size: 1.1em;
}

.home-link:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.home-link:focus-visible {
  outline: 3px solid rgba(49, 93, 168, 0.38);
  outline-offset: 4px;
}

.status {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.status span {
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 1px var(--signal);
}

.identity-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(30vw, 24rem);
  aspect-ratio: 1;
  justify-self: center;
}

.orbit,
.seal {
  position: absolute;
  border-radius: 50%;
}

.orbit {
  border: 1px solid var(--line);
}

.orbit-outer {
  inset: 0;
  border-color: rgba(49, 93, 168, 0.3);
  animation: orbit 22s linear infinite;
}

.orbit-inner {
  inset: 13%;
  border-style: dashed;
  border-color: rgba(22, 120, 138, 0.34);
  animation: orbit-reverse 16s linear infinite;
}

.orbit::before,
.orbit::after {
  position: absolute;
  inset: 9%;
  content: "";
  border: 1px solid rgba(23, 50, 70, 0.1);
  border-radius: inherit;
}

.orbit::after {
  inset: 22%;
}

.token {
  position: absolute;
  width: 0.78rem;
  height: 0.78rem;
  border: 3px solid var(--cloud);
  border-radius: 50%;
  box-shadow: 0 0 0 1px currentColor;
}

.token-one {
  top: 9%;
  left: 22%;
  color: var(--cobalt);
  background: var(--cobalt);
}

.token-two {
  right: 2%;
  bottom: 32%;
  color: var(--tide);
  background: var(--tide);
}

.seal {
  inset: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 50, 70, 0.22);
  background: rgba(249, 252, 253, 0.7);
  box-shadow:
    0 1.5rem 4rem rgba(23, 50, 70, 0.1),
    inset 0 0 0 0.55rem rgba(237, 246, 250, 0.76);
  backdrop-filter: blur(12px);
}

.seal-label,
.seal-state {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.seal-label {
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

.seal-state {
  margin-top: 0.45rem;
  color: var(--tide);
  font-size: clamp(0.55rem, 1vw, 0.72rem);
  letter-spacing: 0.19em;
  text-indent: 0.19em;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(74rem, calc(100% - 6rem));
  margin: -1.5rem auto 0;
  padding: 0 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  line-height: 3rem;
  text-transform: uppercase;
}

.domain {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-transform: lowercase;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@media (max-width: 760px) {
  body {
    background: linear-gradient(155deg, var(--paper), var(--cloud));
  }

  body::before {
    mask-image: linear-gradient(180deg, transparent 20%, #000 72%);
  }

  .shell {
    grid-template-columns: 1fr;
    width: min(100% - 2.5rem, 38rem);
    padding: 4rem 0 2rem;
    gap: 3.5rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .identity-mark {
    width: min(78vw, 21rem);
  }

  footer {
    width: min(100% - 2.5rem, 38rem);
    margin: 0 auto;
  }
}

/* The status remains fully understandable when motion is disabled. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
