:root {
  color-scheme: light;
  --ink: #17213c;
  --navy: #17244d;
  --blue: #263da6;
  --pale: #edf0ff;
  --page: #f6f5ef;
  --white: #fffefa;
  --muted: #4d5669;
  --stroke: #c6cad7;
  --yellow: #ffe36b;
  font: 16px/1.55 "Helvetica Neue", Helvetica, system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.11; letter-spacing: -.028em; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
input, select { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #963a15; outline-offset: 4px; }
.frame { width: min(1220px, calc(100% - 82px)); margin-inline: auto; }
.skip { position: fixed; z-index: 6; top: 10px; left: 10px; padding: 9px 14px; background: var(--white); color: var(--ink); transform: translateY(-165%); }
.skip:focus { transform: none; }

.top { background: var(--navy); color: white; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 1.25rem; font-weight: 760; letter-spacing: -.036em; text-decoration: none; }
.mark { flex: none; width: 23px; height: 20px; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 100% 30%, 52% 30%, 52% 64%, 100% 64%, 100% 100%, 0 100%, 0 65%, 39% 65%, 39% 35%, 0 35%); }
.top nav a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 650; font-size: .88rem; }
.top :focus-visible, .intro-text :focus-visible, .project-hero :focus-visible { outline-color: var(--yellow); }

