/* Shared public typography. CMS values are never replaced with raster text. */
@font-face { font-family: "TeX Gyre Heros"; src: url("../fonts/texgyreheros-regular.otf") format("opentype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "TeX Gyre Heros"; src: url("../fonts/texgyreheros-bold.otf") format("opentype"); font-style: normal; font-weight: 700; font-display: swap; }
:root { --orbit-body-font: "TeX Gyre Heros", Arial, sans-serif; --orbit-title-font: "TeX Gyre Heros", Arial, sans-serif; --orbit-brand-font: "Actay Wide", "Orbit Montserrat", sans-serif; --orbit-script-font: "Yuliana", "Orbit Caveat", cursive; }
body, body.orbit-home { font-family: var(--orbit-body-font); }
body :is(h1,h2,h3,h4,h5,h6), body.orbit-home :is(h1,h2,h3,h4,h5,h6,strong,b) { font-family: var(--orbit-title-font); font-weight: 700; }
body :is(input,button,textarea,select), .orbit-home .home-lead-form :is(input,button) { font-family: var(--orbit-body-font); }
.orbit-home :is(h2,h3,h4) { letter-spacing: 0; }
.orbit-home .orbit-wordmark, .orbit-home .brand { font-family: var(--orbit-brand-font); }
.orbit-home .handwritten { font-family: var(--orbit-script-font); }
.orbit-home .orbit-subtitle { transform: none; }

/* The torn silhouette is sampled from the supplied collage reference, not a polygon. */
.orbit-home .torn-paper::before, .orbit-home .torn-paper::after, .orbit-home .orbit-footer::before {
  position: absolute; z-index: 2; left: 0; right: 0; height: clamp(40px,6vw,86px); content: "";
  clip-path: none; pointer-events: none;
  background: var(--orbit-paper) url("../images/paper-light.png") center / 1254px auto repeat;
  mask: url("../images/torn-paper-mask.svg") center / 100% 100% no-repeat;
}
.orbit-home .torn-paper::before, .orbit-home .orbit-footer::before { top: -1px; bottom: auto; }
.orbit-home .torn-paper::after { top: auto; bottom: -1px; transform: rotate(180deg); }
.orbit-home .orbit-footer { padding-top: 112px; }

.orbit-home .paper-clip { top: -42px; width: 64px; height: 50px; border: 0; border-radius: 0; background: url("../images/paper-clip-original.png") center / contain no-repeat; box-shadow: none; }
.orbit-home .advantage-grid { width: min(1040px, 100%); gap: 58px 70px; }
.orbit-home .clip-card { padding: 30px 28px; }
.orbit-home .clip-card h3 { font-size: 1.75rem; margin-bottom: 24px; }
.orbit-home .clip-card p { font-size: 1.1rem; line-height: 1.4; }

/* One closed contour, transparent inside, with the tail integrated into the oval. */
.orbit-home .speech-bubble { position: relative; min-width: 0; min-height: 132px; padding: 26px 43px 24px 28px; border: 0; border-radius: 0; background: transparent; font-size: 1.05rem; font-weight: 700; line-height: 1.25; overflow-wrap: normal; }
.orbit-home .speech-bubble::before, .orbit-home :is(.mascot-dialog--audience,.waiting-character) .speech-bubble::before { display: block !important; content: ""; position: absolute; inset: 0; width: auto; height: auto; border: 0; background: var(--bubble-stroke); transform: none; transform-origin: center; pointer-events: none; mask: url("../images/speech-outline.svg") center / 100% 100% no-repeat; }
.orbit-home .speech-bubble::after { display: none !important; content: none; }
.orbit-home .mascot-dialog--about .speech-bubble { padding: 26px 28px 24px 43px; }
.orbit-home .mascot-dialog--about .speech-bubble::before { transform: scaleX(-1); }
.orbit-home .review-character .speech-bubble::before { mask-image: url("../images/speech-outline-down.svg"); }
.orbit-home .review-character .speech-bubble, .orbit-home .waiting-character .speech-bubble { width: 250px; min-height: 120px; flex-shrink: 0; }
.orbit-home .speech-bubble--learning { min-height: 166px; padding: 38px 66px 36px 42px; }
.orbit-home .star-photo { filter: drop-shadow(0 0 17px rgba(255,236,167,.3)); }
.orbit-home .orbit-section--navy .star-photo { filter: drop-shadow(0 0 24px rgba(255,247,210,.32)); }
.orbit-home .mascot-dialog--about .speech-bubble { width: 240px; }

.orbit-home .audience-panel { padding-bottom: 0; }
.orbit-home .audience-heading { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 0; gap: 28px; align-items: center; margin-bottom: 54px; }
.orbit-home .audience-heading h2 { margin: 0; max-width: none; font-size: clamp(2.8rem,4.65vw,4.4rem); line-height: 1.06; letter-spacing: -.015em; }
.orbit-home .audience-heading h2 span { display: block; white-space: nowrap; }
.orbit-home .mascot-dialog--audience { min-width: 0; margin-top: 0; }
.orbit-home .mascot-dialog--audience .speech-bubble { flex: 1; }
.orbit-home .star-photo--love { width: 150px; flex: 0 0 auto; }
.orbit-home .audience-grid .outline-card { min-height: 0; padding: 26px 24px; }
.orbit-home .audience-grid .outline-card h3 { font-size: 1.55rem; margin-bottom: 18px; }
.orbit-home .audience-grid .outline-card p { font-size: 1.05rem; line-height: 1.4; }
.orbit-home .audience-note { margin: 0; padding: 64px 0 48px; text-align: center; }

.orbit-home .journey-flow i { flex-shrink: 0; height: 26px; background: url("../images/journey-arrow.svg") center / 100% 100% no-repeat; }
.orbit-home .journey-flow i::after { display: none; }
.orbit-home .home-lead-form > p { font-size: .92rem; line-height: 1.35; color: #686874; }
.orbit-home .home-lead-form > small { font-size: .86rem; line-height: 1.4; color: #696976; }
.orbit-home .home-lead-form input { font-size: .96rem; border-bottom: 1.25px solid #222238; }
.orbit-home .home-lead-form input::placeholder { color: #73737f; opacity: 1; }
.orbit-home .home-lead-form input:focus-visible { border-bottom-color: #17182d; box-shadow: 0 1px 0 #17182d; }

@media (max-width: 980px) {
  .orbit-home .audience-heading { grid-template-columns: 1fr; }
  .orbit-home .mascot-dialog--audience { justify-self: end; width: min(440px,100%); }
  .orbit-home .about-heading { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .orbit-home .constellation { display: none !important; }
  .orbit-home .orbit-hero { min-height: 650px; padding-top: 108px; }
  .orbit-home .orbit-wordmark { width: 100%; margin-top: 54px; font-size: clamp(2.85rem,16.5vw,4.5rem); letter-spacing: -.095em; white-space: nowrap; text-align: center; }
  .orbit-home .orbit-subtitle { max-width: 100%; font-size: clamp(1.35rem,7vw,2rem); white-space: nowrap; text-align: center; }
  .orbit-home .orbit-hero__pitch { margin-top: 64px; }
  .orbit-home .orbit-hero__pitch h2 { font-size: clamp(1.35rem,7vw,1.75rem); }
  .orbit-home .audience-heading h2 span { white-space: normal; }
  .orbit-home .courses-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .orbit-home .courses-heading .handwritten { font-size: clamp(1.65rem,9vw,2.4rem); }
  .orbit-home .courses-showcase { min-height: 0; padding-bottom: 100px; }
  .orbit-home .planet-system { min-height: 560px; margin-top: 30px; }
  .orbit-home .review-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .orbit-home .review-card { box-sizing: border-box; width: 100%; min-width: 0; padding: 28px 24px; }
  .orbit-home .reviews-panel h2 { font-size: clamp(2.2rem,9vw,3.5rem); }
  .orbit-home .review-card footer { gap: 9px; }
  .orbit-home .review-card footer b { grid-row: 2; grid-column: 2; }
  .orbit-home .audience-heading h2 { font-size: clamp(1.8rem,7.5vw,3rem); }
  .orbit-home .audience-heading { gap: 28px; margin-bottom: 30px; }
  .orbit-home .star-photo--love { width: 108px; }
  .orbit-home .waiting-character .speech-bubble { width: min(230px,60%); }
  .orbit-home .star-photo--waiting { width: 40%; }
  .orbit-home .speech-bubble { width: 100%; min-height: 132px; font-size: .93rem; padding: 25px 38px 25px 28px; }
  .orbit-home .mascot-dialog--about .speech-bubble { padding: 25px 22px 25px 34px; }
  .orbit-home .speech-bubble--learning { min-height: 160px; padding: 28px 30px 46px; }
  .orbit-home .speech-bubble--learning::before { mask-image: url("../images/speech-outline-down.svg"); }
  .orbit-home .review-character .speech-bubble { width: min(300px,100%); padding: 25px 28px 42px; }
  .orbit-home .audience-note { padding: 50px 0 36px; }
  .orbit-home .advantage-grid { gap: 48px; }
  .orbit-home .journey-flow i { width: 35px; height: 21px; }
}

@media (max-width: 390px) {
  .orbit-home .site-header .shell { width: calc(100% - 20px); }
  .orbit-home .brand { gap: 8px; font-size: .9rem; }
  .orbit-home .brand img, .orbit-home .brand .brand__star { width: 42px; height: 42px; }
  .orbit-home .orbit-wordmark { font-size: clamp(2.65rem,16vw,3.9rem); }
  .orbit-home .orbit-subtitle { font-size: clamp(1.2rem,6.5vw,1.65rem); }
  .orbit-home .speech-bubble { padding-inline: 24px; }
  .orbit-home .review-character .speech-bubble { width: min(280px,100%); }
  .orbit-home .journey-flow { gap: 5px; font-size: .88rem; }
  .orbit-home .journey-flow i { width: 25px; }
}
