:root {
  color-scheme: light;
  --ink: #111714;
  --ink-soft: #2f3934;
  --paper: #f4f5ef;
  --white: #ffffff;
  --line: #cfd6cf;
  --muted: #5c685f;
  --green: #1a7f5a;
  --green-dark: #0e4d38;
  --yellow: #e7b84b;
  --coral: #ce5a45;
  --hero-text: #f7faf7;
  --shell: 1180px;
}

* {
  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;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  position: relative;
  height: min(760px, 82svh);
  min-height: 560px;
  overflow: hidden;
  background: #17201b url("/assets/hero-dashboard.png") center 28% / cover no-repeat;
  color: var(--hero-text);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 15, 0.82);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 760;
  text-decoration: none;
}

.mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid currentColor;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #eff5f1;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: calc(100% - 144px);
  max-width: var(--shell);
  flex-direction: column;
  justify-content: center;
  padding: 34px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #bce1cf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-dark);
}

.eyebrow.light {
  color: #bce1cf;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: 74px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-offer {
  margin: 18px 0 10px;
  font-size: 28px;
  font-weight: 720;
  line-height: 1.2;
}

.hero-copy {
  max-width: 690px;
  margin: 0;
  color: #d8e3dc;
  font-size: 19px;
  line-height: 1.58;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--yellow);
  color: #19160d;
}

.button.inverse {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(17, 23, 20, 0.52);
  color: #ffffff;
}

.button.light {
  background: #ffffff;
  color: var(--ink);
}

.button.outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-evidence {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 68px;
  grid-template-columns: auto auto 1fr 1fr;
  align-items: center;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: #dce8e0;
  font-size: 13px;
}

.hero-evidence strong {
  color: #ffffff;
  font-size: 15px;
}

.evidence-label {
  color: #f2ca6f;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

main section {
  scroll-margin-top: 24px;
}

.campaign-band {
  padding: 72px 0 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 72px;
  align-items: end;
}

.section-intro h2,
.section-heading h2,
.why-layout h2,
.proof-copy h2,
.join-layout h2,
.boundary-layout h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro > p:not(.eyebrow),
.split-heading > p,
.boundary-layout > p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.campaign-status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.status-badge,
.item-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
}

.status-badge[data-state="running"] .status-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(26, 127, 90, 0.14);
}

.status-badge[data-state="paused"] .status-dot,
.status-badge[data-state="complete"] .status-dot {
  background: var(--coral);
}

.campaign-progress {
  border-top: 3px solid var(--ink);
  padding-top: 18px;
}

.progress-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.progress-heading strong {
  color: var(--ink);
  font-size: 24px;
}

.progress-track {
  width: 100%;
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  background: #e4e8e3;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  transition: width 320ms ease;
}

.campaign-provenance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 26px 0 0;
}

.campaign-provenance div {
  min-width: 0;
}

