/* Homepage navigator v8.1 preview. Homepage-only presentation loaded by pwa.js. */

.home-v8-legacy,
.navigator-primary-cta,
.navigator-needs,
.navigator-secondary-ai,
.navigator-secondary-loop,
#specialEducationHomeFeature,
#signLanguageFeature,
#curriculumMapFeature,
#pwaMobileLauncher{
  display:none!important;
}

/* pwa.js intentionally restores the old quiz and AI Help in installed-app mode.
 * V8 owns those two functions itself, so this more-specific rule prevents the
 * PWA restore rule from producing duplicates on Android/iOS standalone mode. */
html body.pwa-standalone #zoneSelectView .hero .hero__quiz-cta-wrap.home-v8-legacy,
html body.pwa-standalone #zoneSelectView .hero .hero__ai-help.home-v8-legacy,
html body.pwa-mobile-ui #zoneSelectView .hero #pwaMobileLauncher{
  display:none!important;
}

/* The header entry is now the clear educator gateway. It still opens the
 * simplified classroom landing page, where the AI Teacher Assistant is primary. */
.classroom-menu-link{border-color:#b9d9ce!important;background:#eef7f3!important;color:#24594c!important;font-weight:800!important;}
.classroom-menu-link__text{font-size:0!important;}
.classroom-menu-link__text::after{content:"Για εκπαιδευτικούς";font-size:.86rem;}
html[lang="en"] .classroom-menu-link__text::after{content:"For educators";}

#zoneSelectView .hero{
  max-width:1040px;
  margin:0 auto 22px;
  padding:36px 32px;
  border:1px solid var(--color-border);
  border-radius:16px;
  background:linear-gradient(135deg,#EAF6F0 0%,#EAF1FB 55%,#F3EEFB 100%);
  text-align:center;
}
#zoneSelectView .hero__title{
  max-width:none;
  margin:0 0 10px;
  color:var(--color-text);
  font-size:2rem;
  line-height:1.25;
}
#zoneSelectView .hero__subtitle{
  max-width:540px;
  margin:0 auto 22px;
  font-size:1.02rem;
}
#zoneSelectView .hero__badges{
  justify-content:center;
  margin-bottom:26px;
}
.home-eng-badge{white-space:nowrap;}

.home-v8-shell{width:100%;}
.home-v8-finder-title{
  margin:2px 0 14px;
  font-family:var(--font-heading);
  font-size:1rem;
  font-weight:700;
  color:var(--color-text);
}

#homeV8Shell #zoneGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 14px;
  text-align:left;
}
#homeV8Shell .zone-card{
  display:block;
  min-width:0;
  margin:0;
  padding:18px 16px;
  border:1px solid var(--color-border)!important;
  border-radius:12px;
  background:#fff;
  color:inherit;
  font:inherit;
  text-align:left;
  text-decoration:none;
  box-shadow:none;
  transform:none;
  cursor:pointer;
}
#homeV8Shell .zone-card:hover{
  border-color:#BFC5CD!important;
  box-shadow:0 4px 12px rgba(0,0,0,.07);
  transform:translateY(-1px);
}
#homeV8Shell .zone-card:focus-visible,
.home-v8-helper-links a:focus-visible,
.home-v8-needs__toggle:focus-visible,
.home-v8-needs-card:focus-visible,
.home-v8-learning-card:focus-visible,
.home-v8-eng>a:focus-visible,
.home-v8-curriculum a:focus-visible{
  outline:3px solid #F59E0B;
  outline-offset:3px;
}
#homeV8Shell .zone-card__icon{
  display:block;
  width:auto;
  height:auto;
  margin:0 0 8px;
  border-radius:0;
  background:transparent!important;
  font-size:26px;
  line-height:1.15;
}
#homeV8Shell .zone-card__label{
  margin:0 0 2px;
  font-family:var(--font-heading);
  font-size:15px;
  font-weight:700;
  line-height:1.35;
}
#homeV8Shell .zone-card__age{
  margin:0 0 8px;
  color:var(--color-text-muted);
  font-size:12px;
}
#homeV8Shell .zone-card__desc{
  margin:0;
  color:var(--color-text-muted);
  font-size:12.5px;
  line-height:1.45;
}

