/* v5.css: livitstudio.com for teachers (2026-11-29). What v5 adds to the v4 kit: a calmer hero, the grade cards
 * with real screens, the classroom facts, "you won't teach it alone", the school leaders' band, the film over the page
 * and the new footer. Arabic adjustments are in rtl.css. */

/* ── calmer type and spacing than v4: smaller section titles, less air between sections ── */
.sec { padding-top: clamp(64px, 9vh, 108px); padding-bottom: clamp(64px, 9vh, 108px); }
.sec-title { font-size: clamp(34px, 3.8vw, 58px); line-height: 1.08; }
.sec-title.sm { font-size: clamp(28px, 3vw, 44px); }
.cta-title { font-size: clamp(34px, 4vw, 60px); }
.cta { padding-top: clamp(72px, 11vh, 120px); padding-bottom: clamp(72px, 11vh, 120px); }

/* ── the play icon in the film button ── */
.play-ic { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-inline-end: 2px; }

/* ── hero: the user's headline (2026-11-29), then "to teach [subject]" with one subject at a time ── */
.shero-title { font-size: clamp(34px, 3.3vw, 54px); line-height: 1.12; }
.teach { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.teach-to { font: 700 clamp(18px, 1.5vw, 22px) var(--body); color: #B4C6E4; }
.teach-pill { --c: #2BA3F2; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 9px; border-radius: 999px; max-width: 100%;
              background: color-mix(in srgb, var(--c) 16%, rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent), 0 14px 34px -14px var(--c);
              transition: background .6s, box-shadow .6s; }
.teach-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; padding: 8px; background: var(--c); transition: background .6s; }
.teach-ic svg { width: 100%; height: 100%; display: block; }
.teach-words { position: relative; display: block; height: 52px; overflow: hidden; transition: width .55s var(--swift); }
.teach-words > span { position: absolute; left: 0; top: 0; white-space: nowrap; font: 600 clamp(19px, 1.65vw, 25px)/52px var(--display); color: #fff;
                      opacity: 0; transform: translateY(70%); transition: transform .6s var(--swift), opacity .45s; }
.teach-words > span.on { opacity: 1; transform: none; }
.teach-words > span.out { opacity: 0; transform: translateY(-70%); }
html:not(.js) .teach-words > span:first-child { position: static; opacity: 1; transform: none; }
.teach-pause { width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #DCEBFF;
               background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); opacity: .7; transition: opacity .2s, background .2s; }
