/**
 * Home 2026, sections 5–6.
 * The editable copy lives in the page content. Phase 1 rules are unchanged.
 */

body.ys-home-2026 .ys-phase2 {
  --ys-ink: #0c2832;
  --ys-ink-soft: #243e48;
  --ys-teal: #005970;
  --ys-paper: #f4f1ea;
  --ys-field: #fbfaf6;
  --ys-display: "miller-display", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --ys-sans: "avenir-next-lt-pro", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
}

body.ys-home-2026 .ys-phase2 h2,
body.ys-home-2026 .ys-phase2 h3,
body.ys-home-2026 .ys-phase2 p,
body.ys-home-2026 .ys-phase2 ul,
body.ys-home-2026 .ys-phase2 li,
body.ys-home-2026 .ys-phase2 figure {
  margin: 0;
  padding: 0;
}

body.ys-home-2026 .ys-phase2 h2 {
  font-family: var(--ys-display);
  font-weight: 300;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ys-ink);
}

body.ys-home-2026 .ys-phase2 h3 {
  font-family: var(--ys-display);
  font-weight: 300;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  line-height: 1.2;
  color: var(--ys-ink);
}

body.ys-home-2026 .ys-phase2 a {
  color: var(--ys-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

body.ys-home-2026 .ys-phase2 a:hover {
  color: var(--ys-ink);
}

body.ys-home-2026 .ys-phase2 :focus {
  outline: none;
}

body.ys-home-2026 .ys-phase2 :focus-visible {
  outline: 2px solid var(--ys-ink);
  outline-offset: 3px;
}

body.ys-home-2026 .ys-phase2__wrap {
  width: min(1240px, calc(100% - 2.5rem));
  margin: 0 auto;
}

body.ys-home-2026 .ys-phase2__intro {
  max-width: 40rem;
}

body.ys-home-2026 .ys-phase2__intro p {
  margin-top: 1.15rem;
  max-width: 40rem;
  color: var(--ys-ink-soft);
  font-size: 1.125rem;
  line-height: 1.65;
}

body.ys-home-2026 .ys-courses {
  padding: 1.5rem 0 0;
}

body.ys-home-2026 .ys-courses__leads {
  display: grid;
  gap: 3.5rem;
  margin-top: 2.75rem;
}

body.ys-home-2026 .ys-courses__lead {
  display: grid;
  gap: 1.35rem;
}

body.ys-home-2026 .ys-courses__lead p {
  margin-top: 0.85rem;
  max-width: 36rem;
  color: var(--ys-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.6;
}

body.ys-home-2026 .ys-courses__lead .ys-text-link {
  margin-top: 0.85rem;
  min-height: 44px;
}

body.ys-home-2026 .ys-courses__figure {
  margin: 0;
}

body.ys-home-2026 .ys-courses__figure img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.ys-home-2026 .ys-courses__more {
  margin-top: 3.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(12, 40, 50, 0.16);
  list-style: none;
}

body.ys-home-2026 .ys-courses__more li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(12, 40, 50, 0.12);
}

body.ys-home-2026 .ys-courses__more h3 {
  font-size: clamp(1.35rem, 1.6vw, 1.6rem);
}

body.ys-home-2026 .ys-courses__more p {
  margin-top: 0.4rem;
  color: var(--ys-ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

body.ys-home-2026 .ys-courses__more img {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
  object-position: center;
  background: var(--ys-paper);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.ys-home-2026 .ys-courses__frame {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  overflow: hidden;
}

body.ys-home-2026 .ys-courses__more .ys-text-link {
  margin-top: 0.35rem;
  min-height: 44px;
}

body.ys-home-2026 .ys-courses > .ys-phase2__wrap > .ys-text-link {
  margin-top: 2rem;
  min-height: 44px;
}

body.ys-home-2026 .ys-courses .ys-text-link {
  text-decoration: none;
}

body.ys-home-2026 .ys-courses .ys-text-link:hover,
body.ys-home-2026 .ys-courses .ys-text-link:focus-visible {
  color: #00485c;
}

body.ys-home-2026 .ys-teacher {
  margin-top: clamp(2.9rem, 5.8vw, 5.4rem);
  padding: clamp(2.9rem, 5.8vw, 5.4rem) 0 clamp(3.5rem, 7vw, 6.5rem);
  background: var(--ys-field);
}

body.ys-home-2026 .ys-teacher__layout {
  display: grid;
  gap: 1.5rem;
}

body.ys-home-2026 .ys-teacher__copy p {
  margin-top: 1.15rem;
  max-width: 38rem;
  color: var(--ys-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
}

body.ys-home-2026 .ys-phase2 .ys-teacher__points {
  list-style: none;
  max-width: 38rem;
  margin-top: 1.2rem;
}

body.ys-home-2026 .ys-teacher__points li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(12, 40, 50, 0.16);
  font-weight: 500;
}

body.ys-home-2026 .ys-teacher__points li:last-child {
  border-bottom: 1px solid rgba(12, 40, 50, 0.16);
}

body.ys-home-2026 .ys-teacher__copy .ys-text-link {
  margin-top: 1.35rem;
  min-height: 44px;
}

body.ys-home-2026 .ys-teacher .ys-text-link {
  text-decoration: none;
}

body.ys-home-2026 .ys-teacher .ys-text-link:hover,
body.ys-home-2026 .ys-teacher .ys-text-link:focus-visible {
  color: #00485c;
}

body.ys-home-2026 .ys-teacher__figure {
  margin: 0;
  overflow: hidden;
  background: #e7e1d4;
}

body.ys-home-2026 .ys-teacher__photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 800px) {
  body.ys-home-2026 .ys-courses__lead {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.75rem 3rem;
    align-items: center;
  }

  body.ys-home-2026 .ys-courses__lead .ys-courses__copy {
    order: 2;
  }

  body.ys-home-2026 .ys-courses__lead--progress .ys-courses__copy {
    order: 1;
  }

  body.ys-home-2026 .ys-courses__lead--progress .ys-courses__figure {
    order: 2;
  }

  body.ys-home-2026 .ys-courses__more {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }

  body.ys-home-2026 .ys-phase2 .ys-courses__more {
    margin-top: 3.75rem;
  }

  body.ys-home-2026 .ys-courses__more li {
    grid-template-columns: 10rem minmax(0, 1fr);
  }

  body.ys-home-2026 .ys-courses__more li:nth-child(-n + 2) {
    border-top: 0;
    padding-top: 0;
  }

  body.ys-home-2026 .ys-courses__more img {
    width: 10rem;
    height: 10rem;
  }

  body.ys-home-2026 .ys-courses__frame {
    width: 10rem;
    height: 10rem;
  }

  body.ys-home-2026 .ys-courses__frame img {
    transform: scale(1.28);
    transform-origin: center;
  }

  body.ys-home-2026 .ys-teacher__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    grid-template-areas:
      "title image"
      "body image";
    column-gap: 3.5rem;
    row-gap: 1.15rem;
    align-items: center;
  }

  body.ys-home-2026 .ys-teacher h2 {
    grid-area: title;
  }

  body.ys-home-2026 .ys-teacher__copy {
    grid-area: body;
  }

  body.ys-home-2026 .ys-teacher__figure {
    grid-area: image;
    width: min(100%, 26rem);
    aspect-ratio: auto;
    overflow: visible;
  }

  body.ys-home-2026 .ys-teacher__photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

@media (min-width: 960px) {
  body.ys-home-2026 .ys-teacher__layout {
    grid-template-columns: minmax(0, calc((100% - 3.5rem) * 1.05 / 1.95)) minmax(0, 1fr);
    column-gap: 0.25rem;
  }
}

@media (max-width: 799px) {
  body.ys-home-2026 .ys-courses__lead .ys-courses__figure {
    order: -1;
  }

  body.ys-home-2026 .ys-teacher__figure {
    order: -1;
    margin-top: 0.35rem;
  }

  body.ys-home-2026 .ys-teacher h2 {
    order: -2;
  }
}

body.ys-home-2026 .ys-live {
  padding: clamp(2.9rem, 5.8vw, 5.4rem) 0 clamp(3.5rem, 7vw, 6.5rem);
}

body.ys-home-2026 .ys-live__points {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
}

body.ys-home-2026 .ys-phase2 .ys-live__points {
  margin-top: 2.4rem;
}

body.ys-home-2026 .ys-live__points h3 {
  font-size: clamp(1.35rem, 1.6vw, 1.6rem);
}

body.ys-home-2026 .ys-live__points p {
  margin-top: 0.55rem;
  max-width: 22rem;
  color: var(--ys-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.55;
}

body.ys-home-2026 .ys-live > .ys-phase2__wrap > .ys-text-link {
  margin-top: 2.25rem;
  min-height: 44px;
}

body.ys-home-2026 .ys-live .ys-text-link {
  text-decoration: none;
}

body.ys-home-2026 .ys-live .ys-text-link:hover,
body.ys-home-2026 .ys-live .ys-text-link:focus-visible {
  color: #00485c;
}

@media (min-width: 800px) {
  body.ys-home-2026 .ys-live__points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 3rem;
  }
}

body.ys-home-2026 .ys-voices {
  padding: clamp(2.9rem, 5.8vw, 5.4rem) 0 clamp(3.5rem, 7vw, 6.5rem);
  background: var(--ys-field);
}

body.ys-home-2026 .ys-voices__list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem;
  max-width: 42rem;
}

body.ys-home-2026 .ys-phase2 .ys-voices__list {
  margin-top: 1.8rem;
}

body.ys-home-2026 .ys-voices blockquote {
  margin: 0;
  padding: 0;
}

body.ys-home-2026 .ys-voices blockquote p {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ys-ink);
}

body.ys-home-2026 .ys-voices__who {
  margin-top: 1.15rem;
  color: var(--ys-ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (min-width: 1040px) {
  body.ys-home-2026 .ys-voices__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 3rem;
    max-width: none;
  }
}

body.ys-home-2026 .ys-plans {
  padding: clamp(2.9rem, 5.8vw, 5.4rem) 0 clamp(3.5rem, 7vw, 6.5rem);
}

body.ys-home-2026 .ys-plans__layout {
  display: grid;
  gap: 2.75rem;
  margin-top: 2.75rem;
}

body.ys-home-2026 .ys-plans__ondemand {
  display: grid;
  gap: 2.75rem;
}

body.ys-home-2026 .ys-plans__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

body.ys-home-2026 .ys-plans__kicker {
  margin: 0 0 0.7rem;
  min-height: 1.3em;
  color: var(--ys-ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.ys-home-2026 .ys-plans__kicker:empty {
  display: none;
}

body.ys-home-2026 .ys-plans__option--annual .ys-plans__kicker {
  color: var(--ys-teal);
}

body.ys-home-2026 .ys-plans__option h3 {
  font-size: clamp(1.7rem, 2vw, 2rem);
}

body.ys-home-2026 .ys-plans__price {
  margin-top: 0.85rem;
  color: var(--ys-ink);
  font-family: var(--ys-display);
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  font-weight: 300;
  line-height: 1.15;
}

body.ys-home-2026 .ys-plans__facts {
  list-style: none;
  margin-top: 1.35rem;
}

body.ys-home-2026 .ys-plans__facts li {
  padding-top: 0.45rem;
  color: var(--ys-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.45;
}

body.ys-home-2026 .ys-plans__facts li:first-child {
  padding-top: 0;
}

body.ys-home-2026 a.ys-plans__cta {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 11.5rem;
  min-height: 3rem;
  margin-top: 1.35rem;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 3px;
  background: var(--ys-teal);
  box-shadow: none;
  color: #fbfaf6;
  -webkit-text-fill-color: #fbfaf6;
  font-family: var(--ys-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color 180ms ease;
}

body.ys-home-2026 .ys-plans__cta-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

body.ys-home-2026 a.ys-plans__cta:hover,
body.ys-home-2026 a.ys-plans__cta:focus-visible {
  background: #00485c;
  color: #fbfaf6;
  -webkit-text-fill-color: #fbfaf6;
}

body.ys-home-2026 a.ys-plans__cta:hover .ys-plans__cta-arrow,
body.ys-home-2026 a.ys-plans__cta:focus-visible .ys-plans__cta-arrow {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  body.ys-home-2026 a.ys-plans__cta,
  body.ys-home-2026 .ys-plans__cta-arrow {
    transition: none;
  }

  body.ys-home-2026 a.ys-plans__cta:hover .ys-plans__cta-arrow,
  body.ys-home-2026 a.ys-plans__cta:focus-visible .ys-plans__cta-arrow {
    transform: none;
  }
}

@media (min-width: 1040px) {
  body.ys-home-2026 .ys-plans__layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: stretch;
  }

  body.ys-home-2026 .ys-plans__ondemand {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 3rem;
  }

  body.ys-home-2026 .ys-plans__kicker,
  body.ys-home-2026 .ys-plans__kicker:empty {
    display: block;
    min-height: 2.6rem;
  }

  body.ys-home-2026 .ys-plans__option--premium {
    padding-left: 2.75rem;
    border-left: 1px solid rgba(12, 40, 50, 0.16);
  }

  body.ys-home-2026 .ys-plans__option {
    height: 100%;
  }

  body.ys-home-2026 .ys-phase2 .ys-plans__facts {
    margin-bottom: 1.5rem;
  }

  body.ys-home-2026 a.ys-plans__cta {
    margin-top: auto;
  }
}

@media (max-width: 1039px) {
  body.ys-home-2026 .ys-plans__option--premium {
    padding-top: 2.75rem;
    border-top: 1px solid rgba(12, 40, 50, 0.16);
  }
}

body.ys-home-2026 .ys-faq {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(2.5rem, 5vw, 4rem);
}

body.ys-home-2026 .ys-faq__list {
  max-width: 46rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 800px) {
  body.ys-home-2026 .ys-faq__list {
    margin-top: 2.1rem;
  }
}

body.ys-home-2026 .ys-faq h2 {
  max-width: 46rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

body.ys-home-2026 .ys-faq details {
  border-top: 1px solid rgba(12, 40, 50, 0.16);
}

body.ys-home-2026 .ys-faq details:last-child {
  border-bottom: 1px solid rgba(12, 40, 50, 0.16);
}

body.ys-home-2026 .ys-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.5rem;
  padding: 1rem 0;
  list-style: none;
  cursor: pointer;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
}

body.ys-home-2026 .ys-faq summary::-webkit-details-marker {
  display: none;
}

body.ys-home-2026 .ys-faq summary::marker {
  content: "";
}

body.ys-home-2026 .ys-faq__mark {
  flex: 0 0 auto;
  width: 1rem;
  color: var(--ys-ink-soft);
  font-family: var(--ys-sans);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

body.ys-home-2026 .ys-faq__mark::before {
  content: "+";
}

body.ys-home-2026 .ys-faq details[open] .ys-faq__mark::before {
  content: "\2212";
}

body.ys-home-2026 .ys-faq__answer {
  max-width: 40rem;
  margin: 0 0 1.2rem;
  padding-right: 1.75rem;
  color: var(--ys-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
}

body.ys-home-2026 .ys-phase2 .ys-faq__answer {
  margin-bottom: 0.75rem;
}
