/* A-04: package choice and starting actions, not the narrower 2–4 guide. */
.age-package25-page {
  --pkg25-ink: #183255;
  --pkg25-muted: #475b73;
  --pkg25-line: #d9e3ee;
  --pkg25-accent: #6353bc;
  --pkg25-paper: #f6f5fd;
}

.age-package25-page main {
  color: var(--pkg25-ink);
  background: #fff;
  text-align: center;
}

.age-package25-page main :where(h1, h2, h3, p, a) {
  overflow-wrap: break-word;
}

.age-package25-page main :where(h1, h2, h3) {
  font-family: var(--font-display);
  text-wrap: balance;
}

.age-package25-page main :where(p, li) {
  font-size: 1rem;
  line-height: 1.75;
}

.age-package25-page .pkg25-hero {
  padding-block: clamp(1.75rem, 3vw, 3rem);
  background: var(--zv-learning-grid), linear-gradient(145deg, #fff, #faf8ff 55%, #f0f8fd);
}

.age-package25-page :where(.pkg25-hero, .pkg25-section, .pkg25-final-cta)::before,
.age-package25-page :where(.pkg25-hero, .pkg25-section, .pkg25-final-cta)::after {
  content: none;
}

.age-package25-page .breadcrumbs ol,
.age-package25-page .zv-actions {
  justify-content: center;
}

.age-package25-page .pkg25-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.age-package25-page .pkg25-hero-copy h1 {
  max-width: 23ch;
  margin: 0 auto 1.1rem;
  color: var(--pkg25-ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  overflow-wrap: normal;
  word-break: normal;
}

.age-package25-page .pkg25-hero-copy .section-kicker {
  margin: 0 0 0.9rem;
  color: var(--pkg25-accent);
  font-size: .95rem;
  line-height: 1.5;
}

.age-package25-page .pkg25-hero-copy .direct-answer {
  max-width: 45rem;
  margin-inline: auto;
  color: var(--pkg25-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  font-weight: 500;
}

.age-package25-page .pkg25-hero-note {
  max-width: 35rem;
  margin: 1.1rem auto 0;
  color: var(--pkg25-muted);
}

.age-package25-page .pkg25-image-slot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.age-package25-page .pkg25-image-slot :where(picture, img) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.age-package25-page .pkg25-section,
.age-package25-page .pkg25-faq {
  padding-block: clamp(3.5rem, 6vw, 5.4rem);
}

.age-package25-page :where(.pkg25-entry, .pkg25-start, .pkg25-device, .pkg25-faq) {
  background: var(--pkg25-paper);
}

.age-package25-page .pkg25-heading {
  max-width: 58rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.age-package25-page .pkg25-heading h2 {
  margin: 0 0 0.8rem;
  color: var(--pkg25-ink);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
}

.age-package25-page .pkg25-heading p {
  margin: 0;
  color: var(--pkg25-muted);
  font-weight: 650;
}

.age-package25-page .pkg25-grid {
  display: grid;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.1rem;
}

.age-package25-page .pkg25-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.age-package25-page .pkg25-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.age-package25-page .pkg25-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.age-package25-page .pkg25-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  border: 1px solid var(--pkg25-line);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 0.4rem 1.2rem rgb(24 50 85 / 5%);
  text-align: center;
}

.age-package25-page .pkg25-card .zv-skill-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  background: transparent;
}

.age-package25-page .pkg25-card .zv-skill-icon img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.age-package25-page .pkg25-card h3,
.age-package25-page .pkg25-guide-note h3 {
  margin: 0 0 0.75rem;
  color: var(--pkg25-ink);
  font-size: 1.28rem;
  line-height: 1.3;
}

.age-package25-page .pkg25-card p {
  width: 100%;
  margin: 0;
  color: var(--pkg25-muted);
}

.age-package25-page .pkg25-card .pkg25-card-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pkg25-line);
  font-size: 1rem;
}

.age-package25-page .pkg25-age-number {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1rem;
  border: 1px solid #d6d0ed;
  border-radius: 0.85rem;
  background: #f0edfb;
  color: #51429d;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
}

.age-package25-page .pkg25-note,
.age-package25-page .pkg25-guide-note {
  max-width: 70rem;
  margin: 1.7rem auto 0;
  padding: 1.2rem clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--pkg25-line);
  border-radius: 1.1rem;
  background: #fff;
  color: var(--pkg25-muted);
  text-align: center;
}

.age-package25-page .pkg25-guide-note p { margin: 0; }

.age-package25-page .pkg25-guide-note a {
  color: #4c4195;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.age-package25-page .pkg25-support-image {
  max-width: 74rem;
  margin: clamp(2rem, 5vw, 4rem) auto 0;
}

.age-package25-page .pkg25-support-image figcaption {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: var(--pkg25-muted);
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}

.age-package25-page .pkg25-card-button {
  width: 100%;
  max-width: 25rem;
  min-height: 3.25rem;
  margin-top: auto;
  margin-inline: auto;
}

/* The accepted tracer supplies the single visible action outline. */
.age-package25-page #main-content .btn.zv-trace-action {
  border-color: transparent;
}

