:root {
  color-scheme: light;
  --bg: #f7fbfa;
  --ink: #12312f;
  --muted: #5d7470;
  --line: #d7e5e2;
  --accent: #0f6f68;
  --accent-strong: #0a5651;
  --surface: #ffffff;
  --shadow: 0 24px 70px rgba(15, 111, 104, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(15, 111, 104, 0.14), transparent 28%),
    linear-gradient(145deg, #f7fbfa 0%, #eef7f5 48%, #ffffff 100%);
  color: var(--ink);
}

.shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 430px);
  min-height: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 34px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.brand-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: 0;
}

.status {
  margin: 10px 0 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 10vw, 48px);
  line-height: 1.02;
  font-weight: 780;
  letter-spacing: 0;
}

.summary {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.progress {
  width: min(100%, 270px);
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3efec;
}

.progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: loading 1.15s ease-in-out infinite;
}

.primary-action {
  width: min(100%, 270px);
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 111, 104, 0.2);
  transition: background 160ms ease, transform 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.primary-action:focus-visible {
  outline: 3px solid rgba(15, 111, 104, 0.3);
  outline-offset: 3px;
}

.fallback {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

@keyframes loading {
  0% {
    transform: translateX(-120%);
  }

  55%,
  100% {
    transform: translateX(250%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress span {
    animation: none;
    width: 100%;
  }

  .primary-action {
    transition: none;
  }
}

@media (max-width: 420px) {
  .shell {
    padding: 16px;
  }

  .panel {
    min-height: calc(100svh - 32px);
    padding: 28px 20px;
  }
}
