/* ============================================================================
   Educators — its own composition.
   The hero is one photograph of a real classroom, full bleed, with the words
   low on the left where the room is darkest. The three moves read across the
   page as a row, and the photograph beneath them runs edge to edge and crosses
   down into the next section, so the two interlock.
   ========================================================================== */

/* ---- hero ---- */
/* min-height, never height. With a fixed height and overflow:hidden this box
   does not grow when its content needs more room - it CLIPS, and because the
   content is bottom-aligned what gets cut is the TOP of the headline. On a
   1080p monitor a Chrome window with a bookmarks bar is about 860px tall, and
   "Stop Fighting Screen Disengagement." lost 81px of its first line behind the
   fixed header. Every width in the device sweep was paired with a full-screen
   height, so the sweep never saw it; the client did, in his own browser.
   max() keeps the 700px floor on a short screen. */
.ehero{position:relative;min-height:max(700px,88svh);overflow:hidden;background:var(--void);
  display:flex;align-items:flex-end}
.ehero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% 34%}
.ehero::after{content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(11,19,43,.93) 0%,rgba(11,19,43,.78) 34%,rgba(11,19,43,.18) 72%,rgba(11,19,43,.06) 100%),
    linear-gradient(0deg,rgba(11,19,43,.88) 0%,rgba(11,19,43,.1) 46%,rgba(11,19,43,.42) 100%)}
.ehero__in{position:relative;z-index:3;width:100%;padding-top:150px;padding-bottom:clamp(58px,5.6vw,104px)}
.ehero h1{margin:0 0 24px;max-width:15ch}
.ehero__sub{max-width:580px;margin:0 0 38px;color:rgba(224,225,221,.88)}
.ehero__acts{display:flex;gap:14px;flex-wrap:wrap}

/* ---- same curriculum, new ways in ---- */
/* no max-width here: this element is also a .wrap, which is margin:0 auto, so a
   width on it centres the whole heading away from the content below. The
   measure goes on the h2. */
