:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #15202b;
  background: #f6f7f4;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: #fff;
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  background: #111b26;
  color: #fff;
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.brand-mark {
  width: 41px;
  height: 41px;
  background: #dbfc6b;
  color: #14201e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: -0.08em;
}
.brand-mark span {
  color: #527600;
}
.header-note {
  color: #afb8c0;
  font-size: 13px;
}
.header-session {
  display: flex;
  align-items: center;
  gap: 18px;
  font-variant-numeric: tabular-nums;
}
.header-session a {
  color: #dbfc6b;
  font-size: 13px;
  font-weight: 700;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 42px;
  color: #66727c;
  font-size: 13px;
  border-top: 1px solid #dde3dd;
  margin-top: 80px;
}
.hero {
  padding: 92px 0 58px;
  max-width: 760px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  font-weight: 800;
  color: #3d6d62;
  margin: 0 0 17px;
}
.hero h1 {
  font-size: clamp(44px, 6.3vw, 78px);
  line-height: 1.07;
  letter-spacing: -0.06em;
  margin: 0 0 26px;
}
.hero h1 em {
  font-style: normal;
  color: #4e776d;
}
.hero-copy {
  font-size: 19px;
  line-height: 1.65;
  color: #56636b;
  max-width: 670px;
  margin: 0;
}
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.track-card {
  background: #fff;
  border: 1px solid #dce3df;
  border-radius: 18px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 10px 30px rgba(21, 32, 43, 0.035);
}
.track-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 55px;
}
.track-icon {
  height: 54px;
  min-width: 54px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-weight: 800;
  font-size: 21px;
  background: #dff5d8;
  color: #173f32;
}
.finance-card .track-icon {
  background: #e5e9fd;
  color: #303e8b;
}
.typescript-card .track-icon {
  background: #e1ecfa;
  color: #1d4f8c;
}
.react-card .track-icon {
  background: #dcf2f6;
  color: #12505e;
}
.react-native-card .track-icon {
  background: #efe6fa;
  color: #523184;
}
.track-number {
  font-size: 12px;
  color: #8c979a;
  font-weight: 700;
}
.track-card h2 {
  font-size: 31px;
  line-height: 1.16;
  letter-spacing: -0.04em;
  margin: 0 0 13px;
  max-width: 380px;
}
.track-card > p:not(.eyebrow) {
  color: #627078;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 450px;
}
.start-form {
  margin-top: auto;
  display: grid;
  gap: 11px;
}
.start-form label,
.field label,
fieldset legend {
  font-size: 14px;
  font-weight: 750;
  color: #26363d;
}
.start-form select,
.field input,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cbd6d1;
  border-radius: 9px;
  color: #17242a;
  padding: 13px 15px;
  outline: none;
}
.start-form select {
  appearance: auto;
  height: 48px;
}
.button {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 14px 18px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 48px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  background: #1c4d41;
  color: #fff;
}
.button.primary:hover {
  background: #143e34;
}
.button.secondary {
  background: #fff;
  border-color: #a9b9b1;
  color: #234b41;
}
.button.secondary:hover {
  background: #eff5f0;
}
.button.quiet {
  background: #e5f2e9;
  color: #194539;
}
.button.quiet:hover {
  background: #d6eadb;
}
.start-form .button {
  width: 100%;
  margin-top: 8px;
}
.how-it-works {
  margin-top: 86px;
}
.how-it-works h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
}
.how-it-works ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: steps;
}
.how-it-works li {
  border-top: 1px solid #b9c7c0;
  padding-top: 21px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #65727a;
  line-height: 1.5;
}
.how-it-works li:before {
  counter-increment: steps;
  content: "0" counter(steps);
  font-weight: 800;
  color: #3f7568;
  font-size: 13px;
}
.how-it-works li strong {
  font-size: 19px;
  color: #182b30;
}
.how-it-works > p {
  margin-top: 28px;
  color: #68777b;
  font-size: 13px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #66767b;
  font-size: 13px;
  padding-top: 35px;
}
.breadcrumb a {
  color: #326657;
}
.task-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 53px 0 36px;
}
.task-heading h1 {
  font-size: clamp(35px, 4.4vw, 56px);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 0;
}
.task-heading .eyebrow {
  margin-bottom: 13px;
}
.text-link {
  color: #2e6153;
  font-size: 14px;
  white-space: nowrap;
}
.prompt-card,
.attempt-card,
.reveal-card,
.examples {
  background: #fff;
  border: 1px solid #dbe3de;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
  min-width: 0;
}
.prompt-card {
  background: #e8efe9;
  border-color: #d7e4d9;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 19px;
}
.section-label h2 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.02em;
}
.step {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  background: #1f5043;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}
.prompt-card > p {
  font-size: 18px;
  line-height: 1.68;
  max-width: 850px;
  margin: 0;
}
.prompt-card .small-note {
  margin-top: 20px;
}
.candidates {
  margin-bottom: 24px;
}
.candidates > .section-label {
  margin: 0 0 18px;
}
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.candidate-card {
  background: #fff;
  border: 1px solid #dbe3de;
  border-radius: 16px;
  min-width: 0;
  overflow: hidden;
}
.candidate-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 21px;
  border-bottom: 1px solid #e5eae7;
}
.candidate-head h3 {
  margin: 0;
  font-size: 16px;
}
.candidate-badge {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  background: #e4eeda;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #295346;
}
.candidate-card:nth-child(2) .candidate-badge {
  background: #e7ebf7;
  color: #415183;
}
.candidate-card pre {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  padding: 23px;
  overflow-x: auto;
  background: #fbfcfb;
  tab-size: 4;
}
.candidate-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.candidate-card .method {
  white-space: pre-line;
  line-height: 1.7;
  padding: 23px;
  margin: 0;
  font-size: 16px;
}
.examples h2 {
  font-size: 19px;
  margin: 0 0 8px;
}
.examples > p,
.field > p {
  color: #68767b;
  margin: 0 0 18px;
  line-height: 1.5;
  font-size: 14px;
}
.example-list {
  display: grid;
  gap: 8px;
}
.example-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 12px 14px;
  background: #f7f9f7;
  border-radius: 8px;
  font-size: 13px;
  min-width: 0;
}
.example-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.example-row code,
.result-panel code,
.edge-cases code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #edf2ef;
  border-radius: 4px;
  padding: 2px 4px;
  overflow-wrap: anywhere;
}
.attempt-card {
  padding: 34px;
}
.attempt-card form {
  max-width: 760px;
}
.choice-field {
  border: 0;
  margin: 0 0 28px;
  padding: 0;
}
.choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.choice-options label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid #cedbd2;
  border-radius: 9px;
  cursor: pointer;
}
.choice-options input {
  accent-color: #235a47;
  width: 17px;
  height: 17px;
}
.field {
  margin-bottom: 25px;
}
.field label {
  display: block;
  margin-bottom: 9px;
}
.field-hint {
  color: #718078;
  font-weight: 500;
  margin-left: 7px;
}
.field textarea {
  resize: vertical;
  min-height: 94px;
}
.field input {
  max-width: 260px;
}
.field p {
  margin-bottom: 9px;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-actions .button {
  min-width: 200px;
}
.small-note {
  font-size: 13px !important;
  color: #64756d !important;
  line-height: 1.5 !important;
}
.notice {
  padding: 16px 19px;
  border-radius: 9px;
  margin-bottom: 25px;
}
.notice p {
  margin: 6px 0 0;
}
.notice.error {
  background: #fff3ee;
  color: #842f24;
  border: 1px solid #f4cbbd;
}
.result-panel {
  margin-top: 30px;
  border-top: 1px solid #dae5dc;
  padding-top: 25px;
  line-height: 1.6;
}
.result-panel h3 {
  font-size: 20px;
  margin: 0 0 18px;
}
.result-panel p {
  margin: 9px 0;
}
.output-grid,
.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.output-grid p,
.score-grid p {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  background: #f5f8f5;
  border-radius: 9px;
  min-width: 0;
}
.score-grid p span {
  font-size: 13px;
  color: #66766d;
}
.good {
  color: #196146;
}
.needs-work {
  color: #9a552a;
}
.reveal-card {
  background: #f0f4f0;
}
.reveal-card > p {
  line-height: 1.6;
}
.reveal-card .button {
  margin-top: 6px;
}
.edge-cases {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.task-end {
  padding: 15px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.task-end a {
  color: #2b6555;
  font-weight: 700;
}
.task-end form { margin: 0; }
.task-end .button { color: #fff; }
.results-heading { padding: 72px 0 34px; }
.results-heading h1 {
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.055em;
  margin: 0 0 12px;
}
.results-heading > p:last-child { color: #627078; line-height: 1.6; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat-card, .results-detail {
  background: #fff;
  border: 1px solid #dce3df;
  border-radius: 16px;
  padding: 28px;
}
.stat-card { display: flex; flex-direction: column; gap: 12px; }
.stat-card span { color: #66727c; font-size: 14px; }
.stat-card strong { font-size: clamp(28px, 3vw, 42px); font-variant-numeric: tabular-nums; }
.results-detail { margin-top: 20px; }
.results-detail h2 { margin: 0 0 20px; }
.results-detail dl { margin: 0; }
.results-detail dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e1e8e3;
  padding: 15px 0;
}
.results-detail dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.results-restart { margin-top: 25px; }
.error-page {
  padding: 100px 0 180px;
  max-width: 650px;
}
.error-page h1 {
  font-size: clamp(40px, 6vw, 65px);
  margin: 0 0 15px;
  letter-spacing: -0.05em;
}
.error-page p:not(.eyebrow) {
  color: #68767b;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}
:focus-visible {
  outline: 3px solid #ab650b !important;
  outline-offset: 3px !important;
}
@media (max-width: 1060px) {
  .track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 600px);
  }
  .header-inner {
    height: 64px;
  }
  .header-session { gap: 10px; }
  .header-session a { font-size: 12px; }
  .header-note { font-size: 12px; }
  .hero {
    padding: 62px 0 38px;
  }
  .hero-copy {
    font-size: 17px;
  }
  .track-grid,
  .candidate-grid,
  .how-it-works ol {
    grid-template-columns: 1fr;
  }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-card {
    padding: 25px;
  }
  .track-top {
    margin-bottom: 38px;
  }
  .track-card h2 {
    font-size: 27px;
  }
  .how-it-works {
    margin-top: 60px;
  }
  .how-it-works ol {
    gap: 18px;
  }
  .site-footer {
    flex-direction: column;
    margin-top: 55px;
  }
  .task-heading {
    align-items: start;
    flex-direction: column;
    margin: 40px 0 28px;
    gap: 15px;
  }
  .prompt-card,
  .attempt-card,
  .reveal-card,
  .examples {
    padding: 21px;
  }
  .prompt-card > p {
    font-size: 16px;
  }
  .example-row,
  .output-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .button {
    width: 100%;
  }
  .candidate-card pre {
    font-size: 12px;
  }
  .candidate-card .method {
    font-size: 15px;
  }
}
