:root {
  color-scheme: light;
  --ink: #0b2029;
  --muted: #58717a;
  --line: #cfe0e3;
  --surface: #ffffff;
  --surface-soft: #f2f8f7;
  --teal: #18aa9d;
  --teal-dark: #08726f;
  --navy: #0b2630;
  --warning: #bd6b13;
  --danger: #b33a3a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 78% 12%, rgba(24, 170, 157, 0.18), transparent 28rem),
    linear-gradient(145deg, #eef7f5 0%, #f8fbfa 46%, #e8f2f1 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

.shell {
  width: min(100% - 32px, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, var(--teal), #087b84);
  font-size: 21px;
  font-weight: 800;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-panel {
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(12, 48, 58, 0.12);
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 6px;
  color: #8a570f;
  background: #fff6e8;
  font-size: 14px;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d88b25;
  box-shadow: 0 0 0 4px rgba(216, 139, 37, 0.14);
}

.status-line.is-success {
  color: var(--teal-dark);
  background: #e7f7f4;
}

.status-line.is-success .status-dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 170, 157, 0.15);
}

.status-line.is-error {
  color: var(--danger);
  background: #fff0f0;
}

.status-line.is-error .status-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(179, 58, 58, 0.13);
}

h1 {
  margin: 22px 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
}

.details > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  word-break: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--teal-dark);
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.actions .button {
  margin-top: 0;
}

.button:hover {
  background: #075e5c;
  transform: translateY(-1px);
}

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(24, 170, 157, 0.32);
  outline-offset: 3px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 750;
  text-underline-offset: 4px;
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 760px);
    justify-content: flex-start;
    padding-top: 24px;
  }

  .status-panel {
    padding: 26px 20px 30px;
  }

  .details {
    grid-template-columns: 1fr;
  }

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

  .actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
