:root {
  --ink: #101316;
  --ink-soft: #252b30;
  --muted: #657078;
  --paper: #fffdf7;
  --soft: #f4f0e7;
  --cream: #faf7ef;
  --line: #ded6c8;
  --green: #276b59;
  --green-dark: #1e5347;
  --teal-soft: #e7f4f0;
  --blue: #284f78;
  --amber: #c77b1f;
  --orange: #dd6b20;
  --shadow: 0 28px 80px rgba(20, 24, 28, 0.14);
  --shadow-soft: 0 16px 42px rgba(20, 24, 28, 0.08);
  --radius: 8px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
label:has(input:focus-visible) {
  outline: 3px solid rgba(39, 107, 89, 0.34);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(250, 247, 239, 0.9);
  border-bottom: 1px solid rgba(16, 19, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--ink);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.text-link {
  transition: color 180ms ease;
}

.nav a:hover,
.text-link:hover {
  color: var(--green);
}

.header-cta,
.primary-link,
.signup-form button,
.quiz-actions button,
.result-form button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--green);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.header-cta {
  padding: 0 18px;
  font-size: 14px;
}

.primary-link {
  padding: 0 20px;
}

.header-cta:hover,
.primary-link:hover,
.signup-form button:hover,
.quiz-actions button:hover,
.result-form button:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 28px rgba(39, 107, 89, 0.18);
  transform: translateY(-1px);
}

.hero,
.section,
.final-cta,
.site-footer {
  width: 100%;
  max-width: 100vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: clamp(46px, 8vw, 118px);
  align-items: center;
  min-height: min(760px, calc(100vh - 67px));
  padding: clamp(44px, 6vw, 86px) clamp(18px, 6vw, 88px) clamp(40px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(231, 244, 240, 0.8), rgba(250, 247, 239, 0) 36%),
    var(--cream);
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  min-width: 0;
  max-width: 580px;
}

.eyebrow,
.card-kicker,
.asset-type,
.status,
.issue-card span,
.day-pill,
.result-details span,
.prompt-preview span,
.kit-panel span,
.kit-assets strong {
  color: var(--green);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
  hyphens: manual;
}

p,
dd,
li {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

h1,
h2 {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 800;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(54px, 6.2vw, 92px);
}

h2 {
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 800;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
  font-weight: 900;
}

.hero-subhead {
  max-width: 520px;
  margin: 24px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.45;
}

.signup-form {
  max-width: 560px;
}

.signup-form label,
.result-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 900;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
}

.signup-form input,
.result-form input {
  min-height: 54px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.signup-form button {
  min-height: 54px;
  padding: 0 22px;
  font-size: 15px;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-image-card {
  position: relative;
  min-width: 0;
  max-width: 650px;
  margin: 0;
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: calc(var(--radius) + 2px);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(20, 24, 28, 0.1);
  overflow: hidden;
}

.hero-image-card picture,
.hero-image-card img {
  display: block;
  width: 100%;
}

.hero-image-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.quick-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 19, 22, 0.12);
  border-top: 1px solid rgba(16, 19, 22, 0.12);
  border-bottom: 1px solid rgba(16, 19, 22, 0.12);
}

.quick-path article {
  display: grid;
  min-height: 160px;
  align-content: start;
  background: var(--paper);
  padding: clamp(20px, 2.6vw, 30px);
}

.quick-path strong {
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.9;
}

.quick-path span {
  margin-top: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-path p {
  max-width: 24ch;
  margin: 14px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(68px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  min-width: 0;
  max-width: 880px;
  margin-bottom: 32px;
}

.section-heading > p,
.section-note {
  color: var(--muted);
  font-size: 19px;
}

.section-heading.split {
  display: flex;
  max-width: var(--container);
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-note {
  max-width: 420px;
  margin: 0;
}

.cadence-grid,
.issue-list,
.library-preview,
.fit-columns {
  display: grid;
  gap: 18px;
}

.capability-strip {
  background: var(--ink);
  color: var(--paper);
}

.capability-strip .eyebrow,
.capability-grid span {
  color: #8bc1ad;
}

.capability-strip .section-note {
  color: #d9d2c5;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--container);
}

.capability-grid a {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.06);
  padding: 26px;
  color: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.capability-grid a:hover {
  border-color: rgba(139, 193, 173, 0.5);
  background: rgba(255, 253, 247, 0.1);
  transform: translateY(-2px);
}

.capability-grid span {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.capability-grid h3 {
  max-width: 14ch;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.04;
}

.capability-grid p {
  max-width: 30ch;
  margin: 0;
  color: #d9d2c5;
}

.workstyle {
  background: var(--paper);
}

.finder-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 370px;
}

.finder-proof span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(39, 107, 89, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green);
  background: var(--teal-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.finder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  max-width: var(--container);
}

.quiz-card,
.result-card {
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow-soft);
}

.quiz-card {
  padding: clamp(20px, 3vw, 32px);
}

.quiz-progress {
  position: relative;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

#quiz-progress-bar {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 14.28%;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  transition: width 180ms ease;
}

.quiz-progress::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 19, 22, 0.1);
}

