/* ============================================================
   HOMEPAGE — light, browser-first design (hm- prefix)
   Uses the tokens from style.css. Independent of hiw.css.
   ============================================================ */
:root {
  --hm-mint: #EAFBF1;
  --hm-cream: #FFF8F1;
  --hm-blue: #3B82F6;
  --hm-blue-soft: #EAF2FF;
  --hm-purple: #8B5CF6;
  --hm-purple-soft: #F1EBFF;
  --hm-orange-soft: #FFEDE3;
}
.hm-wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.hm-section { padding: 92px 0; }
.hm-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.hm-sub { color: var(--text-mid); font-size: 1.05rem; margin-top: 14px; }
.hm-center { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.hm-center .eyebrow { margin-bottom: 14px; }

/* ---------- HERO (light) ---------- */
.hm-hero { position: relative; overflow: hidden; padding: 76px 0 0; text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(37,211,102,.16), transparent 70%),
    radial-gradient(40% 40% at 90% 30%, rgba(255,107,43,.10), transparent 70%),
    linear-gradient(#fff, var(--hm-mint)); }
.hm-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(13,27,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(13,27,42,.045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.hm-hero > .hm-wrap { position: relative; z-index: 1; }
.hm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 100px; background: #fff; border: 1px solid var(--border);
  font-size: .82rem; font-weight: 700; color: var(--text-mid); box-shadow: 0 6px 18px rgba(13,27,42,.06); margin-bottom: 26px; }
.hm-pill i { font-style: normal; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(37,211,102,.2); }
.hm-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 920px; margin: 0 auto 22px; }
.hm-mark { position: relative; white-space: nowrap; z-index: 0; }
.hm-mark::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .34em; background: rgba(37,211,102,.38); border-radius: 6px; z-index: -1; transform: rotate(-1deg); }
.hm-lead { font-size: 1.15rem; color: var(--text-mid); max-width: 640px; margin: 0 auto 72px; }
.hm-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.hm-ghost { background: #fff; color: var(--text-dark); border: 2px solid var(--border); }
.hm-ghost:hover { border-color: var(--text-dark); background: #fff; color: var(--text-dark); }
.hm-note { font-size: .84rem; color: var(--text-light); }
.hm-note b { color: var(--green-dark); }

/* hero chat mockup */
.hm-stage { position: relative; max-width: 470px; margin: 54px auto 0; }
.hm-crumb { display: inline-flex; align-self: flex-start; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; background: var(--hm-orange-soft); color: var(--orange); }
.hm-q { font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.hm-opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 13px; font-size: .88rem; font-weight: 600; background: #fff; }
.hm-opt i { font-style: normal; width: 24px; height: 24px; border-radius: 8px; background: var(--off-white); display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: var(--text-mid); flex: none; }
.hm-opt.ok { border-color: var(--green); background: var(--hm-mint); } .hm-opt.ok i { background: var(--green); color: #fff; }
.hm-chip-float { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 9px 16px; font-size: .8rem; font-weight: 700; box-shadow: 0 14px 34px rgba(13,27,42,.14); z-index: 2; animation: hm-bob 6s ease-in-out infinite; white-space: nowrap; }
.hm-chip-float.a { left: -250px; top: 150px; } .hm-chip-float.b { right: -232px; top: 330px; animation-delay: -3s; }
@keyframes hm-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hm-chat { background: #fff; border-radius: 26px 26px 0 0; border: 1px solid var(--border); border-bottom: none; box-shadow: 0 -10px 60px rgba(13,27,42,.10), 0 30px 80px rgba(13,27,42,.14); text-align: left; overflow: hidden; }
.hm-chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: #fff; }
.hm-av { width: 40px; height: 40px; border-radius: 50%; background: var(--hm-mint); overflow: hidden; flex: none; } .hm-av svg { display: block; width: 100%; height: 100%; }
.hm-chat-top strong { display: block; font-size: .92rem; line-height: 1.2; }
.hm-chat-top span { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--text-light); }
.hm-chat-top span i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hm-msgs { padding: 6px 16px 18px; background: #F7F9FB; min-height: 470px; display: flex; flex-direction: column; }
.hm-m { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hm-b { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: .88rem; line-height: 1.45; }
.hm-b small { display: block; color: var(--orange); font-weight: 800; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.hm-b.bot { background: #fff; border: 1px solid var(--border); border-top-left-radius: 5px; }
.hm-b.me { background: var(--navy); color: #fff; border-top-right-radius: 5px; align-self: flex-end; }
.hm-b.fb { background: var(--hm-mint); border-color: #b9ecd0; }
.hm-b.fb b { color: var(--green-dark); }
.hm-m > .hm-opts { display: grid; gap: 6px; width: 88%; }
.hm-opts .hm-opt { padding: 9px 12px; font-size: .84rem; border-radius: 12px; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-chips span { padding: 7px 14px; border-radius: 100px; border: 1.5px solid var(--border); background: #fff; font-size: .78rem; font-weight: 700; color: var(--text-mid); }
.hm-chips span.go { border-color: var(--green); color: var(--green-dark); background: var(--hm-mint); }
.hm-composer { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); background: #fff; }
.hm-composer span { flex: 1; padding: 10px 16px; border-radius: 100px; background: var(--off-white); color: var(--text-light); font-size: .82rem; }
.hm-composer b { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.hm-dotsw { display: inline-flex; gap: 5px; padding: 3px 2px; }
.hm-dotsw u { width: 7px; height: 7px; border-radius: 50%; background: #b4bfcc; animation: hm-blink 1s ease-in-out infinite; }
.hm-dotsw u:nth-child(2) { animation-delay: .15s; } .hm-dotsw u:nth-child(3) { animation-delay: .3s; }
@keyframes hm-blink { 0%,80%,100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hm-chatcard .hm-msgs { background: transparent; padding: 0; min-height: 0; }
.hm-chatcard .hm-m:first-child { margin-top: 0; }

/* Mindy, the chat buddy */
.hm-brow { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.hm-brow .mini { width: 36px; flex: none; }
.hm-brow .hm-b { max-width: calc(100% - 46px); }
.hm-chips-in { padding-left: 44px; }
.hm-final-card .sitbtn { margin-top: 56px; }

/* hero chat plays as a short conversation */
.hm-seq .hm-m { animation: hm-msg .5s ease both; max-height: 300px; overflow: hidden; }
.hm-seq .s1 { animation-delay: 1.4s; } .hm-seq .s2 { animation-delay: 3.6s; } .hm-seq .s3 { animation-delay: 5.2s; } .hm-seq .s4 { animation-delay: 6.4s; }
.hm-seq .hm-typing { animation: hm-type 1.1s ease both; }
.hm-seq .t1 { animation-delay: .3s; } .hm-seq .t2 { animation-delay: 4.1s; }
.hm-seq .hm-opt.pick { animation: hm-pick .4s ease 3.5s both; }
@keyframes hm-msg { from { opacity: 0; max-height: 0; margin-top: 0; transform: translateY(8px); } to { opacity: 1; max-height: 300px; margin-top: 10px; transform: none; } }
@keyframes hm-type { 0% { opacity: 0; max-height: 0; margin-top: 0; } 15% { opacity: 1; max-height: 60px; margin-top: 10px; } 85% { opacity: 1; max-height: 60px; margin-top: 10px; } 100% { opacity: 0; max-height: 0; margin-top: 0; } }
@keyframes hm-pick { to { border-color: var(--green); background: var(--hm-mint); } }

/* ---------- TICKER ---------- */
.hm-ticker { background: var(--navy); color: #fff; overflow: hidden; padding: 16px 0; }
.hm-track { display: flex; gap: 40px; width: max-content; animation: hm-scroll 34s linear infinite; }
.hm-ticker span { font-family: var(--font-display); font-weight: 700; font-size: .92rem; letter-spacing: .02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.hm-ticker span::after { content: '✦'; color: var(--green); font-size: .8rem; }
@keyframes hm-scroll { to { transform: translateX(-50%); } }

/* ---------- TABS ---------- */
.hm-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hm-tab { font: inherit; font-weight: 700; font-size: .95rem; padding: 11px 22px; border-radius: 100px; border: 1.5px solid var(--border); background: #fff; color: var(--text-mid); cursor: pointer; transition: all .2s; }
.hm-tab:hover { border-color: var(--text-dark); color: var(--text-dark); }
.hm-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(13,27,42,.2); }
.hm-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--panel, var(--hm-mint)); border-radius: 32px; padding: 52px 52px; }
.hm-panel[hidden] { display: none; }
.hm-panel h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.hm-panel p { color: var(--text-mid); margin-bottom: 18px; }
.hm-list { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; }
.hm-list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.hm-list li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--green)); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.hm-p1 { --panel: var(--hm-mint); --c: var(--green); } .hm-p2 { --panel: var(--hm-orange-soft); --c: var(--orange); } .hm-p3 { --panel: var(--hm-blue-soft); --c: var(--hm-blue); }
.hm-card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 24px 60px rgba(13,27,42,.12); }
.hm-card .hm-q { margin: 10px 0 12px; font-size: 1rem; }
.hm-card .hm-opt { margin-top: 8px; }
.hm-miss { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); font-size: .86rem; font-weight: 600; }
.hm-miss:first-of-type { border-top: none; }
.hm-miss small { display: block; color: var(--text-light); font-weight: 500; font-size: .74rem; }
.hm-miss .go { margin-left: auto; padding: 6px 12px; border-radius: 100px; background: var(--hm-orange-soft); color: var(--orange); font-size: .74rem; font-weight: 800; white-space: nowrap; }
.hm-miss .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--off-white); display: grid; place-items: center; flex: none; }
.hm-file { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--border); }
.hm-file:first-of-type { border-top: none; }
.hm-file .pdf { width: 40px; height: 48px; border-radius: 8px; background: var(--hm-blue-soft); color: var(--hm-blue); font-size: .62rem; font-weight: 800; display: grid; place-items: end center; padding-bottom: 6px; flex: none; position: relative; }
.hm-file .pdf::before { content: '📄'; position: absolute; top: 6px; font-size: 1.1rem; }
.hm-file b { display: block; font-size: .88rem; } .hm-file small { color: var(--text-light); font-size: .74rem; }
.hm-file .dl { margin-left: auto; font-size: 1.1rem; }

/* ---------- STATS BAND ---------- */
.hm-band { background: linear-gradient(120deg, #17b862, var(--green) 45%, #12a35b); color: #fff; position: relative; overflow: hidden; }
.hm-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px); background-size: 24px 24px; opacity: .6; }
.hm-band-in { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 50px 24px; max-width: var(--max-width); margin: 0 auto; }
.hm-num { text-align: center; padding: 0 12px; border-right: 1px solid rgba(255,255,255,.28); }
.hm-num:last-child { border-right: none; }
.hm-num b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.1; }
.hm-num span { font-size: .88rem; opacity: .92; font-weight: 600; }

/* ---------- STEPS ---------- */
.hm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: st; }
.hm-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 34px 30px 32px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.hm-step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(13,27,42,.1); border-color: var(--sc); }
.hm-step::after { counter-increment: st; content: '0' counter(st); position: absolute; right: 20px; top: 4px; font-family: var(--font-display); font-weight: 800; font-size: 5.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--sc); opacity: .28; }
.hm-step .ic { width: 58px; height: 58px; border-radius: 18px; background: var(--ss); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 22px; }
.hm-step h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; position: relative; }
.hm-step p { color: var(--text-mid); font-size: .95rem; position: relative; }
.hm-s1 { --sc: var(--green); --ss: var(--hm-mint); } .hm-s2 { --sc: var(--orange); --ss: var(--hm-orange-soft); } .hm-s3 { --sc: var(--hm-blue); --ss: var(--hm-blue-soft); }
.hm-more { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 44px; }

/* ---------- SCHOOLS (dark split) ---------- */
.hm-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hm-dark::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(37,211,102,.28), transparent 65%); }
.hm-split { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.hm-dark .eyebrow { background: rgba(37,211,102,.14); color: var(--green); }
.hm-dark .hm-sub { color: rgba(255,255,255,.72); }
.hm-rows { display: grid; gap: 14px; }
.hm-row { display: flex; gap: 18px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 20px 22px; transition: background .2s, transform .2s; }
.hm-row:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.hm-row .ic { width: 54px; height: 54px; flex: none; border-radius: 16px; background: rgba(37,211,102,.16); display: grid; place-items: center; font-size: 1.5rem; }
.hm-row h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin-bottom: 2px; }
.hm-row p { font-size: .9rem; color: rgba(255,255,255,.7); }

/* ---------- FINAL CTA ---------- */
.hm-final { padding: 30px 0 96px; }
.hm-final-card { position: relative; overflow: hidden; border-radius: 36px; padding: 68px 32px; text-align: center; color: #fff;
  background: radial-gradient(60% 90% at 15% 0%, #2be072, transparent 60%), radial-gradient(50% 80% at 100% 100%, #ff8a4c, transparent 60%), linear-gradient(135deg, #12a35b, #0f8f6a); }
.hm-final-card h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; position: relative; }
.hm-final-card p { font-size: 1.08rem; opacity: .95; margin-bottom: 30px; position: relative; }
.hm-final-card .btn { position: relative; background: #fff; color: var(--navy); font-size: 1.05rem; }
.hm-final-card .hm-tag { position: relative; display: inline-block; margin-bottom: 20px; padding: 7px 16px; border-radius: 100px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); font-size: .82rem; font-weight: 700; }

/* ---------- REVEAL ---------- */
.js .hm-r { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .hm-r.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hm-track, .hm-chip-float { animation: none; } .hm-seq .hm-m, .hm-seq .hm-opt.pick { animation: none; } .hm-seq .hm-typing { display: none; } .hm-seq .hm-opt.pick { border-color: var(--green); background: var(--hm-mint); } .js .hm-r { opacity: 1; transform: none; transition: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hm-panel { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .hm-steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .hm-split { grid-template-columns: 1fr; gap: 40px; }
  .hm-band-in { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .hm-num:nth-child(2) { border-right: none; }
  .hm-chip-float { display: none; }
}
@media (max-width: 640px) {
  .hm-section { padding: 64px 0; }
  .hm-hero { padding-top: 56px; }
  .hm-panel { padding: 28px 20px; border-radius: 26px; }
  .hm-final-card { padding: 48px 22px; border-radius: 28px; }
  .hm-tab { padding: 10px 16px; font-size: .88rem; }
}
