: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;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 0% 84px, rgba(255, 196, 143, 0.18), transparent 34%),
    radial-gradient(circle at 100% 120px, rgba(146, 175, 230, 0.16), transparent 32%),
    linear-gradient(180deg, #fffefb 0%, #f7faff 42%, var(--bg) 76%);
  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;
}

.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,
.sprint-footer {
  width: min(var(--rail), calc(100% - 64px));
  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.09);
  border-radius: 26px;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(249, 250, 252, 0.92));
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.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.06);
  border-radius: 999px;
  padding: 3px;
  background: rgba(15, 23, 42, 0.04);
}

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

.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 Tight", 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 Tight", 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;
}

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

.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: var(--radius);
  box-shadow: 0 20px 60px rgba(18, 32, 56, 0.08);
}

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

.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: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.18;
}

.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;
}

.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(5, 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(5, 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);
  outline: none;
}

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

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

.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;
}

.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;
}

.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;
}

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

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

.sprint-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 24px 0 40px;
}

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

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

  .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: 7px;
    padding-bottom: 7px;
  }

  .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,
  .sprint-footer {
    width: min(var(--rail), calc(100% - 28px));
  }

  .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;
  }
}