.quiz-step {
  display: none;
  min-height: 372px;
  border: 0;
  padding: 0;
  margin: 0;
}

.quiz-step.is-active {
  display: grid;
  gap: 12px;
}

.quiz-step legend {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
}

.quiz-step label {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 14px 16px;
  color: var(--ink-soft);
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.quiz-step label:hover,
.quiz-step label:has(input:checked) {
  border-color: rgba(39, 107, 89, 0.68);
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.quiz-step input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.quiz-actions button,
.result-form button {
  min-height: 50px;
  padding: 0 18px;
}

.quiz-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.quiz-actions .secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.quiz-actions .secondary-action:hover {
  color: var(--paper);
  background: var(--ink);
}

.quiz-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.result-card {
  position: sticky;
  top: 92px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--teal-soft);
}

.result-card h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
}

.result-summary {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 18px;
}

.result-details {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.result-details div {
  border: 1px solid rgba(16, 19, 22, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 14px;
}

.result-details strong {
  display: block;
  line-height: 1.35;
}

.prompt-preview {
  border-top: 1px solid rgba(16, 19, 22, 0.14);
  border-bottom: 1px solid rgba(16, 19, 22, 0.14);
  padding: 18px 0;
  margin-bottom: 20px;
}

.prompt-preview p {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.kit-panel {
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.72);
  padding: 16px;
  margin-bottom: 20px;
}

.kit-panel[data-kit-state="ready"] {
  border-color: rgba(39, 107, 89, 0.42);
  background: var(--paper);
}

.kit-panel h4 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.15;
}

.kit-panel p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.kit-panel ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.kit-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kit-assets strong {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8f1df;
  padding: 6px 10px;
  color: var(--blue);
}

.cadence {
  background: #f8f1df;
}

.cadence-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container);
}

.cadence-grid article,
.issue-card,
.library-preview article,
.fit-columns > div {
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.cadence-grid article {
  min-height: 290px;
  display: flex;
  flex-direction: column;
}

.day-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(40, 79, 120, 0.18);
  border-radius: 999px;
  background: #edf4fa;
  padding: 0 12px;
  color: var(--blue);
}

.cadence-grid h3 {
  margin: 30px 0 10px;
}

.cadence-grid p,
.issue-card p,
.library-preview p,
.library-copy p,
.fit li {
  color: var(--muted);
}

.cadence-grid strong {
  margin-top: auto;
  color: var(--green);
}

.latest {
  background: var(--cream);
}

.latest .section-heading {
  margin-bottom: 24px;
}

.latest .section-heading h2 {
  max-width: 760px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.04;
}

.text-link {
  color: var(--green);
  font-weight: 900;
}

.issue-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--container);
}

.issue-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
}

.featured-issue {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(39, 107, 89, 0.12), rgba(255, 253, 247, 0) 58%),
    var(--paper);
}

.issue-card span {
  color: var(--amber);
  margin-bottom: 14px;
}

.issue-card h3 {
  max-width: 520px;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.16;
}

.issue-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.library {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--teal-soft);
}

.library-copy {
  min-width: 0;
  align-self: center;
}

.library-copy p {
  font-size: 19px;
}

.library-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status {
  display: inline-flex;
  margin-top: 12px;
}

.edge-list {
  display: grid;
  gap: 0;
  max-width: 1040px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: edge;
  border-top: 1px solid var(--line);
}

.edge-list li {
  counter-increment: edge;
  display: grid;
  grid-template-columns: 44px minmax(170px, 270px) 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.edge-list li::before {
  content: counter(edge);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}

.edge-list span {
  color: var(--ink);
  font-weight: 900;
}

.fit {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--cream);
}

.fit-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit ul {
  padding-left: 20px;
  margin: 14px 0 0;
}

.final-cta {
  padding: clamp(76px, 9vw, 124px) clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: var(--blue);
  text-align: center;
}

.final-cta .eyebrow {
  color: #c9e3d8;
}

.final-cta h2 {
  max-width: 900px;
  margin: 0 auto 28px;
}

.final-cta .primary-link {
  background: var(--paper);
  color: var(--ink);
}

.final-cta .primary-link:hover {
  background: #f8f1df;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--green);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(231, 244, 240, 0.86), rgba(250, 247, 239, 0) 38%),
    radial-gradient(circle at 84% 18%, rgba(221, 107, 32, 0.12), transparent 26%),
    var(--cream);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.48;
}

