:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5b6870;
  --line: #d8e0df;
  --paper: #f8fbfa;
  --surface: #ffffff;
  --teal: #147d73;
  --teal-dark: #0d5d56;
  --coral: #d85d45;
  --gold: #d9a441;
  --mint: #bfe7d4;
  --shadow: 0 18px 60px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    linear-gradient(120deg, rgba(191, 231, 212, 0.42), rgba(248, 251, 250, 0) 38%),
    linear-gradient(300deg, rgba(216, 93, 69, 0.12), rgba(248, 251, 250, 0) 42%),
    var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.masthead {
  display: grid;
  gap: 22px;
  padding: 34px 0 28px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  flex: 0 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 4.75rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.status-band article {
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.status-band strong {
  display: block;
  margin: 8px 0 4px;
}

.status-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.status-dot.ready {
  background: var(--teal);
}

.status-dot.next {
  background: var(--gold);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
  margin-top: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(23, 32, 38, 0.06);
}

.checklist-panel {
  grid-row: span 2;
}

.panel-heading {
  margin-bottom: 18px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist label {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface);
  cursor: pointer;
}

.checklist input {
  width: 20px;
  height: 20px;
  accent-color: var(--teal);
}

.checklist span {
  font-weight: 750;
}

.command-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

code {
  display: block;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #132024;
  color: #e9fff8;
  font: 0.92rem ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: nowrap;
}

.icon-button {
  display: inline-grid;
  min-width: 52px;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
  color: var(--teal-dark);
  cursor: pointer;
}

.copy-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
}

.copy-icon::before,
.copy-icon::after {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 3px;
  content: "";
}

.copy-icon::before {
  inset: 1px auto auto 5px;
}

.copy-icon::after {
  inset: 5px auto auto 1px;
  background: var(--surface);
}

.hint,
.notes-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.hint {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.notes-panel {
  border-color: rgba(216, 93, 69, 0.35);
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 24px, 680px);
    padding: 28px 0;
  }

  h1 {
    font-size: 3.1rem;
  }

  .brand-row {
    align-items: flex-start;
  }

  .status-band,
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .checklist-panel {
    grid-row: auto;
  }

  .command-row {
    grid-template-columns: 1fr;
  }

  .icon-button {
    width: 100%;
  }
}
