:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: #091224;
  color: #f3f5fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid #263248;
}
header a {
  font-size: 1.3rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}
header a span,
.eyebrow {
  color: #53e3bd;
}
header > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.badge,
header p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #a7b5c9;
}
main {
  padding: 54px 0 80px;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 18px 0 24px;
}
h2 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
p {
  line-height: 1.7;
  color: #bec8d8;
}
.lead {
  max-width: 700px;
  font-size: 1.1rem;
}
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 650;
}
.notice {
  border: 1px solid #314257;
  padding: 16px 20px;
  border-radius: 7px;
  max-width: 850px;
  background: #101d32;
}
.workbench {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin-top: 48px;
}
.workbench > section {
  min-width: 0;
  background: #101b2d;
  border: 1px solid #263248;
  padding: 27px;
  border-radius: 9px;
}
label {
  display: block;
  margin: 22px 0 9px;
  font-size: 0.94rem;
  font-weight: 600;
}
small {
  font-size: 0.75rem;
  font-weight: 400;
  color: #a7b5c9;
  margin-left: 8px;
}
input,
select,
textarea {
  width: 100%;
  background: #091224;
  border: 1px solid #41516a;
  border-radius: 5px;
  color: #f3f5fa;
  font: inherit;
  padding: 12px;
  line-height: 1.5;
}
textarea {
  resize: vertical;
}
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #53e3bd;
  outline-offset: 4px;
}
button {
  font: inherit;
  font-weight: 650;
  background: #53e3bd;
  border: 0;
  border-radius: 5px;
  color: #091224;
  padding: 13px 18px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: #dce4ef;
  border: 1px solid #41516a;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
details {
  border-top: 1px solid #334257;
  margin-top: 24px;
  padding-top: 18px;
}
summary {
  cursor: pointer;
  color: #b6e9da;
  font-weight: 600;
  line-height: 1.6;
}
#documents textarea {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
}
#download {
  margin-top: 24px;
}
.muted {
  font-size: 0.85rem;
  color: #a7b5c9;
}
#status {
  position: sticky;
  bottom: 0;
  background: #091224;
  padding: 12px;
  border-left: 3px solid #53e3bd;
}
#status:empty {
  display: none;
}
.login {
  max-width: 550px;
}
.login form {
  margin-top: 30px;
}
.login button {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .workbench {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .workbench > section {
    padding: 20px;
  }
  header,
  main {
    width: calc(100% - 32px);
  }
  header > div {
    gap: 9px;
  }
  .badge {
    font-size: 0.6rem;
  }
  header button {
    padding: 9px 11px;
    font-size: 0.8rem;
  }
  main {
    padding-top: 34px;
  }
}

#documents > section {
  border-top: 1px solid #334257;
  margin-top: 28px;
  padding-top: 18px;
}
#documents pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    0.88rem/1.7 ui-monospace,
    monospace;
  padding: 16px;
  background: #091224;
  max-height: 560px;
  overflow-y: auto;
}
#documents textarea {
  margin-top: 18px;
}
[hidden] {
  display: none !important;
}
select:focus-visible {
  outline: 2px solid #53e3bd;
  outline-offset: 4px;
}

