/* Manasety School — matches the approved Claude Design canvas. Light, RTL, mobile-first. */
:root {
  --navy: #0C2461;
  --navy-deep: #061639;
  --blue: #1849A9;
  --accent: #2563EB;
  --cyan: #078FD2;
  --orange: #F97316;
  --orange-ink: #C2410C;
  --green: #16A34A;
  --red: #DC2626;
  --bg: #F2F5F9;
  --surface: #FFFFFF;
  --ink: #0F1B3D;
  --ink-2: #44506B;
  --ink-3: #6B7690;
  --line: #DCE3EE;
  --line-2: #E9EEF5;
  --tint: #EAF0FB;
  --lavender: #DFE5FB;
  --shadow: 0 10px 30px -22px rgba(12, 36, 97, .35);
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.75; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.4; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.ic { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 12px; font: 600 16px/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 20px -12px rgba(249, 115, 22, .8); }
.btn-primary:hover { background: #EA670C; color: #fff; }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn .ic { width: 18px; height: 18px; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 245, 249, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 20px; }
.brand-mark { display: flex; flex-direction: column; gap: 3px; width: 30px; }
.brand-mark i { display: block; height: 4px; border-radius: 4px; background: var(--blue); }
.brand-mark i:nth-child(1) { width: 66%; } .brand-mark i:nth-child(2) { width: 100%; background: var(--cyan); }
.brand-mark i:nth-child(3) { width: 48%; } .brand-mark i:nth-child(4) { width: 86%; background: var(--cyan); }
.nav-links { display: none; gap: 2px; margin: 0 auto 0 0; margin-inline-start: auto; list-style: none; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--navy); background: var(--tint); }
.nav > .btn { margin-inline-start: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.mobile-menu a { display: block; padding: 12px 4px; color: var(--navy); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-2); }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav > .btn { margin-inline-start: 8px; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* section scaffolding */
.section { padding-block: 36px; }
@media (min-width: 768px) { .section { padding-block: 52px; } }
.bg-white { background: var(--surface); }
.bg-navy { background: var(--navy); color: #DCE5F7; }
.head { max-width: 760px; margin-bottom: 32px; }
.head.center { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.head p { font-size: 17px; color: var(--ink-2); margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.4 var(--font); color: var(--blue); background: var(--tint); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.pill.lavender { color: var(--navy); background: var(--lavender); padding: 6px 14px; }
.kicker { display: block; font: 600 13px/1.4 var(--font); color: var(--blue); margin-bottom: 8px; }
.kicker.orange { color: var(--orange-ink); }
.bg-navy .kicker { color: #9CC7FF; }
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .g2, .g3, .g4, .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.top { align-items: start; } }
.ibox { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--blue); }

/* hero */
.hero { padding-block: 24px 40px; }
@media (min-width: 960px) { .hero { padding-block: 28px 56px; } .hero .split { grid-template-columns: 1.05fr .95fr; } }
.hero-badge { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: 15px; color: var(--navy); background: var(--lavender); padding: 9px 20px; border-radius: 999px; margin-bottom: 20px; box-shadow: 0 4px 14px -8px rgba(24, 73, 169, .35); }
.hero-badge::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); flex: none; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.3; margin-bottom: 18px; }
.hero h1 span { color: var(--blue); }
.hero .lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 600px; margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.proof { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; margin: 0; }
.proof .ic { color: var(--green); width: 18px; height: 18px; }
.hero-media img { width: 100%; }
.hero-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
/* hero-ctas-compact */
@media (max-width: 559px) { .hero-ctas { gap: 8px; margin: 20px 0 14px; } .hero-ctas .btn { flex: 1 1 0; min-height: 40px; padding: 0 12px; font-size: 14px; white-space: nowrap; justify-content: center; } }

/* Student 360 fallback mock (shown until a hero image is uploaded) — demo data only */
.mock { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; font-size: 14px; box-shadow: 0 18px 40px -20px rgba(12, 36, 97, .35); }
.mock-tag { position: absolute; top: -12px; inset-inline-end: 16px; background: var(--navy); color: #fff; font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.mock-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.mock-av { width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.mock-kpis div { background: var(--bg); border-radius: 10px; padding: 10px; }
.mock-kpis small { display: block; color: var(--ink-3); font-size: 12px; }
.mock-kpis b { font: 600 18px var(--mono); color: var(--navy); }
.mock-alert { background: #FFF4EC; border: 1px solid #FED7B5; color: #8A3A0B; border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.6; }

/* problem / solution cards */
.pcard { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; }
.pcard .ibox { width: 60px; height: 60px; border-radius: 14px; background: #FDE2E2; color: var(--red); margin-bottom: 20px; }
.pcard .ibox .ic { width: 26px; height: 26px; }
.pcard h3 { font-size: 19px; line-height: 1.55; margin-bottom: 10px; }
.pcard p, .scard p { margin: 0; color: var(--ink-2); font-size: 15px; }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.scard .ibox { width: 56px; height: 56px; border-radius: 14px; background: #E3E9FC; color: var(--navy); margin-bottom: 20px; }
.scard h3 { font-size: 19px; margin-bottom: 10px; }

/* feature tabs */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 20px; }
.tabs::-webkit-scrollbar { display: none; }
/* tabs centered */
@media (min-width: 768px) { .tabs { justify-content: center; } }
.tab { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 500 15px var(--font); cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-panel { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
@media (min-width: 768px) { .tab-panel { padding: 32px; } }
.tab-panel[hidden] { display: none; }
.tab-panel .intro { color: var(--ink-2); font-size: 17px; margin-bottom: 20px; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px 28px; }
@media (min-width: 768px) { .flist { grid-template-columns: 1fr 1fr; } }
.flist li { display: flex; gap: 12px; }
.flist .ibox { width: 38px; height: 38px; border-radius: 10px; }
.flist .ibox .ic { width: 19px; height: 19px; }
.flist b { display: block; color: var(--navy); font-weight: 600; }
.flist span { color: var(--ink-2); font-size: 15px; }
.badge-soon { display: inline-flex; font: 600 12px/1 var(--font); padding: 5px 9px; border-radius: 999px; background: #FFF4EC; color: var(--orange-ink); margin-inline-start: 6px; vertical-align: middle; }
.soon-card { margin-top: 16px; display: flex; gap: 14px; align-items: center; border: 1px dashed #FDBA74; background: #FFFBF6; border-radius: 14px; padding: 18px 20px; }
.soon-card .ibox { background: #FFF4EC; color: var(--orange); }
.soon-card p { margin: 0; color: var(--ink-2); }
.soon-card b { color: var(--navy); }

/* customize ring */
.ring { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin: 0 auto; }
.ring-core { position: absolute; inset: 32%; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 700; font-size: clamp(14px, 2.4vw, 17px); padding: 8px; box-shadow: 0 0 0 10px rgba(24, 73, 169, .12), 0 0 0 22px rgba(24, 73, 169, .06); }
.ring-node { position: absolute; transform: translate(-50%, -50%); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); }
.ring-node.on { background: var(--tint); border-color: var(--accent); color: var(--blue); }
.points { display: grid; gap: 18px; }
.point { display: flex; gap: 14px; }
.point h3 { font-size: 17px; margin-bottom: 2px; }
.point p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* AI */
.ai-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
@media (min-width: 768px) { .ai-card { padding: 28px; } }
.ai-card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.ai-card-head .ibox { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; }
.ai-card-head h3 { font-size: 19px; margin: 0; }
.ai-card-head p { margin: 0; color: var(--ink-3); font-size: 13.5px; }
.tools { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .tools { grid-template-columns: 1fr 1fr; } }
.tool { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.tool .ic, .ai-row .ic { color: var(--accent); width: 19px; height: 19px; }
.ai-rows { display: grid; gap: 10px; }
.ai-row { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.ai-row .ic { margin-top: 4px; }
.ai-row b { display: block; color: var(--navy); font-size: 15px; }
.ai-row span { color: var(--ink-3); font-size: 13.5px; }
.cost-bar { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; }
.cost-bar .ibox { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; }
.cost-bar div { flex: 999 1 420px; }
.cost-bar b { display: block; color: var(--navy); font-size: 17px; }
.cost-bar div span { color: var(--ink-2); font-size: 14.5px; }
.cost-badge { flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 16px; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.transparency { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* split list (exam prep) */
.stack { display: grid; gap: 12px; }
.stack div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.stack b { color: var(--navy); }
.stack span { display: block; color: var(--ink-2); font-size: 15px; }
.split .body { color: var(--ink-2); font-size: 17px; margin: 0; }

/* case studies */
.case { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.case:hover { box-shadow: 0 18px 40px -22px rgba(12, 36, 97, .45); border-top-color: var(--cyan); }
.case h3 { text-align: center; font-size: 22px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.case dl { margin: 0 0 22px; display: grid; gap: 14px; }
.case dl > div { padding-inline-start: 14px; border-inline-start: 3px solid var(--line); }
.case dt { font-weight: 700; font-size: 13px; color: var(--blue); }
.case dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15.5px; }
.case dl > div.now { background: var(--tint); border-radius: 12px; border-inline-start-color: var(--accent); padding: 12px 14px; }
.case dl > div.now dd { color: var(--ink); }
.case a.case-link { margin-top: auto; align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s; }
.case a.case-link::after { content: "\2190"; }
.case a.case-link:hover { background: var(--accent); }

/* partners */
.partners-wrap { border-top: 1px solid var(--line-2); }
.logo-tile { background: var(--bg); border-radius: 14px; padding: 14px 10px 16px; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.logo-tile img { width: 100%; height: 96px; max-height: none; object-fit: contain; }
.logo-tile b { color: var(--navy); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.logo-tile small { font-weight: 600; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--tint); color: var(--blue); }

/* systems */
.sys { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; }
.sys .ibox { width: 50px; height: 50px; background: var(--navy); color: #fff; margin-bottom: 18px; }
.sys h3 { font-size: 19px; margin-bottom: 8px; }
.sys p { margin: 0 0 14px; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.sys .tag { font-weight: 600; font-size: 12.5px; color: var(--blue); text-decoration: none; }

/* services (navy) */
.svc { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .svc { grid-template-columns: 1.7fr 1fr; gap: 56px; } }
.svc h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); line-height: 1.45; }
.svc .sub { color: #C5D2EC; font-size: 16.5px; margin-bottom: 22px; }
.svc-list { display: grid; gap: 12px 24px; grid-template-columns: minmax(0, 1fr); list-style: none; padding: 0; margin: 0; color: #fff; font-size: 15px; }
@media (min-width: 560px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-list li { display: flex; gap: 8px; align-items: center; }
.svc-list .ic { color: #9CC7FF; width: 18px; height: 18px; }
.svc-side { background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 30px 28px; text-align: center; }
.svc-side h3 { color: #fff; font-size: 19px; }
.svc-side p { color: #C5D2EC; font-size: 15px; margin-bottom: 22px; }
.svc-side .btn { width: 100%; min-height: 54px; font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; min-height: 64px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--blue); width: 20px; height: 20px; transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }
.faq-more { text-align: center; margin-top: 20px; }

/* demo form */
.form-card { max-width: 900px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 20px; box-shadow: 0 24px 50px -30px rgba(12, 36, 97, .4); }
@media (min-width: 768px) { .form-card { padding: 44px 40px 36px; } }
.form-card .head.center { margin-bottom: 30px; }
.form-card .head h2 { font-size: clamp(24px, 3vw, 30px); }
.fgrid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field label i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; font: 400 16px var(--font); color: var(--ink); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.field input[dir="ltr"] { text-align: right; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { text-align: center; margin-top: 28px; }
.form-actions .btn { min-height: 56px; min-width: 260px; font-weight: 700; font-size: 16.5px; }
.form-actions p { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-3); }
.form-msg { margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-size: 15px; display: none; text-align: center; }
.form-msg.err { display: block; background: #FEF2F2; color: #991B1B; }
.form-done { text-align: center; padding: 24px 0; }
.form-done .ibox { margin: 0 auto 14px; width: 64px; height: 64px; border-radius: 50%; background: #ECFDF3; color: var(--green); }

/* file buttons */
.file-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--navy); border-radius: 10px; padding: 8px 14px; text-decoration: none; font-weight: 500; font-size: 14.5px; min-height: 44px; }
.file-btn:hover { border-color: var(--blue); }
.file-btn .ic { width: 18px; height: 18px; color: var(--blue); }

/* footer */
.site-footer { background: var(--navy); color: #B9C6E4; padding-block: 56px 24px; font-size: 14.5px; }
.site-footer a { color: #DCE5F7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .foot { grid-template-columns: 1.3fr 1.2fr 1fr 1fr; } }
@media (min-width: 1024px) { .foot:not(:has(> :nth-child(4))) { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.foot h2 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.foot-brand::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot .legal-label { display: block; color: #9CC7FF; font-size: 13px; font-weight: 600; margin-top: 16px; }
.foot .legal-name { color: #fff; font-weight: 700; }
.foot .note { background: rgba(255, 255, 255, .06); border-radius: 10px; padding: 10px 14px; color: #DCE5F7; margin-top: 4px; }
.foot .ic { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.socials a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; background: var(--navy-deep); color: #fff; font-weight: 600; font-size: 13.5px; }
.socials a:hover { text-decoration: none; background: var(--blue); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 13px; color: #93A3C8; }

/* floating WhatsApp */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 40; width: 64px; height: 64px; }
.wa-float[hidden] { display: none; }
.wa-wrap { position: relative; display: block; width: 64px; height: 64px; }
.wa-btn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); text-decoration: none; }
.wa-btn .ic { width: 30px; height: 30px; }
.wa-x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #FF5A5F; color: #fff; font-size: 15px; line-height: 1; cursor: pointer; padding: 0; }
.wa-bubble { position: absolute; right: 76px; top: 50%; transform: translateY(-50%); width: max-content; direction: rtl; text-align: right; background: #fff; color: #128C4A; font-weight: 700; font-size: 15px; line-height: 1.5; padding: 12px 22px; border-radius: 999px; white-space: nowrap; text-decoration: none; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); transition: opacity .4s; }
.wa-bubble.wa-pre { opacity: 0; }
@media (max-width: 640px) { .wa-float { bottom: 16px; right: 16px; width: 56px; height: 56px; } .wa-wrap, .wa-btn { width: 56px; height: 56px; } .wa-bubble { right: 68px; font-size: 13px; padding: 10px 14px; border-radius: 18px; white-space: normal; width: 200px; } }
@media (prefers-reduced-motion: reduce) { .wa-bubble { transition: none; } }

/* cookie bar / preview bar */
.cookie-bar { position: fixed; inset-inline: 12px; bottom: 76px; z-index: 60; background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-width: 720px; margin-inline: auto; box-shadow: var(--shadow); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 260px; font-size: 14.5px; }
.cookie-bar a { color: #9CC7FF; }
.preview-bar { background: #FEF3C7; color: #78350F; text-align: center; padding: 8px; font-weight: 600; font-size: 14px; }

/* blog */
.page-head { padding-block: 40px 24px; }
.page-head h1 { font-size: clamp(28px, 4.6vw, 42px); }
.crumbs { font-size: 14px; color: var(--ink-3); margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.post-card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; background: var(--line-2); }
.post-card .pc-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card h2, .post-card h3 { font-size: 18px; margin: 0; }
.post-card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.post-meta { font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.article-layout { display: grid; gap: 32px; padding-bottom: 64px; }
@media (min-width: 1024px) { .article-layout.has-toc { grid-template-columns: minmax(0, 1fr) 260px; } }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; font-size: 17.5px; line-height: 1.95; min-width: 0; }
@media (min-width: 768px) { .prose { padding: 40px 48px; } }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose img { border-radius: 12px; margin-block: 1em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 18px; border-inline-start: 4px solid var(--accent); color: var(--ink-2); background: var(--tint); border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: start; vertical-align: top; }
.prose th { background: var(--tint); color: var(--navy); font-weight: 600; }
/* tables are wrapped in .table-wrap at display time: the wrapper scrolls sideways on phones */
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.3em 0; border: 1px solid var(--line); border-radius: 12px; }
.prose .table-wrap table { display: table; margin: 0; border-style: hidden; }
.prose .table-wrap th, .prose .table-wrap td { min-width: 8em; }
.prose h4 { font-size: 17px; margin-top: 1.3em; }
.prose li > ul, .prose li > ol { margin: .3em 0; }
.prose ul ul { list-style-type: circle; }
.prose ul.checklist { list-style: none; padding-inline-start: .4em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.prose pre { background: #0F1B3D; color: #E2E8F0; padding: 16px; border-radius: 10px; overflow-x: auto; direction: ltr; font-family: var(--mono); font-size: 14px; }
.toc { position: sticky; top: 90px; align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-size: 14.5px; }
.toc b { display: block; color: var(--navy); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc .l3 { padding-inline-start: 14px; font-size: 14px; }
.author-box { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author-box b { color: var(--navy); }
.author-box p { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.center-page .ibox { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; background: #ECFDF3; color: var(--green); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.js .rv.in { opacity: 1; transform: none; }

/* header logo: animated bars + blinking underscore (same look as the legacy site) */
.brand-logo { height: 40px; width: 40px; flex-shrink: 0; }
@keyframes shimmer-scan { 0% { transform: translateX(-900px); } 100% { transform: translateX(1600px); } }
.bar-shimmer { animation: shimmer-scan 2.8s cubic-bezier(.4,0,.6,1) infinite; }
.brand-blink { color: #078FD2; animation: brand-blink 1.1s steps(1) infinite; }
@keyframes brand-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bar-shimmer, .brand-blink { animation: none; } }

/* chaos -> order infographic (cards block, variant "chaos") */
.cx { display: grid; gap: 14px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .cx { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); } }
.cx-panel { border-radius: 20px; padding: 22px 22px 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cx-chaos { background: #FFF5F5; border-color: #F8D0D0; }
.cx-order { background: var(--tint); border-color: #C9D8F5; }
.cx-title { text-align: center; font-size: 19px; margin-bottom: 18px; }
.cx-chaos .cx-title { color: var(--red); }
.cx-stage { position: relative; }
.cx-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-lines path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cx-chaos .cx-lines path { stroke: var(--red); stroke-dasharray: 6 5; opacity: .8; animation: cx-dash 1.6s linear infinite; }
.cx-order .cx-lines path { stroke: var(--accent); }
@keyframes cx-dash { to { stroke-dashoffset: -22; } }
.cx-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 46px; }
.cx-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; }
.cx-chaos .cx-chip { transform: rotate(var(--r, 0deg)); border-color: #F3B4B4; }
.cx-chip .ic { width: 24px; height: 24px; }
.cx-chaos .cx-chip .ic { color: var(--red); }
.cx-order .cx-chip .ic { color: var(--blue); }
.cx-chip b { font-size: 13px; line-height: 1.5; color: var(--navy); font-weight: 600; }
.cx-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 13px; line-height: 1.3; padding: 6px; box-shadow: 0 0 0 6px var(--tint); }
.cx-note { text-align: center; margin: 16px 0 0; font-weight: 600; font-size: 14.5px; }
.cx-bad { color: var(--red); }
.cx-good { color: var(--blue); }
.cx-arrow { display: grid; place-items: center; height: 40px; font-size: 34px; color: var(--accent); }
.cx-arrow::after { content: "\2193"; }
@media (min-width: 960px) { .cx-arrow::after { content: "\2190"; } }

.cx-chip.cx-icononly { padding: 18px 8px; }
.cx-chip.cx-icononly .ic { width: 34px; height: 34px; }

/* one-section story: chaos -> core -> modules (cards block, variant "story") */
.st { display: grid; gap: 4px; }
.st-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 960px) { .st-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-flow { display: grid; place-items: center; height: 44px; color: var(--accent); font-size: 30px; }
.st-flow::after { content: "\2193"; }
.st-core { display: grid; justify-items: center; gap: 10px; }
.st-dot { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; text-align: center; line-height: 1.3; padding: 8px; box-shadow: 0 0 0 8px var(--tint), 0 0 0 9px #C9D8F5; }
.st-tag { background: var(--tint); color: var(--blue); font-weight: 700; font-size: 14px; padding: 5px 14px; border-radius: 999px; }

/* hub & spokes (story variant): core in the middle, six modules around it */
.hub { display: grid; gap: 12px; }
.hub-lines { display: none; }
/* hub-mobile: vertical spine with the core on top */
.hub-core { display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 6px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; text-align: center; line-height: 1.3; padding: 8px; box-shadow: 0 0 0 8px var(--tint), 0 0 0 9px #C9D8F5; }
/* hub-compact: short mobile layout */
@media (max-width: 959px) {
  .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hub-core { grid-column: 1 / -1; width: 84px; height: 84px; font-size: 13px; box-shadow: 0 0 0 6px var(--tint), 0 0 0 7px #C9D8F5; margin-bottom: 10px; }
  .hub-node { padding: 12px 8px; text-align: center; cursor: pointer; border-inline-start-width: 1px; border-top: 4px solid var(--accent); }
  .hub-ic { margin: 0 auto 6px; width: 40px; height: 40px; }
  .hub-node b { font-size: 13.5px; }
  .hub-node p { display: none; margin-top: 6px; font-size: 13.5px; text-align: right; }
  .hub-node:focus p, .hub-node:focus-within p { display: block; }
  .hub-node:focus { grid-column: 1 / -1; }
}
.hub-node { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.hub-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #E3E9FC; color: var(--navy); margin-bottom: 10px; }
.hub-ic .ic { width: 24px; height: 24px; }
.hub-node b { display: block; color: var(--navy); font-size: 16px; line-height: 1.5; }
.hub-node p { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; }
@media (min-width: 960px) {
  .hub { display: block; position: relative; width: 760px; max-width: 100%; height: 640px; margin: 8px auto 0; }
  .hub-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .hub-lines path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; animation: cx-dash 1.8s linear infinite; }
  .hub-core { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 128px; height: 128px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 17px; text-align: center; line-height: 1.3; padding: 10px; box-shadow: 0 0 0 10px var(--tint), 0 0 0 11px #C9D8F5; z-index: 2; }
  .hub-node { position: absolute; width: 170px; transform: translate(-50%, -50%); text-align: center; border-inline-start-width: 1px; border-top: 4px solid var(--accent); padding: 14px 12px; cursor: default; z-index: 1; transition: box-shadow .2s, transform .2s; }
  .hub-ic { margin: 0 auto 8px; }
  .hub-node p { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 260px; background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 14px; text-align: right; font-size: 14px; z-index: 5; box-shadow: 0 16px 36px -16px rgba(12, 36, 97, .6); }
  .hub-node:hover, .hub-node:focus { z-index: 6; box-shadow: 0 18px 40px -22px rgba(12, 36, 97, .5); }
  .hub-node:hover p, .hub-node:focus p, .hub-node:focus-within p { display: block; }
  .hn1 { left: 50%; top: 11%; } .hn2 { left: 84%; top: 30%; } .hn3 { left: 84%; top: 70%; }
  .hn4 { left: 50%; top: 89%; } .hn5 { left: 16%; top: 70%; } .hn6 { left: 16%; top: 30%; }
}

/* st-core-gap */
.st-core { margin-bottom: 14px; }

/* customize: browser-window illustration */
.bw { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(12, 36, 97, .45); overflow: hidden; max-width: 520px; width: 100%; margin-inline: auto; }
.bw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.bw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E4; }
.bw-url { margin-inline-start: 10px; flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font: 500 13px var(--mono); color: var(--ink-3); }
.bw-body { padding: 18px; }
.bw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.bw-logo { font-weight: 700; font-size: 16px; }
.bw-tag { font-size: 12px; background: rgba(255, 255, 255, .15); border-radius: 999px; padding: 2px 10px; }
.bw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 480px) { .bw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bw-mod { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-3); background: var(--bg); border: 1px dashed var(--line); border-radius: 10px; padding: 14px 6px; }
.bw-mod.on { color: var(--navy); background: var(--tint); border: 1px solid #C9D8F5; border-top: 3px solid var(--accent); }

/* ai block, variant "flow": tools -> teacher approval gate -> analysis steps -> cost gauge */
.fl { display: grid; gap: 0; max-width: 980px; margin-inline: auto; }
.fl-stage { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.fl-h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fl-h .ibox { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #fff; }
.fl-h h3 { margin: 0; font-size: 18px; }
.fl-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .fl-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fl-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 8px; }
.fl-chip .ic { width: 28px; height: 28px; color: var(--accent); }
.fl-chip b { font-size: 13.5px; line-height: 1.5; color: var(--navy); font-weight: 600; }
.fl-gate { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto; padding: 12px 22px; background: var(--tint); color: var(--blue); border: 1px solid #C9D8F5; border-radius: 999px; font-size: 14.5px; text-align: center; }
.fl-gate::before, .fl-gate::after { content: ""; position: absolute; left: 50%; height: 22px; border-inline-start: 2px dashed var(--accent); }
.fl-gate::before { bottom: 100%; } .fl-gate::after { top: 100%; }
.fl-gate { margin-block: 22px; }
.fl-gic .ic { width: 22px; height: 22px; }
.fl-steps { display: grid; gap: 12px; position: relative; }
@media (min-width: 768px) { .fl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fl-steps::before { content: ""; position: absolute; top: 33px; right: 16%; left: 16%; border-top: 2px dashed var(--accent); } }
.fl-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; text-align: center; }
.fl-n { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--bg); }
.fl-step .ic { width: 22px; height: 22px; color: var(--accent); margin: 0 auto 6px; }
.fl-step b { display: block; color: var(--navy); font-size: 14.5px; line-height: 1.5; }
.fl-step p { margin: 6px 0 0; color: var(--ink-3); font-size: 13px; }
.fl-cost { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; }
.fl-cost > div { flex: 999 1 380px; }
.fl-cost b { display: block; color: var(--navy); font-size: 16.5px; }
.fl-cost > div span { color: var(--ink-2); font-size: 14.5px; }
.fl-gauge { flex: none; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--accent) 0 90%, var(--orange) 90% 100%); -webkit-mask: radial-gradient(circle, transparent 20px, #000 21px); mask: radial-gradient(circle, transparent 20px, #000 21px); }

/* floating social buttons (same look as the legacy site) */
.social-float{position:fixed;left:24px;bottom:24px;z-index:9990;display:flex;flex-direction:column;gap:12px}
.social-float a{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.25);transition:transform .2s;text-decoration:none}
.social-float a:hover{transform:translateY(-2px)}
.social-float a:focus-visible{outline:3px solid var(--cyan);outline-offset:2px}
.social-float svg{width:24px;height:24px;fill:#fff}
.social-float b{color:#fff;font:700 20px/1 Arial,sans-serif}
.sf-ig{background:#E1306C}.sf-tt{background:#010101}.sf-fb{background:#1877F2}.sf-li{background:#0A66C2}
@media(max-width:640px){.social-float{left:16px;bottom:16px;gap:10px}.social-float a{width:42px;height:42px}.social-float svg{width:20px;height:20px}}

/* hero-next: pull the first section after the hero up */
.hero + .section { padding-top: 36px; }
@media (min-width: 768px) { .hero + .section { padding-top: 48px; } }

/* partners: centered, count-agnostic layout */
.logo-flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logo-flex .logo-tile { flex: 0 0 calc((100% - 20px) / 2); }
@media (min-width: 640px) { .logo-flex .logo-tile { flex-basis: calc((100% - 40px) / 3); } }
@media (min-width: 1024px) { .logo-flex { max-width: 980px; margin-inline: auto; } .logo-flex .logo-tile { flex-basis: calc((100% - 60px) / 4); } }

/* two-domain switcher + invitation card */
.dom-switch { background: var(--navy); }
.dom-switch .wrap { display: flex; justify-content: center; gap: 6px; padding-block: 6px; }
.dom-switch a { color: #B9C6E4; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 5px 18px; border-radius: 999px; }
.dom-switch a:hover { color: #fff; }
.dom-switch a.on { background: #fff; color: var(--navy); }
.dom-cta { padding-block: 36px; }
.dom-cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow); }
.dom-cta-card b { color: var(--navy); font-size: 18px; }

/* hero without media: centered */
.hero.hero-solo .split { grid-template-columns: minmax(0, 1fr); text-align: center; }
.hero-solo .lead { margin-inline: auto; }
.hero-solo .hero-ctas, .hero-solo .proof { justify-content: center; }
.hero-solo .hero-media { display: none; }

/* two specialised divisions: header panels, business identity, choose-your-field */
.dom-switch { background: var(--navy); }
.dom-switch .wrap { display: flex; justify-content: center; gap: 10px; padding-block: 8px; flex-wrap: wrap; }
.dom-switch a { display: flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 12px; background: rgba(255,255,255,.08); color: #B9C6E4; text-decoration: none; border: 1px solid transparent; }
.dom-switch a b { display: block; font-size: 14.5px; color: inherit; line-height: 1.3; }
.dom-switch a small { display: block; font-size: 12px; opacity: .85; line-height: 1.3; }
.dom-switch a.on { background: #fff; color: var(--navy); }
.dom-switch a.ds-biz.on { color: var(--blue); border-color: var(--blue); }
.ds-ic { font-size: 20px; }
@media (max-width: 640px) { .dom-switch a small { display: none; } .dom-switch a { padding: 6px 12px; } }
body.biz .btn-primary { background: var(--blue); border-color: var(--blue); }
body.biz .hero-badge::before { background: var(--blue); }
body.biz .hero h1 span, body.biz .kicker, body.biz .pill { color: var(--blue); }
body.biz .site-header .btn-primary { box-shadow: none; }
.dom-h { text-align: center; margin-bottom: 18px; }
.dom-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .dom-grid { grid-template-columns: 1fr 1fr; } }
.dom-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.dom-card.biz { border-top-color: var(--blue); }
.dom-card.here { background: var(--tint); }
.dom-card h3 { margin: 0; font-size: 20px; }
.dom-card p { margin: 0 0 6px; color: var(--ink-2); }
.dom-ic { font-size: 30px; }
.dom-here { justify-self: start; background: var(--tint); color: var(--blue); font-weight: 700; font-size: 13.5px; padding: 5px 14px; border-radius: 999px; }
body.biz .dom-card.biz .btn-primary { background: var(--blue); }

/* ds-compact: slim two-division bar */
.dom-switch .wrap { padding-block: 4px; gap: 8px; }
.dom-switch a { padding: 5px 16px; border-radius: 999px; gap: 8px; }
.dom-switch a b { font-size: 13.5px; font-weight: 600; }
.dom-switch a small { display: none; }
.ds-ic { font-size: 15px; line-height: 1; }
@media (max-width: 640px) { .dom-switch a { padding: 4px 12px; } .dom-switch a b { font-size: 12.5px; } }

/* choose-your-field infographic: one company, two divisions */
.dv-top { display: grid; justify-items: center; gap: 4px; position: relative; padding-bottom: 28px; }
.dv-root { background: var(--navy); color: #fff; font-weight: 700; font-size: 18px; padding: 8px 28px; border-radius: 999px; box-shadow: 0 0 0 6px var(--tint); }
.dv-top small { color: var(--ink-3); font-weight: 600; }
.dv-top::after { content: ""; position: absolute; bottom: 0; left: 50%; height: 28px; border-inline-start: 2px dashed var(--accent); }
.dv-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); position: relative; }
@media (min-width: 768px) {
  .dv-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .dv-grid::before { content: ""; position: absolute; top: -14px; left: 25%; right: 25%; border-top: 2px dashed var(--accent); }
  .dv-card::before { content: ""; position: absolute; top: -14px; left: 50%; height: 14px; border-inline-start: 2px dashed var(--accent); }
}
.dv-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.dv-card.here { box-shadow: 0 0 0 3px var(--tint), var(--shadow); }
.dv-band { display: flex; align-items: center; gap: 14px; padding: 18px 22px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--accent)); }
.dv-biz .dv-band { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.dv-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.18); font-size: 28px; }
.dv-band h3 { margin: 0; color: #fff; font-size: 20px; }
.dv-band small { color: rgba(255,255,255,.85); }
.dv-body { padding: 20px 22px 24px; display: grid; gap: 12px; align-content: start; }
.dv-body p { margin: 0; color: var(--ink-2); }
.dv-lbl { font-weight: 700; font-size: 13px; color: var(--blue); }
.dv-biz .dv-lbl { color: var(--blue); }
.dv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.dv-chip { display: grid; gap: 2px; background: var(--tint); border-radius: 12px; padding: 8px 14px; border-inline-start: 3px solid var(--accent); }
.dv-biz .dv-chip { background: var(--tint); border-inline-start-color: var(--blue); }
.dv-chip b { color: var(--navy); font-size: 14.5px; }
.dv-chip small { color: var(--ink-3); font-size: 12.5px; }
.dv-body .btn, .dv-body .dom-here { justify-self: start; margin-top: 4px; }
body.biz .dv-body .btn-primary { background: var(--blue); border-color: var(--blue); }

/* choose-your-field v2: compact, icon-led */
.dv2 { padding-block: 24px 32px; }
.dv2-top { display: grid; justify-items: center; position: relative; padding-bottom: 20px; }
.dv2-root { background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; padding: 5px 20px; border-radius: 999px; }
.dv2-top::after { content: ""; position: absolute; bottom: 0; left: 50%; height: 20px; border-inline-start: 2px dashed #9DB4E8; }
.dv2-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; position: relative; }
@media (min-width: 640px) {
  .dv2-grid { grid-template-columns: 1fr 1fr; }
  .dv2-grid::before { content: ""; position: absolute; top: -10px; left: 25%; right: 25%; border-top: 2px dashed #9DB4E8; }
}
.dv2-card { display: grid; justify-items: center; gap: 8px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-bottom: 4px solid var(--accent); border-radius: 16px; padding: 16px 14px; }
.dv2-biz { border-bottom-color: var(--blue); }
.dv2-card.here { background: var(--tint); }
.dv2-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); font-size: 22px; }
.dv2-biz .dv2-ic { background: var(--tint); }
.dv2-card h3 { margin: 0; font-size: 16px; }
.dv2-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dv2-tags span { font-size: 12.5px; font-weight: 600; color: var(--navy); background: var(--bg); border-radius: 999px; padding: 2px 10px; }
.dv2-go { font-weight: 700; font-size: 13.5px; color: #fff; background: var(--accent); border-radius: 999px; padding: 5px 16px; text-decoration: none; }
.dv2-biz .dv2-go { background: var(--blue); }
.dv2-here { font-size: 12.5px; font-weight: 700; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 3px 12px; }

.dv2-d { margin: 0; color: var(--ink-2); font-size: 13.5px; }

/* choose-your-field v3: curved fork instead of dashed tree */
.dv2-top { max-width: 640px; margin-inline: auto; padding-bottom: 0; gap: 0; }
.dv2-top::after, .dv2-grid::before { display: none; }
.dv2-root { background: linear-gradient(135deg, var(--navy), var(--accent)); font-size: 17px; padding: 7px 26px; box-shadow: 0 6px 16px -6px rgba(12, 36, 97, .55), 0 0 0 5px var(--tint); position: relative; z-index: 1; }
.dv2-fork { display: none; width: 100%; height: 40px; margin-top: -2px; }
.dv2-fork path { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (min-width: 640px) { .dv2-fork { display: block; } }
@media (max-width: 639px) { .dv2-top::after { display: block; height: 18px; border-inline-start: 2px solid #9DB4E8; } .dv2-top { padding-bottom: 18px; } }
.dv2-card { box-shadow: 0 10px 24px -18px rgba(12, 36, 97, .5); }

/* infographics: chain, tiles, timeline */
.ch { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.ch-node { background: #FFF5F5; border: 1px solid #F8D0D0; border-radius: 16px; padding: 18px 14px; text-align: center; }
.ch-ic { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%; background: #FDE2E2; color: var(--red); }
.ch-ic .ic { width: 24px; height: 24px; }
.ch-node b { display: block; color: var(--navy); font-size: 15px; line-height: 1.5; }
.ch-node p { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; }
.ch-arr { display: grid; place-items: center; color: var(--red); font-size: 22px; }
.ch-arr::after { content: "\2193"; }
@media (min-width: 960px) { .ch { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; } .ch-arr::after { content: "\2190"; font-size: 26px; } }
.tl { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .tl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.tl-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 14px; text-align: center; box-shadow: var(--shadow); }
.tl-ic { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--accent)); color: #fff; }
.tl-ic .ic { width: 28px; height: 28px; }
.tl-tile b { display: block; color: var(--navy); font-size: 15.5px; line-height: 1.5; }
.tl-tile p { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; }
.tm { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; }
.tm-step { position: relative; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 14px 16px; margin-top: 22px; }
.tm-n { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; box-shadow: 0 0 0 5px var(--bg); }
.tm-step b { display: block; color: var(--navy); font-size: 15.5px; margin-top: 8px; }
.tm-step p { margin: 6px 0 0; color: var(--ink-2); font-size: 13.5px; }
@media (min-width: 960px) { .tm { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } .tm::before { content: ""; position: absolute; top: 22px; right: 12%; left: 12%; border-top: 2px dashed var(--accent); } }
body.biz .ch-node { background: #FFF5F5; }
body.biz .tl-ic, body.biz .tm-n { background: var(--blue); }

/* services infographic v2: numbered horizontal cards */
.tl { counter-reset: svc; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 720px) { .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .tl { gap: 18px; } }
.tl-tile { counter-increment: svc; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center; text-align: right; padding: 18px 20px; border-inline-start: 4px solid var(--accent); transition: transform .2s, box-shadow .2s; }
.tl-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(12, 36, 97, .5); }
.tl-tile::after { content: counter(svc, arabic-indic); position: absolute; left: 14px; top: 2px; font: 800 48px/1 var(--font); color: var(--navy); opacity: .08; }
.tl-tile .tl-ic { grid-row: 1 / span 2; width: 58px; height: 58px; margin: 0; border-radius: 16px; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7); }
.tl-tile b { align-self: end; margin: 0; }
.tl-tile p { align-self: start; margin: 0; font-size: 13.5px; }
body.biz .tl-tile { border-inline-start-color: var(--blue); }
body.biz .tl-tile .tl-ic { box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7); }
@media (prefers-reduced-motion: reduce) { .tl-tile { transition: none; } .tl-tile:hover { transform: none; } }
/* tl-num */

/* systems showcase */
.sc { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-card { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 16px 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.sc-card:hover, .sc-card:focus { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(12, 36, 97, .5); outline: none; }
.sc-tag { font-size: 12px; font-weight: 700; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 4px 12px; line-height: 1.5; }
.sc-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, var(--navy), var(--accent)); color: #fff; box-shadow: 0 12px 22px -12px rgba(37, 99, 235, .75); margin-top: 4px; }
.sc-ic .ic { width: 30px; height: 30px; }
.sc-card h3 { margin: 4px 0 0; font-size: 19px; }
.sc-card h3 a { color: inherit; text-decoration: none; }
.sc-card p { margin: 0; color: var(--ink-2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-card:hover p, .sc-card:focus p, .sc-card:focus-within p { -webkit-line-clamp: unset; overflow: visible; }
body.biz .sc-tag { color: var(--blue); background: var(--tint); }
body.biz .sc-ic { background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 12px 22px -12px rgba(37, 99, 235, .75); }
@media (prefers-reduced-motion: reduce) { .sc-card { transition: none; } .sc-card:hover { transform: none; } }

/* systems panels: wide cards with a blue side panel */
.pn { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .pn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pn-card { display: grid; grid-template-columns: 124px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pn-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(12, 36, 97, .5); }
.pn-side { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 18px 10px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--navy), var(--accent)); }
.pn-side .ic { width: 34px; height: 34px; }
.pn-side small { font-size: 11.5px; font-weight: 600; line-height: 1.5; opacity: .92; }
.pn-main { padding: 18px 20px; }
.pn-main h3 { margin: 0 0 6px; font-size: 19px; }
.pn-main h3 a { color: inherit; text-decoration: none; }
.pn-main p { margin: 0; color: var(--ink-2); font-size: 14px; }
@media (max-width: 479px) { .pn-card { grid-template-columns: 96px 1fr; } }
@media (prefers-reduced-motion: reduce) { .pn-card { transition: none; } .pn-card:hover { transform: none; } }

/* systems as app windows */
.wn { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .wn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.wn-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 36px -26px rgba(12, 36, 97, .55); transition: transform .2s, box-shadow .2s; }
.wn-card:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgba(12, 36, 97, .6); }
.wn-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: linear-gradient(90deg, var(--navy), var(--blue)); }
.wn-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); flex: none; }
.wn-bar span { margin-inline-start: 8px; flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wn-body { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.wn-ic { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--tint); color: var(--blue); box-shadow: inset 0 0 0 1px #C9D8F5; }
.wn-ic .ic { width: 30px; height: 30px; }
.wn-body h3 { margin: 0 0 6px; font-size: 19px; }
.wn-body h3 a { color: inherit; text-decoration: none; }
.wn-body p { margin: 0; color: var(--ink-2); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .wn-card { transition: none; } .wn-card:hover { transform: none; } }

/* systems: classic rows */
.cl { max-width: 900px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.cl-row { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cl-row:last-child { border-bottom: 0; }
.cl-ic { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--navy); color: var(--navy); }
.cl-ic .ic { width: 24px; height: 24px; }
.cl-txt h3 { margin: 0 0 4px; font-size: 19px; color: var(--navy); }
.cl-txt h3 a { color: inherit; text-decoration: none; }
.cl-txt p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.cl-tag { grid-column: 2; font-size: 13px; font-weight: 600; color: var(--blue); }
@media (min-width: 768px) { .cl-row { grid-template-columns: auto 1fr auto; align-items: center; } .cl-tag { grid-column: auto; text-align: left; max-width: 200px; } }

/* system logos replace icons */
.sys-logo { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cl-ic:has(.sys-logo), .wn-ic:has(.sys-logo), .pn-side:has(.sys-logo), .sc-ic:has(.sys-logo), .sys .ibox:has(.sys-logo) { width: 72px; height: 72px; padding: 6px; background: #fff; border: 1px solid var(--line); box-shadow: none; }
.pn-side:has(.sys-logo) { width: auto; height: auto; border: 0; background: linear-gradient(160deg, var(--navy), var(--accent)); }
.pn-side .sys-logo { max-height: 56px; background: #fff; border-radius: 12px; padding: 6px; }

/* round logo frames (all variants) */
.cl-ic:has(.sys-logo), .wn-ic:has(.sys-logo), .sc-ic:has(.sys-logo), .sys .ibox:has(.sys-logo) { border-radius: 50%; overflow: hidden; padding: 8px; }
.pn-side .sys-logo { border-radius: 50%; }
/* systems: round-logo cards */
.rc { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .rc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rc-card { display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 14px; padding: 26px 18px 24px; }
.rc-logo { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -12px rgba(12, 36, 97, .45); padding: 12px; overflow: hidden; color: var(--blue); }
.rc-logo .sys-logo { width: 100%; height: 100%; object-fit: contain; }
.rc-logo .ic { width: 36px; height: 36px; }
.rc-card h3 { margin: 8px 0 0; font-size: 19px; color: var(--navy); }
.rc-card h3 a { color: inherit; text-decoration: none; }
.rc-tag { font-size: 12.5px; font-weight: 600; color: var(--blue); line-height: 1.5; }
.rc-card p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }

/* systems gallery: one featured system + logo thumbnails */
.gl { max-width: 760px; margin-inline: auto; }
.gl-thumbs { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; margin-bottom: 22px; }
.gl-thumb { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--line); background: #fff; padding: 10px; cursor: pointer; display: grid; place-items: center; color: var(--blue); opacity: .75; transition: opacity .2s, border-color .2s, transform .2s; }
.gl-thumb .sys-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.gl-thumb.on, .gl-thumb:hover { opacity: 1; border-color: var(--blue); transform: translateY(-2px); }
.gl-thumb:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gl-stage { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 18px; padding: 30px 26px; text-align: center; }
.gl-main { display: grid; justify-items: center; gap: 8px; }
.gl.js .gl-main { display: none; }
.gl.js .gl-main.on { display: grid; }
.gl-logo { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(12, 36, 97, .5); padding: 16px; color: var(--blue); }
.gl-logo .sys-logo { width: 100%; height: 100%; object-fit: contain; }
.gl-main h3 { margin: 8px 0 0; font-size: 22px; color: var(--navy); }
.gl-main h3 a { color: inherit; text-decoration: none; }
.gl-tag { font-size: 13px; font-weight: 600; color: var(--blue); }
.gl-main p { margin: 4px 0 0; max-width: 560px; color: var(--ink-2); font-size: 15px; }
.gl:not(.js) .gl-thumbs { display: none; }
.gl:not(.js) .gl-main { padding-block: 18px; border-bottom: 1px solid var(--line-2); }
@media (prefers-reduced-motion: reduce) { .gl-thumb { transition: none; } }

/* biz-even-spacing: equal, tighter rhythm between all sections on the business page */
body.biz .section, body.biz .hero + .section { padding-block: 28px; }
@media (min-width: 768px) { body.biz .section, body.biz .hero + .section { padding-block: 36px; } }
body.biz .hero { padding-bottom: 28px; }
@media (min-width: 960px) { body.biz .hero { padding-bottom: 36px; } }
body.biz .dom-cta { padding-block: 28px; }

/* nav-brand-gap: more room between the logo/name and the menu links (desktop) */
/* nav-center: 3-column grid, menu in the true centre */
@media (min-width: 960px) {
  .site-header .nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .site-header .nav > nav { justify-self: center; }
  .site-header .nav-links { margin: 0; justify-content: center; }
  .site-header .nav > .btn { margin: 0; justify-self: end; }
  .site-header .brand { justify-self: start; }
}
}

/* preloader (copied from the legacy page) */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(244,246,249,.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity .5s cubic-bezier(.4,0,.2,1), visibility .5s;
}
#preloader.hide {
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
#preloader svg { width: 140px; height: auto; }
.preloader-text {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 28px;
  display: flex;
  direction: ltr;
  gap: 1px;
}
.preloader-text span {
  opacity: 0;
  display: inline-block;
  animation: letterReveal .5s cubic-bezier(.16,1,.3,1) both;
}
@keyframes letterReveal {
  0% { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes preloaderPulse {
  0%, 100% { opacity: .35; }
  50% { opacity: .7; }
}
/* pl-gate: only when JS is on and not yet seen in this session */
#preloader { display: none; }
html.pl #preloader { display: flex; }
@media (prefers-reduced-motion: reduce) { #preloader * { animation-duration: .01s !important; } }

/* pl-force: make the preloader a real full-screen overlay on every device */
html.pl #preloader { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: 2147483000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #F4F6F9; }
html.pl #preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
html.pl #preloader svg { width: clamp(90px, 28vw, 140px); height: auto; max-width: none; flex: none; }
html.pl #preloader .preloader-text { margin-top: 20px; flex-direction: row; }
html.pl .social-float, html.pl .wa-float { z-index: 1; }

/* article-narrow: comfortable reading width and type size */
.article-layout { max-width: 820px; margin-inline: auto; }
.article-layout.has-toc { max-width: 1100px; }
.wrap > .page-head { max-width: 820px; margin-inline: auto; }
.prose { font-size: 16.5px; line-height: 1.85; }
@media (min-width: 768px) { .prose { padding: 32px 36px; } }
.prose h2 { font-size: 23px; }
.prose h3 { font-size: 19px; }

/* side cards around articles (wide screens only) */
.side-col { display: none; }
@media (min-width: 1280px) {
  .art-wrap { display: grid; grid-template-columns: 210px minmax(0, 820px) 210px; gap: 24px; justify-content: center; }
  .art-wrap.has-toc { grid-template-columns: minmax(0, 1100px); }
  .art-wrap.has-toc .side-col { display: none; }
  .side-col { display: grid; gap: 16px; position: sticky; top: 90px; align-self: start; }
  .side-col:empty { display: none; }
}
@media (min-width: 1600px) {
  .art-wrap.has-toc { grid-template-columns: 210px minmax(0, 1100px); }
  .art-wrap.has-toc .side-r { display: grid; }
}
.sdc { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 14px; padding: 14px; display: grid; gap: 8px; text-align: center; box-shadow: var(--shadow); }
.sdc img { border-radius: 10px; width: 100%; height: auto; }
.sdc b { color: var(--navy); font-size: 15.5px; line-height: 1.5; }
.sdc p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }

/* sdc-fix: explicit columns so the article is always the middle column in RTL */
@media (min-width: 1280px) {
  .art-wrap { direction: ltr; }
  .art-wrap > * { direction: rtl; }
  .art-wrap > .side-l { grid-column: 1; grid-row: 1; }
  .art-wrap > .article-layout { grid-column: 2; grid-row: 1; min-width: 0; }
  .art-wrap > .side-r { grid-column: 3; grid-row: 1; }
  .art-wrap.has-toc { grid-template-columns: minmax(0, 1100px); }
  .art-wrap.has-toc > .article-layout { grid-column: 1; }
}
@media (min-width: 1600px) {
  .art-wrap.has-toc { grid-template-columns: minmax(0, 1100px) 210px; }
  .art-wrap.has-toc > .side-r { grid-column: 2; }
}

/* side card slots */
@media (min-width: 1280px) {
  .side-col { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: static; align-self: stretch; }
  .slot { display: grid; gap: 16px; }
  .slot:empty { display: none; }
  .art-wrap.has-toc .side-col { display: none; }
}
@media (min-width: 1600px) { .art-wrap.has-toc .side-r { display: flex; } }
.sdc-bottom { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 8px auto 40px; max-width: 820px; }

/* slot-grid: three equal rows so empty slots still reserve space (top / middle / bottom) */
@media (min-width: 1280px) {
  .side-col { display: grid; grid-template-rows: repeat(3, 1fr); }
  .slot { align-content: start; }
  .slot:empty { display: block; }
  .slot:nth-child(2) { align-content: center; }
  .slot:nth-child(3) { align-content: end; }
  .art-wrap.has-toc .side-col { display: none; }
}
@media (min-width: 1600px) { .art-wrap.has-toc .side-r { display: grid; } }

/* slot-top-offset: push the top slot down a bit */
@media (min-width: 1280px) { .slot:nth-child(1) { padding-top: 40px; } }

/* article-h1: smaller article title */
.page-head:has(+ .article-layout) h1, .page-head:has(+ .art-wrap) h1 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.5; }

/* prose-smaller: smaller article body text */
.prose { font-size: 15.5px; line-height: 1.8; }
.prose h2 { font-size: 21px; }
.prose h3 { font-size: 17.5px; }
.prose table { font-size: 14px; }
