/* Landing polish: Apple font stack, tighter rhythm, language-safe header and orbit. Loaded after the page's own CSS. */
:root{--font-ui:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Arial Nova",Arial,"Helvetica Neue","Segoe UI",Roboto,sans-serif}
body,button,input,select,textarea{font-family:var(--font-ui)}

/* Tighter vertical rhythm (was 84px / 72px sections) */
section{padding:52px 0}
section[style*="padding-top:0"]{padding-top:0!important}
.hero{padding-bottom:0}
@media(max-width:560px){section{padding:40px 0}}

/* Header: one line, never wraps, never pushes the page wider */
.nb{gap:12px}
.links a,.nr .btn,.nr .lg{white-space:nowrap}
.nr{flex-shrink:0}
/* Compact (menu button) layout, switched on by landing-polish.js when the labels of the current language don't fit */
html.nav-compact .links,html.nav-compact .nr .lg{display:none}
html.nav-compact .burger{display:block}
html.nav-compact .nb{display:flex;justify-content:space-between}
html.nav-compact .menu.o{display:grid;padding:6px 24px 18px;border-top:1px solid var(--line)}
html.nav-compact .menu a{padding:11px 0;font-size:18px}

/* Below 1140px (and whenever the labels don't fit): one 76px row — logo, then language, theme, Request a Demo and the
   menu button. The app's own pages (components/layout/site-header.tsx) use exactly these sizes. */
@media(max-width:1140px){nav .nb{height:76px;padding-top:0;flex-wrap:nowrap;align-items:center;justify-content:space-between}
nav .nb .links,nav .nr .lg{display:none!important}nav .burger{display:block}
.menu.o{display:grid;padding:6px 24px 18px;border-top:1px solid var(--line)}.menu a{padding:11px 0;font-size:18px}}
html.nav-compact nav .nb{height:76px;padding-top:0;flex-wrap:nowrap;align-items:center}
@media(max-width:480px){nav .w.nb{padding:0 16px;gap:8px}.logo img{height:48px!important}.nr{gap:6px}}
@media(max-width:380px){.logo img{height:42px!important}}
@media(max-width:480px){.nr .btn{padding:7px 10px!important}html[lang="te"] .nr .btn{font-size:11.5px!important}html[lang="ta"] .logo img{height:42px!important}}

/* Orbit: labels wrap inside their space instead of running into each other */
.rc{width:max-content;max-width:150px}
.rc b{overflow-wrap:anywhere}
.rc em{white-space:normal;overflow-wrap:anywhere}
.rl.te .rc{width:max-content;max-width:150px}
.ox span{max-width:140px}
/* The same picture in every language: the pills and the labels under Teachers, Parents and Student keep the English
   size, weight and width; only line spacing opens up a little for the taller Indian scripts */
html:not([lang="en"]) .rc em{line-height:1.35}
html:not([lang="en"]) .ox span{line-height:1.3}
.ox.g-left{left:7%!important;top:50%!important}

/* Words that run long in Indian scripts wrap rather than overflow */
h1,h2,h3,h4,p,li,.lead,.btn{overflow-wrap:anywhere}
.btn{max-width:100%;text-align:center;white-space:normal}
.nr .btn{white-space:nowrap}

/* Indian scripts carry vowel marks above and below the letters: give every line room so it never touches the next,
   and drop the tight negative tracking, which breaks the joined headline stroke of Devanagari and splits conjuncts */
html:not([lang="en"]) body *{letter-spacing:0!important}
html:not([lang="en"]) h1,html:not([lang="en"]) h2,html:not([lang="en"]) h3,html:not([lang="en"]) h4{line-height:1.32}
html:not([lang="en"]) p,html:not([lang="en"]) li,html:not([lang="en"]) .lead,html:not([lang="en"]) summary{line-height:1.7}
html:not([lang="en"]) .ms p{line-height:1.5}
html:not([lang="en"]) .ms .ul{padding-bottom:0;background-position:0 96%}

/* Every language keeps the English page's look: headings at the English size (Hindi exactly; Telugu, Kannada and
   Kannada a few percent smaller only because their long words must still fit the column; Tamil letters are drawn at
   90% by i18n.js, so its headings use the full size), with a wider measure since
   their letters are wider, so headings sit beside the hero picture in the same proportion. Fonts: Noto (i18n.js). */
html[lang="hi"]{--hs:1}
html[lang="te"],html[lang="kn"]{--hs:.96}
html[lang="ta"]{--hs:1}
html:not([lang="en"]) h1{font-size:calc(clamp(38px,5.4vw,70px)*var(--hs,1))}
html:not([lang="en"]) h2{font-size:calc(clamp(30px,3.8vw,50px)*var(--hs,1));max-width:min(100%,780px)}
html:not([lang="en"]) h3{font-size:calc(20px*var(--hs,1))}
html:not([lang="en"]) .hero h1.tw{font-size:calc(clamp(28px,3.5vw,46px)*var(--hs,1))}
html:not([lang="en"]) .ab-hero h1{font-size:calc(clamp(30px,4.4vw,52px)*var(--hs,1));max-width:none}
html:not([lang="en"]) .fin h2{font-size:calc(clamp(28px,3.4vw,42px)*var(--hs,1));max-width:min(100%,820px)}
html:not([lang="en"]) .ms p{font-size:calc(clamp(26px,4vw,50px)*var(--hs,1));max-width:min(100%,860px)}
html:not([lang="en"]) .ab-sec h2{font-size:calc(clamp(24px,2.6vw,34px)*var(--hs,1))}
html:not([lang="en"]) .ab-close p{font-size:calc(clamp(24px,3.6vw,42px)*var(--hs,1))}
html:not([lang="en"]) .ab-vq{font-size:calc(clamp(24px,3.2vw,40px)*var(--hs,1))}
html:not([lang="en"]) .rp h3{font-size:calc(clamp(22px,2.4vw,30px)*var(--hs,1))}
html:not([lang="en"]) .sp p{font-size:calc(clamp(18px,2vw,24px)*var(--hs,1))}
/* Orange eyebrow titles above headings: larger in every language; without capitals and tracking, the Indian scripts
   need a point more and a heavier weight to read at the same strength as the English */
.eb{font-size:16px}
html:not([lang="en"]) .eb{font-size:17px;font-weight:700}
@media(max-width:560px){.eb{font-size:14px}html:not([lang="en"]) .eb{font-size:15px}}
/* The small orange labels inside cards ("Step 1", "Students", "Independent plan · 18+") follow the same rule */
.bc small,.ac small,.mi small,.sp-k{font-size:14px}
html:not([lang="en"]) .bc small,html:not([lang="en"]) .ac small,html:not([lang="en"]) .mi small,html:not([lang="en"]) .sp-k{font-size:15px;font-weight:700}
@media(max-width:560px){.bc small,.ac small,.mi small,.sp-k{font-size:13px}html:not([lang="en"]) .bc small,html:not([lang="en"]) .ac small,html:not([lang="en"]) .mi small,html:not([lang="en"]) .sp-k{font-size:14px}}
/* Header labels in Tamil run longest: tighter padding so the full menu still fits on one row on a laptop */
html[lang="ta"] .links a{padding:8px 5px}
html[lang="ta"] .nr .btn{padding:8px 14px}html[lang="ta"] .nr .lg{padding:8px 6px}

/* The highlighted phrase in a heading ("Guiding Every Journey.") follows the text line by line, so in a language where
   it wraps, each line gets its own marker stripe instead of one bar across the whole block */
.ab-hero h1 .k,.pgab .k{display:inline;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Fewer empty bands: the mission statement no longer adds its own 88px under itself */
.ms{padding:76px 0;margin-bottom:0}
@media(max-width:560px){.ms{padding:56px 0}}
/* "Our mission" under the statement: larger and bold so it reads as a label, not a footnote */
.ms small{font-size:16px;font-weight:700;color:#d3d9e6}
html:not([lang="en"]) .ms small{font-size:18px}
@media(max-width:560px){.ms small{font-size:14px}html:not([lang="en"]) .ms small{font-size:16px}}

/* Sample Passport card on a phone: tabs in a row on top and the panels one under another, so the score rows
   (label, bar, number) are never squeezed into a column narrower than they are */
@media(max-width:560px){
#app .ag{grid-template-columns:1fr}
#app .sb{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;border-right:0;border-bottom:1px solid var(--line);padding:8px 10px}
#app .sb::-webkit-scrollbar{display:none}
#app .sb span{white-space:nowrap;flex:none}
#app .g2{grid-template-columns:1fr}
}

/* Wider page: less empty space left and right on laptops (the app's header uses the same 1240px) */
.w{max-width:1240px}

/* Section headings get room: space above the eyebrow after the dark mission band, slightly looser big headings,
   and a clear gap before the cards below them */
#platform{padding-top:64px!important}
h2{line-height:1.1}
#platform h2{max-width:26ch!important}
html:not([lang="en"]) #platform h2{max-width:min(100%,780px)!important}
.bento{margin-top:40px}
@media(max-width:560px){#platform{padding-top:44px!important}.bento{margin-top:28px}}

/* Sample Passport: a picture of the sample Passport (no scrollbar), as tall as the text beside it in every language;
   the top of the Passport shows and the rest is cropped. Click opens the full sample. */
.pp{grid-template-columns:minmax(320px,520px) 1fr;max-width:1180px;gap:48px;align-items:stretch}
.pp-live{position:relative;min-height:260px;align-self:stretch!important}
.pp-shot{position:absolute;inset:0;display:block;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.pp-shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
@media(max-width:900px){.pp{grid-template-columns:1fr}.pp-live{max-width:520px;width:100%;margin:0 auto;min-height:0;aspect-ratio:4/5}}

/* About: "Our Leadership" stays in place (the side-column headings are sticky; this centred one sat over the cards) */
.ab-lead-sec h2{position:static!important}

/* Cards: a gentle lift on hover */
@media(hover:hover){.ac,.bc{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .3s}.ac:hover,.bc:hover{transform:translateY(-4px);box-shadow:0 24px 40px -26px rgba(30,42,68,.45);border-color:var(--sun)}}

/* Dark mode: content cards sit on a lighter blue-slate surface with a soft top highlight, so they stand apart from
   the page instead of blending into it (the sample Passport window and small pills keep the plain card colour) */
[data-theme="dark"] .ac,[data-theme="dark"] .bc,[data-theme="dark"] .mi,[data-theme="dark"] .sp,[data-theme="dark"] .ab-bcard,[data-theme="dark"] .ab-card{background:linear-gradient(160deg,#2a3656 0%,#212b46 100%);border-color:#3a4772;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 36px -24px rgba(0,0,0,.6)}
[data-theme="dark"] .ac .ar{background:rgba(245,160,30,.16);color:#ffb562}
@media(hover:hover){[data-theme="dark"] .ac:hover,[data-theme="dark"] .bc:hover{border-color:var(--sun);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 44px -24px rgba(0,0,0,.75)}}

/* Header: tighter spacing so the whole menu fits on a 1280px screen in English and Hindi */
.links a{padding:8px 9px}
.nr{gap:8px}
.nr .lg{padding:8px 10px}

/* ---- Compact rhythm (19 Nov 2026): tighter gaps between and inside sections, matching the signed-in templates.
   Sizes of headings and text are unchanged; only the white space is reduced. ---- */
section{padding:40px 0}
.hero{padding-top:36px}
.hw{margin-top:32px}
.eb{margin-bottom:8px}
.lead{margin-top:10px}
.ms{padding:52px 0}
#platform{padding-top:40px!important}
.bento{margin-top:24px}
.g3,.g4,.mq,.jr{margin-top:24px}
.ac{min-height:210px;padding:22px 20px}
.ac h3{margin:8px 0 6px}
.sp{min-height:0;padding:22px 26px}
.bc{padding:22px}.bc h3{margin:14px 0 6px}
.seg{margin:20px 0 16px}
.rp{padding:28px;min-height:300px}
.stp{margin:24px 0 16px}
.sl{padding-top:24px;padding-bottom:12px}
.nep{margin-top:18px}
.fq{margin-top:14px}.fq details{padding:10px 0}.fq summary{font-size:16px}.fq summary::after{font-size:20px}.fq p{margin-top:6px;font-size:15px}
#journey{padding-bottom:28px!important}
.fin .lead{margin-top:12px}
footer{padding:40px 0 20px}
.cp{margin-top:28px;padding-top:16px}
/* About (on the homepage and its own page) */
.ab-hero{padding:56px 0 44px}
.ab-sec,.pgab .ab-sec{padding:52px 0}
.ab-sec.first,.pgab .ab-sec.first{padding-top:44px}
.ab-vis{padding:60px 0}
.ab-lead-sec{padding:52px 0}
.ab-close{padding:60px 0}
#about-landing .ab-hero{padding:56px 0 56px}
#about-more .ab-sec.first{padding-top:36px}
.ab-top{padding-top:24px}
@media(max-width:820px){.ab-hero{padding:44px 0 32px}.ab-sec,.pgab .ab-sec,.pgab .ab-sec.first,.ab-lead-sec{padding:40px 0}.ab-vis,.ab-close{padding:44px 0}#about-landing .ab-hero{padding:44px 0}}
@media(max-width:560px){section{padding:32px 0}.hero{padding-top:24px}.ac{min-height:0;gap:14px;padding:20px}.ms{padding:40px 0}#platform{padding-top:32px!important}.bento{margin-top:20px}}
#faq h2{font-size:clamp(24px,2.6vw,32px)}
