:root {
  color-scheme: light;
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #111111;
  --ink-strong: #13223d;
  --muted: #5f6b7a;
  --line: rgba(15, 23, 42, 0.12);
  --brand: #17325f;
  --accent: #e8601c;
  --radius: 20px;
  --rail: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 0% 84px, rgba(255, 196, 143, 0.08), transparent 34%),
    radial-gradient(circle at 100% 120px, rgba(146, 175, 230, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfa 44%, var(--bg) 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus-visible {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  opacity: 1;
  pointer-events: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--surface);
}

.sprint-nav,
.sprint-hero,
.sprint-section,
.sprint-cta {
  width: min(var(--rail), calc(100% - var(--kh-content-inset, 48px)));
  max-width: var(--rail);
  margin: 0 auto;
}

.sprint-nav {
  width: min(var(--kh-nav-rail, 1061px), calc(100% - 64px));
  max-width: var(--kh-nav-rail, 1061px);
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: visible;
  margin-top: 12px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 26px;
  padding: 7px 14px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 1px 2px rgba(15, 23, 42, 0.08),
    0 16px 34px rgba(15, 23, 42, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding-right: 24px;
  position: relative;
}

.brand::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 30px;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.12);
}

.brand img:first-child {
  width: 32px;
  height: 32px;
  border-radius: 11px;
}

.brand img:last-child {
  width: auto;
  height: 23px;
}

.sprint-nav nav {
  position: absolute;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  padding: 3px;
  background: #f3f5f8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

.sprint-nav nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 18px;
  color: #172033;
  font-size: 14px;
  font-weight: 650;
}

.sprint-nav nav a:hover {
  color: #0b101b;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.08),
    0 8px 16px rgba(15, 23, 42, 0.08);
}

.sprint-nav nav a.is-active,
.sprint-nav nav a[aria-current="page"] {
  color: #ffffff;
  background: #172033;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(15, 23, 42, 0.14);
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 680;
  line-height: 1;
  text-align: center;
}

.nav-cta,
.button.primary {
  border: 1px solid var(--brand);
  background: linear-gradient(180deg, #254476 0%, var(--brand) 100%);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(23, 50, 95, 0.2);
}

.nav-cta {
  min-height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
}

.button.secondary {
  border: 1px solid rgba(23, 50, 95, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-strong);
}

.sprint-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 28px;
  align-items: center;
  padding: 74px 0 52px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  color: var(--ink-strong);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.88;
  margin-bottom: 22px;
}

