.number-puzzle-hero {
  padding: 2.25rem 0;
  border-bottom: 1px solid #65c9cc;
  background: var(--aqua);
}

.number-puzzle-hero-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.number-puzzle-intro h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.hero-lede { max-width: 650px; margin: .9rem 0 1.15rem; font-size: 1rem; }
.number-puzzle-icon {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 24%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgb(23 32 51 / 18%);
}

.store-placeholders { display: flex; flex-wrap: wrap; gap: .8rem; }
.store-placeholders span {
  min-width: 155px;
  padding: .55rem .8rem;
  border: 1px dashed rgb(60 79 118 / 60%);
  border-radius: 5px;
  background: rgb(255 255 255 / 58%);
  color: var(--navy);
  line-height: 1.2;
}
.store-placeholders strong, .store-placeholders small { display: block; }
.store-placeholders small { margin-top: .2rem; color: #4b596a; }

.puzzle-explainer { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: #fff; }
.feature-list article { padding: 1.45rem; border-right: 1px solid var(--line); }
.feature-list article:last-child { border-right: 0; }
.feature-list article > strong { display: block; margin-bottom: 1.2rem; color: var(--berry); font-size: 2rem; line-height: 1; }
.feature-list h3 { margin: 0 0 .5rem; color: var(--navy); font-size: 1rem; line-height: 1.2; }
.feature-list p { margin: 0; color: #4b596a; font-size: .9rem; }

.puzzle-gallery { padding: 3rem 0; background: var(--navy); color: #fff; }
.puzzle-gallery .eyebrow { color: var(--aqua); }
.puzzle-gallery h2 { margin: 0 0 1.5rem; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.035em; }
.phone-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: 1.25rem;
  justify-content: start;
  align-items: start;
}
.phone-row figure { width: 100%; margin: 0; }
.phone-row img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(123 223 226 / 60%);
  border-radius: 12px;
}
.phone-row figcaption { padding-top: .6rem; color: #dfe7ec; font-size: .9rem; }

.bridge-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 3rem; align-items: center; }
.bridge-copy { max-width: 690px; }
.bridge-copy p:not(.eyebrow) { color: #4b596a; }
.equation-art { display: grid; grid-template-columns: repeat(7, auto); gap: .5rem; align-items: center; justify-content: center; padding: 2rem; background: var(--yellow); color: var(--navy); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 900; }
.equation-art span { display: grid; width: 2.3em; aspect-ratio: 1; place-items: center; border: 3px solid var(--navy); border-radius: 18%; background: #fff; }
.equation-art strong { color: var(--green); }

.final-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding-top: 2rem; }
.final-cta > div:first-child { max-width: 720px; }
.final-cta p:not(.eyebrow) { color: #4b596a; }
.final-links { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.final-links > a:not(.button) { color: var(--navy); font-weight: 700; }

@media (max-width: 820px) {
  .puzzle-explainer, .bridge-section { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-list article:last-child { border-bottom: 0; }
  .equation-art { justify-self: stretch; }
}

@media (max-width: 560px) {
  .number-puzzle-hero { padding: 1.5rem 0; }
  .number-puzzle-hero-grid { grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; }
  .number-puzzle-icon { width: 72px; height: 72px; }
  .number-puzzle-intro h1 { font-size: clamp(1.75rem, 9vw, 2.4rem); }
  .hero-lede { margin: .7rem 0 1rem; }
  .store-placeholders span { flex: 1 1 140px; min-width: 0; }
  .bridge-section { gap: 1.5rem; }
  .equation-art { gap: .25rem; padding: 1.2rem .7rem; font-size: 1.05rem; }
  .final-cta { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
