:root {
  color-scheme: light;
  --ink: #121212;
  --paper: #f6f5f0;
  --white: #ffffff;
  --line: #c7c6bf;
  --muted: #5c5d58;
  --signal: #ecff61;
  --ready: #247257;
  --review: #b34922;
  --developing: #f2c94c;
  --missing: #df6d56;
  --secure: #70b89f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

.masthead {
  background: var(--ink);
  color: var(--white);
  padding: 0 clamp(1.25rem, 4vw, 4rem) clamp(3rem, 7vw, 6rem);
}

nav {
  align-items: center;
  border-bottom: 1px solid #484848;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
}

nav div { display: flex; gap: 1.5rem; }
nav a { font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.brand { text-transform: uppercase; }

.hero {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  margin: 0 auto;
  max-width: 1440px;
  padding-top: clamp(3.5rem, 9vw, 8rem);
}

.eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.8rem, 6.5vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  max-width: 13ch;
}

.lede {
  color: #cfcfc9;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 58ch;
}

.summary {
  border-top: 1px solid #64645f;
  margin: 0;
}

.summary div {
  align-items: baseline;
  border-bottom: 1px solid #64645f;
  display: flex;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.summary dt { color: #b9b9b2; font-size: 0.84rem; }
.summary dd { font-size: 2rem; font-weight: 800; margin: 0; }

main { margin: 0 auto; max-width: 1440px; padding: 0 clamp(1.25rem, 4vw, 4rem) 5rem; }

.workflow {
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1.55fr);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.workflow h2, .learner h2 { font-size: clamp(1.6rem, 3vw, 2.7rem); line-height: 1.05; }
.workflow ol { display: grid; gap: 1px; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.workflow li { background: var(--white); min-height: 145px; padding: 1rem; }
.workflow li span, .workflow li small { color: var(--muted); display: block; font-size: 0.75rem; }
.workflow li strong { display: block; font-size: 1.05rem; margin: 2.4rem 0 0.25rem; }
.policy { grid-column: 2; line-height: 1.55; margin: 0; max-width: 72ch; }

.learner-list { display: grid; min-width: 0; }
.learner { border-bottom: 1px solid var(--ink); min-width: 0; padding: clamp(3rem, 6vw, 5rem) 0; }
.learner-heading { align-items: end; display: flex; gap: 2rem; justify-content: space-between; }
.learner-heading h2 { margin-bottom: 0; }
.score-block { align-items: end; display: flex; flex-direction: column; gap: 0.6rem; }
.score-block strong { font-size: 2.8rem; line-height: 1; }
.score-block strong span { color: var(--muted); font-size: 1rem; }
.status { border-left: 4px solid; font-size: 0.78rem; font-weight: 800; padding-left: 0.55rem; }
.status.ready { border-color: var(--ready); }
.status.review { border-color: var(--review); }

.table-wrap { max-width: 100%; min-width: 0; overflow-x: auto; }
table { border-collapse: collapse; margin-top: 2rem; min-width: 760px; width: 100%; }
th, td { border-top: 1px solid var(--line); padding: 1rem 0.8rem; text-align: left; vertical-align: top; }
thead th { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; }
tbody th { width: 20%; }
tbody td:last-child { line-height: 1.5; width: 48%; }
.level { display: inline-block; font-size: 0.76rem; font-weight: 800; padding: 0.25rem 0.4rem; text-transform: capitalize; }
.level-secure { background: var(--secure); }
.level-developing { background: var(--developing); }
.level-missing { background: var(--missing); }

.release-note {
  background: var(--white);
  border-left: 5px solid var(--signal);
  margin-top: 1.5rem;
  max-width: 900px;
  padding: 1.25rem 1.4rem;
}
.release-note p:last-child { line-height: 1.55; margin-bottom: 0; }

footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
}
footer p { color: #b9b9b2; margin: 0; }
footer a { font-weight: 700; }

@media (max-width: 900px) {
  .hero, .workflow { grid-template-columns: 1fr; }
  .summary { max-width: 460px; }
  .workflow ol { grid-template-columns: repeat(2, 1fr); }
  .policy { grid-column: 1; }
}

@media (max-width: 560px) {
  nav { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.65rem; }
  nav div { gap: 1rem; }
  h1 { font-size: 2.8rem; }
  .workflow ol { grid-template-columns: 1fr; }
  .workflow li { min-height: 100px; }
  .workflow li strong { margin-top: 1.2rem; }
  .learner-heading { align-items: flex-start; flex-direction: column; }
  .score-block { align-items: flex-start; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