.page-proof {
  display: grid;
  gap: 10px;
}

.page-proof span,
.library-stack article {
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.78);
  padding: 18px;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.page-proof strong {
  display: block;
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 40px;
  line-height: 1;
}

.archive-page,
.library-page {
  background: var(--cream);
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--container);
  margin-bottom: 28px;
}

.filter-strip span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(39, 107, 89, 0.22);
  border-radius: 999px;
  background: var(--teal-soft);
  padding: 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-grid,
.library-card-grid,
.workstyle-grid {
  display: grid;
  gap: 18px;
  max-width: var(--container);
}

.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-card,
.library-card-grid article,
.workstyle-grid article {
  min-width: 0;
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.archive-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.archive-card span,
.library-card-grid span,
.workstyle-grid span,
.library-stack span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-card h2 {
  margin-top: 22px;
  max-width: 15ch;
  font-size: clamp(30px, 2.5vw, 40px);
  line-height: 1.04;
}

.archive-card p,
.library-card-grid p,
.workstyle-grid p {
  color: var(--muted);
}

.archive-card dl {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
}

.archive-card dl div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.archive-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-card dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 900;
}

.library-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
}

.library-stack {
  display: grid;
  gap: 12px;
}

.library-stack article {
  display: grid;
  gap: 8px;
}

.library-stack strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.library-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.library-card-grid article {
  min-height: 220px;
}

.library-card-grid h3 {
  margin: 18px 0 10px;
}

.workstyle-strip {
  background: var(--teal-soft);
}

.workstyle-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.workstyle-grid article {
  min-height: 180px;
  background: rgba(255, 253, 247, 0.82);
}

.text-page-hero {
  grid-template-columns: 1fr;
}

.text-page {
  display: grid;
  gap: 18px;
  max-width: 980px;
  background: var(--cream);
}

.text-page article,
.checklist-page article {
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.text-page h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.text-page p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.checklist-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: var(--cream);
}

.checklist-page article {
  min-height: 320px;
}

.checklist-page span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.checklist-page ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 28px 0 0;
  color: var(--ink-soft);
}

@media (max-width: 1120px) {
  .hero,
  .finder-shell,
  .library,
  .fit {
    grid-template-columns: 1fr;
  }

  .hero-image-card,
  .finder-shell,
  .library,
  .fit {
    max-width: 900px;
  }

  .result-card {
    position: static;
  }

  .archive-grid,
  .cadence-grid,
  .library-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workstyle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .quick-path,
  .capability-grid,
  .cadence-grid,
  .issue-list,
  .library-preview,
  .fit-columns {
    grid-template-columns: 1fr;
  }

  .featured-issue {
    grid-column: auto;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .page-hero,
  .library-hero {
    grid-template-columns: 1fr;
  }

  .archive-grid,
  .library-card-grid,
  .workstyle-grid,
  .checklist-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body,
  main {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body * {
    min-width: 0;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child,
  .header-cta {
    display: none;
  }

  .hero {
    padding: 42px 16px 36px;
  }

  .hero-copy,
  .hero-image-card,
  .signup-form,
  .signup-form .form-row {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .result-form .form-row {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(42px, 12vw, 50px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hero-subhead {
    max-width: 31ch;
    font-size: 19px;
  }

  .form-row,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .signup-form button,
  .quiz-actions button,
  .result-form button {
    width: 100%;
  }

  .quick-path article,
  .capability-grid a {
    min-height: 0;
  }

  .section {
    padding: 58px 16px;
  }

  .page-hero {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding: 58px 16px;
  }

  .page-hero > *,
  .page-hero p,
  .section-heading,
  .section-note,
  .archive-card,
  .library-card-grid article,
  .workstyle-grid article,
  .library-stack {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .page-hero p,
  .section-note,
  .archive-card p,
  .library-card-grid p {
    max-width: 28ch;
    overflow-wrap: break-word;
  }

  .page-hero h1,
  .section-heading h2 {
    max-width: 10ch;
    font-size: clamp(38px, 11vw, 44px);
    line-height: 1;
  }

  .archive-page,
  .library-page,
  .workstyle-strip {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  .archive-card h2,
  .library-card-grid h3 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.05;
    overflow-wrap: normal;
  }

  .archive-card h2 {
    max-width: 15ch;
    font-size: 28px;
  }

  .quiz-step {
    min-height: 0;
  }

  .quiz-actions {
    flex-direction: column-reverse;
  }

  .quiz-step label {
    align-items: flex-start;
  }

  .edge-list li {
    grid-template-columns: 40px 1fr;
  }

  .edge-list li span {
    display: block;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px;
  }

  .text-page article,
  .checklist-page article {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
