/* Copy v2 — content structure and responsive composition */

:root {
  --copy-wide: min(66.667vw, 1180px);
}

.hero-lead {
  width: min(780px, 62vw);
  margin: var(--screen-gap-md) 0 0;
  font-size: clamp(20px, 1.667vw, 24px);
  line-height: 1.35;
  font-weight: 500;
}

.hero-copy {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.5;
}

.hero-helper {
  width: min(420px, 100%);
  margin: var(--screen-gap-sm) 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-marquee-group {
  gap: 0;
}

.hero-marquee-group span {
  display: inline-flex;
  align-items: center;
}

.hero-marquee-group span::after {
  content: "·";
  margin-inline: 28px;
}

.problems .eyebrow,
.sprints .eyebrow,
.outcomes .eyebrow {
  font-weight: 500;
}

.problem-copy {
  max-width: 980px;
}

.problem-line {
  font-size: clamp(34px, 3.05vw, 44px);
  line-height: 1.22;
}

.problem-conclusion {
  max-width: 760px;
  margin: var(--screen-gap-lg) 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.5;
}

.sprints-intro {
  width: var(--copy-wide);
  max-width: none;
}

.sprint-list {
  width: var(--copy-wide);
  max-width: 100%;
  gap: clamp(52px, 6vw, 76px) !important;
}

.sprint-row {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 0;
}

.sprint-name,
.sprint-description,
.sprint-meta {
  grid-column: 1;
}

.sprint-name {
  grid-row: 1;
}

.sprint-description {
  grid-row: 2;
  margin-top: 12px;
  color: rgba(0,0,0,.78);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.45;
  white-space: normal;
}

.sprint-meta {
  grid-row: 3;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: normal;
}

.sprint-line {
  display: none !important;
}

.terms-stack {
  display: grid;
  gap: 2px;
}

.terms-stack span {
  display: block;
}

.outcomes .eyebrow {
  line-height: 1.35;
}

.outcome-list {
  width: var(--copy-wide) !important;
  max-width: none !important;
  padding: 0;
  list-style: none;
  gap: 10px;
}

.outcome-list li {
  margin: 0;
  list-style: none;
  max-width: 100%;
}

.handoff-grid {
  display: block;
  width: var(--copy-wide);
  max-width: 100%;
}

.handoff-about,
.handoff-cta {
  width: 100%;
  max-width: 100%;
}

.handoff-heading {
  margin: 0;
  font-weight: 400;
}

.handoff-heading .eyebrow {
  margin: 0 0 var(--screen-gap-md);
}

.handoff-heading .section-title {
  display: block;
  color: var(--blue);
}

.handoff-body {
  display: grid;
  gap: 22px;
  margin-top: var(--screen-gap-md);
  max-width: 100%;
}

.handoff-body p,
.handoff-cta p {
  margin: 0;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.5;
}

.handoff-cta {
  margin-top: var(--screen-gap-xl);
}

.handoff-cta-title {
  margin: 0 0 var(--screen-gap-md);
  color: var(--blue);
  font-size: clamp(34px, 3.05vw, 44px);
  line-height: 1.15;
  font-weight: 500;
}

.handoff-cta-copy {
  display: grid;
  gap: 20px;
  max-width: 100%;
}

.handoff-cta .primary-cta {
  margin-top: var(--screen-gap-md);
}

.footer-team {
  text-transform: none;
}

.form-title {
  width: 430px;
}

@media (max-width: 820px) {
  :root {
    --copy-wide: 100%;
  }

  .hero-lead,
  .hero-copy,
  .hero-helper {
    width: 100%;
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-copy {
    margin-top: 22px !important;
    font-size: 17px;
  }

  .hero-helper {
    font-size: 13px;
  }

  .hero-marquee-group span::after {
    margin-inline: 18px;
  }

  .problem-copy {
    max-width: 100%;
  }

  .problem-line {
    font-size: clamp(30px, 8vw, 38px);
  }

  .problem-conclusion {
    margin-top: var(--screen-gap-lg);
    font-size: 17px;
  }

  .sprints-intro,
  .sprint-list,
  .outcome-list,
  .handoff-grid {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sprint-row {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
  }

  .sprint-name,
  .sprint-description,
  .sprint-meta {
    grid-column: 1 !important;
  }

  .sprint-description {
    font-size: 17px;
  }

  .sprint-meta {
    font-size: 12px;
  }

  .handoff-cta {
    margin-top: var(--screen-gap-xl);
  }

  .handoff-body p,
  .handoff-cta p {
    font-size: 17px;
  }

  .handoff-cta-title {
    font-size: clamp(30px, 8vw, 38px);
  }
}

/* Sprint cards */
.sprint-list {
  width: 100% !important;
  max-width: none !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 28px) !important;
  align-items: stretch;
}

.sprint-row {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 300px;
  padding: clamp(26px, 2.4vw, 36px) !important;
  border-radius: 12px;
  background: var(--blue) !important;
  color: #fff !important;
  text-align: left;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition: transform .28s var(--ease), background-color .28s var(--ease), box-shadow .28s var(--ease);
}

.sprint-row:hover {
  background: #075ff0 !important;
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 18px 40px rgba(0, 102, 255, .18);
}

.sprint-row:active {
  transform: translateY(-1px) scale(.997);
}

.sprint-row:focus-visible {
  outline: 3px solid rgba(0, 102, 255, .28);
  outline-offset: 4px;
}

.sprint-name,
.sprint-row:hover .sprint-name {
  color: #fff !important;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  font-weight: 500;
}

.sprint-description {
  margin-top: 22px !important;
  color: rgba(255, 255, 255, .86) !important;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.45;
}

.sprint-meta {
  margin-top: auto !important;
  padding-top: 32px;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .sprint-list {
    grid-template-columns: 1fr;
    gap: 16px !important;
  }

  .sprint-row {
    min-height: 0;
    padding: 24px !important;
  }

  .sprint-description {
    margin-top: 16px !important;
  }

  .sprint-meta {
    margin-top: 24px !important;
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sprint-row {
    transition: background-color .15s linear;
  }

  .sprint-row:hover,
  .sprint-row:active {
    transform: none;
  }
}