h2 {
  color: var(--ink-strong);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

h3 {
  color: var(--ink-strong);
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-lede,
.section-heading p,
.sprint-cta p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-lede {
  max-width: 42rem;
}

.sprint-price-note {
  max-width: 42rem;
  margin: 14px 0 0;
  color: #344256;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

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

.sprint-action-note {
  max-width: 38rem;
  margin: 12px 0 0;
  color: #667386;
  font-size: 0.92rem;
  line-height: 1.45;
}

.sprint-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 58rem;
  margin-top: 18px;
}

.sprint-snapshot article {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.64);
}

.sprint-snapshot span {
  display: block;
  color: var(--accent);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sprint-snapshot strong {
  display: block;
  margin-top: 7px;
  color: var(--ink-strong);
  font-size: 0.93rem;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.sprint-contract-card,
.proof-card,
.deliverable-list article,
.example-card,
.preset-card,
.starter-card,
.proposal-form,
.proposal-output-card,
.sprint-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(18, 32, 56, 0.055);
}

.sprint-contract-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.sprint-contract-card span,
.proof-card span,
.deliverable-list span,
.example-card span,
.preset-card span,
.starter-card span,
.proposal-field span {
  color: var(--accent);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sprint-contract-card strong {
  color: var(--ink-strong);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.sprint-contract-card p,
.proof-card p,
.deliverable-list p,
.example-card p,
.preset-card p,
.starter-card p,
.proposal-output p,
.proposal-status {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-link:hover {
  color: #0f2448;
}

.contract-links {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.contract-steps {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.contract-steps li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(248, 250, 252, 0.8);
}

.contract-steps li span {
  flex: 0 0 auto;
  color: #94a0b4;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.contract-steps li strong {
  min-width: 0;
  color: var(--ink-strong);
  font-size: 0.94rem;
  line-height: 1.15;
  text-align: right;
}

.sprint-section {
  padding: 48px 0;
}

.sprint-section.alt {
  width: 100%;
  max-width: none;
  padding: 58px max(32px, calc((100vw - var(--rail)) / 2));
  background: rgba(255, 255, 255, 0.52);
  border-block: 1px solid rgba(15, 23, 42, 0.07);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.proof-grid,
.example-grid,
.starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-card,
.example-card,
.starter-card {
  padding: 22px;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.deliverable-list article {
  padding: 20px;
}

.deliverable-list strong,
.example-card strong,
.starter-card strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1.08rem;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 8px 0 7px;
}

.example-card {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
}

.example-card:hover,
.starter-card:hover {
  border-color: rgba(23, 50, 95, 0.24);
  transform: translateY(-2px);
}

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

.starter-card {
  display: grid;
  gap: 8px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
}

.starter-card em {
  align-self: end;
  color: var(--brand);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.preset-card {
  display: grid;
  gap: 7px;
  min-height: 100%;
  padding: 18px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
}

.preset-card strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.preset-card:hover,
.preset-card:focus-visible {
  border-color: rgba(23, 50, 95, 0.26);
  transform: translateY(-2px);
}

.preset-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(23, 50, 95, 0.14);
  outline: 2px solid #17325f;
  outline-offset: 3px;
}

.proposal-page h1 {
  max-width: 13ch;
  font-size: clamp(2.85rem, 5.1vw, 4.35rem);
  line-height: 0.98;
}

.workflow-category-page h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 5.35rem);
  line-height: 0.92;
}

.category-hero {
  align-items: center;
}

.category-hero .sprint-contract-card {
  align-content: center;
}

.proposal-hero {
  padding-bottom: 36px;
}

.proposal-how-section {
  padding-top: 18px;
}

.proposal-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
  max-width: 100%;
  min-width: 0;
}

.is-buyer-view .proposal-builder-only {
  display: none !important;
}

.is-buyer-view .proposal-hero {
  padding-bottom: 54px;
}

.is-buyer-view .proposal-hero h1 {
  max-width: 15ch;
}

.is-buyer-view .proposal-tool-section {
  padding-top: 62px;
}

.is-buyer-view .proposal-shell {
  display: block;
  width: min(900px, 100%);
  margin: 0 auto;
}

.is-buyer-view .proposal-output-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.is-buyer-view .proposal-output-heading {
  margin-bottom: 30px;
}

.is-buyer-view .proposal-output-heading h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.is-buyer-view .proposal-output {
  gap: 0;
}

.proposal-buyer-section {
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  padding: 38px 0;
}

.proposal-buyer-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.proposal-buyer-heading .eyebrow,
.proposal-buyer-heading h3 {
  margin: 0;
}

.proposal-buyer-heading h3 {
  max-width: 28ch;
  font-size: 1.55rem;
  line-height: 1.12;
}

.proposal-buyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.proposal-buyer-item {
  min-width: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
  padding: 16px 0 18px;
}

.proposal-buyer-item p {
  margin: 0;
}

.proposal-buyer-label {
  margin-bottom: 7px !important;
  color: #647187;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.proposal-acceptance-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
}

.proposal-acceptance-section .proposal-buyer-heading {
  display: block;
  margin: 0;
}

.proposal-acceptance-section .proposal-buyer-heading .eyebrow {
  margin-bottom: 10px;
}

.proposal-acceptance-copy {
  margin: 0;
  border-left: 3px solid #d87518;
  padding: 2px 0 2px 20px;
  color: #26364f;
  line-height: 1.75;
  white-space: pre-line;
}

.proposal-form,
.proposal-output-card {
  min-width: 0;
  padding: 24px;
}

.proposal-form {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.proposal-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.proposal-field input,
.proposal-field textarea,
.proposal-field select {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  padding: 12px 13px;
  background: rgba(248, 250, 252, 0.84);
  color: var(--ink-strong);
  font: inherit;
  line-height: 1.35;
}

.proposal-field input[readonly] {
  color: #42536c;
  cursor: text;
}

.proposal-field textarea {
  resize: vertical;
}

.proposal-field input:focus,
.proposal-field textarea:focus,
.proposal-field select:focus {
  border-color: rgba(23, 50, 95, 0.46);
  box-shadow: 0 0 0 4px rgba(23, 50, 95, 0.1);
  outline: none;
}

.proposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.proposal-actions-label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 2px 0 -2px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.proposal-share-actions {
  margin-top: -6px;
}

.workflow-lifecycle {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.workflow-lifecycle[hidden] {
  display: none;
}

.workflow-lifecycle-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.workflow-lifecycle-heading h3 {
  margin: 3px 0 0;
}

.workflow-lifecycle-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.workflow-lifecycle-state {
  flex: 0 0 auto;
  max-width: 210px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 6px 9px;
  color: #42536c;
  background: #f7f9fc;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.workflow-lifecycle-state.is-success,
.workflow-lifecycle-state.is-ready {
  border-color: #c9e7d2;
  color: #1f6c40;
  background: #f3faf5;
}

.workflow-lifecycle-state.is-error {
  border-color: #ecc8c8;
  color: #9f3030;
  background: #fff5f5;
}

.workflow-lifecycle-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
  gap: 10px;
}

.workflow-lifecycle-result {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #23824b;
  color: #26364f;
  background: #f7f9fc;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.proposal-actions .button {
  border: 1px solid rgba(23, 50, 95, 0.22);
  cursor: pointer;
}

.proposal-status {
  min-height: 1.5em;
  font-size: 0.9rem;
}

.proposal-output-heading h2 {
  margin-bottom: 22px;
}

.proposal-output {
  display: grid;
  gap: 16px;
}

.proposal-output-section {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 16px;
}

.proposal-output-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.proposal-output h3 {
  margin-bottom: 8px;
}

.proposal-decision-summary {
  border: 1px solid #dbe4f0;
  border-left: 4px solid #17325f;
  border-radius: 8px;
  padding: 20px;
  background: #f7f9fc;
}

.proposal-decision-summary.is-approve {
  border-color: #c9e7d2;
  border-left-color: #23824b;
  background: #f3faf5;
}

.proposal-decision-summary.is-review {
  border-color: #efd8b7;
  border-left-color: #d87518;
  background: #fff9f1;
}

.proposal-decision-summary.is-block {
  border-color: #ecc8c8;
  border-left-color: #bb3838;
  background: #fff6f6;
}

.proposal-decision-kicker {
  margin: 0 0 8px;
  color: #56657a;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proposal-decision-verdict {
  margin: 0;
  color: #111111;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.55rem;
  line-height: 1.12;
}

.proposal-decision-reason {
  margin: 10px 0 0;
  color: #4f5d70;
}

.proposal-decision-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}

.proposal-decision-meta div {
  min-width: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  padding-top: 11px;
}

.proposal-decision-meta dt {
  color: #657182;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proposal-decision-meta dd {
  margin: 5px 0 0;
  color: #13223d;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.proposal-technical-details {
  border-top: 1px solid #e2e7ef;
  padding: 22px 0 0;
}

.proposal-technical-details summary {
  width: fit-content;
  color: #17325f;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

.proposal-technical-details[open] summary {
  margin-bottom: 14px;
}

.proposal-technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.proposal-technical-grid .proposal-output-section,
.proposal-technical-grid .proposal-output-section:first-child,
.proposal-technical-grid .proposal-buyer-item {
  min-width: 0;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  padding: 12px;
  background: #fbfbfa;
}

.proposal-technical-grid .proposal-output-section h3 {
  color: #687588;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.proposal-technical-grid .proposal-buyer-item p:last-child {
  color: #26364f;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  line-height: 1.55;
}

.proposal-technical-grid .proposal-output-section p {
  color: #26364f;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
}

.sprint-cta {
  margin-top: 26px;
  margin-bottom: 58px;
  padding: 34px;
}

.sprint-cta p {
  max-width: 780px;
}

.sprint-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #111311;
  box-shadow: none;
  margin-top: 58px;
  padding: 36px 0 44px;
}

.sprint-footer-inner,
.sprint-footer-utility-links {
  width: min(var(--rail), calc(100% - 64px));
  max-width: var(--rail);
  margin: 0 auto;
}

.sprint-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sprint-footer-inline-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.sprint-footer-inline-copy a {
  color: rgba(255, 255, 255, 0.76);
}

.sprint-footer-inline-copy a:hover {
  color: #ffffff;
}

.sprint-footer-links,
.sprint-footer-utility-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.sprint-footer-links {
  gap: 10px;
}

.sprint-footer-utility-links {
  gap: 14px;
  margin-top: 4px;
  padding-bottom: 14px;
}

.sprint-footer-status,
.sprint-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 620;
  gap: 7px;
  padding: 0.34rem 0.64rem;
  white-space: nowrap;
}

.sprint-footer-status {
  color: rgba(255, 255, 255, 0.73);
  font-weight: 650;
}

.sprint-footer-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c7d8ce;
  box-shadow: 0 0 0 3px rgba(114, 174, 128, 0.1);
}

.sprint-footer-links a {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.sprint-footer-links a:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.94);
}

.sprint-footer-utility-links a {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
  font-weight: 620;
  transition: color 160ms ease;
}

.sprint-footer-utility-links a:hover {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 880px) {
  .sprint-hero,
  .proof-grid,
  .deliverable-list,
  .example-grid,
  .starter-grid,
  .sprint-snapshot,
  .preset-grid,
  .proposal-shell,
  .proposal-buyer-heading,
  .proposal-buyer-grid,
  .proposal-acceptance-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .sprint-hero > *,
  .proof-grid > *,
  .deliverable-list > *,
  .example-grid > *,
  .starter-grid > *,
  .sprint-snapshot > *,
  .preset-grid > *,
  .proposal-shell > *,
  .proposal-buyer-grid > *,
  .proposal-acceptance-section > * {
    min-width: 0;
  }

  .proposal-acceptance-section {
    gap: 20px;
  }

  .workflow-lifecycle-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-lifecycle-heading {
    display: grid;
  }

  .workflow-lifecycle-state {
    max-width: none;
    justify-self: start;
    text-align: left;
  }

  .sprint-nav {
    width: min(var(--kh-nav-rail, 1061px), calc(100% - var(--kh-nav-mobile-inset, 24px)));
    gap: 10px;
    margin-top: var(--kh-nav-tablet-top-offset, 14px);
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .brand {
    padding-right: 0;
  }

  .brand::after {
    display: none;
  }

  .brand img:last-child {
    display: none;
  }

  .sprint-nav nav {
    position: static;
    transform: none;
  }

  .sprint-hero,
  .sprint-section,
  .sprint-cta {
    width: min(var(--rail), calc(100% - 32px));
  }

  .sprint-footer-inner,
  .sprint-footer-utility-links {
    width: min(var(--rail), calc(100% - 32px));
  }

  .sprint-section.alt {
    padding-inline: 14px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .proposal-page h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 13vw, 4rem);
  }
}

@media (max-width: 520px) {
  h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 14vw, 3.4rem);
    letter-spacing: -0.06em;
    line-height: 0.94;
  }

  .sprint-nav {
    padding-top: var(--kh-nav-mobile-padding-y, 8px);
    padding-bottom: var(--kh-nav-mobile-padding-y, 8px);
  }

  .sprint-nav nav {
    padding: var(--kh-nav-mobile-pill-padding, 2px);
  }

  .sprint-nav nav a {
    min-height: var(--kh-nav-mobile-link-height, 34px);
    padding: 0 11px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 13px;
  }

  .button {
    width: 100%;
  }

  .proposal-form,
  .proposal-output-card,
  .sprint-cta {
    padding: 22px;
  }

  .sprint-footer {
    padding-bottom: 44px;
  }

  .sprint-footer-inner {
    align-items: flex-start;
    gap: 8px;
  }

  .sprint-footer-links,
  .sprint-footer-utility-links {
    width: 100%;
    gap: 10px 14px;
  }

  .sprint-footer-inline-copy {
    white-space: normal;
  }
}