.home-v8-helpers{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:18px;
  text-align:left;
}
.home-v8-map,
.home-v8-ai{
  min-width:0;
  padding:14px 15px;
  border-radius:10px;
}
.home-v8-map{
  border:1px solid var(--color-border);
  background:#fff;
}
.home-v8-ai{
  border:1px solid #CECBF6;
  background:#F7F6FF;
}
.home-v8-map h3,
.home-v8-ai h3{
  margin:0 0 5px;
  font-family:var(--font-heading);
  font-size:13.5px;
  line-height:1.35;
}
.home-v8-map__lead{
  margin:0 0 3px;
  color:var(--color-accent);
  font-family:var(--font-heading);
  font-size:13px;
  font-weight:700;
}
.home-v8-helper-desc{
  margin:0 0 10px;
  color:var(--color-text-muted);
  font-size:12px;
  line-height:1.5;
}
.home-v8-ai h3{color:#26215C;}
.home-v8-ai .home-v8-helper-desc{color:#5A548C;}
.home-v8-ai__tech{
  margin:0 0 10px;
  padding:7px 9px;
  border:1px solid #D8D5F7;
  border-radius:8px;
  background:#fff;
  color:#4B4679;
  font-size:11px;
  line-height:1.45;
}
.home-v8-ai__tech summary{cursor:pointer;font-weight:700;color:#3C3489;}
.home-v8-ai__tech p{margin:7px 0 0;}
.home-v8-ai__tech a{color:#3C3489;font-weight:700;}
.home-v8-ai__badges{
  display:flex;
  gap:6px;
  margin-bottom:8px;
}
.home-v8-ai__badges span{
  padding:4px 8px;
  border-radius:999px;
  background:#3C3489;
  color:#fff;
  font-size:10.5px;
  font-weight:700;
  line-height:1;
}
.home-v8-ai__badges span:last-child{
  background:#EAF3DE;
  color:#27500A;
}
.home-v8-helper-links{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.home-v8-helper-links a{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:5px 8px;
  border:1px solid var(--color-border);
  border-radius:7px;
  background:#FAFAF8;
  color:var(--color-accent);
  font-size:11.5px;
  font-weight:600;
  text-decoration:none;
}
.home-v8-ai__links a{
  border-color:#D8D5F7;
  background:#fff;
  color:#3C3489;
}

.home-v8-educator-hint{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:12px auto 0;
  color:#4B5563;
  font-size:12.5px;
  line-height:1.4;
}
.home-v8-educator-hint a{
  color:#24594C;
  font-weight:700;
  text-decoration:none;
}
.home-v8-educator-hint a:hover{
  text-decoration:underline;
}

.home-v8-needs{
  margin-top:22px;
}
.home-v8-needs__toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-height:72px;
  padding:13px 16px;
  border:2px solid #2E6F5E;
  border-radius:12px;
  background:#F1F8F5;
  color:var(--color-text);
  box-shadow:0 2px 8px rgba(46,111,94,.10);
  cursor:pointer;
  text-align:left;
  transition:background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.home-v8-needs__toggle:hover{
  background:#E8F4EF;
  box-shadow:0 5px 14px rgba(46,111,94,.16);
  transform:translateY(-1px);
}
.home-v8-needs__copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:3px;
}
.home-v8-needs__copy strong{
  color:#173C31;
  font-family:var(--font-heading);
  font-size:15px;
  font-weight:800;
}
.home-v8-needs__copy>span{
  color:#557168;
  font-size:11.5px;
  font-weight:600;
}
.home-v8-needs__arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:999px;
  background:#2E6F5E;
  color:#fff;
  font-size:24px;
  font-weight:800;
  line-height:1;
  transition:transform .2s ease;
}
.home-v8-needs.is-open .home-v8-needs__arrow{transform:rotate(180deg);}
.home-v8-needs__body{padding-top:14px;}
.home-v8-needs__body[hidden]{display:none!important;}
.home-v8-needs-group{margin:0}
.home-v8-needs-group+.home-v8-needs-group{margin-top:18px;padding-top:16px;border-top:1px solid #dce8e3}
.home-v8-needs-group__title{margin:0 0 9px;color:#23483d;font-family:var(--font-heading);font-size:13px;font-weight:800}
.home-v8-needs-group__intro{margin:-2px 0 10px;color:var(--color-text-muted);font-size:12px;line-height:1.45}
.home-v8-needs__grid,
.home-v8-learning-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.home-v8-needs-card{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
  padding:13px 14px;
  border:1px solid var(--color-border);
  border-radius:10px;
  background:#fff;
  color:inherit;
  text-align:left;
  text-decoration:none;
}
.home-v8-needs-card:hover{
  border-color:#B8CFCA;
  background:#FBFEFC;
}
.home-v8-needs-card__icon{
  flex:0 0 auto;
  font-size:20px;
  line-height:1.2;
}
.home-v8-needs-card strong{
  display:block;
  margin-bottom:3px;
  font-size:13.5px;
  line-height:1.35;
}
.home-v8-needs-card small{
  display:block;
  color:var(--color-text-muted);
  font-size:12px;
  line-height:1.45;
}
.home-v8-learning-card{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
  padding:13px 14px;
  border:1px solid #d7d2f5;
  border-radius:10px;
  background:#fbfaff;
  color:inherit;
  text-align:left;
  text-decoration:none;
}
.home-v8-learning-card:hover{border-color:#aaa1e8;background:#f6f3ff}
.home-v8-learning-card__icon{flex:0 0 auto;font-size:20px;line-height:1.2}
.home-v8-learning-card strong{display:block;margin-bottom:3px;color:#332b74;font-size:13.5px;line-height:1.35}
.home-v8-learning-card small{display:block;color:#69638e;font-size:12px;line-height:1.45}

.home-v8-eng{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  max-width:1040px;
  margin:22px auto 0;
  padding:18px 20px;
  border:1px solid #9FE1CB;
  border-radius:12px;
  background:#E1F5EE;
}
.home-v8-eng__copy{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.home-v8-eng__icon{font-size:26px;}
.home-v8-eng h2{
  margin:0 0 2px;
  color:#04342C;
  font-family:var(--font-heading);
  font-size:14.5px;
  font-weight:700;
}
.home-v8-eng p{
  margin:0;
  color:#085041;
  font-size:12.5px;
}
.home-v8-eng>a{
  flex:0 0 auto;
  padding:7px 12px;
  border:1px solid #5DCAA5;
  border-radius:8px;
  background:#fff;
  color:#04342C;
  font-size:12.5px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
#zoneSelectView>.not-guide-box{
  max-width:1040px;
  margin:26px auto 0;
}
.home-v8-curriculum{
  max-width:1040px;
  margin:24px auto 0;
  color:var(--color-text-muted);
  font-size:12px;
  text-align:center;
}
.home-v8-curriculum a{color:inherit;}
.home-v8-footer-extra{margin-top:2px;}

@media(max-width:700px){
  #zoneSelectView .hero{
    padding:30px 22px;
  }
  #homeV8Shell #zoneGrid{
    grid-template-columns:1fr 1fr;
  }
  .home-v8-helpers,
  .home-v8-needs__grid,
  .home-v8-learning-grid{
    grid-template-columns:1fr;
  }
  .home-v8-educator-hint{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
    text-align:left;
  }
  .home-v8-eng{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:620px){
  .site-header__inner{align-items:center;}
  .site-header__actions{gap:6px;}
  .classroom-menu-link{
    width:auto!important;
    min-height:36px;
    padding:6px 9px!important;
    border-radius:8px;
    justify-content:center;
  }
  .classroom-menu-link__text{
    display:inline!important;
    font-size:0!important;
  }
  .classroom-menu-link__text::after{
    content:"Εκπαιδευτικοί";
    font-size:.72rem;
    line-height:1;
  }
  html[lang="en"] .classroom-menu-link__text::after{content:"Educators";}
}

@media(max-width:480px){
  #zoneSelectView .hero{
    margin-left:-20px;
    margin-right:-20px;
    padding:28px 18px;
    border-left:0;
    border-right:0;
    border-radius:0 0 16px 16px;
  }
  #zoneSelectView .hero__title{font-size:1.7rem;}
  #zoneSelectView .hero__subtitle{font-size:.94rem;}
  #homeV8Shell #zoneGrid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  #homeV8Shell .zone-card{
    min-height:118px;
    padding:13px 12px;
  }
  #homeV8Shell .zone-card__icon{
    margin-bottom:5px;
    font-size:22px;
  }
  #homeV8Shell .zone-card__label{font-size:13px;}
  #homeV8Shell .zone-card__age{
    margin-bottom:0;
    font-size:11px;
  }
  #homeV8Shell .zone-card__desc{display:none;}
  .home-v8-helper-links a{
    min-height:42px;
    padding:8px 10px;
  }
  .home-v8-needs__toggle{min-height:78px;}
  .home-v8-needs__copy>span{line-height:1.45;}
}


.home-v8-higher-ed{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:0 0 14px;
  padding:15px 16px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  background:linear-gradient(135deg,#f8fafc 0%,#eef6ff 100%);
  color:inherit;
  text-align:left;
  text-decoration:none;
}
.home-v8-higher-ed:hover{
  border-color:#94a3b8;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}
.home-v8-higher-ed:focus-visible{
  outline:3px solid #F59E0B;
  outline-offset:3px;
}
.home-v8-higher-ed__icon{font-size:28px;line-height:1;}
.home-v8-higher-ed__body{display:grid;gap:3px;min-width:0;}
.home-v8-higher-ed__badge{
  width:max-content;
  padding:3px 7px;
  border-radius:999px;
  background:#e0f2fe;
  color:#075985;
  font-size:.68rem;
  font-weight:800;
}
.home-v8-higher-ed__body strong{font-size:.96rem;}
.home-v8-higher-ed__body small{color:#64748b;font-size:.77rem;line-height:1.4;}
.home-v8-higher-ed__action{font-size:.78rem;font-weight:800;color:#2563a8;white-space:nowrap;}
@media(max-width:700px){
  .home-v8-higher-ed{grid-template-columns:auto minmax(0,1fr);}
  .home-v8-higher-ed__action{grid-column:2;white-space:normal;}
}
@media(max-width:480px){
  .home-v8-higher-ed{padding:13px 12px;gap:10px;}
  .home-v8-higher-ed__icon{font-size:24px;}
  .home-v8-higher-ed__body small{font-size:.72rem;}
}


.home-v8-higher-ed-card{
  grid-column:span 2;
  background:linear-gradient(135deg,#f8fafc 0%,#eef6ff 100%)!important;
}
.home-v8-higher-ed-card .zone-card__age{
  width:max-content;
  padding:3px 7px;
  border-radius:999px;
  background:#e0f2fe;
  color:#075985!important;
  font-size:.68rem!important;
  font-weight:800;
}

.home-v8-curriculum-card{
  grid-column:span 1;
  background:#fbfdfc!important;
  border-color:#cfe1d8!important;
}
.home-v8-curriculum-card .zone-card__age{
  width:max-content;
  padding:3px 7px;
  border-radius:999px;
  background:#eaf3de;
  color:#27500a!important;
  font-size:.68rem!important;
  font-weight:800;
}
.home-v8-curriculum-card:hover{
  border-color:#9fc7b4!important;
  background:#f7fbf8!important;
}

@media(max-width:700px){
  .home-v8-higher-ed-card,
  .home-v8-curriculum-card{grid-column:auto;}
}
@media(max-width:480px){
  .home-v8-higher-ed-card .zone-card__age,
  .home-v8-curriculum-card .zone-card__age{
    padding:2px 6px;
    font-size:.62rem!important;
  }
}


/* Unified homepage search */
.home-global-search{position:relative;margin:0 0 18px;text-align:left}
.home-global-search__label{display:block;margin:0 0 7px;color:#173c31;font-family:var(--font-heading);font-size:13px;font-weight:800}
.home-global-search__field{position:relative}
.home-global-search__icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:17px;pointer-events:none}
.home-global-search__input{box-sizing:border-box;width:100%;min-height:48px;padding:11px 44px 11px 42px;border:2px solid #a9c9bd;border-radius:12px;background:#fff;color:var(--color-text);font:inherit;font-size:14px;box-shadow:0 2px 7px rgba(30,74,62,.06)}
.home-global-search__input:focus{outline:3px solid rgba(46,111,94,.18);outline-offset:2px;border-color:#2e6f5e}
.home-global-search__clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:none;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#64748b;font-size:20px;cursor:pointer}
.home-global-search__clear:hover{background:#f1f5f4}
.home-global-search.has-query .home-global-search__clear{display:block}
.home-global-search__results{position:absolute;z-index:80;top:calc(100% + 6px);left:0;right:0;max-height:min(430px,62vh);overflow:auto;border:1px solid #ccd9d4;border-radius:12px;background:#fff;box-shadow:0 14px 32px rgba(15,23,42,.16)}
.home-global-search__results[hidden]{display:none!important}
.home-global-search__head{display:flex;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid #edf1ef;color:#64748b;font-size:11px}
.home-global-search__item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start;padding:11px 12px;border-bottom:1px solid #edf1ef;color:inherit;text-decoration:none}
.home-global-search__item:last-of-type{border-bottom:0}
.home-global-search__item:hover,.home-global-search__item.is-active{background:#f2f8f5}
.home-global-search__item-icon{font-size:18px;line-height:1.25}
.home-global-search__item-copy{min-width:0}
.home-global-search__item-title{display:block;color:#172033;font-size:13px;font-weight:800;line-height:1.35}
.home-global-search__item-detail{display:block;margin-top:2px;color:#64748b;font-size:11.5px;line-height:1.4}
.home-global-search__item-type{align-self:start;padding:3px 6px;border-radius:999px;background:#eef6ff;color:#245f8e;font-size:9.5px;font-weight:800;white-space:nowrap}
.home-global-search__empty{padding:16px;color:#64748b;font-size:12.5px;text-align:center}
.home-global-search__privacy{padding:8px 12px;border-top:1px solid #edf1ef;background:#fbfdfc;color:#64748b;font-size:10.5px}
@media(max-width:640px){
  .home-global-search{margin-bottom:15px}
  .home-global-search__input{font-size:16px}
  .home-global-search__item{grid-template-columns:auto 1fr}
  .home-global-search__item-type{grid-column:2;justify-self:start;margin-top:1px}
}

/* ==========================================================================
   Homepage v9 (redesign 2026-09). Presentation layer on top of the v8
   navigator markup: every id, hook and route above stays as it is.
   ========================================================================== */
.classroom-menu-link{border:1px solid #64748B!important;background:#FFFFFF!important;color:#1F2430!important;border-radius:999px!important;min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:0 14px!important;text-decoration:none;}
.classroom-menu-link>span[aria-hidden="true"]{display:none;}
.classroom-menu-link:hover{border-color:#1D5D8C!important;color:#1D5D8C!important;}

#zoneSelectView .hero{
  max-width:1040px;
  margin:0 auto;
  padding:28px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
  text-align:left;
}
.home-v9-top{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:36px;
  align-items:start;
}
.home-v9-intro{min-width:0;}
#zoneSelectView .hero__title{
  margin:0 0 16px;
  font-family:var(--font-heading);
  font-size:clamp(2.1rem,4.2vw,3.25rem);
  font-weight:600;
  line-height:1.1;
  letter-spacing:-.01em;
  color:#1F2430;
  text-align:left;
}
#zoneSelectView .hero__subtitle{
  max-width:620px;
  margin:0 0 18px;
  font-size:1.15rem;
  line-height:1.55;
  color:#334155;
  text-align:left;
}
#zoneSelectView .hero__badges{
  justify-content:flex-start;
  gap:8px;
  margin:0 0 22px;
}
#zoneSelectView .hero__badges .badge,
#zoneSelectView .hero__badges summary.badge{
  border:0;
  border-radius:999px;
  padding:6px 12px;
  background:#EEF6FF;
  color:#164A70;
  font-size:.82rem;
  font-weight:700;
}
#zoneSelectView .hero__badges .badge--free{background:#1F2430;color:#FFFFFF;}
#zoneSelectView .hero__badges summary.badge{background:#FFFFFF;box-shadow:inset 0 0 0 1px #64748B;color:#1F2430;}

/* 3-step finder */
.home-v9-finder{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:24px;
  border:1px solid #E4E6EA;
  border-radius:22px;
  background:#FFFFFF;
  box-shadow:0 18px 40px -26px rgba(31,36,48,.35);
}
.home-v9-finder:empty{display:none;}
.home-v9-finder__label{margin:0;font-weight:800;font-size:1rem;color:#1F2430;}
.home-v9-finder__step{display:flex;flex-direction:column;gap:8px;}
.home-v9-finder__step-title{font-size:.85rem;font-weight:700;color:#5A6270;}
.home-v9-finder__chips{display:flex;flex-wrap:wrap;gap:8px;}
.home-v9-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:8px 14px;
  border:1.5px solid #64748B;
  border-radius:12px;
  background:#FFFFFF;
  color:#1F2430;
  font-family:var(--font-sans);
  font-size:.95rem;
  font-weight:600;
  cursor:pointer;
}
.home-v9-chip:hover{border-color:#1D5D8C;}
.home-v9-chip[aria-pressed="true"]{background:#1F2430;border-color:#1F2430;color:#FFFFFF;}
.home-v9-chip small{font-size:.85rem;font-weight:500;color:inherit;}
.home-v9-chip__dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;}
.home-v9-dot--preschool{background:#E9A23B;}
.home-v9-dot--primary{background:#4CAF7D;}
.home-v9-dot--middle{background:#3B82C4;}
.home-v9-dot--high{background:#7C5CBF;}
.home-v9-dot--special{background:#B04A6A;}
.home-v9-chip[aria-pressed="true"] .home-v9-chip__dot{box-shadow:0 0 0 2px #FFFFFF;}
.home-v9-finder__note{display:flex;gap:10px;align-items:flex-start;margin:0;padding:12px 14px;border-radius:12px;background:#FFF7E6;color:#8A5A0A;font-size:.92rem;}
.home-v9-finder__note[hidden]{display:none;}
.home-v9-finder__note svg{flex-shrink:0;margin-top:1px;}
.home-v9-finder__cta,
.home-v9-study__cta{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:54px;
  padding:0 22px;
  border-radius:14px;
  background:#1D5D8C;
  color:#FFFFFF;
  font-weight:800;
  text-decoration:none;
}
.home-v9-finder__cta:hover,
.home-v9-study__cta:hover{background:#164A70;color:#FFFFFF;}

/* Learning-path principle */
.home-v9-principle{display:flex;flex-direction:column;gap:16px;min-width:0;}
.home-v9-principle:empty{display:none;}
.home-v9-principle__card{padding:24px;border-radius:22px;background:#1F2430;color:#F8FAFC;}
.home-v9-principle__label{margin:0 0 10px;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#E8B81A;}
.home-v9-principle__quote{margin:0 0 16px;font-family:var(--font-heading);font-size:1.45rem;font-weight:500;line-height:1.3;}
.home-v9-principle__steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;}
.home-v9-principle__steps li{display:grid;grid-template-columns:32px auto 1fr;align-items:center;gap:12px;padding:6px 0;}
.home-v9-principle__num{width:30px;height:30px;border-radius:50%;border:1.5px solid #6D7685;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;}
.home-v9-principle__steps li.is-current .home-v9-principle__num{background:#E8B81A;border-color:#E8B81A;color:#1F2430;}
.home-v9-principle__title{font-weight:700;}
.home-v9-principle__sub{font-size:.85rem;color:#AEB5C0;}
.home-v9-principle__chat{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #E4E6EA;border-radius:22px;background:#FFFFFF;}
.home-v9-principle__chat-label{margin:0;font-size:.82rem;font-weight:700;color:#5A6270;}
.home-v9-principle__bubble{margin:0;max-width:86%;padding:10px 14px;font-size:.93rem;line-height:1.45;}
.home-v9-principle__bubble--me{align-self:flex-end;border-radius:16px 16px 4px 16px;background:#EEF2F6;color:#1F2430;}
.home-v9-principle__bubble--ai{align-self:flex-start;border-radius:16px 16px 16px 4px;background:#EEF6FF;color:#164A70;}

/* Trust strip */
.home-v9-trust{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;margin:28px 0 0;padding:16px 22px;border-radius:18px;background:#EEF2F6;}
.home-v9-trust:empty{display:none;}
.home-v9-trust__list{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0;padding:0;list-style:none;}
.home-v9-trust__list li{display:flex;align-items:center;gap:8px;font-size:.92rem;font-weight:700;color:#1F2430;}
.home-v9-trust__list svg{color:#1D5D8C;flex-shrink:0;}
.home-v9-trust__audit{margin:0;font-size:.88rem;color:#5A6270;}

/* Shell rhythm */
.home-v8-shell{display:flex;flex-direction:column;}
#homeGlobalSearch{margin-top:28px;}
.home-v9-section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 24px;margin:64px 0 20px;}
.home-v9-section-head h2,
#homeV8Shell .home-v8-finder-title,
.home-v9-study h2,
.home-v9-characters h2{
  margin:0;
  font-family:var(--font-heading);
  font-size:clamp(1.6rem,3vw,2.1rem);
  font-weight:600;
  line-height:1.15;
  color:#1F2430;
  text-align:left;
}
.home-v9-section-head p,
.home-v9-zones-lead{margin:0;color:#5A6270;max-width:460px;}
#homeV8Shell .home-v8-finder-title{margin:64px 0 6px;}
.home-v9-zones-lead{margin:0 0 20px;}

/* Three ways */
.home-v8-helpers{display:block;margin:0;padding:0;border:0;background:transparent;}
.home-v9-ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.home-v9-ways>section{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  margin:0;
  padding:26px;
  border:1px solid #E4E6EA;
  border-radius:22px;
  background:#FFFFFF;
  box-shadow:none;
  text-align:left;
}
.home-v9-ways h3{margin:0;font-family:var(--font-heading);font-size:1.45rem;font-weight:600;line-height:1.2;color:#1F2430;}
.home-v9-way__icon{width:50px;height:50px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:#EEF6FF;color:#1D5D8C;}
.home-v9-way__eyebrow{margin:0;font-size:.85rem;font-weight:800;color:#8A5A0A;}
.home-v9-way__links-label{margin:6px 0 0;font-size:.82rem;font-weight:700;color:#5A6270;}
.home-v8-map__lead,.home-v8-helper-desc{margin:0;color:#5A6270;}
.home-v9-ways .home-v8-helper-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;}
.home-v9-ways .home-v8-helper-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:0;border-radius:12px;background:#EEF2F6;color:#1F2430;font-size:.9rem;font-weight:700;text-decoration:none;}
.home-v9-ways .home-v8-helper-links a:hover{background:#EEF6FF;color:#164A70;}
.home-v9-way__action{margin-top:auto;font-weight:800;color:#1D5D8C;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;}
.home-v9-way__action:hover{text-decoration:underline;}
.home-v9-ways .home-v8-map{background:#1D5D8C;border-color:#1D5D8C;color:#FFFFFF;}
.home-v9-ways .home-v8-map h3,
.home-v9-ways .home-v8-map .home-v8-map__lead,
.home-v9-ways .home-v8-map .home-v9-way__eyebrow,
.home-v9-ways .home-v8-map .home-v9-way__links-label{color:#FFFFFF;}
.home-v9-ways .home-v8-map .home-v9-way__icon{background:rgba(255,255,255,.16);color:#FFFFFF;}
.home-v9-ways .home-v8-map .home-v8-helper-links a{background:#FFFFFF;color:#164A70;}
.home-v9-ways .home-v8-map .home-v8-helper-links a:hover{background:#EEF6FF;}
.home-v9-ways .home-v8-map :focus-visible{outline-color:#FFFFFF;}
.home-v9-ways .home-v8-ai__badges{display:flex;gap:6px;}
.home-v9-ways .home-v8-ai__badges span{padding:3px 10px;border-radius:999px;background:#1F2430;color:#FFFFFF;font-size:.75rem;font-weight:800;}
.home-v9-ways .home-v8-ai__badges span:last-child{background:#EEF6FF;color:#164A70;}
.home-v9-ways .home-v8-ai__tech summary{color:#1D5D8C;font-weight:700;cursor:pointer;min-height:32px;}

/* AI Study band */
.home-v9-study{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px;align-items:center;margin:64px 0 0;padding:36px;border-radius:26px;background:#EEF6FF;}
.home-v9-study__copy{display:flex;flex-direction:column;gap:14px;min-width:0;}
.home-v9-badge{align-self:flex-start;margin:0;padding:5px 12px;border-radius:999px;background:#1F2430;color:#FFFFFF;font-size:.8rem;font-weight:800;}
.home-v9-study__official{display:flex;align-items:center;gap:14px;padding:14px 16px;border:2px solid #1D5D8C;border-radius:16px;background:#FFFFFF;}
.home-v9-study__official-icon{width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#1D5D8C;color:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;}
.home-v9-study__official strong{display:block;font-size:1.05rem;color:#164A70;line-height:1.35;}
.home-v9-study__official small{display:block;font-size:.88rem;color:#5A6270;}
.home-v9-study__desc{margin:0;font-size:1.05rem;color:#334155;}
.home-v9-study__goals{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;}
.home-v9-study__goals li{padding:7px 12px;border:1px solid #E4E6EA;border-radius:10px;background:#FFFFFF;font-size:.9rem;font-weight:600;}
.home-v9-study__steps{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;}
.home-v9-study__steps li{display:flex;align-items:center;gap:14px;padding:12px 16px;border:1px solid #E4E6EA;border-radius:14px;background:#FFFFFF;}
.home-v9-study__num{width:32px;height:32px;flex-shrink:0;border-radius:50%;border:1.5px solid #64748B;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;}
.home-v9-study__steps li.is-current .home-v9-study__num{background:#1D5D8C;border-color:#1D5D8C;color:#FFFFFF;}
.home-v9-study__steps strong{display:block;}
.home-v9-study__steps small{display:block;font-size:.88rem;color:#5A6270;}

/* Zones and other pathways */
#homeV8Shell #zoneGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;}
#homeV8Shell .zone-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  min-height:200px;
  padding:22px;
  border:0;
  border-radius:20px;
  box-shadow:none;
  text-align:left;
  font-family:var(--font-sans);
  color:#1F2430;
  text-decoration:none;
}
#homeV8Shell .zone-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px -18px rgba(31,36,48,.45);}
#homeV8Shell .zone-card__icon{display:none;}
#homeV8Shell .zone-card__label{margin:0;font-family:var(--font-heading);font-size:1.35rem;font-weight:600;color:#1F2430;}
#homeV8Shell .zone-card__age{margin:0;font-size:.95rem;font-weight:800;}
#homeV8Shell .zone-card__desc{margin:0;font-size:.95rem;line-height:1.45;}
#homeV8Shell .zone-card[data-zone="preschool"]{background:#FFF6E6;}
#homeV8Shell .zone-card[data-zone="preschool"] .zone-card__age{color:#8A5A0A;}
#homeV8Shell .zone-card[data-zone="preschool"] .zone-card__desc{color:#6B6254;}
#homeV8Shell .zone-card[data-zone="primary"]{background:#EAF3DE;}
#homeV8Shell .zone-card[data-zone="primary"] .zone-card__age,
#homeV8Shell .zone-card[data-zone="primary"] .zone-card__desc{color:#27500A;}
#homeV8Shell .zone-card[data-zone="middle"]{background:#E0F2FE;}
#homeV8Shell .zone-card[data-zone="middle"] .zone-card__age,
#homeV8Shell .zone-card[data-zone="middle"] .zone-card__desc{color:#075985;}
#homeV8Shell .zone-card[data-zone="high"]{background:#F3EEFB;}
#homeV8Shell .zone-card[data-zone="high"] .zone-card__age,
#homeV8Shell .zone-card[data-zone="high"] .zone-card__desc{color:#3C3489;}
.home-v9-other-routes{grid-column:1/-1;margin:14px 0 0;font-family:var(--font-sans);font-size:.95rem;font-weight:800;color:#5A6270;}
#homeV8Shell #specialSchoolZoneCard,
#homeV8Shell #homeHigherEducationPilot{grid-column:span 2;min-height:0;}
#homeV8Shell #specialSchoolZoneCard{background:#F6E0E6;}
#homeV8Shell #specialSchoolZoneCard .zone-card__age{color:#93334F;}
#homeV8Shell #specialSchoolZoneCard .zone-card__desc{color:#553041;}
#homeV8Shell #homeHigherEducationPilot{background:#FFFFFF;border:1.5px dashed #64748B;}
#homeV8Shell #homeHigherEducationPilot .zone-card__age{padding:3px 10px;border-radius:999px;background:#1F2430!important;color:#FFFFFF!important;font-size:.78rem;}
#homeV8Shell #homeHigherEducationPilot .zone-card__desc{color:#5A6270;}

/* What do you want to do with AI? */
#homeV8Shell .home-v8-needs{margin:64px 0 0;border:0;background:transparent;padding:0;}
#homeV8Shell .home-v8-needs__toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
  padding:22px 24px;
  border:1px solid #E4E6EA;
  border-radius:22px;
  background:#FFFFFF;
  color:#1F2430;
  text-align:left;
  font-family:var(--font-sans);
  cursor:pointer;
}
#homeV8Shell .home-v8-needs__toggle:hover{border-color:#1D5D8C;}
#homeV8Shell .home-v8-needs__copy strong{display:block;font-family:var(--font-heading);font-size:clamp(1.5rem,2.8vw,2rem);font-weight:600;line-height:1.2;}
#homeV8Shell .home-v8-needs__copy>span{display:block;margin-top:4px;font-size:.9rem;color:#5A6270;}
#homeV8Shell .home-v8-needs__arrow{width:44px;height:44px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#1D5D8C;color:#FFFFFF;font-size:1.2rem;}
#homeV8Shell .home-v8-needs__body{padding:16px 0 0;}
#homeV8Shell .home-v8-needs__body[hidden]{display:none!important;}
#homeV8Shell .home-v8-needs__grid,
#homeV8Shell .home-v8-learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
#homeV8Shell .home-v8-learning-grid{margin-top:12px;grid-template-columns:repeat(3,minmax(0,1fr));}
#homeV8Shell .home-v8-needs-card,
#homeV8Shell .home-v8-learning-card{display:flex;align-items:center;gap:14px;min-height:76px;padding:14px 18px;border:1px solid #E4E6EA;border-radius:16px;background:#FFFFFF;color:#1F2430;text-decoration:none;}
#homeV8Shell .home-v8-needs-card:hover,
#homeV8Shell .home-v8-learning-card:hover{border-color:#1D5D8C;}
#homeV8Shell .home-v8-needs-card__icon,
#homeV8Shell .home-v8-learning-card__icon{width:40px;height:40px;flex-shrink:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#EEF6FF;color:#1D5D8C;font-size:0;}
#homeV8Shell .home-v8-learning-card__icon{background:#1F2430;color:#FFFFFF;}
#homeV8Shell .home-v8-needs-card strong,
#homeV8Shell .home-v8-learning-card strong{display:block;font-weight:700;}
#homeV8Shell .home-v8-needs-card small,
#homeV8Shell .home-v8-learning-card small{display:block;font-size:.86rem;color:#5A6270;}

/* History characters */
.home-v9-characters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:32px;align-items:center;margin:64px 0 0;padding:36px;border-radius:26px;background:#EEF2F6;}
.home-v9-characters__copy{display:flex;flex-direction:column;gap:14px;}
.home-v9-characters__copy p:not(.home-v9-badge){margin:0;color:#334155;}
.home-v9-characters__cta{align-self:flex-start;display:inline-flex;align-items:center;min-height:52px;padding:0 20px;border-radius:14px;background:#1F2430;color:#FFFFFF;font-weight:800;text-decoration:none;}
.home-v9-characters__cta:hover{background:#2E3545;color:#FFFFFF;}
.home-v9-characters__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;}
.home-v9-characters__list li{display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 10px;border-radius:20px;background:#FFFFFF;text-align:center;}
.home-v9-characters__list img{width:120px;height:120px;object-fit:contain;}
.home-v9-characters__list small{font-size:.82rem;color:#5A6270;}

/* Blocks below the hero */
#zoneSelectView>.home-video-new,
#zoneSelectView>.home-v8-eng,
#zoneSelectView>.not-guide-box{max-width:1040px;margin-left:auto;margin-right:auto;}
#zoneSelectView>.home-video-new{margin-top:56px;border:1px solid #E4E6EA;border-radius:20px;background:#FFFFFF;box-shadow:none;}
.home-video-new__icon{color:#1D5D8C;background:#EEF6FF!important;}
.home-video-new__badge{background:#1F2430!important;color:#FFFFFF!important;}
.home-video-new__cta{color:#1D5D8C!important;}
#zoneSelectView>.home-v8-eng{margin-top:20px;border:1px solid #E4E6EA;border-radius:20px;background:#FFFFFF;}
.home-v8-eng__icon{width:48px;height:48px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:#E0F2FE;color:#075985;}
.home-v8-eng h2{font-family:var(--font-sans);}
.home-v8-eng>a{border-color:#1D5D8C;color:#1D5D8C;}
#zoneSelectView>.not-guide-box{margin-top:20px;border:1.5px solid #1F2430;border-radius:20px;background:transparent;}

@media(max-width:900px){
  .home-v9-top,
  .home-v9-study,
  .home-v9-characters{grid-template-columns:minmax(0,1fr);}
  .home-v9-ways{grid-template-columns:minmax(0,1fr);}
  #homeV8Shell #zoneGrid{grid-template-columns:repeat(2,minmax(0,1fr));}
  #homeV8Shell .home-v8-learning-grid{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:700px){
  #zoneSelectView .hero{padding:18px 0 0;}
  #zoneSelectView .hero__title{font-size:2.05rem;}
  #zoneSelectView .hero__subtitle{font-size:1.02rem;}
  .home-v9-finder{padding:16px;gap:14px;border-radius:18px;}
  .home-v9-chip{padding:8px 12px;font-size:.92rem;}
  .home-v9-finder__cta{align-self:stretch;justify-content:center;}
  .home-v9-trust{padding:14px 16px;}
  .home-v9-section-head{margin-top:44px;}
  #homeV8Shell .home-v8-finder-title{margin-top:44px;}
  .home-v9-study,
  .home-v9-characters{margin-top:44px;padding:20px;border-radius:20px;}
  .home-v9-study__cta{align-self:stretch;justify-content:center;}
  #homeV8Shell .home-v8-needs{margin-top:44px;}
  #homeV8Shell .home-v8-needs__grid{grid-template-columns:minmax(0,1fr);}
  #homeV8Shell .zone-card{min-height:0;padding:16px;}
  #homeV8Shell .zone-card__desc{display:none;}
  #homeV8Shell #specialSchoolZoneCard,
  #homeV8Shell #homeHigherEducationPilot{grid-column:1/-1;}
  #homeV8Shell #specialSchoolZoneCard .zone-card__desc,
  #homeV8Shell #homeHigherEducationPilot .zone-card__desc{display:block;}
  .home-v9-characters__list img{width:76px;height:76px;}
}

/* v9.1: bottom of the homepage as approved (GSL + "what this is not" side by side) */
#zoneSelectView:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;max-width:1040px;margin:0 auto;}
#zoneSelectView:not([hidden])>*{grid-column:1/-1;min-width:0;}
#zoneSelectView:not([hidden])>.home-v8-eng,
#zoneSelectView:not([hidden])>.not-guide-box{grid-column:auto;margin-top:20px;}
#zoneSelectView>.home-v8-eng{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:16px;padding:26px 28px;}
#zoneSelectView>.not-guide-box{padding:26px 28px;}
@media(max-width:760px){
  #zoneSelectView:not([hidden])>.home-v8-eng,
  #zoneSelectView:not([hidden])>.not-guide-box{grid-column:1/-1;}
}
#zoneSelectView:not([hidden]){padding-bottom:56px;}
#zoneSelectView:not([hidden])>.home-video-new,
#zoneSelectView:not([hidden])>.home-v8-eng,
#zoneSelectView:not([hidden])>.not-guide-box{width:auto;max-width:none;margin-left:0;margin-right:0;box-sizing:border-box;}

/* v9.2: compact site search in the header */
.site-header__search{position:relative;flex:0 1 240px;min-width:0;}
.site-header__search:empty{display:none;}
.site-header__search .home-global-search{margin:0;}
.site-header__search .home-global-search__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0;}
.site-header__search .home-global-search__icon{left:12px;width:16px;height:16px;font-size:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6270' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") no-repeat center/16px;}
.site-header__search .home-global-search__input{min-height:40px;padding:8px 36px 8px 36px;border:1.5px solid #64748B;border-radius:999px;background:#FFFFFF;box-shadow:none;font-family:var(--font-sans);font-size:14px;}
.site-header__search .home-global-search__input:focus{outline:3px solid #1D5D8C;outline-offset:2px;border-color:#1D5D8C;}
.site-header__search .home-global-search__clear{right:4px;width:30px;height:30px;}
.site-header__search .home-global-search__results{left:auto;right:0;width:min(440px,calc(100vw - 32px));}
@media(max-width:1100px){
  .site-nav{display:none!important;}
}
@media(max-width:760px){
  .site-header__inner{flex-wrap:wrap!important;}
  .site-header__search{order:10;flex:1 1 100%;}
  .site-header__search .home-global-search__input{font-size:16px;}
  .site-header__search .home-global-search__results{left:0;right:0;width:auto;}
}

/* v9.2: shorter page — tighter rhythm and compact cards */
.home-v9-section-head,
#homeV8Shell .home-v8-finder-title{margin-top:44px;}
.home-v9-study,
.home-v9-characters,
#homeV8Shell .home-v8-needs{margin-top:44px;}
.home-v9-study,
.home-v9-characters{padding:28px;}
.home-v9-ways>section{padding:22px;}
#homeV8Shell .zone-card{min-height:0;padding:20px;}
#homeV8Shell .home-v8-needs__toggle{padding:16px 20px;}
#homeV8Shell .home-v8-needs__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
#homeV8Shell .home-v8-needs-card,
#homeV8Shell .home-v8-learning-card{min-height:0;padding:12px 14px;gap:12px;}
#homeV8Shell .home-v8-needs-card small{font-size:.82rem;}
.home-v9-characters__list img{width:96px;height:96px;}
.home-v9-characters__list li{padding:12px 8px;}
#zoneSelectView>.home-video-new{margin-top:36px;}
@media(max-width:900px){
  #homeV8Shell .home-v8-needs__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .home-v9-section-head,
  #homeV8Shell .home-v8-finder-title,
  .home-v9-study,
  .home-v9-characters,
  #homeV8Shell .home-v8-needs{margin-top:32px;}
  #homeV8Shell .home-v8-needs__grid{grid-template-columns:minmax(0,1fr);}
  #homeV8Shell .home-v8-needs-card small,
  #homeV8Shell .home-v8-learning-card small{display:none;}
  .home-v9-ways .home-v8-helper-desc{display:none;}
  .home-v9-principle__chat{display:none;}
}
.site-header__inner{max-width:1280px;}
.site-nav{flex-grow:0;flex-shrink:0;}
.site-nav__link{white-space:nowrap;}
.site-header__search{flex:1 1 220px;max-width:300px;margin-left:auto;}
@media(max-width:1240px){
  .classroom-menu-link{display:none!important;}
}
.site-header__search #homeGlobalSearch{margin:0;}
@media(max-width:760px){
  .site-header__search{max-width:none;margin-left:0;}
}
@media(max-width:700px){
  .home-v9-principle__steps{display:none;}
  .home-v9-principle__quote{margin:0;}
  .home-v9-principle__card{padding:18px 20px;}
}
.site-header__search .home-global-search__input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none;}

/* ==========================================================================
   v9.3: "tidy-up" — shorter homepage, clearer first message, one card system.
   Presentation only: every route, id and hook stays as it was.
   ========================================================================== */
:root{--v9-radius:16px;--v9-radius-lg:20px;--v9-line:#E4E6EA;}

/* Wider content: 1040 → 1160 */
#zoneSelectView .hero{max-width:1160px;}
#zoneSelectView:not([hidden]){max-width:1160px;}

/* Hero: title + principle side by side, finder full width underneath */
@media(min-width:1000px){
  .home-v9-top{
    grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);
    grid-template-areas:"title principle" "sub principle" "badges principle" "finder finder";
    column-gap:40px;
    row-gap:0;
  }
  .home-v9-intro{display:contents;}
  .home-v9-intro>.hero__title{grid-area:title;}
  .home-v9-intro>.hero__subtitle{grid-area:sub;}
  .home-v9-intro>.hero__badges{grid-area:badges;margin-bottom:0;}
  .home-v9-intro>#homeV9Finder{grid-area:finder;margin-top:24px;}
  .home-v9-top>#homeV9Principle{grid-area:principle;align-self:start;}
}
#zoneSelectView .hero__title{margin-bottom:12px;}
#zoneSelectView .hero__subtitle{margin-bottom:14px;}

/* Finder: compact rows (label left, options right), CTA on the same row as the note */
.home-v9-finder{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px 20px;
  padding:18px 22px;
  border-radius:var(--v9-radius-lg);
  box-shadow:none;
}
.home-v9-finder>*{grid-column:1/-1;}
.home-v9-finder__label{margin:0 0 4px;font-family:var(--font-heading);font-size:1.2rem;font-weight:600;line-height:1.3;}
.home-v9-finder__step{flex-direction:row;align-items:center;gap:14px;}
.home-v9-finder__step-title{flex:0 0 170px;}
.home-v9-chip{min-height:38px;padding:6px 12px;border-radius:10px;font-size:.9rem;}
.home-v9-chip small{font-size:.8rem;}
.home-v9-finder>.home-v9-finder__note{grid-column:1;padding:9px 12px;font-size:.88rem;}
.home-v9-finder>.home-v9-finder__cta{grid-column:2;align-self:center;min-height:48px;padding:0 20px;border-radius:12px;}
.home-v9-finder>.home-v9-finder__note[hidden]+.home-v9-finder__cta{grid-column:1/-1;}

/* Principle card: about two thirds of its old height, no chat example */
.home-v9-principle__card{padding:18px 20px;border-radius:var(--v9-radius-lg);}
.home-v9-principle__label{margin-bottom:6px;}
.home-v9-principle__quote{margin-bottom:10px;font-size:1.2rem;}
.home-v9-principle__steps{gap:0;}
.home-v9-principle__steps li{grid-template-columns:26px auto 1fr;gap:10px;padding:3px 0;}
.home-v9-principle__num{width:24px;height:24px;font-size:.78rem;}
.home-v9-principle__title{font-size:.93rem;}
.home-v9-principle__sub{font-size:.8rem;}

/* Section rhythm */
.home-v9-section-head{margin:40px 0 16px;}
#homeV8Shell .home-v8-finder-title{margin-top:44px;}

/* Three ways: one card style, equal visual weight */
.home-v9-ways{gap:16px;}
.home-v9-ways>section{padding:20px;gap:8px;border-radius:var(--v9-radius-lg);border-top:4px solid #1D5D8C;}
.home-v9-ways h3{font-size:1.3rem;}
.home-v9-way__icon{width:42px;height:42px;border-radius:12px;}
.home-v9-ways .home-v8-map{background:#FFFFFF;border-color:var(--v9-line);border-top-color:#1D5D8C;color:#1F2430;}
.home-v9-ways .home-v8-map h3{color:#1F2430;}
.home-v9-ways .home-v8-map .home-v8-map__lead{color:#5A6270;}
.home-v9-ways .home-v8-map .home-v9-way__eyebrow{color:#8A5A0A;}
.home-v9-ways .home-v8-map .home-v9-way__links-label{color:#5A6270;}
.home-v9-ways .home-v8-map .home-v9-way__icon{background:#EEF6FF;color:#1D5D8C;}
.home-v9-ways .home-v8-map .home-v8-helper-links a{background:#EEF2F6;color:#1F2430;}
.home-v9-ways .home-v8-map .home-v8-helper-links a:hover{background:#EEF6FF;color:#164A70;}
.home-v9-ways .home-v8-map :focus-visible{outline-color:#1D5D8C;}
.home-v9-ways .home-v9-curriculum{border-top-color:#E8B81A;}
.home-v9-ways .home-v8-ai{border-top-color:#1F2430;}
.home-v9-ways .home-v8-helper-links a{min-height:40px;border-radius:10px;}

/* AI Study: unchanged content, same radius family */
.home-v9-study{margin-top:40px;border-radius:var(--v9-radius-lg);}

/* Levels: compact, four in a row, other pathways as slim rows */
#homeV8Shell #zoneGrid{gap:12px;}
#homeV8Shell .zone-card{padding:16px 18px;gap:4px;border-radius:var(--v9-radius);}
#homeV8Shell .zone-card__label{font-size:1.2rem;}
#homeV8Shell .zone-card__age{font-size:.88rem;}
#homeV8Shell .zone-card__desc{font-size:.87rem;line-height:1.4;}
.home-v9-other-routes{margin-top:6px;}
#homeV8Shell #specialSchoolZoneCard,
#homeV8Shell #homeHigherEducationPilot{padding:14px 18px;}
.home-v9-zones-lead{margin-bottom:16px;}

/* What do you want to do with AI? (stays closed) */
#homeV8Shell .home-v8-needs{margin-top:40px;}
#homeV8Shell .home-v8-needs__toggle{padding:14px 20px;border-radius:var(--v9-radius-lg);}
#homeV8Shell .home-v8-needs__copy strong{font-size:clamp(1.35rem,2.4vw,1.7rem);}
#homeV8Shell .home-v8-needs__arrow{width:40px;height:40px;}

/* Discover more: compact tiles */
.home-v9-more{margin:40px 0 0;}
.home-v9-more>h2{margin:0 0 16px;font-family:var(--font-heading);font-size:clamp(1.5rem,2.6vw,1.9rem);font-weight:600;line-height:1.15;color:#1F2430;}
.home-v9-more__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.home-v9-more__grid>*{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  min-width:0;
  max-width:none!important;
  margin:0!important;
  padding:18px!important;
  border:1px solid var(--v9-line)!important;
  border-radius:var(--v9-radius)!important;
  background:#FFFFFF!important;
  box-shadow:none!important;
  color:#1F2430;
  text-align:left;
  box-sizing:border-box;
}
.home-v9-more__grid h3,
.home-v9-more__grid h2,
.home-v9-more__grid strong{margin:0;font-family:var(--font-sans);font-size:1rem;font-weight:800;line-height:1.3;color:#1F2430;}
.home-v9-more__grid p{margin:0;font-size:.87rem;line-height:1.45;color:#5A6270;}
.home-v9-tile__cta,
.home-v9-more__grid .home-video-new__cta,
.home-v9-more__grid .home-v8-eng>a{margin-top:auto;padding:0!important;border:0!important;background:none!important;color:#1D5D8C!important;font-size:.9rem!important;font-weight:800;text-decoration:none;min-height:32px;display:inline-flex;align-items:center;}
.home-v9-tile__cta:hover,
.home-v9-more__grid .home-v8-eng>a:hover{text-decoration:underline;}
.home-v9-tile__icon,
.home-v9-more__grid .home-video-new__icon,
.home-v9-more__grid .home-v8-eng__icon{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#EEF6FF!important;color:#1D5D8C;}
.home-v9-tile__faces{display:flex;margin:0;padding:0;list-style:none;}
.home-v9-tile__faces li{width:42px;height:42px;margin-right:-8px;border:2px solid #FFFFFF;border-radius:50%;background:#EEF2F6;overflow:hidden;}
.home-v9-tile__faces img{width:100%;height:100%;object-fit:cover;object-position:top;}
/* video tile keeps its own markup */
.home-v9-more__grid .home-video-new__copy{display:flex;flex-direction:column;gap:6px;}
.home-v9-more__grid .home-video-new__copy>span:last-child{margin:0;font-size:.87rem;line-height:1.45;color:#5A6270;}
.home-v9-more__grid .home-video-new__badge{align-self:flex-start;padding:2px 8px;border-radius:999px;font-size:.72rem;}
.home-v9-more__grid .home-video-new:hover{transform:none;border-color:#1D5D8C!important;}
/* sign-language tile keeps its own markup */
.home-v9-more__grid .home-v8-eng__copy{flex-direction:column;align-items:flex-start;gap:8px;}

/* "What this is not": one slim line at the end */
#zoneSelectView:not([hidden])>.not-guide-box{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 18px;
  margin-top:24px;
  padding:14px 20px;
  border:1px solid var(--v9-line);
  border-radius:var(--v9-radius);
  background:#FFFFFF;
}
#zoneSelectView>.not-guide-box .not-guide-box__title{margin:0;font-size:.92rem;}
#zoneSelectView>.not-guide-box .not-guide-box__list{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;padding-left:18px;font-size:.88rem;color:#5A6270;}
#zoneSelectView>.not-guide-box .not-guide-box__list li{margin:0;}

@media(max-width:1000px){
  .home-v9-more__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .home-v9-finder{grid-template-columns:minmax(0,1fr);padding:16px;}
  .home-v9-finder__step{flex-direction:column;align-items:flex-start;gap:6px;}
  .home-v9-finder__step-title{flex:none;}
  .home-v9-finder>.home-v9-finder__note,
  .home-v9-finder>.home-v9-finder__cta{grid-column:1/-1;}
  .home-v9-finder>.home-v9-finder__cta{justify-content:center;}
  .home-v9-finder__label{font-size:1.08rem;}
  .home-v9-more{margin-top:32px;}
  .home-v9-more__grid{grid-template-columns:minmax(0,1fr);}
  .home-v9-more__grid p{display:none;}
  #homeV8Shell .home-v8-needs{margin-top:32px;}
}
@media(min-width:1000px){
  .home-v9-top{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);}
  #zoneSelectView .hero__title{font-size:clamp(2.3rem,3.5vw,3rem);}
}
.home-v9-more__grid .home-video-new__copy,
.home-v9-more__grid .home-video-new__copy strong{text-align:left;}
@media(max-width:700px){
  .home-v9-more__grid .home-video-new__copy>span:last-child{display:none;}
  .home-v9-more__grid>*{padding:14px 16px!important;}
}

/* v9.4: micro-polish */
/* 1. Hero: a little less air between badges and the finder */
#zoneSelectView .hero__badges{margin-bottom:10px;}
/* 2. Three ways: a light accent on our own AI Help, the differentiator */
.home-v9-ways .home-v8-map{border-top-color:#64748B;}
.home-v9-ways .home-v8-ai{background:#F3F8FD;border:1.5px solid #9CC0DF;border-top:4px solid #1D5D8C;}
.home-v9-ways .home-v8-ai .home-v8-helper-links a{background:#FFFFFF;}
.home-v9-ways .home-v8-ai .home-v8-helper-links a:hover{background:#EEF6FF;}
/* 3. AI Study: badge as a small pill next to the title */
.home-v9-study__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;}
.home-v9-study__head .home-v9-badge{align-self:center;padding:3px 10px;font-size:.74rem;}
/* 4. Discover more: same structure and CTA line in every tile */
.home-v9-more__grid>*{position:relative;}
.home-v9-more__grid h3,
.home-v9-more__grid .home-v8-eng h2,
.home-v9-more__grid .home-video-new__copy strong{min-height:2.6em;}
.home-v9-more__grid .home-video-new__badge{position:absolute;top:18px;right:18px;}
.home-v9-more__grid .home-v8-eng__copy>div{display:flex;flex-direction:column;gap:8px;}
.home-v9-tile__faces{height:42px;}
@media(max-width:700px){
  .home-v9-more__grid h3,
  .home-v9-more__grid .home-v8-eng h2,
  .home-v9-more__grid .home-video-new__copy strong{min-height:0;}
  .home-v9-more__grid .home-video-new__badge{top:14px;right:16px;}
}

/* ==========================================================================
   v10: shorter homepage — finder → three ways → curriculum strip → more.
   ========================================================================== */
/* Hero: the finder sits directly under the title (no side quote any more). */
@media(min-width:1000px){
  .home-v9-top{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"title" "sub" "badges" "finder";
  }
}
/* Educators: a distinct green card, with its description kept on mobile. */
.home-v9-ways .home-v9-teacher-way{background:#EEF7F3;border:1.5px solid #B9D9CE;border-top:4px solid #24594C;}
.home-v9-ways .home-v9-teacher-way .home-v9-way__icon{background:#FFFFFF;color:#24594C;}
.home-v9-ways .home-v9-teacher-way .home-v9-way__eyebrow{color:#24594C;}
.home-v9-ways .home-v9-teacher-way .home-v9-way__action{justify-content:center;padding:10px 16px;line-height:1.25;border-radius:12px;background:#24594C;color:#FFFFFF;text-align:center;}
.home-v9-ways .home-v9-teacher-way .home-v9-way__action:hover{background:#1B463C;text-decoration:none;}
.home-v9-ways .home-v9-study-way{border-top-color:#E8B81A;}
.home-v9-study-way__official{display:flex;flex-direction:column;gap:2px;margin:0;font-size:.84rem;color:#1F2430;}
.home-v9-study-way__official small{color:#5A6270;font-size:.8rem;}
@media(max-width:700px){
  .home-v9-ways .home-v9-teacher-way .home-v8-helper-desc{display:block;}
}
/* Greek Curriculum Map: one slim strip of its own. */
.home-v9-curriculum-strip{display:flex;align-items:center;gap:14px;margin-top:18px;padding:14px 18px;border:1px solid var(--v9-line);border-left:4px solid #E8B81A;border-radius:var(--v9-radius);background:#FFFFFF;color:#1F2430;text-decoration:none;}
.home-v9-curriculum-strip:hover{border-color:#1D5D8C;border-left-color:#E8B81A;}
.home-v9-curriculum-strip__icon{flex:none;width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#FFF6DA;color:#8A5A0A;}
.home-v9-curriculum-strip__copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1;}
.home-v9-curriculum-strip__badge{font-size:.78rem;font-weight:800;color:#8A5A0A;}
.home-v9-curriculum-strip__copy strong{font-size:1.02rem;}
.home-v9-curriculum-strip__copy small{font-size:.85rem;color:#5A6270;}
.home-v9-curriculum-strip__cta{flex:none;font-size:1.3rem;font-weight:800;color:#1D5D8C;}
@media(max-width:700px){
  .home-v9-curriculum-strip__copy small{display:none;}
}
/* Discover more now holds two tiles. */
.home-v9-more__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:700px){
  .home-v9-more__grid{grid-template-columns:minmax(0,1fr);}
}
/* Secondary finder link (EPAL Practice Map under the GEL one). */
.home-v9-finder>.home-v9-finder__extra{grid-column:1/-1;justify-self:end;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;color:#1D5D8C;font-weight:800;text-decoration:none;}
.home-v9-finder>.home-v9-finder__extra:hover{text-decoration:underline;}
@media(max-width:700px){
  .home-v9-finder>.home-v9-finder__extra{justify-self:center;}
}

/* v10.1: the three cards follow the finder without a visible heading (kept for screen readers). */
.home-v9-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
#homeV8HelpersMount .home-v9-ways{margin-top:28px;}
@media(max-width:700px){
  #homeV8HelpersMount .home-v9-ways{margin-top:20px;}
}
/* Chips inside AI Study / educator cards sit above the main CTA. */
.home-v9-ways .home-v9-study-way .home-v8-helper-links,
.home-v9-ways .home-v9-teacher-way .home-v8-helper-links{margin-top:0;}
.home-v9-ways .home-v9-study-way .home-v8-helper-links a{background:#FFF6DA;color:#1F2430;}
.home-v9-ways .home-v9-teacher-way .home-v8-helper-links a{background:#FFFFFF;color:#1F2430;}
.home-v9-ways .home-v9-study-way .home-v9-way__action,
.home-v9-ways .home-v9-teacher-way .home-v9-way__action{margin-top:auto;}
.home-v9-ways .home-v8-helper-links a>span{margin-right:4px;}

/* Intent-first entry: retain existing layout and destinations. */
#homeIntentLinks{grid-column:1/-1;margin:4px 0 8px;text-align:left;}
.home-intent-actions,.home-audience-links{display:flex;flex-wrap:wrap;gap:8px;}
.home-intent-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid #1d5d8c;border-radius:12px;background:#1d5d8c;color:#fff;font-weight:700;text-decoration:none;}
.home-intent-actions a+a{background:#fff;color:#1d5d8c;}
.home-audience-links{margin-top:8px;}
.home-audience-links a{display:inline-flex;align-items:center;min-height:44px;padding:6px 12px;color:#17324d;text-decoration:underline;text-underline-offset:3px;border-radius:8px;}
#homeV8FinderTitle{scroll-margin-top:150px;}
.home-intent-actions a:focus-visible,.home-audience-links a:focus-visible{outline:3px solid #b45309;outline-offset:3px;}
#homeV9Finder .home-v9-chip{min-height:44px;}
#homeV8HelpersMount .home-v8-helper-links a{min-height:44px;display:inline-flex;align-items:center;}
.home-v9-finder__label{font-family:var(--font-heading);}
.home-v9-curriculum-strip__copy small{display:block;}
@media(min-width:1000px){.home-v9-top{grid-template-areas:"title" "sub" "badges" "entry" "finder";}#homeIntentLinks{grid-area:entry;margin-top:16px;}}
@media(max-width:700px){
  .home-intent-actions{display:grid;grid-template-columns:minmax(0,1fr);}
  .home-intent-actions a{text-align:center;}
  .home-v9-curriculum-strip__copy small{display:block;font-size:.85rem;}
  #zoneSelectView .hero__title{font-size:clamp(1.75rem,7vw,2.2rem);}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}.home-v9-chip,.home-v9-way__action,.home-intent-actions a{transition:none!important;}}

/* Keep task descriptions visible on small screens; names alone are insufficient. */
@media(max-width:700px){.home-v9-ways .home-v8-helper-desc{display:block;}}
.site-header__search{min-width:160px;}
@media(max-width:760px){.site-header__search{min-width:0;}}
.home-v9-ways .home-v8-ai__links{margin-top:0;}

/* Anchor entry points must stay below the sticky site header. */
#homeV9Finder, #homeV8FinderTitle, #homeV8AiTitle {scroll-margin-top:100px;}

/* The existing quiz picker opens directly below the hero message. */
.home-v9-intro > .hero__quiz-cta-wrap{grid-area:practice;margin:4px 0 16px;}
.home-v9-intro .hero__quiz-cta{min-height:56px;}
@media(min-width:1000px){.home-v9-top{grid-template-areas:"title" "sub" "badges" "practice" "finder";}}
