:root {
  color-scheme: dark;
  font: 16px/1.55 system-ui, sans-serif;
  background: #070b10;
  color: #edf4fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #17283b, #070b10 48%);
}

.proof-banner {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #f6c453;
  background: #2b2108;
  color: #fff3c9;
  text-align: center;
}

main {
  width: min(52rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 5rem;
}

.card {
  padding: clamp(1rem, 4vw, 2.25rem);
  border: 1px solid #31465a;
  border-radius: 1rem;
  background: #101923;
  box-shadow: 0 1.5rem 4rem #0009;
}

h1,
h2 {
  line-height: 1.18;
}

h1 {
  margin-top: 0;
  font-size: clamp(1.8rem, 6vw, 2.7rem);
}

h2 {
  margin-top: 2rem;
}

.eyebrow {
  margin-bottom: 0.35rem;
  color: #9fc9ec;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiet {
  color: #a9bac9;
}

.context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.context div {
  padding: 0.75rem;
  border: 1px solid #33495d;
  border-radius: 0.6rem;
  background: #0b131c;
}

dt {
  color: #a9bac9;
  font-size: 0.85rem;
}

dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.step {
  padding: 0.25rem 1rem 1.2rem;
  border-left: 0.3rem solid #79bdf2;
  background: #0b131c;
}

fieldset {
  margin: 1.25rem 0 0;
  padding: 1rem;
  border: 1px solid #3a536b;
  border-radius: 0.65rem;
}

legend,
label {
  font-weight: 700;
}

label {
  display: block;
  margin: 0.85rem 0 0.3rem;
}

input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #58718a;
  border-radius: 0.5rem;
  background: #070d14;
  color: inherit;
  font: inherit;
}

button {
  min-height: 2.75rem;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border: 1px solid #9bd0fa;
  border-radius: 0.5rem;
  background: #8dc9f6;
  color: #06111b;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button.secondary {
  border-color: #99a9b8;
  background: #253442;
  color: #f2f7fb;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

button:focus-visible,
input:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 0.2rem solid #ffe08a;
  outline-offset: 0.2rem;
}

.actions,
.reset-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.countdown,
.barrier,
.status {
  min-height: 1.6rem;
  margin-top: 1rem;
  font-weight: 700;
}

.countdown {
  color: #ffe08a;
}

.barrier {
  color: #a8edc4;
}

.status[data-kind="stop"] {
  padding: 0.75rem;
  border: 1px solid #df8990;
  background: #32151a;
  color: #ffd7d9;
}

.status[data-kind="ok"] {
  color: #a8edc4;
}

.outcomes {
  padding-left: 1.4rem;
}

.outcomes li {
  margin: 0.55rem 0;
  padding: 0.6rem 0.75rem;
  border-left: 0.25rem solid #77c99c;
  background: #0b131c;
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}

@media (max-width: 42rem) {
  main {
    padding-top: 1rem;
  }

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

  button {
    width: 100%;
  }
}