.campaign-provenance dt,
.proof-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.campaign-provenance dd {
  margin: 7px 0 0;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.metric-row {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  border-top: 1px solid var(--line);
}

.metric,
.metric-link {
  min-width: 0;
  min-height: 118px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.metric-link {
  display: flex;
  min-width: 175px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-right: 0;
  background: var(--green-dark);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.why-band {
  padding: 100px 0;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 92px;
}

.why-copy {
  border-top: 3px solid var(--coral);
  padding-top: 16px;
}

.why-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.62;
}

.process-band {
  padding: 88px 0 96px;
  background: #e9ece5;
  border-block: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 48px;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 3px solid var(--ink);
}

.process-list li {
  min-width: 0;
  min-height: 252px;
  padding: 24px 24px 20px 0;
  border-right: 1px solid #bac3bb;
}

.process-list li + li {
  padding-left: 24px;
}

.process-list li:last-child {
  border-right: 0;
}

.step-number,
.campaign-index {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.process-list h3 {
  margin: 58px 0 10px;
  font-size: 18px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.proof-band {
  padding: 96px 0 0;
  background: var(--ink);
  color: #ffffff;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 92px;
  align-items: start;
}

.proof-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0;
  color: #c8d1cb;
  font-size: 16px;
  line-height: 1.68;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  color: #f0c864;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.proof-metrics {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 3px solid var(--yellow);
}

.proof-metrics div {
  min-height: 142px;
  padding: 24px 0;
  border-bottom: 1px solid #465049;
}

.proof-metrics div:nth-child(odd) {
  border-right: 1px solid #465049;
}

.proof-metrics div:nth-child(even) {
  padding-left: 24px;
}

.proof-metrics dt {
  color: #9da9a1;
}

.proof-metrics dd {
  margin: 24px 0 0;
  color: #ffffff;
  font-size: 30px;
  font-weight: 780;
}

.proof-note {
  margin-top: 64px;
  padding: 22px 0;
  border-top: 1px solid #465049;
  color: #aeb9b2;
  font-size: 12px;
  line-height: 1.5;
}

.pipeline-band {
  padding: 96px 0;
  background: var(--white);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.65fr);
  gap: 72px;
  align-items: end;
}

.split-heading > p {
  margin: 0;
}

.campaign-list {
  border-top: 3px solid var(--ink);
}

.campaign-item {
  display: grid;
  min-height: 178px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.campaign-item h3 {
  margin: 8px 0;
  font-size: 22px;
}

.campaign-item p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.campaign-item > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 40px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.item-state.live {
  color: var(--green);
}

.item-state.proposal {
  color: #986e13;
}

.join-band {
  padding: 88px 0;
  background: var(--green-dark);
  color: #ffffff;
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 88px;
  align-items: center;
}

.join-layout p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #c5dacf;
  font-size: 16px;
  line-height: 1.65;
}

.join-command {
  min-width: 0;
  border-top: 3px solid var(--yellow);
  padding-top: 20px;
}

.command-label {
  margin-bottom: 12px;
  color: #b8d1c4;
  font-size: 12px;
  font-weight: 700;
}

.join-command code {
  display: block;
  max-width: 100%;
  color: #ffffff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: normal;
}

.boundary-band {
  padding: 72px 0;
}

.boundary-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
  gap: 52px;
  align-items: start;
}

.boundary-layout h2 {
  font-size: 30px;
}

.boundary-layout > p {
  margin: 0;
  font-size: 14px;
}

.dark-link {
  color: var(--green-dark);
  white-space: nowrap;
}

footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span:not(.mark) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .campaign-layout,
  .why-layout,
  .proof-layout,
  .split-heading,
  .join-layout,
  .boundary-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .campaign-progress {
    margin-top: 4px;
  }

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

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric-link {
    grid-column: 1 / -1;
  }

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

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(n + 3) {
    border-top: 1px solid #bac3bb;
  }

  .join-layout {
    grid-template-columns: 1fr;
  }

  .dark-link {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .hero {
    height: min(720px, 88svh);
    min-height: 600px;
    background-position: 40% center;
  }

  .nav {
    min-height: 68px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .hero-content {
    height: calc(100% - 128px);
    padding: 24px 0 88px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-offer {
    font-size: 23px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-evidence {
    min-height: 60px;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    padding-block: 10px;
  }

  .hero-evidence span:not(.evidence-label) {
    display: none;
  }

  .section-intro h2,
  .section-heading h2,
  .why-layout h2,
  .proof-copy h2,
  .join-layout h2 {
    font-size: 34px;
  }

  .campaign-band,
  .why-band,
  .process-band,
  .pipeline-band,
  .join-band {
    padding-top: 68px;
  }

  .metric-row,
  .process-list,
  .proof-metrics {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2) {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li,
  .process-list li + li {
    min-height: auto;
    padding: 22px 0 28px;
    border-right: 0;
    border-top: 1px solid #bac3bb;
  }

  .process-list li:first-child {
    border-top: 0;
  }

  .process-list h3 {
    margin-top: 24px;
  }

  .proof-metrics div,
  .proof-metrics div:nth-child(odd),
  .proof-metrics div:nth-child(even) {
    min-height: 104px;
    padding: 20px 0;
    border-right: 0;
  }

  .proof-metrics dd {
    margin-top: 12px;
  }

  .campaign-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  .campaign-item > a {
    grid-column: 2;
    margin-top: 0;
  }

  .join-layout {
    gap: 38px;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .progress-track span {
    transition: none;
  }
}
