.edu-page {
  --edu-navy: #12334a;
  --edu-sky: #eef8ff;
  --edu-warm: #fff8e7;
}

.edu-page .site-header {
  scroll-margin-top: 0;
}

.edu-page .nav-home {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.edu-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(34px, 5vw, 80px);
  min-height: calc(100svh - 180px);
  padding: clamp(48px, 7vw, 94px) clamp(20px, 5vw, 76px) 54px;
  overflow: hidden;
}

.edu-hero-copy {
  max-width: 760px;
}

.edu-hero h1 {
  color: var(--ink);
  font-size: clamp(62px, 8vw, 118px);
}

.edu-hero-lead,
.edu-heading > p:last-child,
.outcomes-copy > p:last-child {
  color: var(--muted);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.4;
}

.edu-hero-visual img {
  width: 100%;
  filter: drop-shadow(0 24px 48px rgba(27, 40, 54, 0.12));
}

.edu-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.edu-facts div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 116px;
  padding: 26px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.edu-facts div:last-child {
  border-right: 0;
}

.edu-facts strong {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.edu-facts span {
  color: var(--muted);
  font-weight: 850;
}

.edu-section-block {
  scroll-margin-top: 108px;
  padding: clamp(70px, 8vw, 110px) clamp(20px, 5vw, 76px);
}

.edu-heading {
  max-width: 980px;
  margin-bottom: 44px;
}

.edu-heading h2,
.outcomes-copy h2,
.edu-cta h2 {
  font-size: clamp(40px, 5.8vw, 78px);
}

.edu-why {
  background: #fff;
}

.edu-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.edu-benefit-grid article {
  min-height: 286px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.edu-benefit-grid p,
.uses-grid p,
.variant-copy > p,
.start-steps p {
  color: var(--muted);
  font-size: 18px;
}

.edu-symbol {
  display: block;
  width: 52px;
  aspect-ratio: 1;
  margin-bottom: 24px;
  border-radius: 6px;
}

.symbol-blue {
  background: var(--blue);
}

.symbol-red {
  background: var(--red);
  border-radius: 50%;
}

.symbol-green {
  background: var(--green);
  transform: rotate(45deg);
}

.symbol-yellow {
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 32%, 95% 20%, 76% 50%, 95% 80%, 61% 68%, 50% 100%, 39% 68%, 5% 80%, 24% 50%, 5% 20%, 39% 32%);
}

.edu-path {
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.variant-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.variant-media {
  display: grid;
  height: 260px;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.variant-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-media.portrait-media img {
  object-fit: contain;
  object-position: top center;
}

.variant-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.variant-number {
  margin-bottom: 12px;
  color: var(--blue) !important;
  font-size: 14px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.variant-copy dl {
  display: grid;
  gap: 0;
  margin: 10px 0 26px;
}

.variant-copy dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.variant-copy dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.variant-copy dd {
  margin: 0;
  font-weight: 800;
}

.text-link {
  margin-top: auto;
  padding-top: 4px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link::after {
  content: " ↓";
}

.edu-outcomes {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  color: #fff;
  background: var(--edu-navy);
}

.edu-outcomes .eyebrow {
  color: #74c6ff;
}

.edu-outcomes .outcomes-copy > p:last-child {
  color: #d7e5ee;
}

.outcomes-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.outcomes-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.outcomes-list strong {
  color: #fff;
  font-size: 20px;
}

.outcomes-list span {
  color: #d7e5ee;
  font-size: 18px;
}

.edu-uses {
  background: #fff;
}

.uses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.uses-grid article {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 8px solid var(--blue);
  border-radius: 8px;
  background: #fff;
}

.uses-grid article:nth-child(2) { border-top-color: var(--red); }
.uses-grid article:nth-child(3) { border-top-color: var(--green); }
.uses-grid article:nth-child(4) { border-top-color: var(--orange); }

.uses-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.edu-start {
  border-block: 1px solid var(--line);
  background: var(--edu-warm);
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.start-steps li {
  position: relative;
  display: grid;
  grid-template-rows: 64px auto;
  gap: 18px;
  padding-right: 28px;
}

.start-steps li::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 64px;
  right: 0;
  height: 2px;
  background: #e7c976;
}

.start-steps li:last-child::after {
  display: none;
}

.start-steps li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.edu-materials {
  background: #fff;
}

.download-strip {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.download-strip > h3 {
  margin-bottom: 22px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-grid a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 4px 16px;
  min-width: 0;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease;
}

.download-grid a:hover,
.resource-links a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.download-grid a > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.download-grid strong {
  align-self: end;
  font-size: 19px;
  line-height: 1.15;
}

.download-grid small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 700;
}

.resource-groups {
  display: grid;
  gap: 62px;
  margin-top: 72px;
}

.resource-groups > section {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
}

.resource-title h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-links a {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease;
}

.resource-links a::after {
  content: "↗";
  align-self: flex-end;
  margin-top: 14px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.resource-links span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.resource-links strong {
  font-size: 20px;
  line-height: 1.18;
}

.edu-faq {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.faq-list {
  max-width: 1040px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 54px 25px 0;
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 820px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 18px;
}

.edu-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding: clamp(70px, 8vw, 108px) clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--edu-sky);
}

.edu-cta > div:first-child {
  max-width: 1000px;
}

.edu-cta-actions {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

@media (max-width: 1120px) {
  .edu-benefit-grid,
  .uses-grid,
  .start-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .variant-grid {
    grid-template-columns: 1fr;
  }

  .variant-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  }

  .variant-media {
    height: 100%;
    min-height: 420px;
  }

  .start-steps {
    gap: 28px 0;
  }

  .start-steps li:nth-child(2)::after,
  .start-steps li:last-child::after {
    display: none;
  }

  .download-grid,
  .resource-links {
    grid-template-columns: 1fr;
  }

  .resource-links a {
    min-height: 132px;
  }

  .edu-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .edu-hero,
  .edu-outcomes,
  .resource-groups > section {
    grid-template-columns: 1fr;
  }

  .edu-hero {
    min-height: 0;
  }

  .edu-hero-visual {
    max-width: 760px;
  }

  .edu-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-facts div:nth-child(2) {
    border-right: 0;
  }

  .edu-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .resource-groups > section {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .edu-page .nav-home {
    margin-top: 6px;
    text-align: center;
  }

  .edu-hero h1 {
    font-size: 58px;
  }

  .edu-benefit-grid,
  .uses-grid,
  .start-steps,
  .edu-facts {
    grid-template-columns: 1fr;
  }

  .edu-facts div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .edu-facts div:last-child {
    border-bottom: 0;
  }

  .variant-card {
    display: flex;
  }

  .variant-media {
    height: 250px;
    min-height: 0;
  }

  .variant-copy {
    padding: 24px;
  }

  .start-steps {
    gap: 26px;
  }

  .start-steps li {
    grid-template-columns: 58px 1fr;
    grid-template-rows: auto;
    gap: 18px;
    padding-right: 0;
  }

  .start-steps li::after {
    display: none;
  }

  .start-steps li > span {
    width: 58px;
  }

  .outcomes-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .download-strip {
    padding: 20px;
  }

  .download-grid a {
    grid-template-columns: 50px 1fr;
  }

  .download-grid a > span {
    width: 50px;
  }

  .resource-links a {
    min-height: 150px;
  }
}
