/* The day margin keeps the sequence clear without adding a progress score. */
.starter-plan {
  color: var(--ink, #29243e);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: max(1rem, 18px);
  line-height: 1.65;
  max-width: 58rem;
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.starter-plan-intro,
.starter-plan-help {
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: 1.25rem;
  background: var(--lilac, #ece8ff);
}

.starter-plan h1,
.starter-plan h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: pretty;
}

.starter-plan h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
}

.starter-plan h2 {
  font-size: 1.7rem;
  margin: 0 0 1.1rem;
}

.starter-plan p {
  max-width: 64ch;
  margin: 0 0 1rem;
}

.starter-plan p:last-child {
  margin-bottom: 0;
}

.starter-plan-kicker {
  font-weight: 600;
  color: var(--violet-dark, #5947a9);
}

.starter-plan-how {
  border-top: 1px solid var(--violet-dark, #5947a9);
  padding-top: 1rem;
}

.starter-plan-days {
  display: grid;
  gap: 1.25rem;
  margin-block: 1.5rem;
}

.starter-plan-day {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--line, #e5e3ed);
  border-radius: 1.25rem;
  background: var(--white, #fff);
}

.starter-plan-day-label {
  align-self: start;
  position: sticky;
  top: 1rem;
  border-inline-start: 3px solid var(--violet-dark, #5947a9);
  padding-inline-start: 1rem;
}

.starter-plan-day-label p:first-child {
  color: var(--violet-dark, #5947a9);
  font-weight: 600;
  margin-bottom: .5rem;
}

.starter-plan-day-label span {
  display: block;
  font: 400 2.75rem/1.2 Georgia, 'Times New Roman', serif;
}

.starter-plan-day-label p:last-child {
  color: var(--muted, #5d586e);
}

.starter-plan-day-content {
  min-width: 0;
}

.starter-plan-steps {
  margin: 0 0 1.5rem;
  padding-inline-start: 1.6em;
  list-style: decimal;
}

.starter-plan-steps li {
  padding-inline-start: .35em;
  margin-bottom: .85rem;
  max-width: 60ch;
}

.starter-plan-steps li::marker {
  font-weight: 700;
  color: var(--violet-dark, #5947a9);
}

.starter-plan-action,
.starter-plan-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 52px;
  max-width: 100%;
  padding: .7rem 1.1rem;
  border: 1px solid var(--violet-dark, #5947a9);
  border-radius: .75rem;
  background: var(--violet-dark, #5947a9);
  color: var(--white, #fff);
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}

.starter-plan-guide {
  background: var(--lilac, #ece8ff);
  color: var(--violet-dark, #5947a9);
}

.starter-plan-action:hover,
.starter-plan-guide:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.starter-plan :is(a, button, summary):focus-visible {
  outline: 3px solid var(--ink, #29243e);
  outline-offset: 4px;
}

.starter-plan-details {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line, #e5e3ed);
}

.starter-plan-details summary {
  min-height: 52px;
  padding-block: .75rem;
  color: var(--violet-dark, #5947a9);
  font-weight: 600;
  cursor: pointer;
}

.starter-plan-details[open] summary {
  margin-bottom: .35rem;
}

@media (max-width: 680px) {
  .starter-plan-day {
    grid-template-columns: minmax(0, 1fr);
  }

  .starter-plan-day-label {
    position: static;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .4rem 1rem;
  }

  .starter-plan-day-label p:first-child {
    margin: 0;
  }

  .starter-plan-day-label span {
    display: inline;
    font-size: 1.5rem;
  }

  .starter-plan-action,
  .starter-plan-guide {
    width: 100%;
  }
}

@media print {
  .starter-plan-day-label {
    position: static;
  }

  .starter-plan-day {
    break-inside: avoid;
  }
}
