:root {
  --ink: #173b57;
  --ink-soft: #526c7f;
  --blue: #2f80ed;
  --blue-dark: #155bb5;
  --cyan: #25c8e8;
  --gold: #ffc83d;
  --cream: #fffaf0;
  --paper: #fffdf8;
  --sky: #e8f8ff;
  --line: #d9e7ef;
  --shadow: 0 24px 70px rgba(23,59,87,.15);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255,253,248,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23,59,87,.08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; text-decoration: none; }
.brand-mark { display: block; width: 38px; height: 38px; border-radius: 12px; overflow: hidden; flex: 0 0 38px; box-shadow: 0 6px 16px rgba(9,45,94,.12); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.site-header .button { box-shadow: none; }
.site-header .button:hover { box-shadow: none; transform: none; }
.text-link { font-weight: 800; text-decoration: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 6px 0 #1759a6;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #1759a6; }
.button-small { min-height: 42px; padding: 10px 16px; font-size: 14px; }
.button-large { min-height: 58px; padding: 16px 26px; font-size: 17px; }
.button-ghost { color: var(--blue-dark); background: #fff; border: 2px solid #bcd8ee; box-shadow: none; }
.button-ghost:hover { box-shadow: none; background: #f5fbff; }
.button-light { color: var(--blue-dark); background: #fff; box-shadow: 0 6px 0 rgba(7,74,140,.25); }

.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 100px 0; }
.eyebrow { display: inline-block; color: var(--blue-dark); font-size: 13px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: #dff8ff; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(48px, 7vw, 84px); line-height: .98; letter-spacing: -.045em; }
h2 { margin: 10px 0 18px; font-size: clamp(36px, 5vw, 58px); line-height: 1.02; letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 24px; }
p { color: var(--ink-soft); line-height: 1.65; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 76px);
  padding-top: 70px;
  padding-bottom: 70px;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 78% 38%, rgba(255,255,255,.14) 0, rgba(255,255,255,0) 22%),
    linear-gradient(90deg, #1f61c5 0%, #367fe7 58%, #35b9ef 100%);
  z-index: -1;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .microcopy { color: #fff; }
.hero-copy .eyebrow { color: rgba(255,255,255,.9); }
.hero-lead { max-width: 690px; margin-bottom: 30px; font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .button { box-shadow: 0 8px 0 rgba(13, 81, 160, .35); }
.hero .button-ghost {
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.42);
}
.hero .button-ghost:hover { background: rgba(255,255,255,.16); }
.hero .button-light {
  color: var(--blue-dark);
  background: #fff;
  box-shadow: 0 8px 0 rgba(13, 81, 160, .35);
}
.microcopy { margin: 20px 0 0; font-size: 13px; font-weight: 700; }
.hero-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 12% 5% 8%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(232,251,255,.9) 0, rgba(187,234,255,.58) 42%, rgba(205,239,255,0) 72%); }
.hero-robot { position: relative; z-index: 3; width: min(590px, 100%); filter: drop-shadow(0 36px 34px rgba(9,45,94,.28)); }
.hero-orbit { position: absolute; border: 2px dashed rgba(255,255,255,.18); border-radius: 50%; }
.hero-orbit-one { width: 470px; height: 470px; }
.hero-orbit-two { width: 590px; height: 590px; }
.floating-card { position: absolute; z-index: 4; padding: 13px 16px; border: 2px solid rgba(255,255,255,.8); border-radius: 16px; color: #fff; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); box-shadow: 0 12px 25px rgba(7,49,94,.18); font-weight: 900; }
.floating-card-one { left: 4%; top: 25%; }
.floating-card-two { right: 3%; bottom: 24%; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #d7e6ee; border-top: 1px solid #d7e6ee; border-bottom: 1px solid #d7e6ee; }
.trust-strip > div { padding: 25px 28px; background: #f9fdff; text-align: center; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { margin-bottom: 4px; font-size: 17px; }
.trust-strip span { color: var(--ink-soft); font-size: 13px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(47,128,237,.18);
  border-radius: var(--radius);
  background: linear-gradient(90deg, #1f61c5 0%, #367fe7 58%, #35b9ef 100%);
  box-shadow: 0 18px 34px rgba(23,59,87,.12);
  color: #fff;
}
.feature-card h3 { color: #ffc83d; }
.feature-card p { color: #fff; }
.feature-card p { opacity: .96; }
.feature-number {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 46px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.28);
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.map-section { background: linear-gradient(180deg, #ffb800 0%, #ffcb17 44%, #ffe25a 100%); overflow: hidden; }

.map-section .map-copy h2,
.map-section .map-copy p,
.map-section .check-list li { color: #000; }
.map-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 54px; }
.map-copy { position: relative; z-index: 2; }
.check-list { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-soft); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: white; background: var(--blue); font-size: 12px; }
.map-frame { position: relative; overflow: hidden; border: 8px solid white; border-radius: 32px; box-shadow: var(--shadow); transform: rotate(1deg); }
.map-frame > img { display: block; width: 100%; }
.avatar-on-map { position: absolute; left: 4.2%; top: 39%; width: 13%; filter: drop-shadow(0 10px 7px rgba(0,0,0,.28)); }
.avatar-on-map img { display: block; width: 100%; }

.tutor-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.tutor-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.tutor-visual img { position: relative; z-index: 2; width: min(520px, 100%); }
.tutor-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, #dffbff 0, #c9eeff 42%, rgba(201,238,255,0) 72%); }
.quote-bubble { margin: 26px 0 16px; padding: 18px 20px; border: 2px solid #b9def1; border-radius: 18px 18px 18px 5px; color: var(--ink); background: #f7fdff; font-size: 18px; font-weight: 800; }
.small-note { font-size: 13px; }

.learning-section { background: linear-gradient(180deg, #ffb800 0%, #ffcb17 44%, #ffe25a 100%); }
.learning-section .section-heading h2,
.learning-section .section-heading p,
.learning-section .learning-item strong { color: #000; }
.learning-section .section-heading { max-width: 900px; }
.learning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.learning-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: start;
  gap: 18px;
  min-height: 154px;
  padding: 26px 28px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 28px rgba(128,83,0,.08);
}
.learning-item:last-child { grid-column: 1 / -1; }
.learning-item > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  box-shadow: 0 5px 0 rgba(21,91,181,.22);
  font-size: 17px;
  font-weight: 900;
}
.learning-item-copy { min-width: 0; }
.learning-world-label { display: block; margin-bottom: 4px; color: var(--blue-dark); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.learning-item strong { display: block; margin-bottom: 7px; font-size: 21px; line-height: 1.15; }
.learning-item p { margin: 0; color: #42596a; font-size: 15px; line-height: 1.5; }

.avatars-section { padding-bottom: 120px; }
.avatar-row { display: flex; justify-content: center; gap: clamp(28px, 6vw, 80px); }
.avatar-row figure { margin: 0; text-align: center; }
.avatar-row img { width: 220px; height: 220px; object-fit: contain; filter: drop-shadow(0 18px 12px rgba(23,59,87,.15)); }
.avatar-row figcaption { margin-top: 10px; font-weight: 900; font-size: 18px; }

.family-section {
  color: #fff;
  background:
    radial-gradient(circle at 78% 38%, rgba(255,255,255,.14) 0, rgba(255,255,255,0) 22%),
    linear-gradient(90deg, #1f61c5 0%, #367fe7 58%, #35b9ef 100%);
}
.family-section .section-heading h2,
.family-section .section-heading p,
.family-section .section-heading .eyebrow { color: #fff; }
.family-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; }
.family-points { display: grid; gap: 16px; margin-top: 30px; }
.family-points > div { padding: 18px 20px; border-left: 5px solid var(--blue); border-radius: 14px; background: rgba(255,255,255,.96); }
.family-points strong, .family-points span { display: block; }
.family-points strong { color: var(--blue-dark); }
.family-points span { margin-top: 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.family-card { display: grid; place-items: center; gap: 22px; text-align: center; }
.family-card img { width: min(420px, 100%); filter: drop-shadow(0 18px 18px rgba(9,45,94,.25)); }
.family-offer-card {
  display: block !important;
  width: min(420px, 100%);
  padding: 18px 20px;
  border-radius: 14px;
  color: #173b57 !important;
  background: #ffc83d !important;
  box-shadow: 0 12px 26px rgba(9,45,94,.18);
  text-align: left;
}
.family-offer-card strong, .family-offer-card span { display: block !important; color: #173b57 !important; }
.family-offer-card strong { font-size: 16px; line-height: 1.25; font-weight: 800; }
.family-offer-card span { margin-top: 6px; font-size: 14px; line-height: 1.45; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
details {
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(23,59,87,.10);
}
summary {
  cursor: pointer;
  font-weight: 900;
  color: #ffc83d;
}
summary::marker { color: #ffc83d; }
summary::-webkit-details-marker { color: #ffc83d; }
details p {
  margin: 13px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.96);
}

.final-cta { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 590px; padding: 70px clamp(24px, 8vw, 120px); overflow: hidden; color: var(--ink); background: var(--cream); }
.final-cta h2 { max-width: 760px; color: var(--ink); }
.final-cta p { max-width: 660px; color: var(--ink-soft); font-size: 18px; }
.final-cta img { width: min(560px, 100%); justify-self: center; filter: drop-shadow(0 25px 20px rgba(0,39,82,.25)); }

.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px clamp(20px, 4vw, 64px); background: #11354e; color: #fff; }
.site-footer strong, .site-footer span { display: block; }
.site-footer span { margin-top: 4px; color: #a9c8db; font-size: 13px; }
.site-footer nav { display: flex; gap: 22px; align-items: center; }
.site-footer a { color: #d9edf8; text-decoration: none; font-weight: 800; font-size: 14px; }

@media (max-width: 980px) {
  .header-actions .text-link { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 500px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .learning-grid { grid-template-columns: 1fr 1fr; }
  .map-layout, .tutor-section, .family-layout { grid-template-columns: 1fr; }
  .map-copy, .tutor-copy, .family-copy { max-width: 760px; }
  .map-frame { transform: none; }
  .tutor-visual { order: 2; min-height: 460px; }
  .faq-grid { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; text-align: center; }
  .final-cta-copy { max-width: 820px; margin: 0 auto; }
  .final-cta p { margin-left: auto; margin-right: auto; }
  .final-cta img { margin-top: 30px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 66px; padding: 11px 14px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions .button-ghost { display: none; }
  .header-actions .button { min-height: 40px; padding: 9px 12px; font-size: 12px; }
  .section-shell { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(46px, 14vw, 68px); }
  h2 { font-size: clamp(34px, 10vw, 48px); }
  .hero { min-height: auto; padding: 54px 0 40px; gap: 14px; }
  .hero-lead { font-size: 18px; }
  .hero-actions { display: grid; }
  .button-large { width: 100%; }
  .hero-visual { min-height: 400px; }
  .hero-orbit-one { width: 320px; height: 320px; }
  .hero-orbit-two { width: 390px; height: 390px; }
  .hero-robot { width: 410px; }
  .floating-card { font-size: 12px; padding: 10px 12px; }
  .floating-card-one { left: 0; }
  .floating-card-two { right: 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .feature-grid, .learning-grid { grid-template-columns: 1fr; }
  .learning-item:last-child { grid-column: auto; }
  .learning-item { grid-template-columns: 52px 1fr; min-height: auto; padding: 22px 20px; }
  .learning-item > span { width: 52px; height: 52px; border-radius: 16px; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 24px; }
  .map-section { padding-top: 72px; }
  .map-layout { gap: 38px; }
  .map-frame { border-width: 5px; border-radius: 22px; }
  .tutor-section { gap: 20px; }
  .tutor-visual { min-height: 390px; }
  .tutor-glow { width: 350px; height: 350px; }
  .avatar-row { gap: 4px; justify-content: space-between; }
  .avatar-row img { width: 110px; height: 110px; }
  .avatar-row figcaption { font-size: 14px; }
  .family-card img { width: 250px; }
  .final-cta { padding: 70px 22px 30px; min-height: auto; }
  .site-footer { flex-direction: column; }
  .site-footer nav { flex-wrap: wrap; }
}
/* Keep the header secondary button readable against Kadence/global link hover styles. */
.site-header .button-ghost,
.site-header .button-ghost:visited {
  color: var(--blue-dark) !important;
}
.site-header .button-ghost:hover,
.site-header .button-ghost:focus,
.site-header .button-ghost:focus-visible {
  color: var(--blue-dark) !important;
  background: #f5fbff;
  border-color: #8fc3e8;
}

/* Force the header account button text to remain readable in every state,
   overriding Kadence/global button and link styles. */
body .site-header .header-actions a.button.button-ghost,
body .site-header .header-actions a.button.button-ghost:link,
body .site-header .header-actions a.button.button-ghost:visited,
body .site-header .header-actions a.button.button-ghost:hover,
body .site-header .header-actions a.button.button-ghost:focus,
body .site-header .header-actions a.button.button-ghost:focus-visible,
body .site-header .header-actions a.button.button-ghost:active {
  color: #0d51a0 !important;
  -webkit-text-fill-color: #0d51a0 !important;
  opacity: 1 !important;
}
body .site-header .header-actions a.button.button-ghost,
body .site-header .header-actions a.button.button-ghost:link,
body .site-header .header-actions a.button.button-ghost:visited {
  background: #fff !important;
  border-color: #bcd8ee !important;
}
body .site-header .header-actions a.button.button-ghost:hover,
body .site-header .header-actions a.button.button-ghost:focus,
body .site-header .header-actions a.button.button-ghost:focus-visible {
  background: #f5fbff !important;
  border-color: #8fc3e8 !important;
}

/* Header account button: white text in its normal blue state, dark text on the light hover state. */
body .site-header .header-actions a.button.button-ghost,
body .site-header .header-actions a.button.button-ghost:link,
body .site-header .header-actions a.button.button-ghost:visited {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
body .site-header .header-actions a.button.button-ghost:hover,
body .site-header .header-actions a.button.button-ghost:focus,
body .site-header .header-actions a.button.button-ghost:focus-visible,
body .site-header .header-actions a.button.button-ghost:active {
  color: #0d51a0 !important;
  -webkit-text-fill-color: #0d51a0 !important;
}

/* TropaKids header account button: explicit normal and hover states. */
body .site-header .header-actions a.button.button-ghost,
body .site-header .header-actions a.button.button-ghost:link,
body .site-header .header-actions a.button.button-ghost:visited {
  background: transparent !important;
  background-image: none !important;
  color: #0d51a0 !important;
  -webkit-text-fill-color: #0d51a0 !important;
  border: 2px solid #b9def1 !important;
  box-shadow: none !important;
}

body .site-header .header-actions a.button.button-ghost:hover,
body .site-header .header-actions a.button.button-ghost:focus,
body .site-header .header-actions a.button.button-ghost:focus-visible,
body .site-header .header-actions a.button.button-ghost:active {
  background: #f5fbff !important;
  background-image: none !important;
  color: #0d51a0 !important;
  -webkit-text-fill-color: #0d51a0 !important;
  border-color: #b9def1 !important;
  box-shadow: none !important;
}


/* Header CTA alignment and flat primary button */
body .site-header .header-actions a.button.button-small {
  min-height: 44px !important;
  height: 44px !important;
  padding: 10px 18px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}
body .site-header .header-actions a.button.button-small:not(.button-ghost),
body .site-header .header-actions a.button.button-small:not(.button-ghost):link,
body .site-header .header-actions a.button.button-small:not(.button-ghost):visited,
body .site-header .header-actions a.button.button-small:not(.button-ghost):hover,
body .site-header .header-actions a.button.button-small:not(.button-ghost):focus,
body .site-header .header-actions a.button.button-small:not(.button-ghost):focus-visible,
body .site-header .header-actions a.button.button-small:not(.button-ghost):active {
  box-shadow: none !important;
  transform: none !important;
}

/* Legal links in footer */
.site-footer .site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  align-items: center;
}
.site-footer .site-footer-legal a {
  color: #d9edf8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.site-footer .site-footer-legal a:hover,
.site-footer .site-footer-legal a:focus-visible {
  text-decoration: underline;
}
@media (max-width: 680px) {
  .site-footer .site-footer-legal { justify-content: flex-start; }
}

.site-footer .site-footer-legal a.site-footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #173b57;
  background: #ffc83d;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.site-footer .site-footer-legal a.site-footer-contact:hover,
.site-footer .site-footer-legal a.site-footer-contact:focus-visible {
  background: #ffd65f;
  text-decoration: none;
}

/* Próximas aventuras: inherits the existing home typography. */
.upcoming-section {
  color: #fff;
  background: radial-gradient(ellipse at 95% 0, #35b9ef66, transparent 55%), linear-gradient(115deg, #1f61c5, #2879df 65%, #247be3);
  scroll-margin-top: 100px;
}
.upcoming-section .section-heading { max-width: 960px; }
.upcoming-section h2, .upcoming-section h3, .upcoming-section p, .upcoming-section .eyebrow { color: #fff; }
.upcoming-section h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; }
.upcoming-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 24px; }
.upcoming-card { grid-column: span 2; position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #ffffff66; border-radius: 24px; background: #ffffff0d; box-shadow: 0 16px 36px #12488826; }
.upcoming-card:nth-child(4) { grid-column: 2 / span 2; }
.upcoming-card > img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.upcoming-badge { position: absolute; left: 16px; top: 16px; z-index: 1; border: 1px solid #ffffffbb; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; background: #155bb5; }
.upcoming-card-copy { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.upcoming-card h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.14; letter-spacing: -.025em; }
.upcoming-card p { font-size: 16px; line-height: 1.55; margin: 0 0 22px; }
.upcoming-ages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; margin-bottom: 20px; }
.upcoming-ages span { border: 1px solid #ffffffaa; border-radius: 999px; padding: 4px 11px; font-size: 13px; }
.upcoming-section .upcoming-button, .upcoming-signup-section .upcoming-button { font-family: inherit; cursor: pointer; font-size: 14px; color: #173b57; background: var(--gold); box-shadow: 0 5px 0 #c5901c; }
.upcoming-section .upcoming-button:hover, .upcoming-signup-section .upcoming-button:hover { background: #ffdb70; box-shadow: 0 7px 0 #c5901c; }
.upcoming-section a:focus-visible, .upcoming-section button:focus-visible, .upcoming-section summary:focus-visible { outline: 3px solid white; outline-offset: 5px; }
/* Launch requests belong only to the upcoming-course section. */
.upcoming-signup-section { color: #fff; background: #155bb5; border: 1px solid #ffffff66; border-radius: 20px; padding: 28px; scroll-margin-top: 110px; }
.upcoming-signup { max-width: 920px; margin: 42px auto 0; }
.upcoming-signup-section h3 { color: #fff; font-size: 24px; }
.upcoming-signup-section p { color: #fff; }
.upcoming-signup-section label { color: #fff; }
.upcoming-signup-section a:focus-visible, .upcoming-signup-section button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.upcoming-fields { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 18px; }
.upcoming-fields label { display: grid; gap: 8px; font-weight: 700; min-width: 0; }
.upcoming-fields input, .upcoming-fields select { width: 100%; min-width: 0; border: 2px solid var(--line); border-radius: 10px; padding: 12px; color: var(--ink); background: #fff; font: inherit; }
.upcoming-fields input:focus, .upcoming-fields select:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.upcoming-consent { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; font-size: 14px; line-height: 1.6; }
.upcoming-consent input { flex: 0 0 auto; margin-top: 5px; width: 18px; height: 18px; }
.upcoming-consent a { color: #fff; text-decoration: underline; }
.upcoming-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.upcoming-signup-section .upcoming-success { max-width: 920px; margin: 24px auto 0; padding: 20px; border: 2px solid var(--blue-dark); background: #fff; color: var(--ink); border-radius: 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .upcoming-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .upcoming-card:nth-child(4) { grid-column: span 2; }
  .upcoming-card:last-child { grid-column: 2 / span 2; }
  .upcoming-fields { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header { flex-wrap: wrap; gap: 10px; }
  .header-actions { width: 100%; gap: 8px; justify-content: space-between; }
  .header-actions .button-ghost { display: inline-flex; }
  .header-actions .button { flex: 1; padding: 9px 6px; font-size: 11px; text-align: center; }
  .upcoming-section, .upcoming-signup-section { scroll-margin-top: 140px; }
  .upcoming-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .upcoming-card, .upcoming-card:nth-child(4), .upcoming-card:last-child { grid-column: auto; }
  .upcoming-card h3 { font-size: 28px; }
  .upcoming-section h2 { font-size: clamp(34px, 8vw, 48px); }
  .upcoming-signup-section { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