/* YC reference alignment: keep workflow pages in the same plain public-site header system. */
.sprint-nav {
  width: min(var(--kh-nav-rail, 1061px), calc(100% - 64px));
  min-height: 57px;
  margin-top: 0;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand {
  padding-right: 0;
}

.brand::after,
.sprint-nav nav::before {
  display: none;
}

.sprint-nav nav {
  position: static;
  transform: none;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  gap: 28px;
}

.sprint-nav nav a {
  min-height: 40px;
  border-radius: 0;
  padding: 0;
  color: #4f5663;
  font-size: 15px;
  font-weight: 560;
}

.sprint-nav nav a:hover {
  color: #111111;
  background: transparent;
  box-shadow: none;
}

.sprint-nav nav a.is-active,
.sprint-nav nav a[aria-current="page"] {
  color: #111111;
  background: transparent;
  box-shadow: none;
  font-weight: 650;
}

.nav-cta {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111111;
  border-color: #111111;
  box-shadow: none;
}

.nav-cta:hover {
  background: #222222;
  box-shadow: none;
}

.sprint-hero {
  gap: clamp(24px, 4vw, 42px);
  padding: 68px 0 48px;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 4.5vw, 4.15rem);
  letter-spacing: -0.048em;
  line-height: 1;
}

.proposal-page h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 4.7vw, 4.25rem);
  letter-spacing: -0.048em;
  line-height: 1;
}

