/* The Chromozone homepage in the new look (R9, 11 Nov 2026; Laura picked the design). Only the homepage's own main
   content is styled here (everything is under .hm); the shared header, beta bar and footer keep css/site.css until
   the rest of the site switches. Fonts: the self-hosted Poppins and Nunito files in /fonts/ (as css/lesson-tabs.css). */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.hm { --g1: #CBDED3; --g2: #8BA49A; --g3: #3B6255; --hl: #e3c567; --task: #5f8a62; --stretch: #9b4a45;
  --ink: #12302b; --ink2: #2f4f49; --line: #e1dccd; --cream2: #efeadc;
  font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); line-height: 1.55; }
.hm .wrap { max-width: 1160px; padding: 0 24px; }
.hm h1, .hm h2, .hm h3, .hm-btn, .hm-tab, .hm-num { font-family: 'Poppins', system-ui, sans-serif; letter-spacing: 0; }
.hm h1, .hm h2 { font-weight: 700; }
.hm h3 { font-weight: 600; }
.hm a { color: var(--g3); }
.hm a:hover { color: var(--ink); }
.hm :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.hm .hm-dark :focus-visible { outline-color: var(--hl); }
.hm [hidden] { display: none !important; }

.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 11px 24px; border-radius: 8px; background: var(--g3); color: #fff !important; border: 2px solid var(--g3); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.hm-btn:hover { background: var(--ink); border-color: var(--ink); }
.hm-btn--ghost { background: transparent; color: var(--g3) !important; }
.hm-btn--ghost:hover { background: #e8f1ec; color: var(--ink) !important; border-color: var(--g3); }
.hm-btn--yellow { background: var(--hl); border-color: var(--hl); color: var(--ink) !important; }
.hm-btn--yellow:hover { background: #fff; border-color: #fff; }

/* Hero */
.hm-hero { padding: 56px 0 40px; text-align: center; }
.hm-hero h1 { font-size: clamp(2.5rem, 9vw, 4rem); line-height: 1.1; margin: 0 auto 18px; max-width: 900px; }
.hm-hl { background: var(--hl); padding: 0 8px; border-radius: 4px; }
.hm-hero .hm-lead { font-size: 1.3rem; margin: 0 auto 28px; color: var(--ink2); max-width: 640px; }
.hm-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hm-note { font-size: 0.92rem; color: var(--ink2); margin: 14px 0 0; }
.hm-note a { font-weight: 700; }
.hm-chip { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; font-size: 0.88rem; color: var(--ink2); margin: 0 0 18px; }
.hm-chip b { background: var(--ink); color: #f7f4ec; border-radius: 999px; padding: 3px 10px; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: 'Poppins', system-ui, sans-serif; }

/* Founding Teacher card */
.hm-founding { padding: 0 0 40px; }
.hm-founding-card { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--hl); border-radius: 12px; padding: 22px 26px; max-width: 860px; margin: 0 auto; display: grid; gap: 8px; }
.hm-founding-card h2 { font-size: 1.5rem; margin: 0; }
.hm-founding-card p { margin: 0; color: var(--ink2); }
.hm-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g3); }
.hm-founding-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 4px !important; }
.hm-founding-note { font-size: 0.9rem; }

/* Three steps */
.hm-steps { padding: 24px 0 72px; display: grid; gap: 56px; }
.hm-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.hm-step--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.hm-step--flip .hm-step-copy { order: 2; }
.hm-num { display: block; font-size: 4.5rem; font-weight: 700; line-height: 1; color: var(--g3); }
.hm-step h2 { font-size: 1.9rem; line-height: 1.2; margin: 6px 0 12px; }
.hm-step p { margin: 0 0 12px; color: var(--ink2); font-size: 1.06rem; }
.hm-step p:last-child { margin-bottom: 0; }

