/* ShikZya marketing site — one stylesheet for every page.
   Brand: blue #135FD1, orange #F76C0E, Plus Jakarta Sans (the same as the app). */

:root {
  --blue: #135FD1;
  --blue-d: #0E4CAA;
  --blue-dd: #0A2E6E;
  --blue-l: #EAF1FC;
  --blue-ll: #F4F8FE;
  --orange: #F76C0E;
  --orange-d: #B94A05;
  --orange-l: #FFF0E5;
  --green: #11875A;
  --green-l: #E6F6EE;
  --purple: #7C3AED;
  --purple-l: #F1EAFE;
  --red: #D0263F;
  --red-l: #FDECEF;
  --teal: #0E7C8C;
  --teal-l: #E3F6F8;
  --ink: #0B1733;
  --text: #3A4660;
  --muted: #5F6B83;
  --line: #E4EAF3;
  --line-2: #D5DFEE;
  --soft: #F6F8FC;
  --navy: #0A1A3A;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-xs: 0 1px 2px rgba(11, 23, 51, .06);
  --shadow: 0 1px 2px rgba(11, 23, 51, .04), 0 12px 32px -14px rgba(11, 23, 51, .16);
  --shadow-lg: 0 34px 80px -24px rgba(10, 46, 110, .38);
  --maxw: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.nav-open { overflow: hidden; }
body {
  margin: 0; font-family: "Plus Jakarta Sans", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--text); background: #fff; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(19, 95, 209, .45); outline-offset: 2px; border-radius: 8px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
::selection { background: rgba(19, 95, 209, .16); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 300; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; font-size: .98rem; line-height: 1; padding: .95em 1.45em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(19, 95, 209, .75); }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 12px 26px -12px rgba(247, 108, 14, .75); }
.btn-orange:hover { background: #E25E04; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue-d); }
.btn-white:hover { color: var(--blue); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178A45; color: #fff; }
.btn-sm { padding: .72em 1.15em; font-size: .9rem; }
.btn-lg { padding: 1.08em 1.65em; font-size: 1.02rem; }
.btn i { font-size: .9em; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow i { font-size: .8em; transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ───────── Icon tiles ───────── */
.ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.1rem; background: var(--blue-l); color: var(--blue);
}
.ico.sm { width: 36px; height: 36px; border-radius: 10px; font-size: .9rem; }
.ico.lg { width: 60px; height: 60px; border-radius: 18px; font-size: 1.4rem; }
.ico.b { background: var(--blue-l); color: var(--blue); }
.ico.o { background: var(--orange-l); color: var(--orange-d); }
.ico.g { background: var(--green-l); color: var(--green); }
.ico.p { background: var(--purple-l); color: var(--purple); }
.ico.r { background: var(--red-l); color: var(--red); }
.ico.t { background: var(--teal-l); color: var(--teal); }

/* ───────── Top strip (proposal download) ───────── */
.topbar { background: var(--navy); color: #C3CEE6; font-size: .84rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; }
.tb-contact { display: flex; gap: 18px; }
.tb-contact a { color: #C3CEE6; display: inline-flex; align-items: center; gap: 7px; }
.tb-contact a:hover { color: #fff; }
.tb-contact i { color: #FFB070; font-size: .8em; }
.tb-dl { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 5px 14px 5px 6px; transition: background .2s; }
.tb-dl:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.tb-dl i { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: .72rem; }
.tb-dl b { color: #fff; font-weight: 700; }
.tb-dl span { color: #AFC0DF; font-size: .8rem; }
@media (max-width: 760px) { .tb-contact { display: none; } .topbar-in { justify-content: center; } }
@media (max-width: 400px) { .tb-dl span { display: none; } }

/* ───────── Header ───────── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 28px -20px rgba(11, 23, 51, .45); }
.nav { display: flex; align-items: center; gap: 18px; height: var(--header-h); position: relative; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.wordmark { font-family: "Fredoka", "Plus Jakarta Sans", sans-serif; font-weight: 600; font-size: 1.75rem; letter-spacing: -.01em; line-height: 1; }
.w-shik { color: var(--blue); }
.w-zya { color: var(--orange); }

.nav-panel { display: flex; align-items: center; margin-left: auto; }
.nav-panel-head, .nav-panel-foot, .nav-scrim { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 9px 13px; border-radius: 10px; position: relative;
}
.nav-links > li > a:hover { background: var(--blue-ll); color: var(--blue); }
.nav-links > li > a[aria-current="page"] { color: var(--blue); }
.nav-links > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2.5px; border-radius: 3px; background: var(--orange);
}
.caret { font-size: .62rem; transition: transform .2s; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 16px; right: 16px; top: calc(100% - 6px); padding-top: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; z-index: 110;
}
@media (min-width: 640px) { .mega { left: 28px; right: 28px; } }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  display: grid; grid-template-columns: repeat(3, 1fr) 250px; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px;
}
.mega-col { padding: 6px; }
.mega-h { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 6px 10px 8px; }
.mega-item { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--ink); }
.mega-item:hover { background: var(--blue-ll); color: var(--ink); }
.mega-item b { display: block; font-size: .9rem; line-height: 1.25; }
.mega-item small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.mega-promo {
  border-radius: 16px; padding: 22px; color: #D6E3FA; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  background: radial-gradient(260px 200px at 100% 100%, rgba(247, 108, 14, .45), transparent 70%), linear-gradient(160deg, var(--blue), var(--blue-dd));
}
.mega-promo p { margin: 0; font-size: .92rem; }
.mega-link { color: #fff; font-weight: 700; font-size: .88rem; margin-top: auto; }
.mega-link:hover { color: #FFD2B0; }

.login-menu { position: relative; }
.login-menu .btn i { font-size: .7em; transition: transform .2s; }
.login-menu .btn[aria-expanded="true"] i { transform: rotate(180deg); }
.login-pop {
  position: absolute; right: 0; top: calc(100% + 12px); width: 310px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 120;
}
.login-pop a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink); }
.login-pop a:hover { background: var(--blue-ll); }
.login-pop i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-l); color: var(--blue); flex-shrink: 0; }
.login-pop a:nth-child(2) i { background: var(--orange-l); color: var(--orange-d); }
.login-pop a:nth-child(3) i { background: var(--green-l); color: var(--green); }
.login-pop b { display: block; font-size: .95rem; }
.login-pop small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 13px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 13px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: "";
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; width: 12px; }

@media (max-width: 1120px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; }
  .nav-cta .login-menu { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-panel {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 140; background: #fff;
    flex-direction: column; align-items: stretch; margin: 0; padding: 18px 18px 26px; overflow-y: auto;
    transform: translateX(105%); transition: transform .3s var(--ease), visibility .3s; box-shadow: -30px 0 60px -30px rgba(11, 23, 51, .45);
    visibility: hidden;
  }
  .nav-panel.open { transform: none; visibility: visible; }
  .nav-scrim { display: block; position: fixed; inset: 0; background: rgba(11, 23, 51, .45); z-index: 130; opacity: 0; transition: opacity .3s; }
  .nav-scrim.show { opacity: 1; }
  .nav-scrim[hidden] { display: none; }
  .nav-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
  .nav-panel-head .wordmark { font-size: 1.55rem; }
  .nav-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links > li > a { width: 100%; padding: 13px 12px; font-size: 1.05rem; }
  .nav-links > li > a[aria-current="page"] { background: var(--blue-ll); }
  .nav-links > li > a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .caret, .mega { display: none; }
  .nav-panel-foot { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav-panel-foot p { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 12px 6px; }
  .nav-panel-foot a:not(.btn) { display: flex; align-items: center; gap: 12px; padding: 11px 12px; color: var(--ink); font-weight: 600; border-radius: 10px; }
  .nav-panel-foot a:not(.btn):hover { background: var(--blue-ll); }
  .nav-panel-foot a i { color: var(--blue); width: 20px; text-align: center; }
  .nav-panel-foot .btn { width: 100%; margin-top: 14px; }
}
@media (max-width: 460px) {
  .nav-demo { display: none; }
  .wordmark { font-size: 1.55rem; }
  .brand img { width: 46px; }
}

/* ───────── Sections ───────── */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .lead { margin-bottom: 0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.head-row .section-head { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.eyebrow.light { color: #FFC08F; }
.eyebrow.light::before { background: #FFB070; }
.lead { font-size: clamp(1.04rem, 1.6vw, 1.17rem); color: var(--text); }
.hl { color: var(--blue); position: relative; z-index: 0; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .03em; height: .17em; border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), #FFB070); opacity: .9; z-index: -1;
}
.grid-bg { position: relative; isolation: isolate; overflow: hidden; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(19, 95, 209, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 95, 209, .07) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
}
.grid-bg::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -12%; top: -30%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(closest-side, rgba(19, 95, 209, .12), transparent 70%);
}
.blob-o { position: absolute; z-index: -1; left: -14%; bottom: -40%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; pointer-events: none; background: radial-gradient(closest-side, rgba(247, 108, 14, .1), transparent 70%); }

/* ───────── Home hero ───────── */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 7vw, 104px); background: linear-gradient(180deg, #F3F7FF, #fff 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-grid > * { min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 22px;
}
.chip b { background: var(--orange-l); color: var(--orange-d); border-radius: 999px; padding: 3px 10px; font-size: .74rem; letter-spacing: .05em; }
.hero h1 { margin-bottom: 20px; font-size: clamp(2.3rem, 4.3vw, 3.35rem); }
.hero .lead { max-width: 580px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.checks i { color: var(--green); }

/* dashboard mock-up — drawn like the real principal portal (white sidebar, ShikZya logo, brand tints).
   An illustration with sample data, not a screenshot. */
.hero-visual { position: relative; padding: 30px 0 34px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 4% -4% -2% 6%; border-radius: 48px; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 55% at 72% 28%, rgba(19, 95, 209, .24), transparent 70%), radial-gradient(45% 45% at 18% 88%, rgba(247, 108, 14, .2), transparent 70%);
  filter: blur(8px);
}
@media (min-width: 1200px) { .hero-visual { margin-right: -44px; } }
.mock {
  position: relative; z-index: 1; background: #fff; border-radius: 18px; border: 1px solid #DCE5F3; overflow: hidden;
  box-shadow: 0 44px 90px -34px rgba(10, 46, 110, .5), 0 2px 6px rgba(11, 23, 51, .06);
  font-size: 12px; line-height: 1.4; color: #4A5572;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F6F8FC; border-bottom: 1px solid #E8EDF6; }
.mock-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.mock-bar > i:nth-child(2) { background: #FBBF24; }
.mock-bar > i:nth-child(3) { background: #34D399; }
.mock-url { margin: 0 auto; flex: 1; max-width: 320px; text-align: center; background: #fff; border: 1px solid #E8EDF6; border-radius: 8px; padding: 4px 10px; color: #8B93A8; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-url::before { content: "\f023"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 6px; color: var(--green); font-size: 10px; }
.mock-body { display: grid; grid-template-columns: 172px 1fr; min-height: 440px; background: #F5F8FD; }
.mock-side { background: #fff; border-right: 1px solid #E8EDF6; padding: 12px 10px; }
.ms-logo { display: flex; align-items: center; gap: 8px; padding: 2px 6px 11px; border-bottom: 1px solid #E8EDF6; margin-bottom: 9px; }
.ms-logo img { width: 34px; height: auto; }
.ms-logo .wordmark { font-size: 1.2rem; }
.ms-school { display: flex; gap: 8px; align-items: center; background: #F3F7FE; border: 1px solid #E3ECFA; border-radius: 10px; padding: 7px 8px; margin-bottom: 4px; }
.ms-school .av { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 9.5px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.ms-school b { display: block; font-size: 10px; color: #16203A; line-height: 1.2; }
.ms-school small { font-size: 9px; color: #8B93A8; }
.mock-side p { margin: 10px 8px 4px; font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: #8B93A8; font-weight: 800; }
.ms-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; font-weight: 600; font-size: 11px; color: #4A5572; white-space: nowrap; }
.ms-item i { width: 14px; text-align: center; font-size: 10.5px; color: #8B93A8; }
.ms-item.on { background: #E9F1FE; color: #0B3E96; font-weight: 700; }
.ms-item.on i { color: var(--blue); }
.ms-item .cnt { margin-left: auto; background: var(--orange); color: #fff; font-size: 8px; font-weight: 800; border-radius: 99px; padding: 1px 6px; }
.mock-main { padding: 15px 15px 14px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mm-appbar { display: none; }
.mm-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mm-top small { display: block; font-size: 9px; color: #8B93A8; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mm-top b { font-size: 15px; color: #16203A; letter-spacing: -.01em; }
.mm-tools { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mm-date { display: inline-flex; align-items: center; gap: 5px; background: #FFF1E6; color: #C2570B; border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 10px; white-space: nowrap; }
.mm-bell { position: relative; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid #E8EDF6; display: grid; place-items: center; color: #4A5572; font-size: 11px; }
.mm-bell em { position: absolute; top: 3px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); border: 1.5px solid #fff; }
.mm-av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #3B7BE8); color: #fff; font-size: 9.5px; font-weight: 800; display: grid; place-items: center; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { background: #fff; border: 1px solid #E8EDF6; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.kpi .ki { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; margin-bottom: 3px; }
.ki.b { background: #E9F1FE; color: var(--blue); } .ki.g { background: var(--green-l); color: var(--green); }
.ki.o { background: #FFF1E6; color: var(--orange); } .ki.p { background: var(--purple-l); color: var(--purple); }
.kpi b { font-size: 16px; color: #16203A; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.kpi small { font-size: 9.5px; color: #8B93A8; font-weight: 600; }
.kpi em { align-self: flex-start; font-style: normal; font-size: 8.5px; font-weight: 800; color: var(--green); background: var(--green-l); border-radius: 99px; padding: 1px 6px; white-space: nowrap; }
.mm-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.mm-card { background: #fff; border: 1px solid #E8EDF6; border-radius: 12px; padding: 11px 12px; }
.mm-card h5 { margin: 0 0 9px; font-size: 11px; color: #16203A; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.mm-card h5 span { color: #8B93A8; font-weight: 600; font-size: 9.5px; }
.chart { display: flex; align-items: flex-end; gap: 9px; height: 104px; padding: 14px 2px 0; background: repeating-linear-gradient(to top, #EEF2F8 0 1px, transparent 1px 26px); }
.chart div { flex: 1; position: relative; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5B95EE, var(--blue)); }
.chart div.o { background: linear-gradient(180deg, #FFA35C, var(--orange)); }
.chart div[data-v]::after { content: attr(data-v); position: absolute; top: -15px; left: 50%; transform: translateX(-50%); font-size: 8.5px; font-weight: 800; color: #C2570B; }
.bar-lbl { display: flex; gap: 9px; margin-top: 5px; padding: 0 2px; }
.bar-lbl span { flex: 1; text-align: center; font-size: 9px; color: #8B93A8; font-weight: 600; }
.routine li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px dashed #E8EDF6; font-size: 10.5px; }
.routine li:last-child { border-bottom: 0; }
.routine i { width: 5px; height: 24px; border-radius: 3px; background: var(--blue); flex-shrink: 0; }
.routine li:nth-child(2) i { background: var(--orange); }
.routine li:nth-child(3) i { background: #16A34A; }
.routine li:nth-child(4) i { background: #9333EA; }
.routine b { color: #16203A; display: block; font-size: 10.5px; }
.routine small { color: #8B93A8; font-size: 9.5px; }
.routine .now { margin-left: auto; font-size: 8.5px; font-weight: 800; background: var(--green-l); color: var(--green); padding: 2px 7px; border-radius: 99px; }
.mm-fee { padding: 11px 12px 10px; }
.fee-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.fee-head b { font-size: 11px; color: #16203A; }
.fee-head span { font-size: 10px; color: #4A5572; font-weight: 700; }
.fee-bar { height: 8px; border-radius: 99px; background: #EEF2F8; overflow: hidden; }
.fee-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), #3B7BE8); }
.fee-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: 9.5px; color: #8B93A8; font-weight: 600; }
.fee-foot i { font-size: 6px; vertical-align: middle; margin-right: 3px; }

/* floating notices around the mock-up (and on photos) — one design, brand tints */
.toast {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; white-space: nowrap;
  background: rgba(255, 255, 255, .97); border: 1px solid #E3EAF5; border-radius: 14px; padding: 9px 16px 9px 9px;
  box-shadow: 0 20px 44px -18px rgba(10, 46, 110, .45), 0 1px 3px rgba(11, 23, 51, .06);
  font-size: 12px; line-height: 1.3; animation: floaty 6s ease-in-out infinite;
}
.toast i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; background: #E9F1FE; color: var(--blue); }
.toast b { color: #16203A; display: block; font-size: 12.5px; }
.toast small { color: #8B93A8; font-size: 10.5px; }
.toast.t1 { left: -40px; bottom: 30px; }
.toast.t1 i { background: #FFF1E6; color: var(--orange); }
.toast.t2 { right: -16px; top: 8px; animation-delay: -2s; }
.toast.t2 i { background: var(--green-l); color: var(--green); }
.toast.t3 { right: 24px; bottom: -2px; animation-delay: -4s; }
.toast.t3 i { background: #E9F1FE; color: var(--blue); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero .checks { justify-content: center; }
  .hero-visual { max-width: 700px; margin: 6px auto 0; width: 100%; }
}
@media (max-width: 640px) {
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .mm-row { grid-template-columns: 1fr; }
  .mm-tools .mm-bell, .mm-tools .mm-av { display: none; }
  .mm-row > .mm-card:last-child { display: none; }
  .mm-appbar { display: flex; align-items: center; gap: 8px; margin: -15px -15px 2px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #E8EDF6; }
  .mm-appbar img { width: 30px; height: auto; }
  .mm-appbar .wordmark { font-size: 1.15rem; }
  .mm-appbar i { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; border: 1px solid #E8EDF6; display: grid; place-items: center; color: #4A5572; font-size: 12px; }
  .kpi { padding: 9px 10px; }
  .kpi .ki { display: none; }
  .chart { height: 78px; }
  .hero-visual { padding: 34px 0 40px; }
  .toast.t1 { left: 6px; bottom: 0; }
  .toast.t2 { right: 6px; top: 0; }
  .toast.t3 { display: none; }
}

/* ───────── Inner page hero ───────── */
.phero { padding: clamp(36px, 5vw, 64px) 0 clamp(52px, 6vw, 84px); background: linear-gradient(180deg, #F3F7FF, #fff 80%); border-bottom: 1px solid var(--line); }
.phero + .section { padding-top: clamp(44px, 5.5vw, 72px); }
.phero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero-grid > * { min-width: 0; }
.phero.center .phero-grid { grid-template-columns: 1fr; text-align: center; max-width: 860px; margin: 0 auto; }
.phero.center .lead { margin-left: auto; margin-right: auto; }
.phero .lead { max-width: 620px; margin-bottom: 26px; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: 16px; }
.phero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.phero.center .phero-actions { justify-content: center; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.phero.center .crumbs { justify-content: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs i { font-size: .6rem; opacity: .6; }
.crumbs span { color: var(--ink); }
.phero-visual { position: relative; }
@media (max-width: 960px) {
  .phero-grid { grid-template-columns: 1fr; }
  .phero-visual { max-width: 600px; width: 100%; margin: 0 auto; }
}

/* ───────── Levels strip ───────── */
.levels { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.levels .wrap { display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap; justify-content: center; padding-top: 22px; padding-bottom: 22px; }
.levels p { margin: 0; font-weight: 700; color: var(--muted); font-size: .88rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pills li { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.pills li i { color: var(--blue); }

/* ───────── Before / after ───────── */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.cmp { border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.cmp h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cmp ul { display: grid; gap: 13px; }
.cmp li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.cmp li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; flex-shrink: 0; margin-top: 2px; }
.cmp.before { background: #fff; border: 1px dashed #CBD5E4; color: var(--muted); }
.cmp.before h3 { color: var(--muted); }
.cmp.before li i { background: #F1F3F7; color: #94A0B5; }
.cmp.after { background: linear-gradient(160deg, var(--blue), var(--blue-dd)); color: #DCE8FC; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cmp.after::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 108, 14, .45), transparent); }
.cmp.after h3 { color: #fff; }
.cmp.after li { color: #fff; position: relative; z-index: 1; }
.cmp.after li i { background: rgba(255, 255, 255, .18); color: #fff; }
.cmp-arrow { align-self: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--orange); font-size: 1.1rem; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .cmp-arrow { transform: rotate(90deg); justify-self: center; } }

/* ───────── Module tiles (home) ───────── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.tile b { display: block; font-size: .95rem; line-height: 1.3; }
.tile small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.tile .go { margin-left: auto; color: #B5C0D3; font-size: .8rem; transition: color .2s, transform .2s; }
.tile:hover .go { color: var(--blue); transform: translateX(2px); }
.tile-cta { background: linear-gradient(135deg, var(--blue), var(--blue-dd)); border-color: transparent; color: #fff; }
.tile-cta:hover { color: #fff; }
.tile-cta small { color: #C9DAF7; }
.tile-cta .ico { background: rgba(255, 255, 255, .16); color: #fff; }
.tile-cta .go, .tile-cta:hover .go { color: #fff; }
@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* ───────── Stats ───────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 800; color: var(--blue); letter-spacing: -.035em; line-height: 1.1; }
.stat:nth-child(2) b { color: var(--orange); }
.stat span { font-weight: 600; color: var(--text); font-size: .95rem; }
.dark .stat { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.dark .stat b { color: #fff; }
.dark .stat:nth-child(2) b { color: #FFB070; }
.dark .stat span { color: #C3CEE6; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ───────── Role grid (home preview) ───────── */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.role-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.role-group h3 { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.role-group a { display: flex; align-items: center; gap: 10px; padding: 8px; margin: 0 -8px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: .95rem; }
.role-group a:hover { background: var(--blue-ll); }
.role-cols { columns: 2; column-gap: 14px; }
.role-cols .role-group { break-inside: avoid; margin-bottom: 14px; box-shadow: var(--shadow); }
.role-cols .role-group a { font-size: .9rem; padding: 6px 8px; }
@media (max-width: 420px) { .role-cols { columns: 1; } }
@media (max-width: 1020px) { .roles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .roles { grid-template-columns: 1fr; } }

/* ───────── Spotlights ───────── */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.spot + .spot { margin-top: clamp(64px, 9vw, 110px); }
.spot.rev .spot-copy { order: 2; }
.spot > * { min-width: 0; }
.spot-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.spot-list { margin: 22px 0 26px; display: grid; gap: 14px; }
.spot-list li { display: flex; gap: 14px; align-items: flex-start; }
.spot-list li > i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-l); color: var(--blue); flex-shrink: 0; font-size: .85rem; }
.spot-list b { color: var(--ink); display: block; }
.spot-list span { font-size: .93rem; }
.spot-visual { position: relative; }
.spot-visual::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 28px; background: linear-gradient(135deg, var(--blue-l), var(--orange-l)); z-index: 0; }
.spot-visual > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .spot { grid-template-columns: 1fr; }
  .spot.rev .spot-copy { order: 0; }
  .spot-visual { max-width: 560px; width: 100%; margin: 0 auto; }
}

/* paper cards: receipt, grade-sheet, routine */
.paper { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 22px; font-size: 13px; }
.paper-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 12px; }
.paper-head b { color: var(--ink); font-size: 15px; display: block; }
.paper-head small { color: var(--muted); font-size: 11px; }
.stamp { border: 2px solid var(--green); color: var(--green); font-weight: 800; font-size: 11px; letter-spacing: .1em; padding: 4px 10px; border-radius: 8px; transform: rotate(-6deg); }
.lines { width: 100%; border-collapse: collapse; }
.lines td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.lines td:last-child { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines tr.minus td:last-child { color: var(--green); }
.lines tr.total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 800; color: var(--ink); font-size: 14px; padding-top: 10px; }
.paper-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.paper-foot span { display: inline-flex; gap: 6px; align-items: center; }
.paper-foot i { color: var(--green); }
.ms-title { text-align: center; margin-bottom: 12px; }
.ms-title b { display: block; color: var(--ink); font-size: 15px; letter-spacing: .02em; }
.ms-title small { color: var(--muted); font-size: 11px; }
.ms-title .tag { display: inline-block; margin-top: 6px; background: var(--ink); color: #fff; font-weight: 800; letter-spacing: .14em; font-size: 10px; padding: 3px 12px; border-radius: 4px; }
.grades { width: 100%; border-collapse: collapse; font-size: 12px; }
.grades th { background: var(--soft); color: var(--ink); font-weight: 700; text-align: left; padding: 7px 8px; border: 1px solid var(--line); font-size: 11px; }
.grades td { padding: 6px 8px; border: 1px solid var(--line); }
.grades td:not(:first-child), .grades th:not(:first-child) { text-align: center; }
.grades .gp { font-weight: 800; color: var(--blue-d); }
.gpa-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; flex-wrap: wrap; }
.gpa-pill { background: var(--blue); color: #fff; border-radius: 12px; padding: 8px 14px; font-weight: 800; font-size: 14px; }
.gpa-pill small { font-weight: 600; opacity: .85; font-size: 11px; margin-right: 4px; }
.rank { font-weight: 700; color: var(--orange-d); font-size: 12px; }
.tt { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 11px; }
.tt th { color: var(--muted); font-weight: 700; font-size: 10px; text-align: center; padding: 2px; }
.tt td { border-radius: 8px; padding: 7px 5px; text-align: center; font-weight: 700; color: var(--ink); line-height: 1.25; }
.tt td small { display: block; font-weight: 600; color: rgba(11, 23, 51, .6); font-size: 9.5px; }
.tt .day { background: transparent; color: var(--muted); text-align: left; font-size: 10.5px; }
.c1 { background: #E1ECFC; } .c2 { background: #FFE9D9; } .c3 { background: #DDF3E6; } .c4 { background: #EFE5FD; } .c5 { background: #FDE2E6; } .c6 { background: #DDF1F4; }
.tt .brk { background: repeating-linear-gradient(45deg, #F3F5F9, #F3F5F9 6px, #E9EDF4 6px, #E9EDF4 12px); color: var(--muted); font-size: 9.5px; }
.tt .split { padding: 3px; background: transparent; }
.tt .split span { display: block; border-radius: 6px; padding: 3px 4px; font-size: 10px; }
.tt .split span + span { margin-top: 3px; }
.tv-badge { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 14px; font-size: 12px; }
.tv-badge i { color: #FFB070; font-size: 16px; }
.tv-badge b { color: #fff; }
.tv-badge .code { white-space: nowrap; margin-left: auto; font-family: ui-monospace, Consolas, monospace; letter-spacing: .25em; background: rgba(255, 255, 255, .12); padding: 3px 8px; border-radius: 6px; }
@media (max-width: 560px) {
  .paper { padding: 16px; }
  .tt { border-spacing: 3px; font-size: 10px; }
  .tt th { font-size: 9px; }
  .tt td { padding: 5px 3px; border-radius: 6px; }
  .tt td small { font-size: 8.5px; }
  .tt .split span { font-size: 8.5px; padding: 2px 3px; }
  .tt .brk { font-size: 8.5px; }
  .grades { font-size: 11px; }
  .grades th, .grades td { padding: 5px 6px; }
}

/* ───────── Split sections (image + copy) ───────── */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split > * { min-width: 0; }
.photo { position: relative; width: 100%; }
.photo img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; }
.photo .toast { left: -16px; bottom: -22px; animation: none; }
.photo .toast i { background: var(--orange-l); color: var(--orange-d); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.mini { display: flex; gap: 12px; align-items: flex-start; }
.mini .ico { width: 40px; height: 40px; font-size: .95rem; border-radius: 12px; }
.mini b { color: var(--ink); display: block; font-size: .97rem; }
.mini span { font-size: .9rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } .photo { max-width: 620px; margin: 0 auto; } }
@media (max-width: 560px) { .mini-grid { grid-template-columns: 1fr; } .photo .toast { left: 8px; } }

/* ───────── Phone mock ───────── */
.phone { width: 290px; max-width: 100%; margin: 0 auto; border-radius: 42px; background: #0B1733; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #26324F; }
.phone-screen { border-radius: 31px; background: #F4F7FC; overflow: hidden; min-height: 540px; font-size: 12px; }
.ph-top { background: linear-gradient(135deg, var(--blue), #3B82F6); color: #fff; padding: 22px 16px 46px; }
.ph-top small { opacity: .85; font-size: 11px; display: block; }
.ph-top b { font-size: 16px; display: block; margin-top: 2px; }
.ph-lang { float: right; background: rgba(255, 255, 255, .2); border-radius: 99px; padding: 3px 9px; font-size: 10.5px; font-weight: 700; }
.ph-kid { margin: -32px 12px 10px; background: #fff; border-radius: 16px; padding: 12px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.ph-kid .av { width: 38px; height: 38px; border-radius: 12px; background: var(--orange-l); color: var(--orange-d); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.ph-kid b { color: var(--ink); display: block; font-size: 12.5px; }
.ph-kid small { color: var(--muted); font-size: 10.5px; }
.ph-kid .pres { margin-left: auto; background: var(--green-l); color: var(--green); font-weight: 800; font-size: 10px; border-radius: 99px; padding: 3px 8px; white-space: nowrap; }
.ph-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 4px 12px 10px; }
.ph-tiles div { background: #fff; border-radius: 14px; padding: 10px 4px; text-align: center; font-weight: 700; color: var(--ink); font-size: 10.5px; border: 1px solid var(--line); line-height: 1.3; }
.ph-tiles i { display: block; font-size: 15px; margin-bottom: 5px; color: var(--blue); }
.ph-tiles div:nth-child(2n) i { color: var(--orange); }
.ph-tiles div:nth-child(3n) i { color: var(--green); }
.ph-note { margin: 4px 12px 10px; background: #fff; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start; }
.ph-note i { color: var(--orange); margin-top: 2px; }
.ph-note b { color: var(--ink); display: block; font-size: 11.5px; }
.ph-note small { color: var(--muted); font-size: 10.5px; }
.phone.small { width: 250px; }
.phone.small .phone-screen { min-height: 0; padding-bottom: 6px; }
.phones { display: flex; justify-content: center; gap: 22px; align-items: flex-start; }
.phones .phone:last-child { margin-top: 40px; }
@media (max-width: 620px) { .phones .phone:first-child { display: none; } .phones .phone:last-child { margin-top: 0; } }

/* ───────── Steps ───────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: 18px; right: 20px; font-size: 2.4rem; font-weight: 800;
  color: var(--blue-l); line-height: 1; letter-spacing: -.04em;
}
.step .ico { margin-bottom: 16px; }
.step p { margin: 0; font-size: .93rem; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .steps, .steps.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps.three { grid-template-columns: 1fr; } }

/* ───────── Generic cards ───────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
a.card { color: var(--text); display: block; }
a.card:hover, .card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ico { margin-bottom: 16px; }
.card p { margin: 0; font-size: .93rem; }
.card .link-arrow { margin-top: 14px; font-size: .9rem; }
@media (max-width: 1020px) { .cards, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards.four, .cards.two { grid-template-columns: 1fr; } }

/* ───────── Dark band ───────── */
.dark { background: radial-gradient(1000px 520px at 85% 0%, rgba(19, 95, 209, .5), transparent 60%), var(--navy); color: #C3CEE6; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #FFB070; }
.dark .eyebrow::before { background: #FFB070; }
.dark .lead { color: #C3CEE6; }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .11); color: #C3CEE6; }
.dark .card .ico { background: rgba(255, 255, 255, .1); color: #fff; }
.dark .link-arrow { color: #FFB070; }

/* ───────── Portals page ───────── */
.pgroup + .pgroup { margin-top: clamp(48px, 6vw, 72px); }
.pgroup-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pgroup-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0; }
.pgroup-head p { margin: 0; color: var(--muted); }
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pcards.three { grid-template-columns: repeat(3, 1fr); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.pcard-top { padding: 24px 24px 18px; display: flex; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--blue-ll), #fff); }
.pcard-top small { display: block; color: var(--orange-d); font-weight: 700; font-size: .82rem; }
.pcard-top h3 { font-size: 1.25rem; margin: 2px 0 6px; }
.pcard-top p { margin: 0; font-size: .92rem; }
.pcard-body { padding: 20px 24px 22px; flex: 1; }
.pcard-foot { margin: 0 24px 22px; padding: 12px 14px; background: var(--soft); border-radius: 12px; font-size: .86rem; color: var(--muted); }
.pcard-foot i { color: var(--blue); margin-right: 6px; }
.pcard.wide { grid-column: 1 / -1; }
.ticks.three { grid-template-columns: repeat(3, 1fr); gap: 10px 22px; }
@media (max-width: 1020px) { .pcards.three { grid-template-columns: repeat(2, 1fr); } .ticks.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ticks.three { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pcards, .pcards.three { grid-template-columns: 1fr; } }
.ticks { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: .94rem; }
.ticks li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 19px; height: 19px;
  border-radius: 50%; background: var(--green-l); color: var(--green); font-size: .6rem; display: grid; place-items: center;
}
@media (max-width: 640px) { .ticks.two { grid-template-columns: 1fr; } }
.role-jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.role-jump a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.role-jump a:hover { border-color: var(--blue); color: var(--blue); }
.role-jump .ico { width: 26px; height: 26px; border-radius: 50%; font-size: .7rem; }
.common { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.common div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: center; }
.common .ico { margin: 0 auto 12px; }
.common b { display: block; color: var(--ink); font-size: .95rem; }
.common span { font-size: .85rem; color: var(--muted); }
@media (max-width: 1020px) { .common { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .common { grid-template-columns: repeat(2, 1fr); } }

/* ───────── Nepal page ───────── */
.bs-cal { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 20px; }
.bs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bs-head b { color: var(--ink); font-size: 1.15rem; display: block; }
.bs-head small { color: var(--muted); font-size: .8rem; }
.bs-toggle { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.bs-toggle span { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.bs-toggle span.on { background: var(--blue); color: #fff; }
.bs-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.bs-grid .dw { text-align: center; font-size: .7rem; font-weight: 800; color: var(--muted); padding: 4px 0; text-transform: uppercase; letter-spacing: .04em; }
.bs-grid .dw.sat { color: var(--red); }
.bs-day { min-width: 0; aspect-ratio: 1 / .86; border-radius: 10px; background: var(--soft); padding: 5px 6px; display: flex; flex-direction: column; justify-content: space-between; font-size: .85rem; font-weight: 700; color: var(--ink); position: relative; }
.bs-day small { font-size: .6rem; font-weight: 600; color: var(--muted); align-self: flex-end; }
.bs-day.sat { background: #FFF4F5; color: var(--red); }
.bs-day.hol { background: var(--red); color: #fff; }
.bs-day.hol small { color: rgba(255, 255, 255, .8); }
.bs-day.obs { box-shadow: inset 0 0 0 2px #F5A3B0; }
.bs-day.today { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(19, 95, 209, .8); }
.bs-day.today small { color: rgba(255, 255, 255, .8); }
.bs-day.empty { background: transparent; }
.bs-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.bs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bs-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.bs-events { margin-top: 12px; display: grid; gap: 6px; }
.bs-events li { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; padding: 7px 10px; border-radius: 10px; background: var(--soft); }
.bs-events b { color: var(--ink); }
.bs-events span { color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .bs-day { font-size: .72rem; padding: 3px 4px; } .bs-day small { font-size: .52rem; } }
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 10%; right: 10%; top: 30px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); border-radius: 3px; }
.jstep { text-align: center; padding: 0 10px; position: relative; }
.jstep .ico { margin: 0 auto 14px; width: 60px; height: 60px; border-radius: 50%; font-size: 1.3rem; background: #fff; border: 3px solid var(--blue); color: var(--blue); }
.jstep:nth-child(n+4) .ico { border-color: var(--orange); color: var(--orange-d); }
.jstep b { display: block; color: var(--ink); }
.jstep span { font-size: .88rem; color: var(--muted); }
@media (max-width: 800px) {
  .journey { grid-template-columns: 1fr; gap: 18px; }
  .journey::before { left: 29px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--blue), var(--orange)); }
  .jstep { display: flex; gap: 16px; align-items: center; text-align: left; padding: 0; }
  .jstep .ico { margin: 0; flex-shrink: 0; }
}
.lang-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang-row div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-weight: 700; color: var(--ink); font-size: .92rem; }
.lang-row div span { color: var(--orange-d); font-weight: 700; }
@media (max-width: 520px) { .lang-row { grid-template-columns: 1fr; } }

/* ───────── Security page ───────── */
.shield { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; display: grid; place-items: center; }
.shield .ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(19, 95, 209, .3); }
.shield .r1 { inset: 0; }
.shield .r2 { inset: 14%; border-style: solid; border-color: rgba(19, 95, 209, .15); background: rgba(19, 95, 209, .03); }
.shield .r3 { inset: 28%; border-color: rgba(247, 108, 14, .35); }
.shield .core { width: 34%; aspect-ratio: 1; border-radius: 30px; background: linear-gradient(160deg, var(--blue), var(--blue-dd)); display: grid; place-items: center; color: #fff; font-size: 2.6rem; box-shadow: var(--shadow-lg); position: relative; }
.shield .orb { position: absolute; width: 50px; height: 50px; border-radius: 15px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 1.1rem; }
.orb.a { top: 4%; left: calc(50% - 25px); color: var(--blue); } .orb.b { top: calc(50% - 25px); right: 1%; color: var(--green); } .orb.c { bottom: 4%; left: calc(50% - 25px); color: var(--orange-d); }
.orb.d { top: calc(50% - 25px); left: 1%; color: var(--purple); } .orb.e { top: 15%; right: 14%; color: var(--teal); } .orb.f { bottom: 15%; left: 14%; color: var(--red); }
.ladder { display: grid; gap: 10px; }
.rung { display: grid; grid-template-columns: 230px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.rung b { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .96rem; }
.rung p { margin: 0; font-size: .92rem; }
.rung .bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; margin-top: 8px; }
.rung .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), #4C8BEA); }
@media (max-width: 640px) { .rung { grid-template-columns: 1fr; gap: 6px; } }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tl { position: relative; padding-top: 62px; }
.tl::before { content: ""; position: absolute; top: 23px; left: 58px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 8px, transparent 8px 14px); }
.tl:last-child::before { display: none; }
.tl .ico { position: absolute; top: 0; left: 0; background: rgba(255, 255, 255, .12); color: #fff; }
.tl b { color: #fff; display: block; margin-bottom: 4px; }
.tl p { margin: 0; font-size: .92rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } .tl::before { display: none; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* ───────── Plans ───────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 22px; display: flex; flex-direction: column; position: relative; }
.plan.feat { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 22px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; }
.plan .tier { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-d); }
.plan h3 { font-size: 1.45rem; margin: 6px 0 4px; }
.plan .for { font-size: .9rem; color: var(--muted); margin-bottom: 18px; min-height: 3em; }
.plan .plus { font-size: .82rem; font-weight: 700; color: var(--blue-d); background: var(--blue-ll); border-radius: 9px; padding: 7px 10px; margin-bottom: 14px; }
.plan ul { display: grid; gap: 9px; margin-bottom: 22px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 24px; font-size: .92rem; }
.plan li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--green); font-size: .8rem; }
.plan .btn { width: 100%; }
@media (max-width: 1020px) { .plans { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }
.cmp-wrap { border: 1px solid var(--line); border-radius: 22px; overflow: auto; background: #fff; box-shadow: var(--shadow); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .93rem; }
.cmp-table th, .cmp-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp-table th:first-child, .cmp-table td:first-child { text-align: left; }
.cmp-table thead th { background: #fff; font-size: .98rem; color: var(--ink); padding-top: 20px; padding-bottom: 18px; }
.cmp-table thead th small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-d); }
.cmp-table .feat { background: rgba(19, 95, 209, .04); }
.cmp-table thead th.feat { background: var(--blue-ll); box-shadow: inset 0 3px 0 var(--blue); }
.cmp-table tr.grp td { background: var(--soft); font-weight: 800; color: var(--ink); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 10px; padding-bottom: 10px; }
.cmp-table td:first-child { color: var(--ink); font-weight: 500; }
.cmp-table .yes { color: var(--green); }
.cmp-table .no { color: #C5CEDC; }
.cmp-table .addon { font-size: .74rem; font-weight: 800; color: var(--orange-d); background: var(--orange-l); padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.cmp-table tbody tr:not(.grp):hover td { background: #FAFCFF; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.plan-extra { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
.plan-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.plan-box h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.plan-box h3 i { color: var(--blue); }
.plan-box ul { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-box li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.plan-box li small { color: var(--muted); font-weight: 500; }
@media (max-width: 1020px) { .plan-extra { grid-template-columns: 1fr; } }

/* ───────── FAQ ───────── */
.faq-tools { display: flex; flex-direction: column; gap: 16px; align-items: center; margin-bottom: 30px; }
.search { position: relative; width: 100%; max-width: 560px; }
.search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 15px 18px 15px 48px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(19, 95, 209, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips button { border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: .88rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--blue); color: var(--blue); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 40px 19px 0; font-weight: 700; color: var(--ink); position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 0; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-ll); color: var(--blue); display: grid; place-items: center; font-size: .75rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; }
.faq .cat { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 2px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty i { font-size: 2rem; color: var(--line-2); margin-bottom: 10px; display: block; }
.help-card { max-width: 880px; margin: 34px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--blue-ll); border: 1px solid #D8E5F8; border-radius: 20px; padding: 22px 26px; }
.help-card b { color: var(--ink); font-size: 1.05rem; display: block; }
.help-card p { margin: 0; font-size: .93rem; }
.help-card .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ───────── Contact ───────── */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact > * { min-width: 0; }
.contact-card { background: linear-gradient(160deg, var(--blue), var(--blue-dd)); color: #D6E3FA; border-radius: 24px; padding: clamp(26px, 4vw, 38px); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 108, 14, .45), transparent); }
.contact-card h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.contact-lines { display: grid; gap: 14px; margin: 24px 0; position: relative; z-index: 1; }
.contact-lines a, .contact-lines div { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.contact-lines a:hover { color: #FFD2B0; }
.contact-lines i { width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex-shrink: 0; }
.contact-lines small { display: block; color: #AFC6EF; font-weight: 500; font-size: .82rem; }
.promise { position: relative; z-index: 1; display: grid; gap: 8px; font-size: .93rem; }
.promise li { display: flex; gap: 10px; align-items: flex-start; }
.promise i { color: #FFB070; margin-top: 5px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form h2 { font-size: 1.45rem; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .93rem; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .88rem; margin-bottom: 6px; }
.field label span { color: var(--orange-d); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: var(--soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(19, 95, 209, .12); }
.field .err { display: none; color: #C2253B; font-size: .82rem; font-weight: 600; margin-top: 5px; }
.field.bad input, .field.bad select { border-color: #E0495E; background: #FFF7F8; }
.field.bad .err { display: block; }
.f-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.f-note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.field label small { color: var(--muted); font-weight: 500; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.f-submit { width: 100%; margin-top: 22px; }
.f-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.f-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.f-or::before, .f-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form .f-actions { margin-top: 0; }
.form .f-actions .btn { flex: 1; }
.form-msg { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; font-size: .93rem; }
.form-msg[hidden] { display: none; }
.form-msg i { margin-top: 4px; }
.form-msg.ok { background: var(--green-l); color: #0B6B47; border: 1px solid #BFE6D2; }
.form-msg.err { background: #FFF1F2; color: #B42339; border: 1px solid #F7C5CD; }
.form-done { text-align: center; padding: clamp(24px, 5vw, 48px) 10px; }
.form-done .ico { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; font-size: 1.6rem; }
.form-done h2 { margin-bottom: 6px; }
.form-done p { color: var(--text); margin: 0; }
.form-done .f-note { margin-top: 12px; }
.map-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin-top: 16px; color: var(--ink); }
.map-card:hover { border-color: var(--blue); color: var(--ink); }
.map-card b { display: block; }
.map-card small { color: var(--muted); }
.map-card .go { margin-left: auto; color: var(--blue); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } .f-actions .btn { width: 100%; } }

/* documents needed (contact page) */
.docs { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 28px); }
.doc-card.main { border: 2px solid #F7C9A6; box-shadow: var(--shadow); }
.doc-card > p { font-size: .96rem; }
.doc-h { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.doc-h h3 { font-size: 1.2rem; margin: 4px 0 0; }
.req { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--orange); color: #fff; border-radius: 99px; padding: 3px 10px; }
.req.soft { background: var(--blue-l); color: var(--blue-d); }
.doc-card .ticks { margin: 14px 0 0; }
.signers { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 11px; margin-top: 18px; }
.signers-h { margin: 0 0 2px; font-weight: 700; color: var(--ink); font-size: .93rem; }
.signer { display: flex; gap: 11px; align-items: center; }
.signer b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.signer small { color: var(--muted); font-size: .84rem; }
.doc-note { margin: 16px 0 0; font-size: .9rem; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.doc-note i { color: var(--blue); margin-top: 5px; }
.doc-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; font-weight: 700; font-size: .92rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 14px; }
.doc-link:hover { color: #fff; background: rgba(255, 255, 255, .2); }
.doc-link i:first-child { color: #FFB070; }
.doc-link i:last-child { font-size: .75em; }
.tpl { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.tpl[open] { box-shadow: var(--shadow); }
.tpl summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; color: var(--ink); display: flex; gap: 10px; align-items: center; position: relative; }
.tpl summary::-webkit-details-marker { display: none; }
.tpl summary > i { color: var(--orange); }
.tpl summary::after { content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 0; top: 17px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-ll); color: var(--blue); display: grid; place-items: center; font-size: .75rem; transition: transform .2s; }
.tpl[open] summary::after { transform: rotate(45deg); }
.tpl-body { padding: 0 0 22px; }
.tpl-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: .9rem; color: var(--muted); }
.tpl-body pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: .93rem; line-height: 1.7; color: var(--text); background: var(--soft); border: 1px dashed var(--line-2); border-radius: 14px; padding: 20px 22px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } }

/* ───────── Features page ───────── */
.fsearch { max-width: 560px; margin: 0 auto; }
.fsearch-note { text-align: center; font-size: .88rem; color: var(--muted); margin: 10px 0 0; min-height: 1.4em; }
.feat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 44px; padding-top: 48px; align-items: start; }
.feat-layout > * { min-width: 0; }
.feat-index { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.feat-index p { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 12px; }
.feat-index a { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .9rem; border-left: 3px solid transparent; }
.feat-index a i { width: 16px; text-align: center; color: var(--muted); font-size: .85rem; }
.feat-index a:hover { background: var(--blue-ll); color: var(--blue); }
.feat-index a.on { background: var(--blue-l); color: var(--blue-d); border-left-color: var(--blue); }
.feat-index a.on i { color: var(--blue); }
.feat-index a.dim { opacity: .35; }
.mchips { display: none; }
.fgroup { padding: 30px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.fgroup[hidden] { display: none; }
.fg-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.fg-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 4px; }
.fg-head p { margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.badge { font-size: .74rem; font-weight: 800; letter-spacing: .03em; border-radius: 999px; padding: 4px 10px; background: var(--blue-l); color: var(--blue-d); }
.badge.all { background: var(--green-l); color: var(--green); }
.badge.add { background: var(--orange-l); color: var(--orange-d); }
.badge.who { background: var(--soft); color: var(--text); border: 1px solid var(--line); font-weight: 700; }
.flist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flist li { background: var(--soft); border: 1px solid transparent; border-radius: 14px; padding: 13px 16px 13px 46px; position: relative; font-size: .91rem; transition: background .2s, border-color .2s; }
.flist li[hidden] { display: none; }
.flist li:hover { background: #fff; border-color: var(--line); }
.flist li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 15px; top: 15px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--green-l); color: var(--green); font-size: .6rem; display: grid; place-items: center;
}
.flist b { display: block; color: var(--ink); font-size: .96rem; margin-bottom: 1px; }
@media (max-width: 1020px) {
  .feat-layout { grid-template-columns: 1fr; padding-top: 0; }
  .feat-index { display: none; }
  .mchips { display: flex; gap: 8px; overflow-x: auto; position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .97); padding: 12px 16px; margin: 0 -16px 18px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .mchips::-webkit-scrollbar { display: none; }
  .mchips a { flex-shrink: 0; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .84rem; font-weight: 700; color: var(--ink); background: #fff; }
  .mchips a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
}
@media (min-width: 640px) and (max-width: 1020px) { .mchips { margin: 0 -28px 18px; padding: 12px 28px; } }
@media (max-width: 640px) { .flist { grid-template-columns: 1fr; } .fg-head { flex-direction: column; gap: 12px; } .fgroup { padding: 20px 16px; border-radius: 20px; } }

/* ───────── CTA band ───────── */
.cta-wrap { margin-top: clamp(64px, 9vw, 110px); }
.section + .cta-wrap { margin-top: 0; }
.section-soft + .cta-wrap { margin-top: clamp(64px, 9vw, 110px); }
.cta-band {
  border-radius: 28px; padding: clamp(32px, 5vw, 56px); color: #DCE8FC; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue) 0%, #1D6FE6 55%, #3B82F6 100%);
}
.cta-band::after { content: ""; position: absolute; right: -60px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 108, 14, .5), transparent); }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 560px) { .cta-band .btns .btn { width: 100%; } }

/* ───────── Footer ───────── */
.site-footer { background: var(--navy); color: #A9B6D2; padding: 64px 0 28px; margin-top: clamp(64px, 9vw, 110px); font-size: .93rem; }
.site-footer.flush { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr; gap: 32px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand .w-shik { color: #fff; }
.foot-brand .tagline { font-size: .78rem; font-weight: 800; letter-spacing: .18em; color: #FFB070; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { color: #A9B6D2; }
.site-footer a:hover { color: #fff; }
.site-footer .fc { display: flex; gap: 10px; align-items: flex-start; }
.site-footer .fc i { color: #FFB070; margin-top: 5px; width: 16px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; align-items: center; }
.zf { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 5px 12px; color: #C9D4EA; }
.zf .zil { color: #6FA3F5; font-weight: 800; }
.zf .fox { color: #FF9447; font-weight: 800; }
@media (max-width: 1020px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:last-child { grid-column: 1 / -1; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 12px 30px -8px rgba(31, 168, 85, .7); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ───────── Reveal on scroll (only while JS runs) ───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ───────── 404 ───────── */
.nf { min-height: 56vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }

/* ───────── Spotlight visuals: school stationery and a corridor TV ─────────
   Receipt and grade-sheet are drawn like pre-printed school stationery: the form in one ink (the school's
   name as micro-text all over the paper), the details filled in black. Everything is sized in em off one
   font-size that follows the box's own width (container units), so on a phone the whole sheet shrinks like
   a photo instead of reflowing. */
.st, .tvm { container-type: inline-size; }
.st-sheet { --i: #2F7D52; font-size: 12px; font-size: clamp(6px, 2.3cqw, 12.5px); background: #fff; color: var(--i); border-radius: .35em;
  box-shadow: var(--shadow-lg); padding: 1em; font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif; line-height: 1.3; }
.st-sheet.blue { --i: #1E4796; }
.st-frame { position: relative; border: .15em solid var(--i); outline: .07em solid var(--i); outline-offset: .28em; padding: 1em 1.2em .9em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22360%22%20height%3D%2224%22%20viewBox%3D%220%200%20360%2024%22%3E%3Ctext%20x%3D%220%22%20y%3D%229%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23C4DECF%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22360%22%20y%3D%229%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23C4DECF%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22-120%22%20y%3D%2221%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23C4DECF%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22240%22%20y%3D%2221%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23C4DECF%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3C%2Fsvg%3E") repeat; background-size: 25em 1.65em; }
.st-sheet.blue .st-frame { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22360%22%20height%3D%2224%22%20viewBox%3D%220%200%20360%2024%22%3E%3Ctext%20x%3D%220%22%20y%3D%229%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23CCD7F0%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22360%22%20y%3D%229%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23CCD7F0%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22-120%22%20y%3D%2221%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23CCD7F0%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22240%22%20y%3D%2221%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23CCD7F0%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3C%2Fsvg%3E"); }
.st-frame.hs { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22360%22%20height%3D%2224%22%20viewBox%3D%220%200%20360%2024%22%3E%3Ctext%20x%3D%220%22%20y%3D%229%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23C4DECF%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22360%22%20y%3D%229%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23C4DECF%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22-120%22%20y%3D%2221%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23C4DECF%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3Ctext%20x%3D%22240%22%20y%3D%2221%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%228.6%22%20fill%3D%22%23C4DECF%22%20textLength%3D%22360%22%20lengthAdjust%3D%22spacingAndGlyphs%22%3EDemo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0Demo%20Higher%20Secondary%20School%C2%A0%C2%A0%C2%A0%C2%A0%3C%2Ftext%3E%3C%2Fsvg%3E"); }
.st-head { display: grid; grid-template-columns: 5em 1fr; gap: .5em; align-items: center; }
.st-emblem { width: 5em; height: 5em; color: var(--i); }
.st-title { text-align: center; padding-right: 2.5em; }
.st-title b { display: block; font-size: 1.72em; font-weight: 800; line-height: 1.05; letter-spacing: .005em; text-transform: uppercase; }
.st-title small { display: block; font-size: .98em; font-weight: 700; margin-top: .3em; }
.st-title em { display: block; font-style: normal; font-size: .8em; font-weight: 700; margin-top: .15em; }
.st-title strong { display: block; font-size: 1.22em; font-weight: 800; margin-top: .35em; letter-spacing: .02em; }
.st-badge { display: inline-block; margin-top: .45em; background: var(--i); color: #fff; font-weight: 800; letter-spacing: .25em; padding: .22em 1.3em .22em 1.55em; border-radius: 2em; font-size: .95em; }
.st-lines { display: grid; gap: .6em; margin-top: .9em; font-size: .8em; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.st-lines p { display: flex; align-items: baseline; gap: .45em; margin: 0; white-space: nowrap; }
.st-f { flex: 1 1 auto; min-width: 0; border-bottom: .12em dotted var(--i); color: #16181D; font: 700 1.06em Arial, Helvetica, sans-serif; padding: 0 .45em;
  overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.st-f.sm { flex: 0 1 7.5em; } .st-f.xs { flex: 0 1 4.5em; }
.st-no { color: #C81E1E; font: 800 1.15em Arial, Helvetica, sans-serif; letter-spacing: .05em; }
.st-tbl { width: 100%; border-collapse: collapse; margin-top: 1em; font-size: .78em; }
.st-tbl th { border: .12em solid var(--i); font-weight: 800; padding: .45em .3em; text-align: center; line-height: 1.2; background: rgba(255,255,255,.6); }
.st-tbl td { border-left: .12em solid var(--i); border-right: .12em solid var(--i); padding: .22em .5em; color: #16181D;
  font: 600 1em Arial, Helvetica, sans-serif; text-align: center; background: rgba(255,255,255,.6); white-space: nowrap; }
.st-tbl td.l { text-align: left; }
.st-tbl td.pre { color: var(--i); font-family: inherit; font-weight: 700; }
.st-tbl td.r { text-align: right; font-variant-numeric: tabular-nums; }
.st-tbl tbody tr:first-child td { padding-top: .6em; }
.st-tbl tbody tr:last-child td { padding-bottom: .9em; }
.st-tbl tfoot td { border: .12em solid var(--i); color: var(--i); font-family: inherit; font-weight: 800; padding: .45em .5em; }
.st-tbl tfoot td.v { color: #16181D; font-family: Arial, Helvetica, sans-serif; }
.st-words { display: flex; gap: .45em; align-items: baseline; margin-top: .8em; font-size: .8em; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.st-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1em; align-items: end; margin-top: 1em; font-size: .8em; font-weight: 800; text-transform: uppercase; }
.st-bottom p { display: flex; gap: .45em; align-items: baseline; margin: .6em 0 0; white-space: nowrap; }
.st-bottom .st-f { flex: 0 1 11em; }
.st-sign { position: relative; text-align: center; min-width: 12em; }
.st-sign .sig { display: block; width: 8.5em; height: 2.7em; margin: 0 auto -.35em; }
.st-sign .dl { border-top: .12em dotted var(--i); padding-top: .35em; }
.st-seal { position: absolute; width: 6.4em; height: 6.4em; left: -1.8em; top: -3.6em; transform: rotate(-14deg); opacity: .78; pointer-events: none; }
.st-notes { border-top: .14em solid var(--i); margin-top: .9em; padding-top: .55em; font-size: .68em; font-weight: 800; line-height: 1.55; text-transform: uppercase; letter-spacing: .01em; }
.st-notes p { margin: 0; }

/* the corridor TV */
.tvm-set { display: grid; justify-items: center; gap: 0; }
.tvm { width: 100%; }
.tvm-bezel { background: linear-gradient(180deg, #23262E, #0D0F14); border-radius: 1.1em; padding: .7em; box-shadow: var(--shadow-lg), 0 0 0 .08em #3A3E48 inset; }
.tvm-screen { font-size: 9px; font-size: clamp(4.5px, 1.6cqw, 9.4px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: .5em; color: #fff; padding: 1.3em 1.6em 1.1em;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; line-height: 1.25; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 1em;
  background: radial-gradient(70% 60% at 0% 0%, #1C3D7A 0%, transparent 62%), radial-gradient(60% 55% at 100% 100%, #2B1B55 0%, transparent 60%), #0A1834; }
.tvm-stand { width: 22%; height: .9em; margin-top: -.1em; background: linear-gradient(180deg, #2A2D35, #111318); border-radius: 0 0 .6em .6em; }
.tvm-top { position: relative; display: flex; align-items: center; gap: 1em; padding: .8em 1.1em; border-radius: 1.1em; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); border: .06em solid rgba(255,255,255,.14); }
.tvm-top::after { content: ""; position: absolute; left: 1.1em; right: 1.1em; bottom: -.08em; height: .2em; border-radius: 9em; background: linear-gradient(90deg, #E23A4E, #F76C0E 35%, #F5B301 55%, #3B7BE8 80%, #7C5CFF); }
.tvm-logo { width: 3.4em; height: 3.4em; border-radius: .8em; background: #fff; display: grid; place-items: center; color: #0B2D6B; font: 800 1.2em "Times New Roman", serif; box-shadow: 0 0 0 .18em rgba(245,179,1,.6); flex: none; }
.tvm-school { flex: 1; min-width: 0; }
.tvm-school b { display: block; font-size: 1.55em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvm-school small { font-size: .85em; color: #B9C6E4; }
.tvm-clock { text-align: right; }
.tvm-clock b { font-size: 2.7em; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 .15em .9em rgba(59,123,232,.5); }
.tvm-clock b small { font-size: .38em; margin-left: .2em; color: #B9C6E4; }
.tvm-clock span { display: flex; gap: .3em; justify-content: flex-end; margin-top: .35em; }
.tvm-clock i { font-style: normal; font-size: .75em; font-weight: 700; background: rgba(255,255,255,.1); border: .06em solid rgba(255,255,255,.14); border-radius: 9em; padding: .12em .55em; white-space: nowrap; }
.tvm-clock i.bs { background: rgba(247,108,14,.22); border-color: rgba(247,108,14,.5); }
.tvm-title { display: flex; align-items: center; gap: .8em; }
.tvm-title b { font-size: 1.75em; font-weight: 800; letter-spacing: -.02em; }
.tvm-pill { font-size: .8em; font-weight: 800; color: #6E4708; background: #FBF1DC; border: .08em solid #E9CD92; border-radius: 9em; padding: .2em .8em; white-space: nowrap; }
.tvm-nn { display: grid; grid-template-columns: 1.55fr 1fr; gap: .9em; }
.tvm-card { border-radius: 1em; padding: .8em 1.1em; display: grid; align-content: center; min-width: 0; }
.tvm-now { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1em; }
.tvm-now > :not(.tvm-ring) { grid-column: 1; }
.tvm-card small { font-size: .7em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.tvm-card b { display: block; font-size: 2.1em; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.tvm-card em { font-style: normal; font-size: .95em; font-weight: 600; opacity: .9; }
.tvm-now { background-color: #17427F; background-image: linear-gradient(135deg, rgba(255,255,255,.16), rgba(0,0,0,.28)); border: .08em solid rgba(255,255,255,.22); }
.tvm-next { background: #DDF0EC; color: #0D554C; }
.tvm-next b { font-size: 1.5em; }
.tvm-next .soon { display: block; font-size: .85em; font-weight: 800; margin-top: .2em; }
.tvm-ring { position: relative; width: 4.6em; height: 4.6em; grid-row: 1 / span 3; grid-column: 2; }
.tvm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tvm-ring circle { fill: none; stroke: #fff; stroke-width: 9; }
.tvm-ring .t { opacity: .2; } .tvm-ring .v { stroke-linecap: round; }
.tvm-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 1.45em; font-weight: 800; line-height: .95; }
.tvm-ring span small { font-size: .38em; letter-spacing: .06em; opacity: .85; }
.tvm-week { position: relative; z-index: 0; display: grid; grid-template-columns: 5.2em repeat(6, minmax(0, 1fr)); gap: .3em; padding: .6em; border-radius: .9em;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: .06em solid rgba(255,255,255,.14); min-height: 0; align-content: start; }
.tvm-week .h { font-size: .7em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B9C6E4; text-align: center; padding: .2em 0; border-radius: .4em; }
.tvm-week .h.p { text-align: left; padding-left: .5em; }
.tvm-week .h.today { background: #F76C0E; color: #fff; }
.tvm-today { position: absolute; z-index: -1; grid-column: 4 / 5; top: .35em; bottom: .35em; left: -.15em; right: -.15em; border-radius: .6em; pointer-events: none;   /* rows are auto: an absolute item spans the full height */
  background: linear-gradient(180deg, rgba(247,108,14,.26), rgba(247,108,14,.08)); border: .08em solid rgba(247,108,14,.5); }
.tvm-week .pl { background: rgba(255,255,255,.1); border-radius: .45em; padding: .3em .5em; font-size: .78em; font-weight: 800; }
.tvm-week .pl small { display: block; font-weight: 500; color: #B9C6E4; font-size: .85em; }
.tvm-week .pl.cur { box-shadow: inset .2em 0 0 #F76C0E; }
.tvm-week .cl { border-radius: .45em; padding: .25em .45em; border-left: .28em solid var(--k); background: var(--f); color: var(--k); font-size: .78em; font-weight: 800; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvm-week .cl small { display: block; font-weight: 600; font-size: .82em; opacity: .85; overflow: hidden; text-overflow: ellipsis; }
.tvm-week .cl.past { opacity: .42; filter: saturate(.55); }
.tvm-week .cl.cur { box-shadow: 0 0 0 .2em #F76C0E, 0 0 1em rgba(247,108,14,.6); position: relative; z-index: 1; }
.tvm-week .bk { grid-column: 1 / -1; text-align: center; font-size: .66em; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #B9C6E4;
  background: rgba(244,239,230,.12); border-radius: .45em; padding: .25em 0; }
.k1 { --f: #E4EDFA; --k: #17427F; } .k2 { --f: #FCE5D0; --k: #763408; } .k3 { --f: #E4F1E4; --k: #1D5028; } .k4 { --f: #EDE5F4; --k: #522B7A; }
.k5 { --f: #F6F0C4; --k: #574600; } .k6 { --f: #DDF0EC; --k: #0D554C; } .k7 { --f: #F6E0EC; --k: #7A1E4C; }
.tvm-cap { display: flex; align-items: center; gap: 10px; margin-top: 16px; background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 14px; font-size: 12.5px; width: 100%; }
.tvm-cap i { color: #FFB070; font-size: 16px; }
.tvm-cap .code { white-space: nowrap; margin-left: auto; font-family: ui-monospace, Consolas, monospace; letter-spacing: .25em; background: rgba(255,255,255,.12); padding: 3px 8px; border-radius: 6px; }

/* ───────── Photos: the owner's screenshots and sample grade-sheet ───────── */
.spot-shot { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; }
.spot-shot.doc { border: 1px solid var(--line); }
.tvm-screen.img { aspect-ratio: auto; padding: 0; display: block; background: #0A1834; }
.tvm-screen.img img { display: block; width: 100%; height: auto; }
.inside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 30px); align-items: start; }
.shot { margin: 0; display: grid; gap: 0; }
.shot.wide { grid-column: 1 / -1; }
.shot > img { display: block; width: 100%; height: auto; }
.shot-bar + img { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #F6F8FC; border: 1px solid var(--line); border-radius: 14px 14px 0 0; min-width: 0; }
.shot-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; flex: none; }
.shot-bar > i:nth-child(2) { background: #FBBF24; } .shot-bar > i:nth-child(3) { background: #34D399; }
.shot-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.shot { filter: drop-shadow(0 18px 34px rgba(11, 23, 51, .12)); }
.shot figcaption { font-size: .95rem; margin-top: 12px; }
.shot figcaption b { color: var(--ink); }
.inside-cta { align-self: stretch; display: grid; align-content: center; justify-items: start; gap: 12px; padding: clamp(22px, 3vw, 34px);
  border-radius: 18px; background: linear-gradient(135deg, var(--blue-l), var(--orange-l)); border: 1px solid var(--line); }
.inside-cta h3 { margin: 0; color: var(--ink); font-size: 1.3rem; }
.inside-cta p { margin: 0; }
@media (max-width: 760px) { .inside { grid-template-columns: 1fr; } }
/* role tabs for the real screens */
.itab-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 26px; }
.itab { font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .15s, color .15s, border-color .15s; }
.itab i { color: var(--blue); }
.itab:hover { border-color: var(--blue); }
.itab.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(19, 95, 209, .8); }
.itab.on i { color: #fff; }
.itab:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.itabs.js .ipanel:not(.on) { display: none; }
.itabs:not(.js) .ipanel + .ipanel { margin-top: clamp(24px, 4vw, 40px); }
