/* saola IQ: Vietnamese typography and layout adjustments (loaded after the original stylesheets) */

/* Vietnamese diacritics need a little more room than the original Latin-only headings */
h1,h2,h3{letter-spacing:-.022em;line-height:1.22}
h3{letter-spacing:-.015em;line-height:1.32}

/* header: "Đặt lịch demo" call to action replaces the Platforms dropdown */
.main-nav>a.nav-cta{display:flex;align-items:center;gap:8px;padding:12px 17px;background:var(--ice);border-radius:4px;color:var(--blue);white-space:nowrap;line-height:1.3}
.main-nav>a.nav-cta:hover{background:#dcecff;color:var(--deep)}
.main-nav>a.nav-cta svg{width:18px;height:18px}
@media(min-width:861px){.nav-group:nth-last-of-type(2) .nav-dropdown{left:-20px;right:auto}}
@media(min-width:861px) and (max-width:1100px){.main-nav>a.nav-cta{padding:10px}}
@media(max-width:860px){.main-nav>a.nav-cta{justify-content:space-between;margin-top:12px;padding:13px 16px}}

/* home hero: Vietnamese words are longer, so they are set a little smaller to stay clear of the character */
@media(min-width:601px){.sq-hero-nav{grid-template-columns:1.1fr 1.3fr .9fr .8fr}.sq-words{font-size:clamp(28px,4.5vw,100px)}}
@media(min-width:601px) and (max-width:860px){.sq-words{font-size:4.1vw}}

/* AI literacy: three Vietnamese school levels + one course grid */
.vi-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px}
.suite-one .vi-stage{display:block;margin-top:0;padding:0 0 10px}
.vi-stage.primary{--stage:var(--suite-purple)}
.vi-stage.middle{--stage:var(--suite-blue)}
.vi-stage.high{--stage:var(--suite-teal)}
.suite-one .vi-stage .suite-stage-copy>div{padding:24px 24px 8px}
.suite-one .vi-stage h4{font-size:24px}
.suite-one .vi-stage .suite-pills{margin-bottom:18px}
.suite-one .vi-course-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-left:0;margin-top:28px}
.vi-course-grid .st-primary{--stage:var(--suite-purple)}
.vi-course-grid .st-middle{--stage:var(--suite-blue)}
.vi-course-grid .st-high{--stage:var(--suite-teal)}
@media(max-width:1100px){.suite-one .vi-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.vi-stages{grid-template-columns:1fr}}
@media(max-width:760px){.suite-one .vi-course-grid{grid-template-columns:1fr 1fr;gap:14px}}
@media(max-width:480px){.suite-one .vi-course-grid{padding-left:0}}

/* heading markers and bullets drawn with icons from the saola IQ set:
   section titles (h1, h2) -> blue cubes, smaller headings and list bullets -> check ring; light versions on dark bands */
/* marker sizes keep the original indents (about 32px for titles, 22-26px for small headings) and sit centred on the first line */
main :is(h1,h2){padding-inline-start:.8em}
main :is(h1,h2)::before{width:.52em;height:.52em;top:.35em;background:url(icons/mark-section.webp) center/contain no-repeat;border:0;border-radius:0}
main h1{padding-inline-start:.72em}
main h1::before{width:.46em;height:.46em;top:.38em}
main h3{padding-inline-start:1.18em}
main h3::before{width:.82em;height:.82em;top:.25em;background:url(icons/mark-item.webp) center/contain no-repeat;border:0;border-radius:0}
:is(.suite-banner,.h-banner,.research-band,.h-closing) :is(h1,h2)::before{background-image:url(icons/mark-section-light.webp)}
.suite-resource h3{padding-left:62px}
.suite-resource h3::before{left:24px;width:26px;height:26px;top:50%;transform:translateY(-50%)}
.suite-resource:not(.gold) h3::before{background-image:url(icons/mark-item-light.webp)}
.harness-page h4{padding-left:1.25em}
.harness-page h4::before{width:.9em;height:.9em;top:.2em;background:url(icons/mark-item.webp) center/contain no-repeat;border-radius:0}
.h-framework-card h4{padding-left:58px}
.h-framework-card h4::before{left:26px;width:22px;height:22px;top:50%;transform:translateY(-50%)}
.h-framework-card:not(.gold) h4::before{background-image:url(icons/mark-item-light.webp)}
.h-framework-card.gold h4::before{background:url(icons/mark-item.webp) center/contain no-repeat}
/* list bullets */
.h-hero-features li::before{width:18px;height:18px;background:url(icons/mark-item-light.webp) center/contain no-repeat}
.suite-summary{list-style:none;padding-left:0}
.suite-summary li{display:flex;align-items:center;gap:9px;padding-left:0}
.suite-summary li::before{content:'';flex:none;width:18px;height:18px;background:url(icons/mark-item-light.webp) center/contain no-repeat}
:is(.suite-resource,.h-edit-modes) ul,.h-edit-modes{list-style:none;padding-left:0}
:is(.suite-resource li,.h-edit-modes li){position:relative;padding-left:28px}
:is(.suite-resource li,.h-edit-modes li)::before{content:'';position:absolute;left:0;top:.18em;width:18px;height:18px;background:url(icons/mark-item.webp) center/contain no-repeat}
.suite-checklist li::before{content:'';top:.1em;width:22px;height:22px;background:url(icons/mark-item.webp) center/contain no-repeat}

