/* =========================================
   Schools, Nursery & PTA - new layout
   Depends on core.css and mnt-basket.css.
   Part 1 copies shared components (FAQ, footer CTA bar).
   Part 2 holds the page-specific styles, scoped to .pta-page.
   ========================================= */

/* =========================================
   PART 1 - SHARED COMPONENTS (copied)
   ========================================= */

.mn-faq-container {
  display: grid;
  grid-template-columns: 0.6fr 2fr;
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: start;
}

.mn-faq-items {
  display: flex;
  gap: clamp(5px, 1vw, 30px);
}

.mn-faq-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vw, 15px);
}

.mn-faq-title {
  font-size: clamp(1.5625rem, 0.8523rem + 3.5511vw, 3.125rem);
  margin-bottom: 20px;
}

.mn-faq-desc {
  margin-bottom: 20px;
  max-width: 19rem;
}

.mn-faq-btn {
  background: var(--information-color);
  font-size: 16px;
}

.mn-faq-card {
  background: var(--overlay-bg-blur);
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.mn-faq-card:hover {
  transform: translateY(-0.2rem);
}

.mn-faq-toggle {
  display: none;
}

.mn-faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: clamp(15px, 2vw, 30px) clamp(15px, 2vw, 45px);
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: clamp(0.9375rem, 0.8333rem + 0.463vw, 1.25rem);
  background-color: var(--accordiansandboxes-color);
  cursor: pointer;
  user-select: none;
}

.mn-icon {
  position: relative;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.mn-icon::before, .mn-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-black);
  transition: transform 0.3s var(--curve);
}

.mn-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.mn-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mn-faq-toggle:checked + .mn-faq-summary .mn-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.mn-faq-animator {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--curve);
}

.mn-faq-toggle:checked ~ .mn-faq-animator {
  max-height: 500px;
}

.mn-faq-animator p {
  padding: clamp(15px, 2vw, 30px) clamp(15px, 2vw, 45px);
  padding-bottom: clamp(6px, 1vw, 15px);
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease 0.1s;
}

.mn-faq-toggle:checked ~ .mn-faq-animator p {
  opacity: 1;
}

.footer-cta-bar {
  background-color: #ffd578;
  padding: 28px 0;
  text-align: center;
}

.footer-cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: nowrap;
}

.footer-cta-text {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(18px, calc(6px + 2.34375vw), 26px);
  font-weight: 800;
  color: black;
  margin: 0;
}

.footer-cta-btn {
  background-color: var(--button-color);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: clamp(15px, 1.25vw, 18px);
  transition: background 0.3s;
  display: inline-block;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-family: "Quicksand", sans-serif;
}

.footer-cta-btn:hover {
  background-color: #d61b3c;
}

