:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, #1e3a5f 0, transparent 35rem),
    #0f172a;
}

button {
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.55rem;
  background: #38bdf8;
  color: #082f49;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:hover:not(:disabled) {
  background: #7dd3fc;
}

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

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

.pilot-banner {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  background: #f59e0b;
  color: #1c1917;
  font-size: 0.85rem;
}

.pilot-banner strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(21rem, 0.9fr);
  gap: 2rem;
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.hero,
.rehearsal-card {
  border: 1px solid #334155;
  border-radius: 1.25rem;
  background: rgb(15 23 42 / 0.82);
  box-shadow: 0 1.5rem 4rem rgb(2 6 23 / 0.25);
}

.hero {
  padding: clamp(2rem, 7vw, 5rem);
}

.rehearsal-card {
  align-self: start;
  padding: 2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  color: #f8fafc;
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

h2 {
  margin-bottom: 0.25rem;
  color: #f8fafc;
  font-size: 1.6rem;
}

h3 {
  color: #f8fafc;
  font-size: 1.25rem;
}

.lede {
  max-width: 36rem;
  color: #cbd5e1;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.safety-card,
.status-card {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 0.75rem;
}

.safety-card {
  border: 1px solid #92400e;
  background: #451a03;
}

.safety-card strong {
  color: #fde68a;
}

.safety-card p {
  margin: 0.35rem 0 0;
  color: #fef3c7;
  font-size: 0.92rem;
}

.status-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  border: 1px solid #1e40af;
  background: #172554;
}

.status-card strong {
  color: #bfdbfe;
}

.status-card p {
  margin: 0.2rem 0 0;
  color: #dbeafe;
  font-size: 0.9rem;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 0.25rem rgb(74 222 128 / 0.16);
}

.workspace-heading {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.progress-label {
  margin: 0;
  color: #7dd3fc;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
}

.choice-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.choice-button {
  width: 100%;
  border: 1px solid #334155;
  background: #1e293b;
  color: #e2e8f0;
  text-align: left;
}

.choice-button:hover:not(:disabled),
.choice-button.selected {
  border-color: #38bdf8;
  background: #0c4a6e;
  color: #ecfeff;
}

.navigation {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.secondary-button,
.reset-button {
  border: 1px solid #475569;
  background: transparent;
  color: #cbd5e1;
}

.secondary-button:hover:not(:disabled),
.reset-button:hover:not(:disabled) {
  border-color: #94a3b8;
  background: #1e293b;
}

.reset-button {
  width: 100%;
  margin-top: 0.8rem;
}

.recap-list {
  display: grid;
  gap: 0.25rem 1rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 1.25rem 0 0;
}

.recap-list dt {
  margin-top: 0.7rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.recap-list dd {
  margin: 0;
  color: #f8fafc;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  .pilot-banner,
  .footer {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .shell {
    grid-template-columns: 1fr;
    width: min(100% - 1.5rem, 42rem);
    padding: 2rem 0;
  }

  .workspace-heading {
    flex-direction: column;
  }

  .progress-label {
    text-align: left;
  }
}