.age-package25-page .pkg25-divider {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 34rem);
  height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.age-package25-page .pkg25-divider::before {
  content: "";
  position: absolute;
  inset-inline: 2rem;
  top: 50%;
  height: 0.18rem;
  background: linear-gradient(90deg, #6353bc, #377fc5, #269d8e, #de7463);
}

.age-package25-page .pkg25-divider::after {
  content: none;
}

.age-package25-page .pkg25-divider span {
  position: relative;
  width: 4.2rem;
  height: 4.2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--pkg25-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 0.35rem 0.9rem rgb(24 50 85 / 7%);
}

.age-package25-page .pkg25-divider img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.age-package25-page .pkg25-faq .pkg25-heading::before {
  content: none;
  display: none;
}

.age-package25-page .pkg25-device .pkg25-card > p,
.age-package25-page .pkg25-card .pkg25-package-rule {
  margin-bottom: 1.5rem;
}

.age-package25-page .pkg25-card .pkg25-package-rule {
  margin-top: 1.2rem;
  color: #51429d;
  font-weight: 800;
}

.age-package25-page .pkg25-faq .faq-grid {
  display: block;
  max-width: 76rem;
}

.age-package25-page .pkg25-faq .faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.8rem;
}

.age-package25-page .pkg25-faq details {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--pkg25-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: none;
}

.age-package25-page .pkg25-faq summary {
  min-height: 4.8rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--pkg25-ink);
  font-size: 1rem;
  line-height: 1.5;
  text-align: start;
  cursor: pointer;
}

html[lang] .age-package25-page #main-content .pkg25-faq summary::after {
  content: "+";
  width: 2.15rem;
  height: 2.15rem;
  min-width: 2.15rem;
  display: grid;
  place-items: center;
  flex: 0 0 2.15rem;
  margin-inline-start: auto;
  padding: 0;
  background-image: none;
  color: #51429d;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  transform: none;
  transition: none;
}

html[lang] .age-package25-page #main-content .pkg25-faq details[open] summary::after {
  content: "−";
  background-image: none;
  transform: none;
}

.age-package25-page .pkg25-faq details > p {
  padding: 0.9rem 1.1rem 1.1rem;
  color: var(--pkg25-muted);
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}

.age-package25-page .pkg25-final-cta h2 { max-width: 23ch; }
.age-package25-page .pkg25-final-cta p { max-width: 48rem; }

.age-package25-page main :where(a, summary):focus-visible {
  outline: 3px solid #51429d;
  outline-offset: 4px;
}

.age-package25-page .pkg25-final-cta a:focus-visible {
  outline-color: #fff;
}

@media (max-width: 72rem) {
  .age-package25-page .pkg25-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .age-package25-page .pkg25-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 52rem) {
  .age-package25-page .pkg25-hero-grid { grid-template-columns: 1fr; }
  .age-package25-page .pkg25-hero-copy h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); }
  .age-package25-page .pkg25-grid-two,
  .age-package25-page .pkg25-grid-three,
  .age-package25-page .pkg25-grid-four,
  .age-package25-page .pkg25-faq .faq-list { grid-template-columns: 1fr; }
  .age-package25-page .pkg25-hero .zv-actions { flex-direction: column; align-items: stretch; }
  .age-package25-page .pkg25-card h3 { max-width: 25ch; margin-inline: auto; }
  .age-package25-page .pkg25-card { padding: 1.5rem 1.2rem; }
  .age-package25-page .pkg25-heading h2 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .age-package25-page #main-content .zv-trace-action::before {
    animation: none !important;
  }

  .age-package25-page main *,
  .age-package25-page main *::before,
  .age-package25-page main *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Hero rhythm: natural words, a readable lead and uncropped artwork. */
.age-package25-page .pkg25-hero .breadcrumbs { margin-block-end: 1.5rem; }
.age-package25-page .pkg25-hero .zv-actions { gap: .75rem; margin-block-start: 1.25rem; }
.age-package25-page .pkg25-hero .zv-actions .btn { min-height: 3rem; padding: .75rem 1rem; font-size: .95rem; line-height: 1.45; }
.age-package25-page .pkg25-hero-copy { min-width: 0; }
@media (min-width: 52.01rem) and (max-width: 68rem) {
  .age-package25-page .pkg25-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 1.5rem; }
  .age-package25-page .pkg25-hero-copy h1 { font-size: clamp(1.85rem, 3.1vw, 2.35rem); }
}
@media (max-width: 52rem) {
  .age-package25-page .pkg25-hero { padding-block: 1.75rem 2.5rem; }
  .age-package25-page .pkg25-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .age-package25-page .pkg25-hero-copy h1 { max-width: 25ch; font-size: clamp(1.9rem, 7.7vw, 2.6rem); line-height: 1.2; }
  .age-package25-page .pkg25-hero .direct-answer { font-size: 1rem; line-height: 1.7; }
  .age-package25-page .pkg25-hero .breadcrumbs { margin-block-end: 1.25rem; }
}

/* Compact desktop keeps the hero actions above the fold without hiding content. */
@media (min-width: 52.01rem) and (max-height: 820px) {
  .age-package25-page .pkg25-hero { padding-block: 1.75rem; }
  .age-package25-page .pkg25-hero-copy h1 { font-size: clamp(2rem, 2.8vw, 2.75rem); }
  .age-package25-page .pkg25-hero .breadcrumbs { margin-block-end: 1.125rem; }
  .age-package25-page .pkg25-hero .zv-actions { margin-block-start: 1rem; }
  .age-package25-page .pkg25-hero .pkg25-icon { width: 3rem; height: 3rem; margin: 0 auto .6rem; }
  .age-package25-page .pkg25-hero .pkg25-icon img { width: 2.5rem; height: 2.5rem; }
}
