:root {
  color-scheme: light;
  --ink: #10251d;
  --ink-soft: #52635c;
  --paper: #f4f2e8;
  --paper-bright: #fffef8;
  --green: #187a55;
  --green-dark: #153b2d;
  --green-soft: #dcebdc;
  --orange: #f19b63;
  --orange-soft: #f8e2cf;
  --line: rgba(16, 37, 29, 0.15);
  --shadow: 0 24px 70px rgba(28, 51, 41, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --content: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 7%, rgba(241, 155, 99, 0.22), transparent 27rem),
    radial-gradient(circle at 10% 28%, rgba(24, 122, 85, 0.12), transparent 30rem),
    var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: white;
  background: var(--green-dark);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(16, 37, 29, 0.1);
  background: rgba(244, 242, 232, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  background: var(--green-dark);
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand > span:last-child {
  display: grid;
}

.brand strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--ink-soft);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.nav-button,
.button,
.text-button {
  min-height: 46px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.nav-link,
.nav-button {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
}

.nav-link {
  color: var(--ink-soft);
}

.nav-button {
  color: white;
  background: var(--green-dark);
}

main {
  overflow: clip;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  width: min(var(--content), calc(100% - 48px));
  min-height: 690px;
  margin: 0 auto;
  padding: clamp(70px, 11vw, 132px) 0 86px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.2rem, 7.6vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero-lede {
  max-width: 740px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-lede strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  color: white;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(24, 122, 85, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 254, 248, 0.68);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.microcopy {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.hero-status {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  padding: 48px;
  color: white;
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-status::after {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  background: var(--orange);
  border-radius: 50%;
  content: "";
  opacity: 0.8;
}

.status-orbit {
  display: flex;
  gap: 8px;
  margin-bottom: 68px;
}

.status-orbit span {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.status-orbit span:first-child {
  width: 28px;
  background: var(--orange);
  border-radius: 99px;
}

.status-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-score {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 12px;
}

.status-score strong {
  font-size: clamp(3.8rem, 7vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.status-score span {
  max-width: 72px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.2;
}

.progress-track {
  height: 8px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
  border-radius: inherit;
  transition: width 500ms ease;
}

.status-summary {
  min-height: 48px;
  margin: 22px 0 8px;
  color: rgba(255, 255, 255, 0.82);
}

.text-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}

.section-shell {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto 28px;
  padding: clamp(44px, 7vw, 78px);
  background: rgba(255, 254, 248, 0.8);
  border: 1px solid rgba(16, 37, 29, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(30, 52, 43, 0.045);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 34px;
}

h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading > p,
.handoff-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.checkpoint-card {
  display: flex;
  grid-column: span 2;
  gap: 16px;
  min-height: 178px;
  padding: 22px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.checkpoint-card:nth-child(4),
.checkpoint-card:nth-child(5) {
  grid-column: span 3;
}

.checkpoint-index {
  flex: 0 0 auto;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.checkpoint-card > div {
  display: flex;
  flex-direction: column;
}

.checkpoint-card p {
  margin: 5px 0 14px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkpoint-card strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.checkpoint-card small {
  margin-top: auto;
  padding-top: 16px;
  color: var(--ink-soft);
  line-height: 1.35;
}

.checkpoint-card.is-ready {
  background: linear-gradient(155deg, #fafff7, var(--green-soft));
  border-color: rgba(24, 122, 85, 0.25);
}

.checkpoint-card.is-ready .checkpoint-index {
  color: white;
  background: var(--green);
}

.checkpoint-card.is-action {
  background: linear-gradient(155deg, #fffdf8, var(--orange-soft));
  border-color: rgba(241, 155, 99, 0.42);
}

.checkpoint-card.is-action .checkpoint-index {
  color: var(--ink);
  background: var(--orange);
}

.is-loading {
  opacity: 0.68;
}

.next-action {
  display: grid;
  grid-template-columns: auto minmax(200px, 0.65fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  padding: 24px;
  color: white;
  background: var(--ink);
  border-radius: var(--radius-md);
}

.next-action > span {
  padding: 7px 11px;
  color: var(--ink);
  background: var(--orange);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.next-action strong {
  font-size: 1.15rem;
}

.next-action p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.shift-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shift-timeline::before {
  position: absolute;
  top: 34px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: var(--line);
  content: "";
}

.shift-timeline li {
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.timeline-time {
  position: relative;
  z-index: 1;
  display: inline-grid;
  min-width: 70px;
  height: 70px;
  place-items: center;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.shift-timeline strong {
  display: block;
  margin-top: 20px;
  font-size: 1.02rem;
}

.shift-timeline p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.shift-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding: 22px 24px;
  background: var(--green-soft);
  border-radius: var(--radius-md);
}

.shift-cta > div {
  display: grid;
}

.shift-cta span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shift-cta strong {
  margin-top: 4px;
  font-size: 1.08rem;
}

.pilot {
  color: white;
  background: var(--green-dark);
}

.pilot .eyebrow {
  color: #9fd6b8;
}

.pilot .section-heading > p {
  color: rgba(255, 255, 255, 0.65);
}

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pilot-grid article {
  min-height: 230px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.pilot-grid span {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pilot-grid strong {
  display: block;
  margin-top: 40px;
  font-size: 1.25rem;
}

.pilot-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.92rem;
}

.handoff {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background: var(--orange-soft);
}

.handoff h2 {
  margin-bottom: 20px;
}

.handoff .button {
  margin-top: 24px;
}

.copy-status {
  min-height: 24px;
  margin: 8px 0 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

.handoff pre {
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  color: rgba(255, 255, 255, 0.86);
  background: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  font: 600 0.95rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.checklist-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checklist-card label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 94px;
  padding: 20px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.checklist-card label:has(input:checked) {
  background: var(--green-soft);
  border-color: rgba(24, 122, 85, 0.3);
}

.checklist-card input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.checklist-card label span {
  display: grid;
}

.checklist-card small {
  margin-top: 5px;
  color: var(--ink-soft);
}

.checklist-progress {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.checklist-progress > div {
  height: 8px;
  background: rgba(16, 37, 29, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.checklist-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
  transition: width 300ms ease;
}

.checklist-progress .text-button {
  color: var(--ink-soft);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 54px;
  color: var(--ink-soft);
}

footer > div:first-child {
  display: grid;
  gap: 4px;
}

footer strong {
  color: var(--ink);
}

footer > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

footer a {
  font-weight: 800;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-status {
    min-height: 360px;
  }

  .section-heading,
  .handoff {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .checkpoint-card,
  .checkpoint-card:nth-child(4),
  .checkpoint-card:nth-child(5) {
    grid-column: span 3;
  }

  .shift-timeline,
  .pilot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .shift-timeline::before {
    display: none;
  }

  .shift-timeline li {
    padding: 22px;
    background: var(--paper-bright);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
  }

  .timeline-time {
    width: auto;
    height: auto;
    min-width: 0;
    padding: 7px 10px;
    color: white;
    background: var(--green);
    border: 0;
    border-radius: 99px;
  }

  .pilot-grid article {
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand small,
  .nav-link {
    display: none;
  }

  .nav-button {
    min-height: 44px;
    padding: 0 13px;
    font-size: 0.86rem;
  }

  .hero,
  .section-shell,
  footer {
    width: min(100% - 28px, var(--content));
  }

  .hero {
    gap: 28px;
    padding: 54px 0 28px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-status {
    min-height: 320px;
    padding: 32px;
    border-radius: 24px;
  }

  .status-orbit {
    margin-bottom: 46px;
  }

  .section-shell {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  h2 {
    font-size: 2.5rem;
  }

  .checkpoint-grid,
  .shift-timeline,
  .pilot-grid,
  .checklist-card {
    grid-template-columns: 1fr;
  }

  .checkpoint-card,
  .checkpoint-card:nth-child(4),
  .checkpoint-card:nth-child(5) {
    grid-column: auto;
  }

  .checkpoint-card {
    min-height: 154px;
  }

  .next-action {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .next-action > span {
    width: max-content;
  }

  .shift-cta {
    display: grid;
  }

  .pilot-grid article {
    min-height: 174px;
  }

  .pilot-grid strong {
    margin-top: 26px;
  }

  .handoff pre {
    font-size: 0.82rem;
  }

  .checklist-progress {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
    padding-bottom: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
