/* September 22 client layout. Scope every rule to the public homepage. */
.pagelayout-frontpage #theinfo1.jj-home {width:100%;min-width:0;max-width:1280px;margin:0 auto;padding:0;background:#fffef9;color:#20474a;font-size:16px;line-height:1.55;overflow-wrap:anywhere}
.pagelayout-frontpage #theinfo1.jj-home *, .pagelayout-frontpage #theinfo1.jj-home *::before {box-sizing:border-box}
.pagelayout-frontpage #theinfo1.jj-home :is(h2,h3) {font-family:Georgia,'Times New Roman',serif!important;font-weight:700;color:#20474a;line-height:1.12;letter-spacing:-.5px;margin:0 0 12px}
.pagelayout-frontpage #theinfo1.jj-home h2 {font-size:clamp(28px,3vw,42px)}
.pagelayout-frontpage #theinfo1.jj-home h3 {font-size:27px}
.pagelayout-frontpage #theinfo1.jj-home p {font-size:16px;line-height:1.55;margin:0 0 18px;color:inherit}
.pagelayout-frontpage #theinfo1.jj-home a {color:#20474a}
.pagelayout-frontpage #theinfo1.jj-home :is(a,button,input,select):focus-visible {outline:3px solid #245b9e;outline-offset:4px}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-button {display:inline-flex;justify-content:center;align-items:center;text-align:center;border:0;border-radius:28px;background:#f9c648;color:#183e40!important;padding:13px 25px;min-height:48px;font:inherit;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer;line-height:1.3}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-button:hover {background:#efb52c}
.jj-home-nav {position:sticky;top:0;z-index:1020;background:#fffef9;box-shadow:0 3px 10px #20474a12;display:flex;align-items:center;justify-content:flex-end;gap:28px;padding:16px 40px;border-bottom:1px solid #e8ebdf;flex-wrap:wrap}
.jj-home-nav a {font-size:13px;font-weight:700;text-decoration:none}
.jj-home-hero,.jj-home-how {display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:42px 48px;background:linear-gradient(115deg,#fcf7ec,#f6f2e8)}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-hero h2 {font-size:clamp(34px,3.5vw,49px)}
.jj-home-hero h2 small {display:block;font-size:.65em;margin-top:8px;font-family:inherit;color:inherit}
.jj-home-facts {display:flex;gap:18px;justify-content:space-between;margin:26px 0;font-size:13px;font-weight:700}
.jj-home-facts span {flex:1;border-left:3px solid #8fa960;padding-left:10px}
.jj-home figure {margin:0;min-width:0;text-align:center}
.pagelayout-frontpage #theinfo1.jj-home figure :is(img,video) {display:block;width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover;border-radius:12px;margin:0!important}
.pagelayout-frontpage #theinfo1.jj-home figure video {object-fit:contain;background:#173e35}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-founder video {aspect-ratio:16/9}
.jj-home figcaption {margin-top:12px;font-size:13px}
.jj-home figcaption :is(strong,span) {display:block}
.jj-home .jj-discovery-overview {display:block;padding:44px 48px}
.jj-home .jj-discovery-copy {display:grid;grid-template-columns:1fr 1fr;column-gap:48px;max-width:none;align-items:center}
.jj-home .jj-discovery-copy h2 {grid-column:1;grid-row:1}
.jj-home .jj-discovery-copy .jj-discovery-lead {grid-column:1;grid-row:2}
.jj-home .jj-discovery-copy p:last-child {grid-column:2;grid-row:1/3;margin:0}
.jj-home .jj-discovery-eyebrow {display:none}
.jj-home .jj-pod-showcase {border-radius:0;padding:20px 40px 24px;background:linear-gradient(120deg,#e9f3e8,#e2efe5)}
.jj-home .jj-pod-showcase > h2,.jj-home .jj-pod-showcase > p {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.jj-home .jj-pod-selector {margin:0 0 24px;gap:10px}
.jj-home .jj-pod-selector a {border-radius:0;border:0;border-bottom:3px solid transparent}
.jj-home .jj-pod-selector a[aria-current=true] {border-color:#6d9c57;background:transparent}
.jj-home .jj-pod-selector .jj-discovery-icon {width:49px;height:49px;font-size:25px}
.jj-home .jj-discovery-exp {background:#64a651}.jj-home .jj-discovery-cre {background:#aa5ba0}.jj-home .jj-discovery-sew {background:#e26299}.jj-home .jj-discovery-phy {background:#59a8b6}.jj-home .jj-discovery-lif {background:#b58c64}.jj-home .jj-discovery-res {background:#569945}.jj-home .jj-discovery-giv {background:#ed9233}.jj-home .jj-discovery-aca {background:#294a85}
.jj-home .jj-pod-panel {gap:44px;margin-bottom:12px}
.jj-home .jj-pod-panels {min-height:0}
.jj-home .jj-pod-preview-copy {position:relative;padding-left:62px}
.jj-home .jj-pod-preview-copy > .jj-discovery-icon {position:absolute;left:0;top:0;width:43px;height:43px}
.jj-home .jj-pod-controls button {background:transparent;border-color:transparent;padding:8px;min-width:70px}
.jj-home .jj-home-how {padding-top:40px;padding-bottom:42px}
.jj-home .jj-home-benefit {display:flex;gap:18px;margin:18px 0}
.jj-home-benefit > i {font-size:30px;width:32px;text-align:center;color:#e78a37;flex-shrink:0}
.jj-home-benefit:nth-of-type(2) > i {color:#6d9e56}.jj-home-benefit:nth-of-type(3) > i {color:#cc9a1c}.jj-home-benefit:nth-of-type(4) > i {color:#d76494}
.jj-home-benefit span {display:block;font-size:14px}
.jj-home-journeys {padding:36px 40px 16px;text-align:center}
.jj-home .jj-journey-options article {display:flex;flex-direction:column;align-items:stretch;padding:24px 22px 20px;background:#fffef9;border:1px solid #d8dfd0;border-radius:12px}
.jj-home .jj-journey-options article > strong {display:block;margin-top:28px;margin-bottom:8px}
.pagelayout-frontpage #theinfo1.jj-home .jj-journey-options article > a {margin-top:auto;align-self:center;min-height:48px}
.jj-home-ready {padding:32px 40px 24px;background:#e6f0e5;scroll-margin-top:24px}
.jj-home-picker {display:grid;grid-template-columns:1fr 1.1fr 1.8fr auto;gap:20px;align-items:end}
.jj-home-field {min-width:0}
.jj-home-field label {display:block;margin-bottom:8px;font-size:13px}
.pagelayout-frontpage #theinfo1.jj-home select {display:block;width:100%;max-width:100%;min-height:48px;border:1px solid #b8c9be;border-radius:7px;background:#fff;color:#20474a;font:inherit;font-size:16px;padding:10px 28px 10px 10px}
.jj-home fieldset {min-width:0;border:0;margin:0;padding:0}
.jj-home fieldset legend {float:none;width:auto;font-size:13px;line-height:1.5;margin:0 0 8px;padding:0}
.jj-home-terms {display:grid;grid-template-columns:1fr 1fr;gap:8px}
.jj-home-term {display:grid;grid-template-columns:18px 1fr;gap:3px 5px;align-content:center;align-items:center;background:#fff;border:2px solid #dce5db;border-radius:8px;padding:9px 10px;margin:0;min-height:65px;cursor:pointer;font-size:13px}
.jj-home-term:has(input:checked) {border-color:#e2b52c;background:#fffbec}
.jj-home-term input {grid-row:1/3;margin:0;accent-color:#557946;width:16px;height:16px}
.jj-home-term strong {grid-column:2;white-space:nowrap;font-size:14px}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-price-status {font-size:13px;margin:14px 0 8px}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-small {font-size:12px;margin-bottom:0}
.jj-home-starter {display:grid;grid-template-columns:1fr 1.4fr;gap:30px;padding:28px 40px;background:#fbecd9;align-items:center}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-starter h2 {font-size:27px}
.jj-home-starter form {display:flex;align-items:end;gap:18px;min-width:0}
.jj-home-starter-ages {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:1}
.jj-home-sample {text-align:center;padding:18px;font-size:14px}
@media(max-width:1100px) {
 .jj-home-picker {grid-template-columns:1fr 1fr}.jj-home-starter {grid-template-columns:1fr}
 .jj-home .jj-pod-selector {grid-template-columns:repeat(4,minmax(0,1fr))}
 .jj-home .jj-journey-options {grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .jj-home-hero,.jj-home-how {gap:28px;padding:32px}
}
@media(max-width:700px) {
 .jj-home-nav {gap:18px;padding:16px;justify-content:center}
 .jj-home-hero,.jj-home-how {grid-template-columns:1fr;padding:28px 20px;gap:26px}
 .jj-home .jj-discovery-overview {padding:30px 20px}
 .jj-home .jj-discovery-copy {display:block}
 .jj-home .jj-discovery-copy p:last-child {margin-top:18px}
 .jj-home .jj-pod-showcase {padding:16px}
 .jj-home .jj-pod-selector {grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:110px;overflow-x:auto}
 .jj-home .jj-pod-panel {grid-template-columns:1fr;gap:22px}
 .jj-home .jj-journey-options {grid-template-columns:1fr}
 .jj-home-journeys,.jj-home-ready,.jj-home-starter {padding:28px 20px}
 .jj-home-picker {gap:18px 12px}.jj-home-terms {grid-column:1/-1}
 .jj-home-picker > button {grid-column:1/-1;width:100%}
 .jj-home-starter form {flex-direction:column;align-items:stretch}
 .jj-home-starter-ages {width:100%}.jj-home-term {padding:9px 6px}
 .jj-home-term strong {font-size:12px}
}
@media(max-width:380px) {.jj-home-picker {grid-template-columns:1fr}.jj-home-starter-ages {grid-template-columns:1fr}.jj-home-facts {gap:8px;font-size:12px}}

.pagelayout-frontpage:not(.loggedin) #adaptable-page-header-wrapper {display:none}
.jj-home-nav .jj-home-brand {margin-right:auto;min-width:180px;width:245px}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-brand img {display:block;width:100%!important;height:auto!important;margin:0!important}
.pagelayout-frontpage #theinfo1.jj-home .jj-home-platform-preview {object-fit:contain;aspect-ratio:auto;border:8px solid #fff;box-shadow:0 8px 25px #21464612;max-height:370px}
@media(max-width:1100px) {.jj-home-nav {gap:16px;padding:14px 24px}.jj-home-nav .jj-home-brand {width:210px}}
@media(max-width:700px) {.jj-home-nav .jj-home-brand {width:190px;flex-basis:calc(100% - 150px);max-width:240px}.jj-home-nav {gap:14px 18px;padding:16px}.jj-home-nav .jj-home-brand img {max-width:230px}.jj-home-nav .jj-home-button {padding:10px 18px}.jj-home-nav a {min-height:34px;display:inline-flex;align-items:center}}

.pagelayout-frontpage:not(.loggedin) .jj-mobile-public-brand {display:none!important}

@media(max-width:700px) {
 .jj-home-nav {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 8px;text-align:center}
 .jj-home-nav a {justify-content:center;font-size:12px;min-width:0;min-height:44px}
 .jj-home-nav .jj-home-brand {grid-area:1/1/2/7;width:100%;max-width:220px;margin:0 auto}
 .jj-home-nav a[href="#jj-learning-pods"] {grid-area:2/1/3/3}
 .jj-home-nav a[href="#jj-how-it-works"] {grid-area:2/3/3/5}
 .jj-home-nav a[href="#jj-journeys"] {grid-area:2/5/3/7}
 .jj-home-nav a[href*="/login/"] {grid-area:3/1/4/3}
 .jj-home-nav .jj-home-button {grid-area:3/3/4/7}
 .loggedin .jj-home-nav a[href="#jj-learning-pods"],
 .loggedin .jj-home-nav a[href="#jj-how-it-works"],
 .loggedin .jj-home-nav a[href="#jj-journeys"] {grid-row:1}
 .loggedin .jj-home-nav a[href*="/login/"],.loggedin .jj-home-nav .jj-home-button {grid-row:2}
}
.jj-home-how,.jj-home-journeys {scroll-margin-top:24px}
/* Keep all three Starter Pack prices readable at the desktop transition. */
@media(min-width:1101px) and (max-width:1200px) {.jj-home-starter {grid-template-columns:1fr}}

/* Reserve the actual floating menu height for every homepage section link. */
.jj-home :is(#jj-learning-pods,#jj-how-it-works,#jj-journeys,#jj-ready,.jj-pod-showcase,.jj-pod-panel) {scroll-margin-top:calc(var(--jj-home-nav-height,110px) + 16px)}
@media(max-width:700px) {
 .jj-home-nav {padding:8px 12px;gap:4px 8px}
 .jj-home-nav .jj-home-brand {grid-area:1/1/2/3;max-width:140px;min-width:0}
 .jj-home-nav a[href*="/login/"] {grid-area:1/3/2/4}
 .jj-home-nav .jj-home-button {grid-area:1/4/2/7;padding:10px 12px}
 .loggedin .jj-home-nav a[href*="/login/"] {grid-area:1/1/2/3}
 .loggedin .jj-home-nav .jj-home-button {grid-area:1/3/2/7}
 .loggedin .jj-home-nav a[href="#jj-learning-pods"],
 .loggedin .jj-home-nav a[href="#jj-how-it-works"],
 .loggedin .jj-home-nav a[href="#jj-journeys"] {grid-row:2}
}
@media(max-height:500px) and (max-width:1100px) {
 .jj-home-nav {display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:16px;padding:6px 12px;overflow-x:auto}
 .jj-home-nav .jj-home-brand {display:none}
 .jj-home-nav a {flex-shrink:0;white-space:nowrap;min-height:44px}
 .pagelayout-frontpage #theinfo1.jj-home .jj-home-nav .jj-home-button {min-height:44px;padding:10px 16px}
}
