.afford-page {
  --afford-yellow: #f2e4b8;
  background: var(--cream);
  color: var(--ink);
}

.afford-page h1,
.afford-page h2,
.afford-page h3 {
  color: var(--navy-deep);
}

.afford-hero {
  background: linear-gradient(165deg, var(--blush) 0 74%, var(--cream) 74%);
  display: grid;
  gap: 2.5rem;
  padding: 3.2rem 1rem 5rem;
}

.afford-hero h1,
.afford-section h2 {
  letter-spacing: -.045em;
  font-family: "DM Sans", "Avenir Next", Arial, sans-serif;
  font-weight: 900;
  line-height: .96;
}

.afford-hero h1 {
  max-width: 760px;
  margin: 0 0 1.15rem;
  font-size: clamp(2.35rem, 10vw, 3.7rem);
}

.afford-hero-copy > p:not(.self-made-kicker) {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.62;
}

.afford-hero-lead {
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem !important;
  font-style: italic;
  line-height: 1.22 !important;
}

.afford-hero-photo,
.afford-cost-photo,
.afford-key figure,
.afford-story figure {
  border: 5px solid var(--white);
  box-shadow: 9px 9px 0 var(--navy);
  margin: 0;
  overflow: hidden;
}

.afford-hero-photo {
  align-self: start;
  position: relative;
  transform: rotate(1deg);
}

.afford-hero-photo img {
  object-fit: cover;
  object-position: center 44%;
  width: 100%;
  height: 440px;
  display: block;
}

.afford-hero-photo figcaption {
  background: var(--navy);
  color: var(--white);
  padding: .9rem 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
}

.afford-before-read {
  background: var(--afford-yellow);
  display: grid;
  gap: 1.5rem;
  padding: 3.2rem 1rem;
}

.afford-before-read h2 {
  max-width: 760px;
  color: var(--navy-deep);
  letter-spacing: -.04em;
  margin: 0 0 1rem;
  font-family: "DM Sans", "Avenir Next", Arial, sans-serif;
  font-size: clamp(1.8rem, 7vw, 2.65rem);
  font-weight: 900;
  line-height: .98;
}

.afford-before-read p:not(.self-made-section-label) {
  max-width: 820px;
  margin-bottom: 0;
  line-height: 1.65;
}

.afford-before-read a {
  border: 2px solid var(--navy-deep);
  background: var(--navy-deep);
  width: min(100%, 390px);
  min-height: 54px;
  color: var(--white);
  box-shadow: 5px 5px 0 var(--berry);
  letter-spacing: .045em;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  padding: .9rem 1rem;
  font-size: .8rem;
  font-weight: 900;
  text-decoration: none;
  display: flex;
}

.afford-formula-section {
  background: var(--cream);
  padding: 0 1rem 4.5rem;
}

.afford-formula {
  border: 3px solid var(--navy);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--afford-yellow);
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem;
}

.afford-formula > p {
  color: var(--berry);
  letter-spacing: .09em;
  margin: 0 0 .75rem;
  font-size: .72rem;
  font-weight: 900;
}

.afford-formula ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.afford-formula li {
  border-top: 1px solid rgba(31, 75, 65, .22);
  grid-template-columns: 2.3rem 1fr;
  align-items: start;
  gap: .65rem;
  padding: .8rem 0;
  display: grid;
}

.afford-formula li:first-child {
  border-top: 0;
}

