:root {
  color-scheme: light;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  color: #142239;
  background: #f4f8ff;
  --ink: #142239;
  --muted: #5d6c83;
  --line: #d7e0ef;
  --blue: #1f5eff;
  --green: #23d77b;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

body { margin: 0; min-height: 100vh; }

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 16% 14%, rgb(35 215 123 / 18%), transparent 28rem),
    linear-gradient(150deg, #f8fbff 0%, #edf4ff 100%);
}

.card {
  width: min(100%, 31rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgb(20 34 57 / 10%);
  border-radius: 2rem;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 1.5rem 5rem rgb(36 72 132 / 12%);
  backdrop-filter: blur(1rem);
}

.mark {
  width: 4.25rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 2.5rem;
  border-radius: 1.35rem 1.35rem 1.35rem .3rem;
  color: var(--ink);
  background: var(--green);
  box-shadow: .6rem .6rem 0 #cce0ff;
  font-size: 2.25rem;
  font-weight: 850;
  letter-spacing: -.12em;
}

.mark span { transform: translateX(-.05em); }

.eyebrow {
  margin: 0 0 .7rem;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.35rem, 9vw, 4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.message {
  min-height: 4.5rem;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

button {
  width: 100%;
  min-height: 3.5rem;
  border: 0;
  border-radius: 1rem;
  background: var(--ink);
  color: white;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

button:hover { background: #213553; }
button:disabled { cursor: default; opacity: .55; }
button[aria-busy="true"] { cursor: wait; }
button:focus-visible, summary:focus-visible { outline: .2rem solid var(--blue); outline-offset: .2rem; }

.secondary {
  margin-top: .65rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.secondary:hover { background: #f3f7fd; }

.summary {
  margin: 1.8rem 0 0;
  border-top: 1px solid var(--line);
}

.summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}

dt { color: var(--muted); }
dd { margin: 0; font-weight: 750; text-align: right; }

details { margin-top: 1rem; color: var(--muted); }
summary { cursor: pointer; }
pre { overflow: auto; font: .72rem/1.5 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 34rem) {
  .shell { align-items: end; padding: .75rem; }
  .card { border-radius: 1.6rem; }
  .mark { margin-bottom: 2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .card { animation: arrive 380ms ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(.7rem); } }
}