@media (max-width: 880px) {
  .sprint-nav {
    width: min(var(--kh-nav-rail, 1061px), calc(100% - 32px));
    min-height: 60px;
    gap: 12px;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .sprint-nav nav {
    gap: 18px;
  }

  .sprint-nav nav a {
    font-size: 14px;
  }

  h1,
  .proposal-page h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 13vw, 4.25rem);
    line-height: 0.96;
  }
}

@media (max-width: 520px) {
  .sprint-nav {
    min-height: 57px;
  }

  .sprint-nav nav {
    display: inline-flex;
    gap: 12px;
  }

  .brand img:last-child {
    display: none;
  }

  .sprint-nav nav a {
    min-height: 36px;
    font-size: 13px;
  }

  h1,
  .proposal-page h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.15rem);
    letter-spacing: -0.052em;
  }
}

/* High-intent public routes: the homepage's warm operational precision. */
.sprint-page {
  --bg: var(--kh-canvas);
  --surface: var(--kh-surface);
  --ink: var(--kh-ink);
  --ink-strong: var(--kh-navy);
  --muted: var(--kh-muted);
  --line: var(--kh-line);
  --brand: var(--kh-navy);
  --accent: var(--kh-accent);
  --radius: var(--kh-radius);
  --rail: var(--kh-content-rail);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--bg);
}

.sprint-page > main {
  flex: 1 0 auto;
}

.sprint-page > .sprint-footer {
  flex: 0 0 auto;
}

.sprint-page .sprint-hero,
.sprint-page .sprint-section,
.sprint-page .sprint-cta {
  width: min(var(--rail), calc(100% - var(--kh-content-inset)));
  max-width: var(--rail);
}

.sprint-page .sprint-hero {
  align-items: start;
  gap: clamp(48px, 7vw, 88px);
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  padding: clamp(82px, 9vw, 126px) 0 clamp(64px, 7vw, 92px);
}

.sprint-page .hero-copy {
  max-width: 760px;
}

.sprint-page h1,
.sprint-page h2,
.sprint-page h3,
.sprint-page strong {
  letter-spacing: 0;
}

.sprint-page h1,
.sprint-page .proposal-page h1 {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(3.3rem, 5.7vw, 5.35rem);
  font-weight: 730;
  line-height: 0.98;
}

.sprint-page h2 {
  color: var(--ink);
  font-size: clamp(2.15rem, 3.6vw, 3.35rem);
  font-weight: 690;
  line-height: 1.03;
}

.sprint-page h3 {
  color: var(--ink-strong);
  font-size: 1.16rem;
  line-height: 1.18;
}

.sprint-page .hero-lede,
.sprint-page .section-heading p,
.sprint-page .sprint-cta p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.sprint-page .hero-lede {
  max-width: 44rem;
}

.sprint-page .sprint-price-note {
  color: #4f5b57;
  line-height: 1.55;
}

.sprint-page .eyebrow,
.sprint-page .proof-card > span,
.sprint-page .starter-card > span,
.sprint-page .sprint-timeline-grid span,
.sprint-page .sprint-scope-column > span {
  color: var(--accent);
  letter-spacing: 0;
}

.sprint-page .button {
  min-height: 46px;
  border-radius: var(--radius);
  padding: 0 18px;
}

.sprint-page .button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.sprint-page .button.primary:hover {
  border-color: var(--kh-accent-hover);
  background: var(--kh-accent-hover);
}

.sprint-page .button.secondary {
  border-color: #bfc6c2;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.sprint-page .button.secondary:hover {
  border-color: #8d9691;
  background: rgba(17, 19, 17, 0.04);
}

.sprint-page .sprint-contract-card {
  align-self: start;
  gap: 18px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0 8px 32px;
  background: transparent;
  box-shadow: none;
}

.sprint-page .sprint-output-proof {
  border-color: #b8c4d2;
  border-radius: 6px;
  background: #edf1f5;
  box-shadow: none;
}

.sprint-page .sprint-contract-summary {
  border-color: var(--line);
}

.sprint-page .sprint-contract-summary > strong,
.sprint-page .sprint-output-proof strong {
  letter-spacing: 0;
}

.sprint-page .sprint-section {
  border-top: 1px solid var(--line);
  padding: clamp(68px, 8vw, 108px) 0;
  background: transparent;
}

.sprint-page .sprint-section.alt {
  border-block: 0;
  border-top: 1px solid var(--line);
  padding-block: clamp(68px, 8vw, 108px);
  background: transparent;
}