/* icons from the saola IQ icon set, shown without a background */
.vi-ic{display:block;flex:none;width:56px;height:56px}
.vi-ic img{display:block;width:100%;height:100%;object-fit:contain}
.vi-ic.md{width:48px;height:48px}
.vi-ic.sm{width:36px;height:36px}
.vi-ic.lg{width:72px;height:72px}
/* icon beside the text: focus areas (About), assessment steps */
.vi-ico-card{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:22px;align-items:start}
.vi-ico-card>.vi-ic{grid-row:1/span 3}
.vi-ico-card>:not(.vi-ic){grid-column:2;min-width:0}
.research-list>div:first-child{padding-top:24px}
.assessment-copy>article:first-child{background:var(--ice);padding:28px}
main .vi-ico-card :is(h2,h3)::before,main .vi-ico-top :is(h2,h3)::before,main .vi-role h3::before,main .vi-pilot h3::before{display:none}
main .vi-ico-card :is(h2,h3),main .vi-ico-top :is(h2,h3),main .vi-role h3,main .vi-pilot h3{padding-inline-start:0}
@media(max-width:480px){
 .vi-ico-card{grid-template-columns:48px minmax(0,1fr);column-gap:16px}
 .vi-ico-card>.vi-ic{width:48px;height:48px}
 .assessment-copy>article:first-child{padding:24px}
}
/* icon above the heading: teacher roles, planning tools, contact blocks, role cards */
.vi-ico-top>.vi-ic,.vi-role>.vi-ic{margin-bottom:18px}
.h-roles li.vi-ico-top{display:flex;flex-direction:column;gap:12px}
.h-roles li.vi-ico-top>.vi-ic{margin:0}
.harness-page .vi-ico-top h4{padding-left:0}
.harness-page .vi-ico-top h4::before{display:none}
/* home pilot block */
@media(max-width:760px){.vi-pilot .vi-ic.lg{width:60px;height:60px;margin-bottom:18px}}
/* teacher development list (Learning & Teaching overview) */
.vi-ico-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.vi-ico-list li{display:flex;align-items:center;gap:16px;color:var(--ink);font-weight:600;line-height:1.45}
.vi-ico-list+p{margin-top:20px}
.vi-trust{display:flex;align-items:center;gap:10px}
.vi-ico-inline{width:24px;height:24px;flex:none}

/* contact: both left-hand blocks sit in the same tinted box so their content shares one edge */
.enquiry{background:var(--ice);padding:28px}
.enquiry .button.secondary{background:#fff}
.enquiry .button.secondary:hover{background:#dcecff}
.enquiry #copy-status{min-height:0;margin-top:10px}
.enquiry #copy-status:empty{display:none}
@media(max-width:600px){.enquiry{padding:24px}}

/* contact */
.contact-status .vi-mail{color:var(--blue);font-weight:700;font-size:20px;overflow-wrap:anywhere}
.contact-status .vi-mail:hover{text-decoration:underline}

/* phone and tablet: a link to a section lands right under the sticky header, and under the section menu on the
   pages that have one (the desktop offsets stacked here: 145px scroll padding plus 100-160px scroll margin) */
@media(max-width:860px){
 html{scroll-padding-top:92px}
 main [id],.harness-page :is(section,article,div)[id]{scroll-margin-top:0}
 main:has(.section-nav) [id]{scroll-margin-top:62px}
}
