/* Couch to 5K funnel — Phase 1 extras (extends create-plan-quiz.css) */

.c25k-scroll {
  padding-bottom: 1rem;
}

.c25k-accent {
  color: #e10600;
}

.c25k-emphasis {
  font-weight: 700;
  margin-top: 0.35rem;
}

.c25k-screen--intro {
  padding: 0.5rem 1.15rem 1.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.c25k-intro-shell {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.c25k-intro-logo {
  display: block;
  width: 120px;
  max-width: 42%;
  height: auto;
  margin: 0.15rem auto 0.75rem;
  flex-shrink: 0;
}

.c25k-intro-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0 0.75rem;
}

.c25k-intro-title {
  font-size: clamp(1.45rem, 5.6vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 0.65rem;
  text-align: center;
}

.c25k-intro-sub {
  text-align: center;
  margin: 0 0 1.35rem;
  opacity: 0.85;
}

.c25k-intro-question {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.3;
}

.c25k-intro-trust {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
  font-weight: 600;
}

.c25k-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 0 1.1rem;
  overflow: hidden;
}

.c25k-progress__fill {
  height: 100%;
  width: 0;
  background: #e10600;
  border-radius: inherit;
  transition: width 0.25s ease;
}

.c25k-choices {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.c25k-option {
  text-align: left;
  min-height: 3.4rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.c25k-option__emoji {
  font-size: 1.45rem;
  line-height: 1;
  flex-shrink: 0;
}

.c25k-option__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.c25k-option__title {
  font-weight: 700;
}

.c25k-option__sub {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 400;
}

.c25k-insight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
  /* Fill the flex scroll area without forcing past the footer CTA */
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
}

.c25k-screen--insight,
.c25k-screen--graph {
  padding-bottom: 0.85rem;
}

.c25k-screen--insight .qp-footer-cta,
.c25k-screen--graph .qp-footer-cta,
.c25k-screen--dani .qp-footer-cta,
.c25k-screen--result .qp-footer-cta,
.c25k-screen--comparison .qp-footer-cta {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
  padding-bottom: max(1.15rem, env(safe-area-inset-bottom));
}

.c25k-insight-brand {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}

.c25k-insight-check {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 6, 0, 0.14);
  border: 1.5px solid rgba(225, 6, 0, 0.55);
  animation: c25k-check-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.c25k-insight-check__mark {
  color: #e10600;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.c25k-insight-badge {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
}

.c25k-insight-text {
  margin: 0 auto 1.25rem;
  max-width: 22rem;
  opacity: 0.9;
}

.c25k-insight-footer {
  margin: 0.95rem 0 0;
  font-size: 0.88rem;
  opacity: 0.7;
  font-weight: 500;
}

.c25k-profile-card {
  text-align: left;
  margin: 0.25rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.c25k-profile-card__title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.c25k-profile-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.c25k-profile-card__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.c25k-profile-card__label {
  opacity: 0.65;
  font-weight: 600;
}

.c25k-profile-card__value {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  text-align: right;
}

.c25k-profile-card__row.is-highlight .c25k-profile-card__value {
  color: #e10600;
}

.c25k-profile-card__check {
  color: #e10600;
  font-weight: 800;
}

.c25k-profile-card__row.is-new {
  animation: c25k-row-in 0.4s ease both;
}

@keyframes c25k-check-pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes c25k-row-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.c25k-feedback .qp-title {
  margin-bottom: 0.85rem;
}

.c25k-chart {
  margin: 1rem 0 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.55rem 0.7rem;
  overflow: hidden;
}

.c25k-chart__plot {
  position: relative;
  width: 100%;
}

.c25k-chart__svg {
  width: 100%;
  height: auto;
  display: block;
}

.c25k-chart__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.c25k-chart__svg--overlay {
  width: 100%;
  height: 100%;
}

.c25k-chart__axis-label {
  fill: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.c25k-chart__tick {
  fill: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 600;
}

.c25k-chart__grid {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.5;
}

.c25k-chart__line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

.c25k-chart--pending .c25k-chart__line {
  opacity: 0 !important;
}

.c25k-chart__line--traditional {
  stroke: #9ca3af;
}

.c25k-chart__line--runnify {
  stroke: #e10600;
  stroke-width: 3.25;
}

.c25k-chart__callout {
  fill: #e10600;
  transition: opacity 0.35s ease;
}

.c25k-chart__callout text {
  fill: #e10600;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.c25k-chart--result .c25k-chart__callout {
  display: none;
}

.c25k-chart--result .c25k-chart__legend {
  display: none;
}

.c25k-chart__legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
  margin-top: 0.15rem;
  padding: 0 0.2rem;
}

.c25k-chart__legend-item {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  min-width: 0;
}

.c25k-chart__legend-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.c25k-chart__legend-copy strong {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.c25k-chart__legend-copy span {
  font-size: 0.65rem;
  opacity: 0.65;
  line-height: 1.25;
}

.c25k-legend {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0;
}

.c25k-legend__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
}

.c25k-legend__item strong {
  display: block;
}

.c25k-legend__item span:last-child {
  opacity: 0.65;
  font-size: 0.8rem;
}

.c25k-legend__swatch {
  width: 1.1rem;
  height: 0.28rem;
  border-radius: 999px;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.c25k-legend__swatch--trad {
  background: #9ca3af;
}

.c25k-legend__swatch--run {
  background: #e10600;
}

.c25k-graph-footer {
  opacity: 0.85;
}

.c25k-dani {
  text-align: center;
}

.c25k-dani__photo {
  width: min(72%, 240px);
  border-radius: 1rem;
  margin: 1rem auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.c25k-dani__quote {
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
  font-style: italic;
  margin: 0.5rem 0 0.85rem;
}

.c25k-dani__name {
  font-weight: 800;
  margin: 0;
}

.c25k-dani__role {
  margin: 0.15rem 0 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

.c25k-building-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.c25k-building-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.4;
  transition: opacity 0.25s ease;
  font-weight: 600;
}

.c25k-building-item.is-done {
  opacity: 1;
}

.c25k-building-check {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #e10600;
}

.c25k-building-item.is-done .c25k-building-check {
  border-color: #e10600;
  background: rgba(225, 6, 0, 0.12);
}

.c25k-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.65;
  margin: 0 0 0.45rem;
}

.c25k-profile-name {
  margin-bottom: 0.35rem;
}

.c25k-weeks-line {
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}

.c25k-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.c25k-chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
}

.c25k-compare {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.c25k-compare__card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.c25k-compare__card--accent {
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.1);
}

.c25k-compare__card h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
}

.c25k-compare-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  opacity: 0.9;
  font-size: 0.9rem;
}

.c25k-compare__vs {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.55;
  font-size: 0.8rem;
}