.ways__head{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.ways__head h2{color:var(--ink);margin:0;max-width:13ch}
.ways__head h2 em{font-style:normal;color:var(--violet)}

.ways{margin-top:clamp(50px,5vw,92px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(36px,3.6vw,76px) clamp(28px,3.4vw,74px);align-items:start}
.way__n{font-family:'SG';font-weight:400;font-size:15px;letter-spacing:.14em;color:var(--violet);
  margin:0 0 20px;display:block}
.ways h3{font-family:'SG';font-weight:400;font-size:clamp(22px,1.78vw,31px);line-height:1.08;
  letter-spacing:-.018em;color:var(--ink);margin:0 0 14px;max-width:20ch}
.ways p:not(.way__n){margin:0;color:#404A63;max-width:52ch;font-size:clamp(16px,1.05vw,17.5px)}

/* the photograph runs edge to edge and crosses into the section below */
.wide{position:relative;z-index:2;margin-top:clamp(70px,7vw,130px);
  margin-bottom:clamp(-170px,-8.5vw,-110px);margin-left:40px;margin-right:40px}
.wide img{width:100%;height:clamp(300px,34vw,620px);object-fit:cover;object-position:50% 12%;
  box-shadow:0 60px 120px -50px rgba(11,19,43,.8)}

/* ---- two statements side by side on the dark ground ---- */
.pair{background:var(--void-2);position:relative;overflow:hidden;
  padding-top:clamp(150px,13vw,240px);padding-bottom:clamp(74px,6.4vw,118px)}
.pair .stars{opacity:.42}
.pair h2.d3{font-size:clamp(26px,2.3vw,40px);line-height:1.1}
.pair__g{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(36px,5vw,110px);align-items:start}
.pair h2{color:#fff;margin:0 0 22px;max-width:12ch}
.pair h2.pair__h2{max-width:none}
.pair p{margin:0;color:rgba(224,225,221,.84);max-width:44ch}
.pair__note{display:block;margin-top:18px !important;font-size:15.5px;color:rgba(224,225,221,.6) !important}

@media (max-width:1200px){
  .ehero{height:auto;min-height:0}
  .ehero__in{padding-top:160px;padding-bottom:62px}
  .ehero img{position:absolute}
  .ways{grid-template-columns:1fr;gap:clamp(34px,4vw,54px)}
  .ways h3{max-width:none}
  .ways p:not(.way__n){max-width:54ch}
  .way__n{margin-bottom:12px}
  .pair__g{grid-template-columns:1fr;gap:clamp(40px,6vw,70px)}
  .pair h2{max-width:none}
  .pair{padding-top:clamp(150px,20vw,230px)}
}
@media (max-width:820px){
  .ehero__acts{display:grid;grid-template-columns:1fr;gap:12px;width:100%;max-width:420px}
  .ehero__acts .cta{text-align:center}
  .wide img{height:clamp(240px,52vw,340px)}
  .wide{margin-bottom:-70px}
  .pair{padding-top:120px}
}

/* ---- the game side, as a five row list (added 8 Nov with the buyer's brief) ---- */
.quest .q{display:grid;grid-template-columns:70px minmax(0,.86fr) minmax(0,1.4fr);
  gap:clamp(18px,2.6vw,46px);align-items:baseline;
  padding:clamp(24px,2.4vw,36px) 0;border-top:1px solid rgba(26,35,64,.13)}
.quest .q:first-child{border-top:0;padding-top:0}
.quest .q:last-child{padding-bottom:0}
.q__n{font-family:'SG';font-weight:400;font-size:15px;letter-spacing:.14em;
  color:var(--violet);margin:0}
.quest h3{font-family:'SG';font-weight:400;font-size:clamp(22px,1.72vw,30px);line-height:1.1;
  letter-spacing:-.018em;color:var(--ink);margin:0}
.quest p:not(.q__n){margin:0;color:#404A63;font-size:clamp(16px,1.08vw,18px);line-height:1.56}
@media (max-width:1200px){
  .quest .q{grid-template-columns:58px minmax(0,1fr);gap:12px clamp(14px,2vw,26px);
    align-items:start}
  .quest h3{grid-column:2;margin-bottom:10px}
  .quest p:not(.q__n){grid-column:2;max-width:62ch}
}
@media (max-width:820px){
  .quest .q{grid-template-columns:minmax(0,1fr);gap:10px}
  .q__n{margin-bottom:4px}
  .quest h3{grid-column:1}
  .quest p:not(.q__n){grid-column:1}
}

/* ---- the standards head the quest section never had (added 9 Nov, Don's
       confirmation that the Minnesota K-12 Academic Standards are considered
       before a quest is generated). Heading left, paragraph right, so the
       paragraph is read in a column of its own rather than running the full
       1584px of content width. ---- */
.quest__head{display:grid;grid-template-columns:70px minmax(0,.86fr) minmax(0,1.4fr);
  gap:clamp(18px,2.6vw,46px);align-items:start}
.quest__head h2{grid-column:1 / 3;color:var(--ink);margin:0}
.quest__head .lede{grid-column:3}
.quest__head h2 em{font-style:normal;color:var(--violet)}
.quest__head .lede{margin:0;color:#404A63}
.quest__rows{margin-top:clamp(48px,4.8vw,90px)}
@media (max-width:1200px){
  .quest__head{grid-template-columns:minmax(0,1fr);gap:18px}
  .quest__head .lede{max-width:62ch}
}



/* === OmniQuest Corporate /families/ Membership & Modal Styles (Architectural Match to educators.css & site.css) === */

button.cta {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.fplans {
  border-top: 1px solid rgba(26, 35, 64, .12);
}

.fcancel {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-left: 3px solid var(--ink, #1A2340);
  background: rgba(26, 35, 64, .05);
  color: var(--ink, #1A2340);
  font-size: 15px;
}

.fplans__g {
  margin-top: clamp(36px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.6vw, 64px);
  align-items: stretch;
}

.fplan {
  background: #fff;
  border: 1px solid rgba(26, 35, 64, .16);
  border-top: 3px solid var(--ink, #1A2340);
  border-radius: 4px;
  padding: clamp(30px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fplan--dark {
  background: #0B132B;
  color: #fff;
  border-color: #0B132B;
  border-top: 3px solid var(--cyan, #00F1FD);
  box-shadow: 0 48px 96px -46px rgba(11, 19, 43, .55);
}

.fplan__kicker {
  font-family: 'SG', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6B7488;
  margin: 0 0 12px;
}

.fplan--dark .fplan__kicker {
  color: var(--cyan, #00F1FD);
}

.fplan h3 {
  font-family: 'SG', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.1;
  letter-spacing: -.018em;
  color: var(--ink, #1A2340);
  margin: 0 0 16px;
}

.fplan--dark h3 {
  color: #fff;
}

.fplan__price {
  font-family: 'SG', sans-serif;
  font-weight: 300;
  font-size: clamp(42px, 3.8vw, 58px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink, #1A2340);
  margin: 0 0 14px;
}

.fplan--dark .fplan__price {
  color: #fff;
}

.fplan__price span {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: #6B7488;
}

.fplan--dark .fplan__price span {
  color: rgba(224, 225, 221, .68);
}

.fplan__desc {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: #404A63;
}

.fplan--dark .fplan__desc {
  color: rgba(224, 225, 221, .82);
}

.fplan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  border-top: 1px solid rgba(26, 35, 64, .13);
}

.fplan--dark .fplan__list {
  border-top-color: rgba(224, 225, 221, .16);
}

.fplan__list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid rgba(26, 35, 64, .09);
  font-size: 15.5px;
  line-height: 1.45;
  color: #404A63;
}

.fplan--dark .fplan__list li {
  border-bottom-color: rgba(224, 225, 221, .1);
  color: rgba(224, 225, 221, .9);
}

.fplan__list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--ink, #1A2340);
  font-family: 'SG', sans-serif;
}

.fplan--dark .fplan__list li::before {
  color: var(--cyan, #00F1FD);
}

.fplan__act .cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.fplans__foot {
  margin-top: 28px;
}

.fplans__foot p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #6B7488;
}

.fplans__foot a {
  color: var(--ink, #1A2340);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quest__rows code {
  font-family: 'SG', monospace;
  font-size: .92em;
  background: rgba(26, 35, 64, .07);
  padding: 2px 6px;
  border-radius: 3px;
}

/* --- CLEAN CHECKOUT MODAL (.fmodal) --- */
.fmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 43, .82);
  backdrop-filter: blur(5px);
}
.fmodal__card {
  position: relative;
  z-index: 2;
  background: #0B132B;
  color: #fff;
  border: 1px solid rgba(224, 225, 221, .22);
  border-top: 3px solid var(--cyan, #00F1FD);
  border-radius: 4px;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 30px 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .75);
}
.fmodal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.fmodal__top h3 {
  margin: 0;
  font-family: 'SG', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: #fff;
}
.fmodal__close {
  background: none;
  border: 0;
  color: rgba(224, 225, 221, .75);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.fmodal__plan {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: rgba(224, 225, 221, .82);
}
.fmodal__plan strong {
  color: var(--cyan, #00F1FD);
  font-weight: 500;
}
.fmodal__tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.fpill {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(224, 225, 221, .22);
  color: rgba(224, 225, 221, .86);
  font-family: inherit;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.fpill.is-on {
  border-color: var(--cyan, #00F1FD);
  background: rgba(0, 241, 253, .14);
  color: #fff;
}
.fmodal__field {
  margin-bottom: 13px;
}
.fmodal__field label {
  display: block;
  font-family: 'SG', sans-serif;
  font-size: 12.5px;
  letter-spacing: .03em;
  color: rgba(224, 225, 221, .86);
  margin-bottom: 5px;
}
.fmodal__field input,
.fmodal__pilot input {
  width: 100%;
  padding: 11px 13px;
  background: #131E3D;
  border: 1px solid rgba(224, 225, 221, .24);
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}
.fmodal__field input:focus {
  outline: none;
  border-color: var(--cyan, #00F1FD);
}
.fmodal__coppa {
  margin: 14px 0;
  padding: 12px 14px;
  background: #131E3D;
  border-left: 2px solid var(--cyan, #00F1FD);
  border-radius: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(224, 225, 221, .82);
}
.fmodal__coppa b {
  color: #fff;
}
.fmodal__chk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(224, 225, 221, .88);
  margin-bottom: 14px;
  cursor: pointer;
}
.fmodal__chk input {
  margin-top: 3px;
  accent-color: #00F1FD;
}
.fmodal__chk a {
  color: var(--cyan, #00F1FD);
  text-decoration: underline;
}
.fmodal__pilot {
  margin-bottom: 16px;
  font-size: 12.5px;
  color: rgba(224, 225, 221, .65);
}
.fmodal__pilot summary {
  cursor: pointer;
  margin-bottom: 6px;
}
.fmodal__submit {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.fmodal__err {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: #fda4af;
  text-align: center;
}

@media (max-width: 900px) {
  .fplans__g {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .fmodal__tiers {
    grid-template-columns: 1fr;
  }
}

/* ===== 23 Nov 2026 ===== */
@media (max-width:820px){
  .ehero::after{
    background:linear-gradient(180deg,
      rgba(11,19,43,.50) 0%,
      rgba(11,19,43,.84) 24%,
      rgba(11,19,43,.93) 56%,
      rgba(11,19,43,.95) 100%)}
}

.fplans__next{margin:clamp(26px,2.6vw,40px) 0 0;padding:0;list-style:none;display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.2vw,40px);
  border-top:1px solid rgba(26,35,64,.12);padding-top:clamp(22px,2.2vw,34px)}
.fplans__next li{display:flex;flex-direction:column;gap:6px}
.fplans__next a{font-family:'SG';font-weight:400;font-size:clamp(15.5px,1.08vw,17.5px);
  line-height:1.3;color:var(--ink,#1A2340);text-decoration:none;display:inline-flex;
  align-items:baseline;gap:8px;align-self:flex-start;
  border-bottom:1px solid rgba(127,0,255,.35);padding-bottom:3px;transition:border-color .3s,color .3s}
.fplans__next a i{font-style:normal;transition:transform .3s}
.fplans__next a:hover{color:var(--violet,#7F00FF);border-bottom-color:var(--violet,#7F00FF)}
.fplans__next a:hover i{transform:translateX(4px)}
.fplans__next span{font-size:14.5px;line-height:1.5;color:#6B7488;max-width:34ch}
.fplans__fn{margin:clamp(22px,2.2vw,34px) 0 0;font-size:13.5px;line-height:1.6;color:#8A91A3}
@media (max-width:900px){
  .fplans__next{grid-template-columns:1fr;gap:22px}
  .fplans__next span{max-width:46ch}
  /* stacked, the asterisk lands right under the last action's own description
     and the two read as one block. It is a different kind of sentence, so it
     gets a rule rather than just a bigger gap. */
  .fplans__fn{margin-top:24px;padding-top:20px;border-top:1px solid rgba(26,35,64,.1)}
}