.sprint-page .section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.sprint-page .proof-grid,
.sprint-page .deliverable-list,
.sprint-page .starter-grid,
.sprint-page .sprint-timeline-grid,
.sprint-page .sprint-scope-grid {
  gap: 0;
  border-top: 1px solid var(--line);
}

.sprint-page .proof-grid,
.sprint-page .starter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sprint-page .proof-card,
.sprint-page .starter-card {
  min-height: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 26px;
  background: transparent;
  box-shadow: none;
}

.sprint-page .proof-card:nth-child(3n + 1),
.sprint-page .starter-card:nth-child(3n + 1) {
  padding-left: 0;
}

.sprint-page .proof-card:nth-child(3n),
.sprint-page .starter-card:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.sprint-page .starter-card:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.sprint-page .sprint-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sprint-page .sprint-timeline-grid article {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 26px;
}

.sprint-page .sprint-timeline-grid article:first-child {
  padding-left: 0;
}

.sprint-page .sprint-timeline-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.sprint-page .sprint-timeline-grid strong {
  color: var(--ink-strong);
  letter-spacing: 0;
}

.sprint-page .sprint-timeline-grid p,
.sprint-page .proof-card p,
.sprint-page .starter-card p,
.sprint-page .deliverable-list p,
.sprint-page .sprint-scope-column p,
.sprint-page .sprint-scope-column li {
  color: var(--muted);
}

.sprint-page .deliverable-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sprint-page .deliverable-list article {
  min-height: 178px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 26px;
  background: transparent;
  box-shadow: none;
}

.sprint-page .deliverable-list article:nth-child(3n + 1) {
  padding-left: 0;
}

.sprint-page .deliverable-list article:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.sprint-page .deliverable-list article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

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

.sprint-page .sprint-deliverable-list article,
.sprint-page .sprint-deliverable-list article:nth-child(3n + 1),
.sprint-page .sprint-deliverable-list article:nth-child(3n) {
  min-height: 154px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px;
}

.sprint-page .sprint-deliverable-list article:nth-child(odd) {
  padding-left: 0;
}

.sprint-page .sprint-deliverable-list article:nth-child(even) {
  border-right: 0;
  padding-right: 0;
}

.sprint-page .sprint-deliverable-list article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.sprint-page .sprint-inline-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 10px 40px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.sprint-page .sprint-inline-note .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.sprint-page .sprint-inline-note h3,
.sprint-page .sprint-inline-note > p:not(.eyebrow) {
  margin: 0;
}

.sprint-page .sprint-live-apps {
  gap: 12px 24px;
  margin-top: 40px;
  border-color: var(--line);
  padding-top: 22px;
}

.sprint-page .sprint-live-apps span {
  color: var(--accent);
  letter-spacing: 0;
}

.sprint-page .sprint-live-apps a {
  border-color: #aebbc9;
  color: var(--brand);
}

.sprint-page .sprint-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sprint-page .sprint-scope-column {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 26px;
}

.sprint-page .sprint-scope-column:first-child {
  padding-left: 0;
}

.sprint-page .sprint-scope-column:last-child {
  border-right: 0;
  padding-right: 0;
}

.sprint-page .sprint-scope-column h3 {
  color: var(--ink-strong);
  letter-spacing: 0;
}

.sprint-page .sprint-scope-column li {
  border-color: var(--line);
}

.sprint-page .example-grid {
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sprint-page .example-card,
.sprint-page .preset-card,
.sprint-page .proposal-form,
.sprint-page .proposal-output-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

.sprint-page .example-card {
  min-height: 210px;
  padding: 24px;
}

.workflow-app-examples-page .example-grid {
  align-items: stretch;
}

.workflow-app-examples-page .sprint-section:nth-of-type(2) .example-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-app-examples-page .sprint-section:nth-of-type(4) .example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sprint-page .sprint-cta {
  margin-bottom: clamp(64px, 8vw, 104px);
  border: 1px solid #0c1b2e;
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 52px);
  background: var(--brand);
  color: #ffffff;
  box-shadow: none;
}

.sprint-page .sprint-cta .eyebrow {
  color: #ff8b52;
}

.sprint-page .sprint-cta h2 {
  color: #ffffff;
}