.teach-pause:hover, .teach-pause:focus-visible { opacity: 1; background: rgba(255,255,255,.14); }
.teach-pause::before { content: ''; width: 9px; height: 11px; box-sizing: border-box; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.teach-pause[aria-pressed=true]::before { width: 0; height: 0; border-right: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
html:not(.js) .teach-pause { display: none; }
.shero .hero-sub { margin-top: 20px; font-size: clamp(16px, 1.25vw, 19px); }

/* ── hero: one real screen and Qubi; no chips, no seal ── */
.hero-art.clean { aspect-ratio: 1.18 / 1; }
.hero-art.clean .shot-frame { left: 3%; top: 10%; width: 95%; }
.hero-art.clean .st-leap { left: -8%; top: -2%; height: 27%; }

/* ── trust: quieter, two credentials ── */
.trust { padding: 26px var(--gut) 28px; }
.trust-schools { font-size: clamp(15px, 1.3vw, 19px); color: #344054; gap: 6px 34px; }
.trust-creds { gap: 10px 18px; }

/* ── what students build: four grade cards with real screens ── */
.grades { max-width: 1240px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.grade { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; border-top: 5px solid var(--c);
         box-shadow: 0 24px 50px -30px rgba(16,24,40,.4), 0 0 0 1px rgba(16,24,40,.06); transition: transform .5s var(--swift), box-shadow .4s; }
.grade:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--c) 70%, transparent), 0 0 0 1px rgba(16,24,40,.06); }
.grade-shot { aspect-ratio: 16 / 11; overflow: hidden; background: #F2F4F7; border-bottom: 1px solid var(--line); }
.grade-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .8s var(--swift); }
.grade:hover .grade-shot img { transform: scale(1.04); }
.grade-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.grade .band { margin: 0; }
.grade h3 { margin: 6px 0 0; font: 700 25px/1.1 var(--display); }
.grade p { margin: 8px 0 14px; font: 700 15px/1.5 var(--body); color: var(--muted); }
.grade .eng-tags { margin-top: auto; }
.grade p.makes { margin: -4px 0 14px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--c) 9%, #fff); color: var(--ink); font-size: 14px; }
.grade p.makes b { color: color-mix(in srgb, var(--c) 75%, #000); }
.build .see-all { margin-top: 34px; }

/* ── in class: six short facts ── */
.sec.class { padding-top: 0; }
.class-grid { max-width: 1240px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cf { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 4px 16px; align-items: start; padding: 22px; border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none;
      box-shadow: 0 18px 40px -30px rgba(16,24,40,.4), 0 0 0 1px rgba(16,24,40,.06); transition: transform .4s var(--swift), box-shadow .3s; }
.cf b { font: 700 21px/1.2 var(--display); }
.cf > span:not(.cf-ic) { font: 700 15px/1.5 var(--body); color: var(--muted); }
.cf i { font-style: normal; font-weight: 800; color: var(--c); }
a.cf:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--c) 60%, transparent), 0 0 0 2px var(--c); }
.cf-ic { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px; padding: 11px; background: var(--c); box-shadow: 0 10px 20px -10px var(--c); }
.cf-ic svg { width: 100%; height: 100%; display: block; }

/* ── you won't teach it alone ── */
.alone-grid { max-width: 1240px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.alone .t-card { display: flex; flex-direction: column; }
.alone .t-card .cf-ic { margin-bottom: 16px; }
.alone .t-card h3 { font-size: 24px; }

/* ── for school leaders: one band that leaves for Livit Education ── */
.schools-band { padding: clamp(60px, 9vh, 96px) var(--gut); }
.schools-band .glow.gb { width: 1000px; height: 1000px; left: -380px; top: -560px; }
.schools-in { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.schools-in .sec-title { margin-top: 10px; }
.schools-in p:not(.eyebrow) { margin: 14px 0 0; max-width: 700px; font: 700 clamp(16px, 1.4vw, 20px)/1.55 var(--body); color: #B4C6E4; }

/* ── the film, over the page ── */
.film-dlg { width: min(1120px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 20px; background: #05070F; overflow: visible;
            box-shadow: 0 40px 120px rgba(0,0,0,.75); }
.film-dlg::backdrop { background: rgba(3,5,12,.85); }
.film-dlg video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; background: #05070F; }
.film-close { position: absolute; top: -18px; inset-inline-end: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
              background: #fff; color: #101828; font: 800 26px/1 var(--body); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.film-close:hover { transform: scale(1.06); }

/* ── the form's privacy link, the footer ── */
.lead-privacy a { color: #DCEBFF; }
.foot-brand p { max-width: 320px; line-height: 1.5; }
.foot-brand a { color: #fff; }
.faq-list details a { color: #1570EF; font-weight: 800; }

/* ══════════ tablets ══════════ */
@media (max-width: 960px) {
    .grades { grid-template-columns: 1fr 1fr; }
    .class-grid { grid-template-columns: 1fr 1fr; }
    .alone-grid { grid-template-columns: 1fr; }
    .schools-in { grid-template-columns: 1fr; justify-items: start; }
}
/* ══════════ phones ══════════ */
@media (max-width: 600px) {
    .shero-title { font-size: 29px; line-height: 1.15; }
    .teach { gap: 8px; margin-top: 16px; }
    .teach-to { width: 100%; font-size: 17px; }
    .teach-pill { height: 46px; padding: 0 16px 0 7px; }
    .teach-ic { width: 32px; height: 32px; padding: 7px; }
    .teach-words { height: 46px; }
    .teach-words > span { font-size: 18px; line-height: 46px; }
    .grades, .class-grid { grid-template-columns: 1fr; }
    .grade-shot { aspect-ratio: 16 / 10; }
    .cf { padding: 18px; }
    .film-close { top: -52px; inset-inline-end: 0; }
    .schools-in .btn { width: 100%; }
}

/* ── the privacy and terms pages: a short dark header, then readable text ── */
.doc-hero { padding: 132px var(--gut) 56px; }
.doc-hero .page-title { font-size: clamp(36px, 4vw, 58px); }
.doc-hero .hero-sub { margin-top: 14px; }
.doc { max-width: 860px; margin: 0 auto; padding: clamp(40px, 7vh, 72px) var(--gut) clamp(64px, 9vh, 96px); }
.doc-card { background: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 48px); box-shadow: 0 30px 60px -40px rgba(16,24,40,.45), 0 0 0 1px rgba(16,24,40,.06); }
.doc h2 { margin: 34px 0 10px; font: 700 clamp(22px, 2vw, 27px)/1.25 var(--display); }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font: 600 16.5px/1.7 var(--body); color: #344054; }
.doc p { margin: 10px 0 0; }
.doc ul { margin: 10px 0 0; padding-inline-start: 22px; }
.doc li { margin-top: 6px; }
.doc b { color: var(--ink); }
.doc a { color: #1570EF; font-weight: 800; }
.doc .short { margin-top: 14px; padding: 18px 20px; border-radius: 16px; background: #F0F7FF; box-shadow: inset 0 0 0 1px #D1E4FF; }
.doc .short li { margin-top: 4px; }
/* marks what isn't confirmed yet: tools/deploy-landing.ps1 refuses to publish any page that still has one */
.sample { background: #FFF3C4; box-shadow: 0 0 0 2px #F59E0B; border-radius: 4px; padding: 0 4px; }