/* The previews: static pictures of the lesson tabs, not controls */
.hm-shot { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 30px rgba(18,48,43,.08); min-width: 0; }
.hm-shot-top { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.hm-shot-spec { font-size: 0.82rem; color: var(--ink2); font-weight: 700; }
.hm-shot h3 { font-size: 1.05rem; margin: 2px 0 0; line-height: 1.3; }
.hm-tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.8rem; font-weight: 700; }
.hm-tag { border: 2px solid var(--g3); color: var(--g3); padding: 3px 12px; border-radius: 8px; }
.hm-tag--fill { background: var(--g3); color: #fff; }
.hm-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 10px 20px 0; border-bottom: 1px solid var(--line); }
.hm-tab { padding: 8px 16px; font-weight: 600; font-size: 0.88rem; color: var(--ink2); }
.hm-tab--on { background: var(--g3); color: #fff; border-radius: 8px 8px 0 0; }
.hm-body { padding: 20px; display: grid; gap: 14px; font-size: 0.95rem; }
.hm-body b { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; }
.hm-sub { color: var(--ink2); }
.hm-need { background: #e8f1ec; border-radius: 10px; padding: 12px 14px; }
.hm-order { display: grid; gap: 6px; margin-top: 6px; }
.hm-order > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.hm-order > div:last-child { border-bottom: 0; }
.hm-small { font-size: 0.82rem; color: var(--ink2); }
.hm-slides { display: flex; gap: 14px; padding: 16px 20px; }
.hm-strip { flex: 0 0 54px; display: grid; gap: 6px; align-content: start; }
.hm-strip i { display: block; height: 34px; border-radius: 5px; }
.hm-slide { flex: 1; min-width: 0; }
.hm-slide-box { background: var(--ink); color: #f7f4ec; border-radius: 10px; overflow: hidden; }
.hm-slide-title { background: #567f59; color: #fff; padding: 10px 16px; display: flex; justify-content: space-between; gap: 10px; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 1.05rem; }
.hm-slide-box ol { margin: 0; padding: 14px 16px 16px 36px; display: grid; gap: 8px; font-size: 0.97rem; }
.hm-notes { display: grid; gap: 6px; margin-top: 12px; font-size: 0.88rem; }
.hm-bar { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 0.82rem; font-weight: 700; }
.hm-yellow { background: #fbf3d4; border-radius: 10px; padding: 12px 14px; }
.hm-yellow .hm-tag { display: inline-block; margin-top: 8px; padding: 2px 12px; }
.hm-hw { border-top: 1px solid var(--line); padding-top: 12px; }
.hm-hw .hm-eyebrow { display: block; }
.hm-hw strong { display: block; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; margin-top: 2px; }

/* More, courses, teacher */
.hm-band { background: var(--cream2); padding: 64px 0; }
.hm-band h2, .hm-courses h2 { font-size: 2.1rem; margin: 0 0 8px; }
.hm-band .hm-sub { margin: 0 0 28px; font-size: 1.06rem; }
.hm-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.hm-tool { display: block; height: 100%; box-sizing: border-box; background: #f7f4ec; border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-decoration: none; color: var(--ink) !important; }
.hm-tool h3 { font-size: 1.05rem; margin: 0 0 6px; }
.hm-tool span { font-size: 0.95rem; color: var(--ink2); }
a.hm-tool:hover { border-color: var(--g3); }
.hm-courses { padding: 64px 0; }
.hm-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.hm-grid3 > li { display: flex; }
.hm-card { --c: var(--g3); --c1: var(--g1); flex: 1; display: block; box-sizing: border-box; background: #fff; border: 2px solid var(--c); border-radius: 12px; padding: 20px; text-decoration: none; color: var(--ink) !important; transition: transform .15s, box-shadow .15s; }
.hm-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(18,48,43,.16); }
.hm-card--chem { --c: #3B5A70; --c1: #CFDCE3; }
.hm-card--psych { --c: #9A5A33; --c1: #F0D9C6; }
.hm-badge { display: inline-block; background: var(--c1); color: var(--ink); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; }
.hm-badge--new { background: var(--hl); letter-spacing: 0; text-transform: none; margin-left: 4px; }
.hm-card h3 { font-size: 1.35rem; font-weight: 700; margin: 8px 0 4px; }
.hm-card span.hm-sub { font-size: 0.95rem; }
.hm-more { flex: 1; background: var(--cream2); border: 2px dashed var(--g2); border-radius: 12px; padding: 20px; box-sizing: border-box; }
.hm-more h3 { font-size: 1.2rem; margin: 4px 0; }
.hm-all { margin: 20px 0 0; }
.hm-teacher { padding: 0 0 64px; }
.hm-teacher h2 { font-size: 1.6rem; margin: 0 0 14px; }
.hm-teacher ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hm-teacher li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 0.95rem; }

/* Closing call to action: the sign-up section (id="signup") keeps site.css's dark section */
.hm-dark { text-align: center; }
.hm-dark .wrap { max-width: 760px; }
.hm-dark h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.2; margin: 0 0 12px; color: #f7f4ec; }
.hm-dark p { margin: 0 0 22px; font-size: 1.1rem; color: #f7f4ec; }
.hm-dark .hm-fine { font-size: 0.92rem; margin: 14px 0 0; }
.hm-dark .hm-fine a { color: var(--hl); }
.hm-dark .hm-fine a:hover { color: #fff; }

@media (max-width: 860px) {
  .hm-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hm .wrap { padding: 0 16px; }
  .hm-hero { padding: 40px 0 28px; }
  .hm-step, .hm-step--flip { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hm-step--flip .hm-step-copy { order: 0; }
  .hm-steps { gap: 44px; }
  .hm-grid4, .hm-grid3 { grid-template-columns: minmax(0, 1fr); }
  .hm-num { font-size: 3.4rem; }
  .hm-step h2 { font-size: 1.6rem; }
  .hm-band, .hm-courses { padding: 48px 0; }
  .hm-band h2, .hm-courses h2 { font-size: 1.7rem; }
  .hm-shot-top, .hm-tabs, .hm-body, .hm-slides, .hm-bar { padding-left: 14px; padding-right: 14px; }
  .hm-strip { flex-basis: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-card { transition: none; }
  .hm-card:hover { transform: none; }
}