.sprint-page .sprint-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.sprint-page .sprint-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.sprint-page .sprint-cta .button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .sprint-page .sprint-hero,
  .sprint-page .proof-grid,
  .sprint-page .starter-grid,
  .sprint-page .sprint-timeline-grid,
  .sprint-page .deliverable-list,
  .sprint-page .example-grid,
  .sprint-page .sprint-scope-grid,
  .sprint-page .sprint-inline-note,
  .workflow-app-examples-page .sprint-section:nth-of-type(4) .example-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sprint-page .sprint-hero,
  .sprint-page .sprint-section,
  .sprint-page .sprint-cta {
    width: min(var(--rail), calc(100% - 32px));
  }

  .sprint-page .sprint-hero {
    gap: 38px;
    padding: 82px 0 64px;
  }

  .sprint-page .sprint-contract-card {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 28px 0 0;
  }

  .sprint-page .proof-card,
  .sprint-page .proof-card:nth-child(3n + 1),
  .sprint-page .proof-card:nth-child(3n),
  .sprint-page .starter-card,
  .sprint-page .starter-card:nth-child(3n + 1),
  .sprint-page .starter-card:nth-child(3n),
  .sprint-page .sprint-timeline-grid article,
  .sprint-page .sprint-timeline-grid article:first-child,
  .sprint-page .sprint-timeline-grid article:last-child,
  .sprint-page .deliverable-list article,
  .sprint-page .deliverable-list article:nth-child(3n + 1),
  .sprint-page .deliverable-list article:nth-child(3n),
  .sprint-page .sprint-deliverable-list article,
  .sprint-page .sprint-deliverable-list article:nth-child(odd),
  .sprint-page .sprint-deliverable-list article:nth-child(even),
  .sprint-page .sprint-scope-column,
  .sprint-page .sprint-scope-column:first-child,
  .sprint-page .sprint-scope-column:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .sprint-page .proof-card:last-child,
  .sprint-page .starter-card:last-child,
  .sprint-page .sprint-timeline-grid article:last-child,
  .sprint-page .deliverable-list article:last-child,
  .sprint-page .sprint-deliverable-list article:last-child,
  .sprint-page .sprint-scope-column:last-child {
    border-bottom: 0;
  }

  .sprint-page .sprint-inline-note .eyebrow {
    grid-column: auto;
  }

  .sprint-page .example-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .sprint-page .sprint-hero,
  .sprint-page .sprint-section,
  .sprint-page .sprint-cta {
    width: calc(100% - 28px);
  }

  .sprint-page .sprint-hero {
    padding-top: 88px;
  }

  .sprint-page h1,
  .sprint-page .proposal-page h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 3.15rem);
    line-height: 0.99;
  }

  .sprint-page h2 {
    font-size: 2.25rem;
  }

  .sprint-page .hero-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .sprint-page .hero-actions .button {
    width: 100%;
  }
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}


.workflow-brief-section {
  scroll-margin-top: calc(var(--kh-nav-height, 56px) + 24px);
}

.workflow-brief-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.workflow-brief-copy {
  max-width: 31rem;
}

.workflow-brief-copy > p:not(.eyebrow) {
  color: #555f6d;
  font-size: 1.03rem;
  line-height: 1.62;
}

.workflow-brief-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  border: 1px solid #d8e5df;
  border-radius: 5px;
  padding: 7px 11px;
  color: #2d6141;
  background: #f4faf6;
  font-size: 0.82rem;
  line-height: 1.2;
}

.workflow-brief-context[hidden] {
  display: none;
}

.workflow-brief-context span {
  color: #597466;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-brief-context strong {
  color: #1e5135;
  font-weight: 750;
}

.workflow-brief-facts {
  margin: 28px 0 0;
  border-top: 1px solid #e2e7ef;
}

.workflow-brief-facts div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid #e2e7ef;
  padding: 13px 0;
}

.workflow-brief-facts dt {
  color: #e8601c;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-brief-facts dd {
  margin: 0;
  color: #13223d;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.35;
}

.workflow-brief-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  border-top: 2px solid #13223d;
  padding-top: 22px;
}

.workflow-brief-field-wide,
.workflow-brief-actions,
.workflow-brief-note,
.workflow-brief-status {
  grid-column: 1 / -1;
}

.workflow-brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.workflow-brief-actions .button {
  cursor: pointer;
}

.workflow-brief-note,
.workflow-brief-status {
  margin: 0;
  color: #667386;
  font-size: 0.86rem;
  line-height: 1.48;
}

.workflow-brief-status {
  min-height: 1.5em;
  color: #17325f;
  font-weight: 650;
}

.workflow-brief-status:empty {
  display: none;
}

.workflow-brief-status[data-state="pending"],
.workflow-brief-status[data-state="copied"] {
  display: block;
  border-left: 3px solid #17325f;
  padding: 10px 14px;
  background: rgba(239, 245, 255, 0.72);
}

.workflow-brief-status[data-state="error"] {
  display: block;
  border-left: 3px solid #b42318;
  padding: 10px 14px;
  color: #8a1c13;
  background: #fff4f1;
}

.workflow-brief-status[data-state="success"] {
  display: grid;
  gap: 8px;
  border: 1px solid #b9ddc2;
  border-radius: 7px;
  padding: 20px;
  color: #17325f;
  background: #f1faf5;
  box-shadow: none;
}

.workflow-brief-status[data-state="success"] strong {
  color: #13223d;
  font-size: 1.08rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.workflow-brief-status-eyebrow {
  color: #23743b;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-brief-status-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: #596b82;
  font-size: 0.8rem;
}

.workflow-brief-status-meta code {
  border: 1px solid rgba(23, 50, 95, 0.14);
  border-radius: 4px;
  padding: 4px 8px;
  color: #17325f;
  background: rgba(255, 255, 255, 0.78);
}

.workflow-brief-status-meta a {
  margin-left: auto;
  color: #17325f;
  font-weight: 750;
  text-decoration: none;
}

.workflow-brief-status-meta a:hover {
  text-decoration: underline;
}

@media (max-width: 880px) {
  .workflow-brief-layout,
  .workflow-brief-form,
  .proposal-decision-meta,
  .proposal-technical-grid,
  .sprint-inline-note,
  .sprint-deliverable-list,
  .sprint-scope-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-brief-copy {
    max-width: 44rem;
  }

  .workflow-brief-field-wide,
  .workflow-brief-actions,
  .workflow-brief-note,
  .workflow-brief-status {
    grid-column: auto;
  }

  .sprint-inline-note .eyebrow {
    grid-column: auto;
  }

  .sprint-deliverable-list article,
  .sprint-deliverable-list article:nth-child(3n + 2),
  .sprint-deliverable-list article:nth-child(3n + 3),
  .sprint-deliverable-list article:nth-child(even) {
    min-height: 0;
    border-left: 0;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
  }

  .sprint-deliverable-list article:last-child {
    border-bottom: 0;
  }

  .sprint-scope-column,
  .sprint-scope-column + .sprint-scope-column {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
    padding: 22px 0;
  }

  .sprint-scope-column:last-child {
    border-bottom: 0;
  }
}

/* Product-library pass: let the live surfaces and contract carry more of the story. */
.workflow-app-examples-page .contract-spine-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 2px;
  padding: 4px;
  border: 1px solid #dfe5ed;
  border-radius: 6px;
  background: #f1f4f8;
}