@media (max-width: 1920px) {
  .mn-faq-items {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .mn-icon {
    width: 0.6rem;
    height: 0.6rem;
  }

  .mn-faq-container {
    grid-template-columns: 1fr;
  }

  .mn-faq-sidebar {
    text-align: center;
  }

  .mn-faq-desc, .mn-faq-btn {
    display: none;
  }

  .mn-faq-title {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .footer-cta-bar {
    padding: 18px 0;
  }

  .footer-cta-container {
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-cta-btn {
    padding: 10px 12px;
    font-size: clamp(11px, 3vw, 13px);
    white-space: normal;
  }
}

/* =========================================
   PART 2 - PAGE STYLES
   ========================================= */

.pta-page {
  --pta-cream: #fdf8e8; /* same as --bts-cream on back-to-school */
  --pta-yellow: #ffe98a;
  --pta-pink: #fde8ec;
  --pta-pink-dark: #ed5a78;
  --pta-yellow-card: #fff6d6;
  --pta-green: #eaf5e4;
  --pta-green-dark: #427742;
  --pta-grey-bg: #f6f4f1;
  --pta-radius: clamp(10px, 1.2vw, 18px);
  overflow-x: hidden;
}

.pta-subheading {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  margin: clamp(25px, 3vw, 40px) 0 clamp(14px, 1.5vw, 20px);
  text-align: center;
}

/* Section title + subtitle - matches .mnt-tiny-items on the Ministickers page */
.pta-section-title {
  margin-bottom: clamp(15px, 4vw, 20px);
}

.pta-section-sub {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 30px;
  font-size: clamp(14px, 1.11vw, 16px);
}

/* ---------- Hero ---------- */

/* Matches .bts-hero on the back-to-school page */
.pta-hero__inner {
  background: var(--pta-cream);
  padding: clamp(28px, 4vw, 64px) clamp(24px, 1.67vw, 32px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.pta-hero__inner > * {
  min-width: 0;
}

/* Keep the hero the same height as back-to-school: its right column is a 3:2 photo,
   so an invisible 3:2 box sits behind the calculator to set the same minimum height */
.pta-hero__content {
  grid-column: 1;
  grid-row: 1;
}

.pta-calc,
.pta-hero__image {
  grid-column: 2;
  grid-row: 1;
}

/* Hero photo (pages without the calculator) - matches .bts-hero__image */
.pta-hero__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--pta-radius);
  border: clamp(4px, 0.5vw, 8px) solid var(--color-white);
}

/* "10% off" badge on the hero photo (school ID discount pages) */
.pta-hero__image {
  position: relative;
}

.pta-hero__deal {
  position: absolute;
  top: clamp(-18px, -1.2vw, -10px);
  right: clamp(-10px, -0.8vw, -6px);
  z-index: 1;
  width: clamp(92px, 9vw, 130px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--button-color);
  color: var(--color-white);
  border: 3px solid var(--color-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transform: rotate(8deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.15;
}

.pta-hero__deal strong {
  display: block;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem);
  color: var(--color-white);
}

.pta-hero__inner::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 3 / 2;
}

.pta-hero__badge {
  display: inline-block;
  max-width: 100%;
  line-height: 1.4;
  background: var(--pta-yellow);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: clamp(0.6875rem, 0.6339rem + 0.2679vw, 0.875rem);
  font-weight: 600;
  margin-bottom: clamp(14px, 2vw, 24px);
}

.pta-hero__title {
  font-size: clamp(1.75rem, 1.1607rem + 2.9464vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: clamp(12px, 1.5vw, 20px);
}

.pta-hero__sub {
  font-size: clamp(0.875rem, 0.8214rem + 0.2679vw, 1.0625rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: clamp(18px, 2.5vw, 32px);
}

.pta-hero__btn {
  font-size: clamp(0.75rem, 0.6786rem + 0.3571vw, 1rem);
  padding: clamp(10px, 1vw, 14px) clamp(18px, 1.8vw, 28px);
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.pta-hero__small {
  margin-top: clamp(12px, 1.5vw, 18px);
  font-size: clamp(0.75rem, 0.7143rem + 0.1786vw, 0.875rem);
  color: var(--text-muted);
}

.pta-hero__parent {
  margin-top: clamp(10px, 1.2vw, 16px);
  padding-top: clamp(8px, 1vw, 12px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 34rem;
  font-size: clamp(0.75rem, 0.7143rem + 0.1786vw, 0.875rem);
}

.pta-hero__parent a,
.pta-parent-copy {
  color: var(--text-color);
  font-weight: inherit;
  text-underline-offset: 2px;
  text-decoration: underline;
}

/* Text-style button that copies a message for parents to share */
.pta-parent-copy {
  font: inherit;
  padding: 0;
  text-underline-offset: 2px;
}

.pta-parent-copy__msg {
  display: block;
  margin-top: 6px;
  color: var(--pta-green-dark);
  font-weight: 700;
}

.pta-parent-copy__msg:empty {
  display: none;
}

/* ---------- Calculator ---------- */

.pta-calc {
  position: relative;
  padding-right: clamp(0px, 10vw, 150px);
}

.pta-calc__card {
  background: var(--color-white);
  border-radius: var(--pta-radius);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: clamp(18px, 1.8vw, 28px);
  position: relative;
  z-index: 1;
}

.pta-calc__title {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  margin-bottom: clamp(12px, 1.2vw, 20px);
}

.pta-calc__label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 8px;
}

.pta-calc__label output {
  color: var(--text-color);
  font-weight: 700;
  font-family: "Quicksand", sans-serif;
  font-size: 1.15em;
}

.pta-calc__range {
  width: 100%;
  accent-color: #333333;
  margin-bottom: clamp(8px, 0.8vw, 14px);
  cursor: pointer;
}

.pta-calc__rows {
  margin: 0;
}

.pta-calc__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: clamp(6px, 0.65vw, 11px) 0;
  border-bottom: 1px solid var(--border-color);
}

.pta-calc__row dd {
  font-weight: 700;
  margin: 0;
  white-space: nowrap; /* keep the old and new price together */
}

.pta-calc__hint {
  font-size: 0.85em;
  color: var(--text-muted);
}

.pta-calc__was {
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 4px;
}

.pta-calc__row--total {
  border-bottom: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
}

.pta-calc__row--total dd {
  color: var(--button-color);
  font-size: 1.3em;
}

.pta-calc__buy {
  background: var(--pta-yellow-card);
  border: 1px solid var(--pta-yellow);
  border-radius: 8px;
  padding: clamp(8px, 0.75vw, 13px) clamp(12px, 1vw, 16px);
  margin-top: clamp(8px, 0.75vw, 13px);
}

.pta-calc__buy-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.pta-calc__buy p {
  font-weight: 700;
}

.pta-calc__note {
  margin-top: clamp(8px, 0.8vw, 14px);
  font-size: 12px;
  color: var(--text-muted);
}

.pta-calc__teddy {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: clamp(110px, 11vw, 160px);
  z-index: 2;
}

/* ---------- USP bar ---------- */

.pta-usps {
  padding: clamp(16px, 2vw, 26px) 0;
}

.pta-usps__list {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
}

.pta-usps__list li {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 clamp(6px, 1vw, 15px);
  /* Same type as the homepage .feature-text */
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: clamp(0.5625rem, 0.4018rem + 0.8036vw, 1.125rem);
  line-height: 1.2;
}

/* Line breaks that only apply on desktop or on mobile */
.br-mobile {
  display: none;
}

/* Short divider between USPs */
.pta-usps__list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 32px;
  background: var(--border-color);
  transform: translateY(-50%);
}

.pta-usps__list img {
  /* Same height for every icon; wide ones (van, badge) keep their width */
  width: auto;
  height: 32px;
  max-width: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---------- How it works ---------- */

.pta-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(15px, 2vw, 30px);
  max-width: 1200px;
  margin: 0 auto;
}

.pta-step {
  border-radius: var(--pta-radius);
  padding: clamp(20px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pta-step--pink { background: var(--pta-pink); }
.pta-step--yellow { background: var(--pta-yellow-card); }
.pta-step--green { background: var(--pta-green); }

.pta-step__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.pta-step__head img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.pta-step__head h3 {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem);
}

.pta-step a:not(.btn) {
  text-decoration: underline;
}

/* Button and tags share one size so the three boxes line up */
.pta-step__btn,
.pta-step__tag {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 211px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.pta-step__btn {
  background: var(--pta-pink-dark);
}

/* Step 2 button (MT) - the step's yellow, with dark text so it stays readable */
.btn.pta-step__btn--yellow {
  background: #fec729;
  color: var(--text-color);
}

.pta-step__tag {
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.pta-step--yellow .pta-step__tag { border: 1px solid var(--pta-yellow); }
.pta-step--green .pta-step__tag { border: 1px solid #bcdcae; color: var(--pta-green-dark); }

.pta-checkout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(15px, 3vw, 40px);
  align-items: center;
  max-width: 1200px;
  margin: clamp(20px, 2.5vw, 35px) auto 0;
  padding: clamp(16px, 2vw, 28px);
  border: 1px dashed var(--border-color);
  border-radius: var(--pta-radius);
}

/* Heading on its own line above the description */
.pta-checkout__text strong {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  margin-bottom: 4px;
}

/* Checkout screenshot shown inside a simple browser window,
   so it reads as a picture of the checkout rather than a form on this page */
.pta-checkout__shot {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: #f9f9f9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.pta-browser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #ececec;
  border-bottom: 1px solid var(--border-color);
}

.pta-browser__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.pta-browser__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.pta-browser__dots i:nth-child(2) { background: #febc2e; }
.pta-browser__dots i:nth-child(3) { background: #28c840; }

.pta-browser__url {
  flex: 1;
  max-width: 280px;
  padding: 3px 12px;
  background: var(--color-white);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pta-checkout__img {
  display: block;
  width: 100%;
}

/* ---------- Stats + benefits ---------- */

.pta-impact {
  background: var(--pta-cream);
  padding: clamp(35px, 5vw, 80px) 0;
}

.pta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto clamp(35px, 5vw, 70px);
  text-align: center;
}

.pta-stats li {
  background: var(--color-white);
  border-radius: var(--pta-radius);
  padding: clamp(16px, 2vw, 28px) 10px;
}

.pta-stats__num {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.8rem);
  /* Deeper shade of the tick orange (#ed8f32) so it stays readable on white */
  color: #d9731a;
  line-height: 1.1;
}

.pta-stats__label {
  font-weight: 700;
  color: var(--text-muted);
}

/* Lost property problem (pages without fundraising) - stats on a white background */
.pta-problem .pta-stats {
  margin-bottom: 16px;
}

/* Boxes use the How it works card colours; numbers go dark grey to stay readable */
.pta-problem .pta-stats li:nth-child(1) { background: var(--pta-pink); }
.pta-problem .pta-stats li:nth-child(2) { background: var(--pta-yellow-card); }
.pta-problem .pta-stats li:nth-child(3) { background: var(--pta-green); }

.pta-problem .pta-stats__num {
  color: var(--text-color);
}

.pta-problem__source {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* "Whose is this?" speech bubble */
.pta-bubble {
  text-align: center;
  margin-top: clamp(30px, 4vw, 50px);
}

.pta-bubble__speech {
  position: relative;
  display: inline-block;
  background: var(--pta-yellow);
  border-radius: 24px;
  padding: clamp(12px, 1.2vw, 18px) clamp(24px, 2.5vw, 36px);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 2rem);
  margin-bottom: 22px;
}

/* Bubble tail */
.pta-bubble__speech::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 24px;
  height: 24px;
  background: var(--pta-yellow);
  border-radius: 0 0 6px 0;
  transform: translateX(-50%) rotate(45deg);
}

.pta-bubble__caption {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  color: var(--text-muted);
}

.pta-benefits {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(25px, 5vw, 90px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.pta-benefits__intro p {
  margin-bottom: 22px;
}

.pta-benefits__btn {
  font-size: 15px;
}

.pta-benefits__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pta-benefits__list li {
  padding-left: 42px;
  background: url("/static/img/pta-assets/tickmark.svg") no-repeat left 3px / 26px auto;
}

.pta-benefits__list h3 {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  margin-bottom: 2px;
}

/* Teacher quotes - two compact cards under the benefits */
.pta-quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(15px, 2vw, 25px);
  max-width: 1100px;
  margin: clamp(30px, 4vw, 55px) auto 0;
}

.pta-quote {
  margin: 0;
  background: var(--color-white);
  border-radius: var(--pta-radius);
  padding: clamp(18px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pta-quote blockquote {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  line-height: 1.45;
  flex-grow: 1;
}

.pta-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.pta-quote figcaption img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pta-quote strong {
  color: var(--text-color);
}

.pta-quote small {
  display: block;
  font-size: 12px;
}

/* ---------- Resources ---------- */

.pta-resources {
  padding: clamp(35px, 5vw, 80px) 0 0;
}

/* Straight after How it works (BE, MT) the section spacing already gives the gap */
.pta-how + .pta-resources {
  padding-top: 0;
}

.pta-resources__box {
  background: var(--pta-grey-bg);
  border-radius: var(--pta-radius);
  padding: clamp(25px, 4vw, 60px) clamp(15px, 3vw, 50px);
  max-width: 1300px;
  margin: 0 auto;
}

/* When to share - horizontal timeline, vertical on mobile */
.pta-timeline {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.pta-timeline::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--pta-yellow);
}

.pta-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.pta-timeline__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  border: 4px solid var(--button-color);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

/* Each moment gets its own dot colour, matching the How it works step icons */
.pta-timeline li:nth-child(1) .pta-timeline__dot { border-color: #ff577b; }
.pta-timeline li:nth-child(2) .pta-timeline__dot { border-color: #fec729; }
.pta-timeline li:nth-child(3) .pta-timeline__dot { border-color: #50ba69; }
.pta-timeline li:nth-child(4) .pta-timeline__dot { border-color: var(--information-color); }

.pta-timeline__when {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.pta-timeline__title {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
}

.pta-timeline__what {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 15rem;
}

.pta-res-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.pta-res {
  background: var(--color-white);
  border-radius: 10px;
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  align-items: center;
}

.pta-res img {
  height: 43px;
  width: auto;
  margin-bottom: 6px;
}

.pta-res h4 {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
}

.pta-res p {
  font-size: 14px;
  flex-grow: 1;
}

.pta-res__link {
  margin-top: 6px;
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid var(--button-color);
  border-radius: 6px;
  color: var(--button-color);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.3s, color 0.3s;
}

.pta-res__link:hover,
.pta-templates-toggle[aria-expanded="true"],
.pta-caption-toggle[aria-expanded="true"] {
  background: var(--button-color);
  color: var(--color-white);
}

.pta-templates-panel {
  position: relative;
  margin-top: 20px;
  padding: clamp(18px, 2vw, 28px);
  background: var(--color-white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  scroll-margin: 20px;
  animation: pta-panel-in 0.3s var(--curve);
}

.pta-templates-panel[hidden] {
  display: none;
}

@keyframes pta-panel-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.pta-templates-panel__head {
  padding-right: 40px;
  margin-bottom: 16px;
}

.pta-templates-panel__head h4 {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  margin-bottom: 2px;
}

.pta-templates-panel__head p {
  font-size: 14px;
  color: var(--text-muted);
}

.pta-templates-panel__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--text-color);
  transition: background 0.2s;
}

.pta-templates-panel__close:hover {
  background: var(--pta-grey-bg);
}

.pta-templates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.pta-template {
  background: var(--color-white);
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pta-template h4 {
  font-size: 1rem;
}

.pta-template__text {
  font-size: 14px;
  flex-grow: 1;
}

.pta-template__copy {
  align-self: flex-start;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-white);
  /* Dark grey, like .mnt-other-products-btn on the product pages */
  background: #333333;
  border-radius: 6px;
  padding: 6px 18px;
  transition: background 0.3s;
}

.pta-template__copy:hover {
  background: #000;
}

.pta-resources__end {
  text-align: center;
  margin-top: 30px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .pta-calc {
    padding-right: 0;
    padding-bottom: 110px; /* teddy sits below the card, only overlapping its bottom padding */
  }

  .pta-calc__teddy {
    width: 90px;
    bottom: -10px;
    right: 0;
  }

  .pta-steps {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .pta-templates {
    grid-template-columns: 1fr;
  }

  .pta-res-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pta-checkout,
  .pta-benefits {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

@media (max-width: 767px) {
  .pta-hero {
    background: var(--pta-cream);
    padding: 28px 0;
  }

  .pta-hero__inner {
    grid-template-columns: 1fr;
    background: none;
    padding: 0;
  }

  .pta-hero__content,
  .pta-calc,
  .pta-hero__image {
    grid-column: auto;
    grid-row: auto;
  }

  /* Photo first on mobile, as on back-to-school */
  .pta-hero__image {
    order: -1;
  }

  .pta-hero__inner::after {
    display: none;
  }

  .pta-hero__content {
    text-align: center;
  }

  .pta-hero__sub,
  .pta-hero__parent {
    margin-inline: auto;
  }

  /* Teddy hidden on mobile - it made the hero longer without adding much */
  .pta-calc {
    padding-bottom: 0;
  }

  .pta-calc__teddy {
    display: none;
  }

  /* Top-align every item so icons and first text lines share a row */
  .pta-usps__list {
    align-items: stretch;
    margin-inline: -8px; /* use some of the page gutter so the text has more room */
  }

  .br-mobile {
    display: inline;
  }

  .br-desktop {
    display: none;
  }

  .pta-usps__list li {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 6px;
    padding: 0 2px;
  }

  /* Divider spans the full height of the tallest item */
  .pta-usps__list li + li::before {
    top: 0;
    bottom: 0;
    height: auto;
    transform: none;
  }

  .pta-usps__list img {
    height: 26px;
    max-width: 44px;
  }

  .pta-stats,
  .pta-quotes {
    grid-template-columns: 1fr;
  }

  .pta-benefits__intro {
    text-align: center;
  }

  .pta-timeline {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-left: 34px;
    max-width: 420px;
  }

  .pta-timeline::before {
    display: none;
  }

  /* Line runs from each dot down to the next one */
  .pta-timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -25px;
    top: 20px;
    bottom: -22px;
    width: 2px;
    background: var(--pta-yellow);
  }

  .pta-timeline li {
    align-items: flex-start;
    text-align: left;
  }

  .pta-timeline__dot {
    position: absolute;
    left: -34px;
    top: 0;
    margin: 0;
  }

  .pta-timeline__what {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .pta-res-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- School ID email reveal (replaces the button when clicked) ---------- */

.js-school-id[hidden],
.pta-email-reveal[hidden] {
  display: none !important;
}

.pta-email-reveal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-height: 46px;
  padding: 6px 6px 6px 16px;
  background: var(--color-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-color);
  animation: pta-panel-in 0.3s var(--curve);
}

.pta-email-reveal a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pta-email-reveal__copy {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-white);
  background: #333333;
  border-radius: 6px;
  padding: 7px 16px;
  transition: background 0.3s;
}

.pta-email-reveal__copy:hover {
  background: #000;
}

/* Step 1 card - sits at the bottom like the button did */
.pta-step .pta-email-reveal {
  margin-top: auto;
  align-self: flex-start;
}