/* Guided starter workspace */
.intro {
  max-width: 760px;
}
.intro h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  margin: 14px 0 18px;
}
.intro .lead {
  font-size: 1rem;
  max-width: 620px;
}
.steps {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 34px 0 24px;
  gap: 28px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: #8392aa;
}
.steps li > span {
  border: 1px solid #35445c;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.steps [aria-current] {
  color: #f3f5fa;
}
.steps [aria-current] > span {
  background: #53e3bd;
  color: #091224;
  border-color: #53e3bd;
}
.steps .complete > span {
  color: #53e3bd;
  border-color: #53e3bd;
}
.workbench {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
  margin-top: 0;
}
.workbench > section {
  padding: 30px;
  border-radius: 16px;
}
.workbench > aside {
  padding: 20px 8px 20px 16px;
}
.form-step > .eyebrow {
  margin-top: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.form-step h2 {
  margin: 10px 0 8px;
  font-size: 1.65rem;
}
h2:focus {
  outline: none;
}
.step-description {
  margin-top: 0;
  font-size: 0.92rem;
  color: #9baac0;
}
.choices {
  border: 0;
  padding: 0;
  margin: 28px 0 0;
  min-width: 0;
}
.choices legend {
  font-size: 0.87rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 12px;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 17px 14px;
  margin: 0;
  background: #0b1629;
  border: 1px solid #334259;
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 120ms,
    background 120ms;
}
.choice:has(input:checked) {
  background: #112e32;
  border-color: #53e3bd;
}
.choice:hover {
  border-color: #93b9b0;
}
.choice input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: #53e3bd;
}
.choice strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.choice small {
  display: block;
  margin: 6px 0 0;
  font-size: 0.79rem;
  line-height: 1.55;
  color: #9fadc1;
}
label {
  margin-top: 22px;
  font-size: 0.87rem;
}
input,
textarea {
  padding: 11px 13px;
  border-color: #34455e;
  border-radius: 8px;
  font-size: 0.94rem;
}
textarea {
  min-height: 82px;
}
input::placeholder,
textarea::placeholder {
  color: #7d8da6;
  opacity: 1;
}
.form-navigation {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid #26364b;
  padding-top: 22px;
  margin-top: 30px;
}
button {
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 0.9rem;
  min-height: 42px;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  color: #8392aa;
  font-size: 0.75rem;
}
.text-button {
  background: none;
  border: 0;
  color: #a7b5c9;
  padding: 5px 0 5px 12px;
  min-height: 32px;
  font-size: 0.75rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#pack-guide h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 12px 0;
}
#pack-guide > p:not(.eyebrow) {
  font-size: 0.86rem;
}
#pack-guide > .eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #97a9bf;
}
.pack-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 20px;
}
.pack-list li {
  display: flex;
  gap: 13px;
  align-items: center;
}
.file-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 38px;
  border: 1px solid #34455e;
  border-radius: 5px 10px 5px 5px;
  color: #53e3bd;
  font:
    0.8rem ui-monospace,
    monospace;
  flex-shrink: 0;
}
.pack-list strong {
  font-size: 0.85rem;
  font-weight: 550;
}
.pack-list div > span {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: #8b9cb3;
  line-height: 1.45;
}
.privacy-note {
  border-top: 1px solid #26364b;
  padding-top: 20px;
  color: #8392aa;
}
.workbench.reviewing {
  display: block;
}
.review-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.review-heading h2 {
  margin: 8px 0;
}
.review-heading .eyebrow {
  margin: 0;
  font-size: 0.7rem;
}
@media (max-width: 950px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 18px;
  }
}
@media (max-width: 760px) {
  .workbench {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .workbench > section {
    padding: 22px 18px;
  }
  .workbench > aside {
    padding: 18px 4px;
  }
  .steps {
    gap: 6px;
    justify-content: space-between;
  }
  .steps li {
    font-size: 0.7rem;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }
  .choice {
    padding: 14px 11px;
    gap: 8px;
  }
  .choice strong {
    font-size: 0.83rem;
  }
  .choice small {
    font-size: 0.75rem;
  }
  .review-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 390px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .choice {
    transition: none;
  }
}

.why-pack {
  margin-top: 30px;
  border-top: 1px solid #26364b;
  padding-top: 24px;
}
.why-pack > h2 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.why-pack > p {
  font-size: 0.9rem;
  max-width: 850px;
  margin-top: 0;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 22px;
}
.benefits strong {
  font-size: 0.9rem;
}
.benefits p {
  font-size: 0.83rem;
  color: #94a5bc;
  margin: 7px 0 0;
  line-height: 1.6;
}
.ai-basics {
  border: none;
  margin-top: 16px;
  padding: 0;
  font-size: 0.85rem;
}
.ai-basics summary {
  font-weight: 450;
}
.ai-basics p {
  max-width: 850px;
}
#file-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
#file-navigation button {
  font:
    0.8rem ui-monospace,
    monospace;
}
#file-navigation [aria-pressed="true"],
.provider[aria-pressed="true"] {
  border-color: #53e3bd;
  background: #112e32;
  color: #b2f6e1;
}
.handoff {
  padding: 24px;
  margin-top: 28px;
  background: #0b1629;
  border: 1px solid #31455b;
  border-radius: 12px;
}
.handoff h3 {
  margin: 0;
  font-size: 1.2rem;
}
.handoff > .eyebrow {
  margin-top: 0;
  font-size: 0.7rem;
}
.handoff p,
.handoff li {
  font-size: 0.9rem;
}
.handoff li {
  color: #bec8d8;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 4px;
}
.handoff ol {
  padding-left: 22px;
}
.handoff a {
  color: #80e6ca;
  font-size: 0.85rem;
}
.handoff a.button-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #53e3bd;
  color: #091224;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 650;
}
@media (max-width: 760px) {
  .benefits {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .handoff {
    padding: 18px;
  }
}

.beta-badge {
  border: 1px solid #53e3bd55;
  background: #53e3bd12;
  color: #91efd5;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  font-weight: 650;
}
header a.back-to-labs {
  font-size: 0.85rem;
  font-weight: 450;
  color: #b6c4d8;
}
.beta-note {
  color: #92a3bb;
  font-size: 0.85rem;
  margin-top: 36px;
  border-top: 1px solid #263248;
  padding-top: 22px;
}
.beta-note a {
  color: #80e6ca;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: #53e3bd;
  color: #091224;
  padding: 12px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
