/* Marketing site (Home, For Teachers, For Students, About): shared header nav + mobile menu, footer, warm bands,
   product screenshots in browser / phone frames, benefit cards, chalkboard "class period", education strip (university logos),
   scroll-in reveal. Motion is transform/opacity only and switched off with prefers-reduced-motion. */
.site-page { background: #fff; --warm: #fff5ef; --warm-2: #ffe9df; }
.site-page section.band { padding: 64px 0; }
.site-page section.band.alt { background: #fff; }
.site-page section.band.cool { background: linear-gradient(180deg, #f3f6fc 0%, #f8faff 100%); }
.site-page section.band.warm { background: linear-gradient(180deg, var(--warm) 0%, #fff8f4 100%); }
.site-page section.band h2 { font-size: 2.05rem; letter-spacing: -.01em; }

/* header nav */
.site-top { backdrop-filter: saturate(1.4) blur(8px); background: rgba(255,255,255,.92); }
.site-nav { gap: 22px; }
.site-nav a.opt { position: relative; padding: 6px 0; color: #3a3838; }
.site-nav a.opt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a.opt:hover::after, .site-nav a.opt[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a.opt[aria-current="page"] { color: var(--blue); }
.site-nav a.login { color: var(--blue); }
.site-nav .demo-btn { box-shadow: 0 6px 16px rgba(235,71,61,.25); }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-tint); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-ic { display: grid; gap: 4px; } .mnav-ic i { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--blue); transition: transform .2s, opacity .2s; }
.mnav[open] .mnav-ic i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); } .mnav[open] .mnav-ic i:nth-child(2) { opacity: 0; } .mnav[open] .mnav-ic i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mnav-panel { position: absolute; right: 0; top: 54px; width: min(300px, 86vw); background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(19,47,107,.18); border: 1px solid var(--line); padding: 10px; display: grid; gap: 2px; }
.mnav-panel a { padding: 12px 14px; border-radius: 12px; font-size: 1.02rem; }
.mnav-panel a:hover, .mnav-panel a[aria-current="page"] { background: var(--blue-tint); color: var(--blue); }
.mnav-panel .btn { margin-top: 6px; }
@media (max-width: 900px) { .site-nav .login, .site-nav .demo-btn { display: none; } .mnav { display: block; } }

/* hero */
.site-hero { background: radial-gradient(1200px 500px at 85% 10%, var(--warm-2) 0%, rgba(255,233,223,0) 60%), linear-gradient(180deg, var(--pink) 0%, #fff 85%); padding: 64px 0 56px; overflow: hidden; }
.site-hero h1 { font-size: 3rem; letter-spacing: -.02em; line-height: 1.1; }
.site-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.hero-art, .hero-phone { position: relative; justify-self: center; width: 100%; max-width: 400px; }
.hero-blob { position: absolute; inset: 8% 4% 4%; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: radial-gradient(circle at 30% 30%, #fff 0%, #ffe3d9 55%, #ffd2c4 100%); box-shadow: inset 0 0 0 10px rgba(255,255,255,.6); animation: blob 14s ease-in-out infinite alternate; }
.hero-art .lola-hero { position: relative; max-width: 360px; margin: 0 auto; display: block; }
.float-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .88rem; color: var(--blue-dark); box-shadow: 0 10px 26px rgba(19,47,107,.14); white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.float-chip i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-tint); font-size: .8rem; color: var(--blue); }
/* Home hero chips sit in the corners, clear of Lola's face and eyes (the face is the middle ~25-78% across, 15-70% down
   the mascot): top-left above her ear, bottom-left by her tail, bottom-right under her paw. Never put a chip mid-height. */
.fc1 { top: 2%; left: -6%; } .fc2 { bottom: 0; right: -6%; animation-delay: -2s; } .fc3 { bottom: 15%; left: -8%; animation-delay: -4s; }
.fc4 { top: 14%; left: -14%; } .fc5 { top: 44%; right: -12%; animation-delay: -2s; } .fc6 { bottom: 14%; left: -10%; animation-delay: -4s; }
.page-hero h1 { font-size: 2.7rem; }
.page-hero .wrap { grid-template-columns: 1.05fr .95fr; }
.hero-shot { margin: 0; }
.about-lola { max-width: 300px !important; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes blob { from { border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; transform: rotate(0); } to { border-radius: 54% 46% 44% 56% / 46% 56% 44% 54%; transform: rotate(8deg); } }

/* benefit cards */
.benefits h2 { margin-bottom: 26px !important; }
.benefit { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; border: 1px solid #f3ebe8; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.benefit h3 { margin: 8px 0 2px; font-size: 1.12rem; } .benefit p { margin: 0 0 6px; color: var(--muted); flex: 1; }
.benefit .more { font-weight: 700; color: var(--blue); font-size: .9rem; }
.benefit:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(27,65,145,.14); border-color: var(--blue-tint-2); color: inherit; }
.b-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.b-ico.red { background: #fde4e2; color: var(--red); } .b-ico.teal { background: var(--teal-tint); color: #13806e; } .b-ico.amber { background: #fff1d6; color: #b9770e; }
.b-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) { .benefit-grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefit-grid.g4 { grid-template-columns: 1fr; } }

/* product frames */
.frame-browser { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(19,47,107,.18), 0 0 0 1px rgba(19,47,107,.08); transition: transform .3s ease, box-shadow .3s ease; }
.frame-browser:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(19,47,107,.22), 0 0 0 1px rgba(19,47,107,.08); }
.fb-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f3f4f8; border-bottom: 1px solid #e6e8ef; }
.fb-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; } .fb-bar i:nth-child(2) { background: #ffbd2e; } .fb-bar i:nth-child(3) { background: #28c941; }
.fb-bar span { margin-left: 10px; flex: 1; max-width: 260px; background: #fff; border-radius: 8px; padding: 2px 10px; font-size: .74rem; color: #6b7080; font-weight: 600; }
.frame-browser img, .frame-phone img { display: block; width: 100%; height: auto; }
.frame-phone { margin: 0; background: #1d2333; border-radius: 34px; padding: 9px; box-shadow: 0 26px 60px rgba(19,47,107,.28); position: relative; }
.frame-phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 70px; height: 7px; margin-left: -35px; border-radius: 6px; background: #3a4155; z-index: 2; }
.frame-phone img { border-radius: 26px; }
.frame-phone.big { max-width: 300px; margin: 0 auto; }
.peek-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.peek-copy p { font-size: 1.06rem; }
.peek-links { display: flex; gap: 10px; flex-wrap: wrap; }
.peek-art { position: relative; padding: 0 70px 50px 0; }
.peek-art .frame-phone { position: absolute; width: 30%; max-width: 210px; right: 0; bottom: 0; }

/* feature rows (teachers / students) */
.feature-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.feature-row.flip .fr-copy { order: 2; }
.fr-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: 4px; }
.fr-copy p { font-size: 1.06rem; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; line-height: 1.5; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-tint); color: #13806e; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }

/* chalkboard: a class period */
.chalk-band { background: #fff; }
.chalkboard { position: relative; background: radial-gradient(900px 300px at 20% 0%, rgba(255,255,255,.07), rgba(255,255,255,0) 70%), #24443a; border: 14px solid #8a5a35; border-radius: 18px; box-shadow: inset 0 0 60px rgba(0,0,0,.35), 0 24px 50px rgba(43,42,42,.18); padding: 34px 36px 70px; color: #f4f1e6; }
.chalkboard h2 { color: #fff !important; } .cb-head p { color: #dfe9e3; font-size: 1.08rem; margin: 0 0 22px; }
.cb-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cb-steps li { border: 2px dashed rgba(244,241,230,.35); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; transition: background .2s, transform .2s; }
.cb-steps li:hover { background: rgba(255,255,255,.06); transform: translateY(-3px); }
.cb-steps b { font-size: 1.12rem; color: #fff; } .cb-steps span { color: #dfe9e3; font-size: .95rem; }
.cb-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f4f1e6; color: #24443a !important; font-weight: 800; font-size: 1rem !important; }
.cb-tray { position: absolute; left: 0; right: 0; bottom: -14px; height: 34px; background: #a06a40; border-radius: 0 0 8px 8px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.cb-math { font-family: Georgia, 'Times New Roman', serif; font-style: italic; color: #f4f1e6; opacity: .9; position: relative; top: -44px; font-size: 1.2rem; }
.cb-tray img { width: 56px; height: 56px; border-radius: 50%; position: relative; top: -26px; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.3); background: #fff; }

/* education strip: university logos (web/static/logos, sources in logos/SOURCES.txt), all the same height, shown in
   their full official colours; aspect ratios kept (width: auto). They scroll in one row as a slow seamless marquee:
   the track holds the set twice (the copy is aria-hidden) and moves by -50%, so the loop has no jump. Each logo carries
   its own side padding (no flex gap) so both halves are exactly the same width. Pauses on hover / keyboard focus;
   with prefers-reduced-motion it is a static, centred, wrapping row (see the reduced-motion block below). */
.edu-strip { background: #fff; }
.edu-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.edu-strip.no-photo .edu-wrap { grid-template-columns: 1fr; max-width: 860px; text-align: center; }
.edu-copy h2 { font-size: 2.3rem !important; color: var(--charcoal) !important; font-weight: 600; }
.edu-copy > p:first-of-type { font-size: 1.08rem; color: #555; max-width: 34em; }
.edu-strip.no-photo .edu-copy > p { margin-left: auto; margin-right: auto; }
.edu-strip.no-photo .edu-wrap { max-width: 1000px; }
.edu-copy { min-width: 0; }                                  /* lets the marquee stay inside its grid column on Home */
.uni-marquee { --logo-h: 40px; --logo-pad: 30px; position: relative; overflow: hidden; max-width: 100%; margin: 26px 0 14px;
  padding: 4px 0; outline-offset: 4px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.edu-strip.no-photo .uni-marquee { max-width: 760px; margin-left: auto; margin-right: auto; }
.uni-track { display: flex; width: max-content; animation: uni-scroll 30s linear infinite; will-change: transform; }
.uni-marquee:hover .uni-track, .uni-marquee:focus-within .uni-track { animation-play-state: paused; }
@keyframes uni-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.uni-logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: nowrap; align-items: center; flex-shrink: 0; }
.uni { display: flex; align-items: center; height: var(--logo-h); margin: 0; padding: 0 var(--logo-pad); flex-shrink: 0; }
.uni img { display: block; height: var(--logo-h); width: auto; max-width: 100%; object-fit: contain; }
.edu-note { max-width: 40em; font-size: .8rem !important; color: #8a8a8a !important; margin-top: 4px; }
.edu-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 22px 50px rgba(19,47,107,.16); position: relative; aspect-ratio: 4 / 3; }
.edu-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; display: block; transition: transform 1.2s ease; }
.edu-photo:hover img { transform: scale(1.03); }
.edu-photo figcaption { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 700; color: var(--blue-dark); }

/* CTA + footer */
.cta-card { padding: 36px 26px; border: 0; box-shadow: 0 20px 50px rgba(235,71,61,.12); }
.cta-card h2 { font-size: 2rem !important; }
.site-foot { margin-top: 0; background: #fbf8f7; padding: 44px 0 34px; }
footer.site-foot > .wrap { display: block; }
.sf-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sf-brand .brand img { width: 36px; height: 36px; } .sf-brand p { max-width: 24em; margin: 10px 0 0; }
.sf-col { display: flex; flex-direction: column; gap: 6px; } .sf-col b { color: var(--charcoal); margin-bottom: 4px; }
.sf-col a { text-decoration: none; color: var(--muted); font-weight: 600; } .sf-col a:hover { color: var(--blue); }
.sf-legal { display: grid; gap: 8px; }

/* scroll-in reveal (only once JS has marked the page; content is visible without JS) */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-on .reveal.in { opacity: 1; transform: none; }
.reveal-on .grid > .reveal:nth-child(2) { transition-delay: .07s; } .reveal-on .grid > .reveal:nth-child(3) { transition-delay: .14s; } .reveal-on .grid > .reveal:nth-child(4) { transition-delay: .21s; }

/* responsive */
@media (max-width: 1000px) {
  .peek-wrap, .feature-row, .edu-wrap { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.flip .fr-copy { order: 0; }
  .cb-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-hero h1, .page-hero h1 { font-size: 2.15rem; }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; } .float-chip { font-size: .78rem; padding: 6px 11px; }
  .fc1 { left: -4%; } .fc2 { right: -4%; } .fc3 { left: -4%; } .fc4 { left: -6%; } .fc5 { right: -6%; } .fc6 { left: -4%; }
  .hero-phone { max-width: 280px; }
}
@media (max-width: 700px) {
  .site-page section.band { padding: 44px 0; }
  .site-page section.band h2 { font-size: 1.6rem; }
  .edu-copy h2 { font-size: 1.75rem !important; }
  .peek-art { padding: 0 44px 40px 0; }
  .chalkboard { padding: 24px 18px 64px; border-width: 10px; }
  .cb-steps { grid-template-columns: 1fr; }
  .sf-grid { grid-template-columns: 1fr 1fr; } .sf-brand { grid-column: 1 / -1; }
  .uni-marquee { --logo-h: 30px; --logo-pad: 22px; }
  .hero-art { max-width: 250px; } .fc1 { top: -5%; }   /* keep the top chip above her bow on phones */
  .benefit { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  .benefit .b-ico { grid-row: span 3; } .benefit h3 { margin-top: 2px; }
}
@media (max-width: 420px) { .site-hero { padding: 40px 0 36px; } .site-hero h1, .page-hero h1 { font-size: 1.9rem; } .float-chip { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-blob, .float-chip { animation: none; }
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  .benefit, .frame-browser, .cb-steps li, .edu-photo img, .site-nav a.opt::after, .mnav-ic i { transition: none; }
  .benefit:hover, .frame-browser:hover, .cb-steps li:hover { transform: none; }
  .edu-photo:hover img { transform: none; }
  /* logos: no marquee, one static centred row that wraps; the hidden duplicate set is not shown */
  .uni-marquee { -webkit-mask-image: none; mask-image: none; }
  .uni-track { animation: none; width: auto; justify-content: center; }
  .uni-logos { flex-wrap: wrap; justify-content: center; row-gap: 18px; flex: 1 1 100%; flex-shrink: 1; }
  .uni { padding: 0 18px; }
  .uni-dup { display: none; }
}

/* ===== For Community College page (/community-college) + Home video slot: added 2026-10-07 ===== */
.ccp-intro { max-width: 46em; font-size: 1.04rem; margin: 0 0 22px; }
.ccp-day { list-style: none; padding: 0; margin: 8px 0 0; position: relative; display: grid; gap: 16px; max-width: 860px; }
.ccp-day::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--blue-tint-2); }
.ccp-day li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.ccp-time { position: relative; z-index: 1; justify-self: center; background: var(--blue); color: #fff; font-weight: 700; font-size: .82rem; border-radius: 999px; padding: 6px 10px; white-space: nowrap; box-shadow: 0 0 0 4px #f5f7fd; }
.ccp-day li > div { background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 8px 24px rgba(19,47,107,.08); border: 1px solid #e9edf6; }
.ccp-day h3 { margin: 0 0 4px; font-size: 1.08rem; } .ccp-day p { margin: 0; color: var(--muted); }
.ccp-lola { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.ccp-lola-copy p { font-size: 1.04rem; }
.ccp-photo { aspect-ratio: 1 / 1; max-width: 360px; justify-self: center; width: 100%; }
.ccp-photo img { object-position: center 40%; }
.ccp-callout { margin: 26px auto 0; max-width: 62em; font-size: 1.02rem; }
.video-slot { padding: 10px; }
.video-slot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #1b4191; }
.video-slot-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
@media (max-width: 1000px) { .ccp-lola { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) {
  .ccp-day::before { left: 14px; }
  .ccp-day li { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
  .ccp-time { justify-self: start; }
}
/* nav: five page links + Log in + Request a demo need more room; tighten between the tablet and wide layouts */
@media (max-width: 1240px) and (min-width: 901px) { .site-nav { gap: 14px; } .site-nav a.opt { font-size: .94rem; } }
/* ===== end For Community College block ===== */

/* community-college instructor tools block */
.ccp-tools-h { margin: 40px 0 18px; font-size: 1.25rem; }
.ccp-instr-shot { margin-top: 36px; }
