:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f3f6f4;
  color: #173126;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgb(66 165 116 / 16%), transparent 28rem),
    linear-gradient(145deg, #f8faf8 0%, #e9f1ec 100%);
}

.shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.5rem;
}

.card {
  width: min(100%, 38rem);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid rgb(23 49 38 / 10%);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 1.5rem 4rem rgb(23 49 38 / 12%);
  backdrop-filter: blur(1rem);
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: #287a52;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.intro {
  max-width: 32rem;
  margin: 1.35rem 0 2rem;
  color: #52645c;
  font-size: 1.05rem;
  line-height: 1.65;
}

.status-panel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 5.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #dce7e0;
  border-radius: 1rem;
  background: #f8fbf9;
}

.status-dot {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #86968e;
  box-shadow: 0 0 0 0.35rem rgb(134 150 142 / 15%);
}

.status-dot--pending {
  background: #d88921;
  box-shadow: 0 0 0 0.35rem rgb(216 137 33 / 15%);
}

.status-dot--success {
  background: #1d9b5f;
  box-shadow: 0 0 0 0.35rem rgb(29 155 95 / 15%);
}

.status-dot--error {
  background: #c84b45;
  box-shadow: 0 0 0 0.35rem rgb(200 75 69 / 15%);
}

.status-label {
  font-weight: 750;
}

.status-detail {
  margin-top: 0.2rem;
  color: #65776e;
  font-size: 0.88rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}

.result-grid div {
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: #edf4f0;
}

dt {
  color: #64766d;
  font-size: 0.75rem;
}

dd {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
  font-weight: 750;
}

button {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 0.85rem;
  background: #173126;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  transition: background 150ms ease, transform 150ms ease;
}

button:hover:not(:disabled) {
  background: #275844;
  transform: translateY(-1px);
}

button:focus-visible {
  outline: 3px solid #71c99c;
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 30rem) {
  .result-grid {
    grid-template-columns: 1fr;
  }
}

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