.home-intro { background: var(--blue); color: white; }
.intro-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(25px, 6vw, 88px); padding-block: clamp(47px, 6vw, 91px); align-items: center; }
.intro-text { padding-block: 8px; }
.eyebrow { font-family: ui-monospace, monospace; text-transform: uppercase; font-size: .77rem; font-weight: 700; line-height: 1.28; letter-spacing: .09em; }
.intro-text .eyebrow { color: #e4e9ff; }
.intro-text h1 { font-size: clamp(4.2rem, 8.25vw, 8rem); line-height: .91; letter-spacing: -.052em; margin-top: 16px; font-weight: 735; }
.intro-text h1 span { color: var(--yellow); }
.lead { font-size: clamp(1.03rem, 1.52vw, 1.22rem); max-width: 43ch; line-height: 1.47; }
.intro-text .lead { margin-top: 22px; color: #f0f2ff; }
.button { min-height: 47px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-size: .92rem; font-weight: 750; line-height: 1.14; text-align: center; text-decoration: none; border: 1px solid var(--ink); }
.yellow { color: var(--ink); background: var(--yellow); }
.yellow:hover { background: #fff09b; }
.intro-text .button { margin-top: 20px; }
.project-board { align-self: center; border: 1px solid #0f1b49; background: var(--pale); color: var(--ink); box-shadow: 9px 9px 0 #111c57; scroll-margin-top: 16px; }
.board-head { padding: 15px 17px 14px; border-bottom: 1px solid #a9b4e2; }
.board-head h2 { font-size: clamp(1.35rem, 2.45vw, 2.25rem); }
.project-list { padding: 0; margin: 0; list-style: none; }
.project-list li + li { border-top: 1px solid #a9b4e2; }
.project-link { display: grid; grid-template-columns: minmax(65px, .40fr) minmax(0, 1.6fr) auto; align-items: center; gap: 9px 13px; padding: 16px 17px; min-height: 94px; text-decoration: none; background: var(--white); }
.project-link:hover { background: #f1f4ff; }
.project-link:hover strong { text-decoration: underline; }
.subject { justify-self: start; font: 700 .77rem/1.15 ui-monospace, monospace; padding: 7px 8px; color: #14224c; border: 1px solid #9ba9dd; background: #dbe4ff; white-space: nowrap; }
.subject[data-area="data"] { color: #412a15; border-color: #d3ac76; background: #ffe4ba; }
.subject[data-area="python"] { color: #11433f; border-color: #97c7b4; background: #dcf6e9; }
.project-label strong { display: block; font-weight: 770; font-size: clamp(1.05rem, 1.9vw, 1.33rem); line-height: 1.17; letter-spacing: -.032em; }
.project-label small { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; line-height: 1.34; }
.estimate { color: var(--navy); font-family: ui-monospace, monospace; font-size: .78rem; white-space: nowrap; }
.estimate b { padding-left: 3px; }

.approach { padding-block: 33px 48px; }
.approach h2 { font-size: clamp(1.85rem, 3.55vw, 3.05rem); }
.approach ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 0; list-style: none; margin: 17px 0 0; }
.approach li { padding: 11px 0; border-top: 2px solid var(--blue); }
.approach strong { font-size: 1.09rem; }
.approach p { margin-top: 4px; color: var(--muted); font-size: .93rem; }

.project-hero { background: var(--navy); color: white; }
.project-intro { padding-block: 13px 32px; }
.back { display: inline-flex; align-items: center; min-height: 46px; color: #dfe6ff; font-weight: 690; font-size: .86rem; }
.project-intro-main { display: grid; grid-template-columns: minmax(0,1.33fr) minmax(0,.67fr); align-items: end; gap: 22px 38px; margin-top: 8px; }
.project-intro .eyebrow { color: #e3eaff; }
.project-intro h1 { font-size: clamp(2.7rem, 5vw, 5rem); line-height: .98; margin-top: 9px; letter-spacing: -.047em; text-wrap: balance; }
.project-intro .lead { margin-top: 12px; max-width: 65ch; color: #e7ebfa; }
.project-finish { border-left: 4px solid var(--yellow); background: #26345f; padding: 13px 14px; }
.project-finish p { font-size: .81rem; font-weight: 760; color: #ffed9c; }
.project-finish strong { display: block; max-width: 49ch; margin-top: 5px; font-size: .96rem; font-weight: 540; }

.workbench { display: grid; grid-template-columns: minmax(244px, .61fr) minmax(0, 1.39fr); gap: clamp(14px, 3vw, 37px); padding-block: 31px 55px; align-items: start; }
.rail { min-width: 0; }
.rail section { border: 1px solid var(--stroke); background: var(--white); padding: 13px 15px 15px; }
.rail section + section { margin-top: 12px; }
.rail h2 { font-size: 1.48rem; }
.rail p { margin-top: 6px; color: var(--muted); font-size: .91rem; }
.rail label { display: block; font-weight: 730; margin-top: 9px; font-size: .84rem; }
.rail select { width: 100%; min-height: 43px; margin-top: 4px; background: var(--white); border: 1px solid #7d879f; border-radius: 0; color: var(--ink); padding: 6px 8px; }
.rail .small { font-size: .81rem; }
.weeks { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 4px; }
.weeks li { display: grid; grid-template-columns: 52px minmax(0,1fr) 41px; gap: 6px; align-items: center; font-size: .78rem; line-height: 1.22; }
.weeks li > span:last-child { text-align: end; font-family: ui-monospace, monospace; }
meter { width: 100%; min-width: 20px; height: 12px; }
meter::-webkit-meter-bar { background: #e5eaff; border: 0; border-radius: 1px; }
meter::-webkit-meter-optimum-value { background: #4260c0; }
progress { display: block; width: 100%; height: 9px; margin-top: 12px; accent-color: #2444b0; }
progress::-webkit-progress-bar { background: #e5eaff; }
progress::-webkit-progress-value { background: #2444b0; }
.starter-link { font-size: .88rem; font-weight: 720; color: #213c9b; display: flex; gap: 9px; align-items: center; min-height: 43px; }
.data-points { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 12px 0 0; }
.data-points > div { padding: 6px 8px; background: var(--pale); }
.data-points dt { font-size: .78rem; color: var(--muted); }
.data-points dd { margin: 0; font: 730 .94rem/1.2 ui-monospace, monospace; }

.instructions > h2 { font-size: clamp(1.72rem, 3.2vw, 2.7rem); margin-bottom: 11px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stroke); }
.checkpoint { display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 13px; align-items: start; padding: 14px 8px 13px 0; border-bottom: 1px solid var(--stroke); }
.step-index { font: 690 1.03rem/1 ui-monospace, monospace; color: var(--blue); padding: 8px; border: 1px solid #a1afe0; background: var(--pale); width: fit-content; }
.checkpoint.done .step-index { color: #155248; background: #def2e6; border-color: #a6cfb8; }
.step-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 13px; }
.step-head h3 { font-size: clamp(1.18rem, 2.1vw, 1.55rem); }
.step-time { color: var(--muted); font: 650 .76rem/1.34 ui-monospace, monospace; }
.step-block { display: grid; grid-template-columns: 51px minmax(0,1fr); gap: 9px; margin-top: 9px; align-items: baseline; }
.step-block h4 { color: var(--blue); font-size: .84rem; }
.step-block p { font-size: .93rem; color: #34405b; }
.lesson { display: inline-flex; align-items: center; min-height: 43px; color: #213c9b; font-size: .86rem; font-weight: 710; margin-right: 12px; }
.complete { display: inline-flex; align-items: center; min-height: 43px; gap: 7px; font-size: .85rem; font-weight: 700; cursor: pointer; color: var(--ink); }
.complete input { width: 17px; height: 17px; margin: 0; accent-color: #20515c; }

.footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 15px; padding-block: 12px 22px; border-top: 1px solid var(--stroke); color: var(--muted); font-size: .84rem; }
.footer a { color: var(--ink); font-weight: 750; }
.missing { padding-block: 25px 60px; }

@media (max-width: 950px) {
  .frame { width: calc(100% - 53px); }
  .intro-grid { gap: 25px; }
  .intro-text h1 { font-size: clamp(3.3rem, 7.45vw, 6.5rem); }
  .project-link { grid-template-columns: minmax(54px,.36fr) minmax(0,1.64fr); gap: 6px 9px; }
  .estimate { grid-column: 2; }
  .step-head { display: block; }
  .step-time { display: block; margin-top: 4px; }
}
@media (max-width: 720px) {
  .frame { width: calc(100% - 34px); }
  .top-inner { min-height: 57px; }
  .wordmark { font-size: 1.08rem; }
  .top nav a { font-size: .78rem; gap: 5px; }
  .intro-grid, .project-intro-main, .workbench { grid-template-columns: minmax(0,1fr); }
  .intro-grid { padding-block: 28px 30px; gap: 20px; }
  .intro-text { padding-block: 0; }
  .intro-text h1 { font-size: clamp(3.55rem, 11.1vw, 5.4rem); margin-top: 9px; letter-spacing: -.059em; }
  .intro-text .lead { margin-top: 14px; }
  .intro-text .button { margin-top: 13px; }
  .project-board { box-shadow: 4px 4px 0 #111c57; margin-right: 4px; }
  .project-link { padding: 10px 11px; min-height: 79px; }
  .board-head { padding: 11px; }
  .approach { padding-block: 23px 34px; }
  .approach ul { grid-template-columns: minmax(0,1fr); gap: 4px; margin-top: 10px; }
  .approach li { padding-block: 8px; }
  .project-intro { padding-block: 3px 19px; }
  .project-intro-main { margin-top: 3px; gap: 13px; }
  .workbench { padding-block: 17px 37px; }
  .checkpoint { grid-template-columns: 38px minmax(0,1fr); gap: 8px; }
  .step-index { padding: 6px; }
  .step-block { grid-template-columns: minmax(0,1fr); gap: 2px; }
}