.workflow-app-examples-page .contract-spine-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 7px;
  background: #ffffff;
  color: #35445b;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-app-examples-page .example-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
}

.workflow-app-examples-page .example-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  align-items: center;
  margin-top: auto;
  border: 1px solid #dfe6ef;
  border-radius: 5px;
  padding: 13px 14px;
  background: #f6f8fb;
}

.workflow-app-examples-page .example-result small {
  grid-column: 1 / -1;
  color: #7a8596;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-app-examples-page .example-result b {
  color: #14233d;
  font-size: 0.96rem;
  letter-spacing: 0;
}

.workflow-app-examples-page .example-result em {
  color: #657188;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 620;
  text-align: right;
}

.workflow-app-examples-page .example-result--review {
  border-color: #ead8b9;
  background: #fff9ef;
}

.workflow-app-examples-page .example-result--route {
  border-color: #cfdcef;
  background: #f1f6fc;
}

.workflow-app-examples-page .example-result--block {
  border-color: #e6ced0;
  background: #fff4f4;
}

.workflow-app-examples-page .example-result--approve {
  border-color: #c9e2d3;
  background: #f1faf5;
}

.workflow-app-examples-page .section-note {
  max-width: 78ch;
  margin: 18px 0 0;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.55;
}

.workflow-app-examples-page .section-note a {
  color: #273a59;
  font-weight: 680;
}

@media (min-width: 881px) and (max-width: 1120px) {
  .workflow-app-examples-page .sprint-section:nth-of-type(2) .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sprint-secondary-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.sprint-secondary-links span {
  margin-right: auto;
}

.sprint-secondary-links a {
  color: #17325f;
  font-size: 0.84rem;
  font-weight: 680;
  text-decoration: none;
}

.sprint-secondary-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sprint-output-proof {
  display: grid;
  gap: 7px;
  border: 1px solid #cbd9ea;
  border-radius: 11px;
  padding: 16px;
  background: linear-gradient(145deg, #edf4fc 0%, #f8fbff 100%);
}

.sprint-output-proof span {
  color: #5f7390;
}

.sprint-output-proof strong {
  color: #17325f;
  font-size: 1.08rem;
}

.sprint-output-proof p {
  color: #50627b;
  font-size: 0.88rem;
  line-height: 1.48;
}

.sprint-output-proof em {
  color: #17325f;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sprint-contract-summary {
  display: grid;
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid #e2e7ef;
}

.sprint-contract-summary > span {
  color: #6d7889;
}

.sprint-contract-summary > strong {
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.sprint-contract-summary > p {
  font-size: 0.86rem;
  line-height: 1.5;
}

.workflow-app-examples-page .workflow-category-grid .example-card {
  min-height: 168px;
  padding-block: 19px;
}

@media (min-width: 881px) {
  .workflow-app-examples-page .sprint-section:nth-of-type(3) .deliverable-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workflow-app-examples-page .sprint-section:nth-of-type(3) .deliverable-list article,
  .workflow-app-examples-page .sprint-section:nth-of-type(3) .deliverable-list article:nth-child(3n + 2),
  .workflow-app-examples-page .sprint-section:nth-of-type(3) .deliverable-list article:nth-child(3n + 3) {
    min-height: 0;
    border-bottom: 0;
    border-left: 1px solid #e5e7eb;
    padding: 22px;
  }

  .workflow-app-examples-page .sprint-section:nth-of-type(3) .deliverable-list article:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .workflow-app-examples-page .sprint-section:nth-of-type(3) .deliverable-list article:last-child {
    padding-right: 0;
  }
}

@media (max-width: 880px) {
  .workflow-app-examples-page .contract-spine-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-app-examples-page .example-card {
    min-height: 0;
  }

  .workflow-app-examples-page .example-result {
    margin-top: 18px;
  }

  .sprint-secondary-links span {
    flex-basis: 100%;
  }
}

/* Final public-shell pass: short pages close at the viewport edge and the Sprint offer ends with one clear action. */
.sprint-section > .sprint-closing-cta {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin: 38px 0 0;
}

.sprint-closing-cta h2 {
  max-width: 13ch;
}

.sprint-closing-cta .hero-actions {
  justify-content: flex-end;
  margin: 0;
}

@media (max-width: 880px) {
  .sprint-section > .sprint-closing-cta {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .sprint-closing-cta .hero-actions {
    justify-content: flex-start;
  }
}

/* Workflow directory: one comparable inventory for proof-backed and category-backed workflows. */
.workflow-directory-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  background: #dfe4ec;
}

.workflow-directory-summary div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 16px;
  background: #ffffff;
}

.workflow-directory-summary strong {
  color: #111111;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.workflow-directory-summary span {
  color: #667085;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-catalogue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.workflow-catalogue-card {
  display: flex;
  min-width: 0;
  min-height: 410px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  background: #ffffff;
}

.workflow-catalogue-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #667085;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
}

.workflow-status--proof {
  border-color: #b9d9c8;
  color: #256748;
  background: #eff8f2;
}

.workflow-status--category {
  border-color: #e7d0bd;
  color: #8f431b;
  background: #fff7ef;
}

.workflow-catalogue-card h3 {
  margin: 26px 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.workflow-catalogue-buyers {
  margin: 0;
  color: #586273;
  line-height: 1.55;
}

.workflow-catalogue-buyers strong {
  color: #222b38;
}

.workflow-catalogue-card dl {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
}

.workflow-catalogue-card dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #e5e9ef;
}

.workflow-catalogue-card dt {
  color: #667085;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-catalogue-card dd {
  min-width: 0;
  margin: 0;
  color: #3f4857;
  line-height: 1.5;
}

.workflow-catalogue-compatibility,
.workflow-catalogue-proof-note {
  margin: 14px 0 0;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.45;
}

.workflow-catalogue-compatibility a {
  color: #17325f;
  font-weight: 650;
}

.workflow-catalogue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #e5e9ef;
}