.afford-formula li span {
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.afford-formula li strong {
  color: var(--navy-deep);
  font-size: .95rem;
  line-height: 1.35;
}

.afford-section {
  padding: 4.5rem 1rem;
}

.afford-section h2 {
  max-width: 930px;
  margin: 0 0 1.3rem;
  font-size: clamp(2rem, 8.5vw, 3rem);
}

.afford-section p {
  line-height: 1.65;
}

.afford-cost {
  background: var(--white);
  display: grid;
  gap: 2.5rem;
}

.afford-cost-copy blockquote {
  border-left: 6px solid var(--hot-pink);
  background: var(--afford-yellow);
  color: var(--navy-deep);
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.35;
}

.afford-cost-list {
  gap: .65rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.afford-cost-list li {
  border-left: 4px solid var(--sky);
  background: var(--cream);
  padding: .75rem .9rem;
  line-height: 1.45;
}

.afford-cost-list strong {
  color: var(--navy-deep);
}

.afford-cost-photo {
  align-self: center;
  box-shadow-color: var(--hot-pink);
  transform: rotate(-1deg);
}

.afford-cost-photo img,
.afford-key img,
.afford-story figure img {
  object-fit: cover;
  width: 100%;
  height: 360px;
  display: block;
}

.afford-income {
  background: var(--sky-soft);
}

.afford-section-intro {
  max-width: 760px;
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-style: italic;
}

.afford-income-grid {
  display: grid;
  gap: 1rem;
}

.afford-income-grid article {
  border: 2px solid var(--navy);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--blush);
  padding: 1.35rem;
}

.afford-income-grid article:nth-child(2n) {
  box-shadow-color: var(--afford-yellow);
}

.afford-income-grid article:last-child {
  box-shadow-color: var(--sky);
}

.afford-income-grid .afford-income-featured {
  background: var(--navy-deep);
  color: var(--white);
  box-shadow-color: var(--afford-yellow);
}

.afford-income-grid .afford-income-featured h3 {
  color: var(--white);
}

.afford-income-grid .afford-income-featured p {
  color: rgba(255, 255, 255, .9);
}

.afford-income-grid .afford-income-featured span {
  color: var(--afford-yellow);
}

.afford-income-grid span {
  color: var(--berry);
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 900;
}

.afford-income-grid h3 {
  margin: .65rem 0 .75rem;
  font-family: "Arial Black", "Avenir Next", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.04;
}

.afford-income-grid p {
  margin: 0;
}

.afford-income-callout {
  border-left: 6px solid var(--berry);
  max-width: 760px;
  background: var(--white);
  color: var(--navy-deep);
  margin: 2.2rem 0 0;
  padding: 1.15rem 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.afford-key {
  background: var(--navy-deep);
  color: var(--white);
  display: grid;
  gap: 2.8rem;
}

.afford-key h2 {
  color: var(--white);
}

.afford-key p {
  color: rgba(255, 255, 255, .9);
}

.afford-key .self-made-section-label {
  background: var(--afford-yellow);
  color: var(--navy-deep);
}

.afford-key figure {
  box-shadow-color: var(--afford-yellow);
  transform: rotate(-1deg);
}

.afford-key img {
  object-position: center 42%;
}

.afford-business {
  background: var(--blush);
  display: grid;
  gap: 2.5rem;
}

.afford-business-heading > p:not(.self-made-section-label) {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-style: italic;
}

.afford-business-steps {
  border-top: 2px solid var(--navy);
}

.afford-business-steps article {
  border-bottom: 2px solid var(--navy);
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  display: grid;
}

.afford-business-steps article > span {
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.afford-business-steps h3 {
  margin: 0 0 .45rem;
  font-family: "Arial Black", "Avenir Next", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.15;
}

.afford-business-steps p {
  margin: 0;
}

.afford-story {
  background: var(--cream);
  display: grid;
  gap: 2.8rem;
}

.afford-story-copy a {
  color: var(--berry);
  font-weight: 800;
  text-underline-offset: .2rem;
}

.afford-story-close {
  border-left: 6px solid var(--berry);
  background: var(--white);
  color: var(--navy-deep);
  margin-top: 1.8rem;
  padding: 1.15rem 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-style: italic;
}

.afford-story figure {
  box-shadow-color: var(--hot-pink);
  transform: rotate(1deg);
}

.afford-story figure img {
  object-position: center 35%;
}

.afford-challenge {
  background: var(--navy);
  color: var(--white);
  display: grid;
  gap: 2.5rem;
}

.afford-challenge h2 {
  color: var(--white);
}

.afford-challenge .self-made-section-label {
  background: var(--afford-yellow);
  color: var(--navy-deep);
}

.afford-challenge-copy > p {
  max-width: 800px;
}

.afford-challenge ol {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.afford-challenge li {
  border-top: 1px solid rgba(255, 255, 255, .28);
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: .9rem;
  padding: 1.1rem 0;
}

.afford-challenge li > span {
  color: var(--afford-yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.afford-challenge li strong {
  color: var(--white);
  font-size: 1rem;
}

.afford-challenge li p {
  color: rgba(255, 255, 255, .84);
  margin: .25rem 0 0;
}

.afford-bottom-form {
  border: 3px solid var(--navy-deep);
  background: var(--white);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--afford-yellow);
  padding: 1.4rem;
}

.afford-bottom-form h3 {
  margin: .45rem 0 .7rem;
  font-family: "DM Sans", "Avenir Next", Arial, sans-serif;
  font-size: clamp(2rem, 8vw, 2.7rem);
  font-weight: 900;
  line-height: .98;
}

.afford-bottom-form .self-made-form-wrap-detailed .self-made-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.afford-bottom-form .self-made-form-wrap-detailed .self-made-form > label:not(.self-made-month-five-check):not(.self-made-honeypot) {
  min-width: 0;
}

.afford-bottom-form .self-made-form-wrap-detailed .self-made-month-five-check,
.afford-bottom-form .self-made-form-wrap-detailed button {
  grid-column: 1 / -1;
  grid-row: auto;
  width: 100%;
}

.afford-form-eyebrow {
  color: var(--berry);
  letter-spacing: .09em;
  margin: 0;
  font-size: .7rem;
  font-weight: 900;
}

.afford-details-link {
  color: var(--navy-deep);
  text-underline-offset: .2rem;
  margin-top: 1rem;
  font-size: .78rem;
  font-weight: 800;
  display: inline-block;
}

.afford-other-paths {
  background: var(--blush);
  padding: 4.5rem 1rem;
}

.afford-other-paths > div {
  display: grid;
  gap: 1rem;
}

.afford-other-paths article {
  border: 2px solid var(--navy);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--afford-yellow);
  padding: 1.4rem;
}

.afford-other-paths h2 {
  margin: 0 0 .8rem;
  font-family: "DM Sans", "Avenir Next", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.03;
}

.afford-other-paths p {
  line-height: 1.55;
}

.afford-other-paths a {
  color: var(--berry);
  text-underline-offset: .2rem;
  font-size: .78rem;
  font-weight: 900;
}

.afford-footer {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1rem;
}

.afford-footer p {
  margin: .35rem 0;
}

.afford-footer p:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-style: italic;
}

@media (min-width: 760px) {
  .afford-income-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afford-income-grid article:last-child {
    grid-column: 1 / -1;
  }

  .afford-income-grid .afford-income-featured {
    grid-column: 1 / -1;
  }

  .afford-other-paths > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .afford-bottom-form .self-made-form-wrap-detailed .self-made-form {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .afford-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    align-items: start;
    gap: 4.5rem;
    padding: 5.5rem 5rem 7rem;
  }

  .afford-hero h1 {
    font-size: 4.15rem;
  }

  .afford-hero-photo img {
    height: 600px;
  }

  .afford-section,
  .afford-other-paths {
    padding: 6rem 5rem;
  }

  .afford-before-read {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    align-items: center;
    gap: 4rem;
    padding: 4.5rem 5rem;
  }

  .afford-before-read a {
    justify-self: end;
  }

  .afford-formula-section {
    padding: 0 5rem 6rem;
  }

  .afford-cost,
  .afford-key,
  .afford-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 5rem;
  }

  .afford-cost-photo img,
  .afford-key img,
  .afford-story figure img {
    height: 560px;
  }

  .afford-income-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .afford-income-grid article {
    min-height: 250px;
    padding: 1.6rem;
  }

  .afford-income-grid article:last-child {
    grid-column: auto;
  }

  .afford-income-grid .afford-income-featured {
    grid-column: span 2;
  }

  .afford-business {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 5rem;
  }

  .afford-business-heading {
    position: sticky;
    top: 2rem;
  }

  .afford-challenge {
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr);
    align-items: start;
    gap: 4rem;
  }

  .afford-bottom-form {
    position: sticky;
    top: 1.5rem;
    padding: 1.8rem;
  }

  .afford-other-paths article {
    padding: 2rem;
  }
}