.workflow-catalogue-link {
  color: #17325f;
  font-weight: 700;
  text-decoration: none;
}

.workflow-catalogue-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.workflow-catalogue-link--proof {
  color: #b94813;
}

@media (max-width: 880px) {
  .workflow-catalogue-grid,
  .workflow-catalogue-grid--category {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-catalogue-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .workflow-directory-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-catalogue-card {
    padding: 20px;
  }

  .workflow-catalogue-card dl div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/* The buying path: scope and acceptance first; detailed terms remain below. */
.sprint-offer-page .sprint-hero {
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.sprint-offer-page h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.sprint-offer-page .pilot-offer {
  gap: 24px;
  padding: 0;
  border: 0;
}

.pilot-offer-summary {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.sprint-page .pilot-offer-price {
  margin: 14px 0 22px;
  color: var(--brand);
  font-size: 2.8rem;
  font-weight: 730;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sprint-page .pilot-offer-price span {
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
}

.pilot-offer-summary dl {
  display: grid;
  gap: 16px;
  margin: 0 0 20px;
}

.pilot-offer-summary dl > div {
  display: grid;
  gap: 4px;
}

.pilot-offer-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.pilot-offer-summary dd {
  margin: 0;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 650;
}

.sprint-page .pilot-offer-summary .sprint-price-note {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.8rem;
  font-weight: 400;
}

/* Readable product previews: request, decision, next owner. */
.sprint-page .handoff-preview {
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
}

.handoff-preview figcaption {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  background: var(--brand);
}

.sprint-page .handoff-preview figcaption span {
  color: #bdcbdc;
  font-size: 0.68rem;
}

.sprint-page .handoff-preview figcaption strong {
  color: #fff;
  font-size: 1.15rem;
}

.handoff-preview dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.handoff-preview dl > div,
.app-request-preview > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.handoff-preview dt,
.app-request-preview dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.handoff-preview dd,
.app-request-preview dd {
  min-width: 0;
  margin: 0;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.handoff-preview-facts {
  padding: 24px;
}

.handoff-preview-result {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: #f7f8fa;
}

.sprint-page .handoff-preview-result > p {
  margin: 14px 0 20px;
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 650;
}

.sprint-page .workflow-state {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #dfc9a3;
  border-radius: 4px;
  padding: 6px 8px;
  color: #704607;
  background: #fff4df;
  font-size: 0.65rem;
  line-height: 1.3;
}

.sprint-page .handoff-preview-note {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.73rem;
}

.sprint-page .app-overview {
  padding: 0;
  border: 0;
}

.workflow-app-examples-page [aria-labelledby="examples-title"] .example-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.workflow-app-examples-page [aria-labelledby="examples-title"] .example-card {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  box-shadow: none;
}

.workflow-app-examples-page [aria-labelledby="examples-title"] .example-card:hover {
  border-color: var(--brand);
}

.workflow-app-examples-page [aria-labelledby="examples-title"] .example-card > strong {
  max-width: 26ch;
  min-height: 2.4em;
  margin: 16px 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
  text-wrap: balance;
}

.workflow-app-examples-page [aria-labelledby="examples-title"] .example-card > p {
  min-height: 4.5em;
  font-size: 0.95rem;
}

.app-request-preview {
  display: grid;
  gap: 12px;
  margin: 24px 0 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 18px;
  background: #f8f9f7;
}

.workflow-app-examples-page [aria-labelledby="examples-title"] .example-result {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  margin-top: auto;
}

.workflow-app-examples-page [aria-labelledby="examples-title"] .example-result small {
  color: #586376;
}

.workflow-app-examples-page [aria-labelledby="examples-title"] .example-result em {
  color: #506076;
  text-align: left;
}

.workflow-app-examples-page .example-card .app-preview-open {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  color: var(--brand);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.technical-details {
  margin-top: 32px;
  border-block: 1px solid var(--line);
}

.technical-details summary {
  padding: 20px 0;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
}

.technical-details summary:hover {
  color: var(--accent);
}

.technical-details-content {
  display: grid;
  gap: 18px;
  max-width: 76ch;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.technical-details-content p {
  margin: 0;
}

@media (max-width: 640px) {
  .workflow-app-examples-page .sprint-section[aria-labelledby="examples-title"] .example-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-app-examples-page [aria-labelledby="examples-title"] .example-card > strong,
  .workflow-app-examples-page [aria-labelledby="examples-title"] .example-card > p {
    min-height: 0;
  }

  .handoff-preview-facts,
  .handoff-preview-result {
    padding: 20px;
  }
}

@media (max-width: 900px) {
  .sprint-offer-page .sprint-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sprint-page .example-card {
    transition: none;
    transform: none;
  }
}
