/* fonts: Sora and Manrope, served from this site (variable weights; latin + latin-ext, which has the ₹ sign) */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/sora-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/sora-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* School MS website – rounded panels, teal / sky gradient, coral buttons, dark sections, scroll animations.
   Fonts: Sora (headings) + Manrope (text). No framework. */
:root {
  --teal: #45d0bd;
  --sky: #44b6e9;
  --coral: #ef6464;
  --violet: #6766c8;
  --grad: linear-gradient(113deg, #45d0bd 2.7%, #44b6e9 98.55%);
  --ink: #111111;
  --ink-2: #333333;
  --muted: #5c5f66;
  --line: #d9d9d9;
  --line-soft: #e6e9ee;
  --bg: #ffffff;
  --panel: #ecf0f4;
  --panel-2: #f0f2f4;
  --dark: #111111;
  --dark-2: #1f1f1f;
  --r-xl: 30px;
  --r-lg: 20px;
  --r-md: 12px;
  --wrap: 1290px;
  --gap: 20px;                 /* how far the rounded panels sit from the screen edge */
  --font: "Sora", Arial, Helvetica, sans-serif;
  --text: "Manrope", Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 16px/1.75 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--ink-2); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0 0 .5em; font-weight: 400; letter-spacing: -0.04em; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.125rem); line-height: 1.12; }
h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.1; }
h3 { font-size: 1.375rem; letter-spacing: -0.02em; font-weight: 500; }
ul { padding-left: 1.2em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--panel); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 35px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); max-width: 44rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* [ label ] above headings */
.eyebrow { display: inline-block; font: 500 .95rem/1 var(--text); color: var(--ink); margin-bottom: 1.1rem; text-transform: lowercase; letter-spacing: 0; }
.eyebrow::before { content: "[ "; }
.eyebrow::after { content: " ]"; }
.section-dark .eyebrow, .cta .eyebrow { color: #fff; }

/* ---------- buttons: coral, outlined, arrow ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 60px; padding: 0 26px;
  border-radius: var(--r-md); font: 500 1rem/1 var(--text); border: 1px solid transparent; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .85s var(--ease); white-space: nowrap;
}
.btn::after { content: "↗"; font-size: 1rem; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translate(3px, -3px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--violet); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-dark .btn-ghost, .cta .btn-ghost, .site-footer .btn-ghost { color: #fff; border-color: var(--violet); }
.section-dark .btn-ghost:hover, .cta .btn-ghost:hover, .site-footer .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* ---------- top bar + floating menu ---------- */
.topbar { margin: 8px var(--gap) 0; background: var(--dark-2); color: #b5b8bf; border-radius: 12px; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 1rem; max-width: none; }
.topbar b { color: #fff; font-weight: 600; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 60; padding: 10px var(--gap) 0; }
.nav { height: 96px; margin: 0 auto; padding: 0 30px; background: #fff; border-radius: var(--r-lg); max-width: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: 0 10px 40px rgba(17, 17, 17, .06); transition: height .3s, box-shadow .3s; }
.site-header.scrolled .nav { height: 80px; box-shadow: 0 12px 40px rgba(17, 17, 17, .1); }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 16px; border-radius: 8px; font: 600 .875rem/1 var(--font); text-transform: uppercase; color: var(--ink); letter-spacing: 0; transition: background .25s, color .25s; }
.nav-links a:hover { background: var(--panel); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { height: 60px; padding: 0 30px; border-radius: 50px; font-size: 1rem; }
.nav-cta .btn::after { content: none; }
.nav-cta .btn-primary { background: #fff; color: var(--ink); border: 2px solid var(--teal); }
.nav-cta .btn-primary:hover { background: var(--teal); color: #fff; }
.nav-cta .btn-ghost { display: none; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--panel); font-size: 1.2rem; cursor: pointer; }

/* ---------- sections and rounded panels ---------- */
section { padding: 110px 0; position: relative; }
.section-head { margin-bottom: 56px; }
.section-soft { background: var(--panel); margin: 0 var(--gap); border-radius: var(--r-xl); }
.section-dark { background: var(--dark); margin: 0 var(--gap); border-radius: var(--r-xl); color: #c9ccd2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark li { color: #c9ccd2; }
.section-soft + .section-soft, .section-dark + .section-soft, .section-soft + .section-dark, .section-dark + .section-dark { margin-top: 20px; }

/* hero: big rounded panel, white text card, illustration, floating fact card */
.hero { padding: 20px 0 0; }
.hero-panel { position: relative; margin: 0 var(--gap); border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(700px 500px at 80% 30%, rgba(255, 255, 255, .55), transparent 60%), linear-gradient(135deg, #bfeee6 0%, #b9dff5 55%, #d9d4f7 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 620px) 1fr; align-items: stretch; min-height: 680px; }
.hero-card { background: #fff; margin: 16px; border-radius: 25px; padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.hero-card h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card .lead { font-size: 1.0625rem; }
.hero-art { display: flex; align-items: center; justify-content: center; padding: 40px 30px 130px; }
.hero-art img { width: min(640px, 100%); filter: drop-shadow(0 40px 50px rgba(17, 17, 17, .12)); animation: floaty 7s ease-in-out infinite; }
.hero-fact { position: absolute; right: 16px; bottom: 16px; background: #fff; border-radius: 25px; padding: 22px 30px; display: flex; gap: 22px; align-items: center; }
.hero-fact b { font: 600 3.25rem/1 var(--font); letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-fact span { font: 400 1.125rem/1.35 var(--font); color: var(--ink); max-width: 13rem; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .45rem; }
.hero-points li { display: flex; gap: .6rem; color: var(--ink-2); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--teal); font-weight: 800; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* tilted gradient band with scrolling words */
.marquee { margin: 60px 0 30px; transform: rotate(-2deg); background: var(--grad); overflow: hidden; padding: 26px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 60px; padding-right: 60px; animation: marquee 45s linear infinite; }
.marquee span { font: 600 clamp(2rem, 4.5vw, 4.25rem)/1.1 var(--font); color: #fff; letter-spacing: -0.03em; }
.marquee span::before { content: "/ "; opacity: .8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* outlined big word in dark panels */
.outline-word { font: 600 clamp(4rem, 13vw, 11rem)/.95 var(--font); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--violet); margin: 0 0 30px; user-select: none; }

/* cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 34px; transition: transform .85s var(--ease), box-shadow .3s, border-color .3s, opacity .9s var(--ease); }
.card h3 { margin-bottom: .55rem; }
.card p:last-child { margin-bottom: 0; }
.card a.more { display: inline-flex; gap: 8px; margin-top: .4rem; font: 500 .95rem/1.2 var(--text); color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.card a.more:hover { color: var(--sky); border-color: var(--sky); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(17, 17, 17, .08); }
.section-dark .card { background: var(--dark-2); border-color: #2c2c2c; }
.section-dark .card a.more { color: #fff; border-color: #fff; }
.section-dark .card a.more:hover { color: var(--teal); border-color: var(--teal); }
.icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 22px; background: var(--panel); }
.section-dark .icon { background: #2a2a2a; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800; font-size: 1.1rem; }
.checks li strong { color: var(--ink); font-weight: 700; }
.section-dark .checks li strong { color: #fff; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; padding: 34px 28px 28px; border-radius: var(--r-lg); background: #fff; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 600 3rem/1 var(--font); letter-spacing: -0.04em; color: transparent;
  -webkit-text-stroke: 1px var(--violet); margin-bottom: 18px; }

.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.role { padding: 30px; border-radius: var(--r-lg); background: var(--panel-2); }
.role h3 { font-size: 1.2rem; }
.role ul { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .95rem; }
.role li { margin: .3rem 0; }
.section-soft .role { background: #fff; }

/* outlined numbers that count up */
.stat-band { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; align-items: stretch; }
.stat { padding: 40px 0; }
.stat b { display: block; font: 600 clamp(3.5rem, 6vw, 5.5rem)/1 var(--font); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--violet); margin-bottom: 22px; }
.stat h3 { margin-bottom: .4rem; }
.stat.dark { background: var(--dark); border-radius: var(--r-lg); padding: 50px 60px; }
.stat.dark h3 { color: #fff; } .stat.dark p { color: #d3d5da; }
.stat.dark b { -webkit-text-stroke-color: #8a89e0; }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pill { display: inline-block; padding: .45rem .95rem; border-radius: 50px; background: #fff; border: 1px solid var(--line-soft); color: var(--ink); font-size: .875rem; font-weight: 600; }

table.compare { width: 100%; border-collapse: collapse; background: #fff; }
.compare th, .compare td { padding: 18px 22px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; font-size: .97rem; }
.compare th { background: var(--ink); color: #fff; font: 500 .95rem/1.4 var(--font); }
.compare td:first-child { font-weight: 700; color: var(--ink); width: 32%; }
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line-soft); }

/* FAQ: big questions with dividers */
.faq { max-width: 980px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--ink); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font: 400 clamp(1.15rem, 2vw, 1.75rem)/1.3 var(--font); color: var(--ink); letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: 1.05rem; max-width: 52rem; }

/* call-to-action panel */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 90px 70px; background: var(--dark); text-align: left; }
.cta::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: var(--grad); opacity: .25; filter: blur(60px); }
.cta h2 { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-size: clamp(2.2rem, 5vw, 4.5rem); max-width: 16ch; position: relative; }
.cta p { color: #c9ccd2; max-width: 40rem; position: relative; margin-left: 0 !important; }
.cta .btn-row { position: relative; justify-content: flex-start !important; }

/* page hero (inner pages) */
.page-hero { margin: 20px var(--gap) 0; border-radius: var(--r-xl); padding: 80px 0 70px;
  background: radial-gradient(600px 400px at 85% 20%, rgba(255, 255, 255, .6), transparent 60%), linear-gradient(135deg, #d4f4ee 0%, #d4ebf8 55%, #e6e2fa 100%); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.1; }
.page-hero .split { gap: 40px; }
.page-hero .art img { max-width: 520px; margin-left: auto; }
.crumbs { font-size: .9rem; margin-bottom: 1.3rem; color: var(--ink-2); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .5; }
.crumbs a:hover { color: var(--sky); }

.toc { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.toc a { padding: .55rem 1.05rem; border-radius: 50px; background: #fff; border: 1px solid var(--line-soft); color: var(--ink); font: 500 .875rem/1.2 var(--text); transition: background .25s, color .25s; }
.toc a:hover { background: var(--ink); color: #fff; }
.module { scroll-margin-top: 130px; }

/* art figures */
.art { position: relative; margin: 0; }
.art img { width: 100%; filter: drop-shadow(0 30px 40px rgba(17, 17, 17, .08)); }

/* forms */
.form { display: grid; gap: 16px; }
.form label { font: 500 .9rem/1.3 var(--text); display: grid; gap: 8px; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; padding: 0 18px; height: 56px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.form textarea { height: auto; padding: 16px 18px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(68, 182, 233, .15); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }

/* footer: dark rounded panel with gradient headline */
.site-footer { margin: 20px var(--gap) var(--gap); background: var(--dark); border-radius: var(--r-xl); color: #b5b8bf; padding: 90px 0 30px; font-size: .95rem; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid #2c2c2c; }
.foot-cta p { margin: 0; font: 400 clamp(2.2rem, 5.5vw, 4.75rem)/1.08 var(--font); letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; max-width: 15ch; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4, .foot-title { color: #fff; font: 500 1.05rem/1.2 var(--font); margin-bottom: 1.2rem; letter-spacing: -0.02em; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.foot-grid a { color: #b5b8bf; transition: color .25s; }
.foot-grid a:hover { color: var(--teal); }
.foot-brand img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 1.2rem; }
.foot-brand p { color: #9599a1; }
.foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid #2c2c2c; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #8b8f97; }

/* back-to-top */
.to-top { position: fixed; right: 30px; bottom: 30px; width: 50px; height: 70px; border-radius: 12px; border: 0; background: var(--teal); color: var(--ink); font-size: 1.1rem;
  cursor: pointer; z-index: 70; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- scroll animations (classes added by js/site.js) ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split-letters .w { display: inline-block; white-space: nowrap; }
.split-letters .ch { display: inline-block; opacity: .12; transition: opacity .5s ease; transition-delay: calc(var(--i) * 18ms); }
.split-letters.in .ch { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav-links a { padding: 10px 10px; font-size: .78rem; }
  .nav-cta .btn { padding: 0 22px; height: 54px; }
  .hero-grid { grid-template-columns: minmax(0, 540px) 1fr; }
}
@media (max-width: 1024px) {
  .grid-4, .roles, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat.dark { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: relative; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-radius: var(--r-lg); padding: 14px; box-shadow: 0 20px 50px rgba(17, 17, 17, .12); }
}
@media (max-width: 860px) {
  :root { --gap: 10px; }
  .wrap { padding: 0 22px; }
  section { padding: 76px 0; }
  .hero-grid, .split, .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .hero-grid { min-height: 0; gap: 0; }
  .hero-card { padding: 44px 28px; margin: 10px; }
  .hero-art { padding: 10px 20px 150px; }
  .topbar { display: none; }
  .nav { height: 76px; padding: 0 18px; }
  .site-header.scrolled .nav { height: 70px; }
  .nav-cta .btn { height: 48px; padding: 0 20px; font-size: .9rem; }
  .cta { padding: 60px 30px; }
  .page-hero { padding: 56px 0 50px; }
  .page-hero .art { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .roles, .steps, .stat-band, .form .row, .foot-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { display: none; }
  .hero-fact { left: 10px; right: 10px; bottom: 10px; padding: 18px 22px; }
  .hero-fact b { font-size: 2.6rem; }
  .btn { height: 54px; padding: 0 22px; }
  .stat.dark { padding: 36px 28px; }
  .to-top { right: 14px; bottom: 14px; height: 56px; width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .split-letters .ch { opacity: 1 !important; transform: none !important; }
}
@media print { .site-header, .topbar, .site-footer, .cta, .to-top, .marquee { display: none; } .reveal, .split-letters .ch { opacity: 1 !important; transform: none !important; } }

/* inner-page call to action: a teal gradient band (the dark footer follows it) */
.cta { background: var(--grad); }
.cta::before { background: #fff; opacity: .18; }
.cta h2 { background: none; color: #fff; -webkit-background-clip: initial; background-clip: initial; }
.cta p { color: rgba(255, 255, 255, .92); }
.cta .btn-ghost { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* fixes: no sideways scroll from the tilted band; outlined word stays hollow in dark panels; logo on a white badge in the footer */
html, body { overflow-x: clip; }
.section-dark .outline-word { color: transparent; }
.foot-brand img { filter: none; background: #fff; padding: 8px 14px; border-radius: 10px; height: 46px; width: auto; }

/* shorter menu bar */
.site-header { padding-top: 8px; }
.nav { height: 72px; padding: 0 24px; }
.site-header.scrolled .nav { height: 64px; }
.nav-links a { padding: 9px 14px; }
.nav-cta .btn { height: 46px; padding: 0 24px; font-size: .95rem; }
.brand img { height: 28px; }
.topbar .wrap { height: 34px; }
@media (max-width: 860px) { .nav { height: 64px; padding: 0 16px; } .site-header.scrolled .nav { height: 60px; } .nav-cta .btn { height: 42px; } .menu-btn { width: 42px; height: 42px; } }

/* shorter hero panel */
.hero { padding-top: 14px; }
.hero-grid { min-height: 540px; }
.hero-card { padding: 46px 52px; margin: 14px; }
.hero-card .btn-row { margin-top: 1.5rem; }
.hero-points { margin-top: 1.2rem; }
.hero-art { padding: 24px 30px 100px; }
.hero-art img { width: min(540px, 100%); }
.hero-fact { padding: 16px 24px; border-radius: 20px; }
.hero-fact b { font-size: 2.6rem; }
@media (max-width: 860px) { .hero-grid { min-height: 0; } .hero-card { padding: 36px 24px; } .hero-art { padding: 6px 20px 120px; } }

/* hero: shorter still, smaller buttons */
.hero-grid { min-height: 460px; }
.hero-card { padding: 34px 46px; margin: 12px; }
.hero-card .eyebrow { margin-bottom: .7rem; }
.hero-card h1 { margin-bottom: .35em; }
.hero-card .lead { font-size: 1rem; line-height: 1.65; margin-bottom: 0; }
.hero-card .btn-row { margin-top: 1.2rem; gap: 10px; }
.hero-card .btn { height: 46px; padding: 0 20px; font-size: .95rem; border-radius: 10px; }
.hero-points { margin-top: 1rem; gap: .2rem; }
.hero-points li { font-size: .9rem; }
.hero-art { padding: 16px 30px 84px; }
.hero-art img { width: min(470px, 100%); }
.hero-fact { padding: 12px 20px; gap: 16px; }
.hero-fact b { font-size: 2.2rem; }
.hero-fact span { font-size: 1rem; }
@media (max-width: 860px) { .hero-card { padding: 30px 22px; } .hero-art { padding: 4px 20px 100px; } }

/* ---------- tighter sections: smaller headings and less space everywhere ---------- */
section { padding: 72px 0; }
.section-head { margin-bottom: 36px; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: 1.05rem; }
body { font-size: 15.5px; }
.eyebrow { margin-bottom: .8rem; font-size: .9rem; }
.btn { height: 50px; padding: 0 22px; font-size: .95rem; }

.marquee { margin: 40px 0 24px; padding: 18px 0; }
.marquee span { font-size: clamp(1.6rem, 3.4vw, 3rem); }
.outline-word { font-size: clamp(3rem, 9vw, 7.5rem); margin-bottom: 18px; }

.grid-2, .grid-3 { gap: 22px; }
.grid-4, .roles, .steps { gap: 18px; }
.card { padding: 26px; }
.icon { width: 52px; height: 52px; font-size: 1.4rem; border-radius: 14px; margin-bottom: 16px; }
.split { gap: 50px; }
.art img { max-width: 520px; margin: 0 auto; }
.checks { gap: .55rem; margin-top: 1rem; }
.step { padding: 26px 22px 22px; }
.step::before { font-size: 2.3rem; margin-bottom: 12px; }
.role { padding: 24px; }

.stat { padding: 24px 0; }
.stat b { font-size: clamp(2.8rem, 4.6vw, 4rem); margin-bottom: 14px; }
.stat.dark { padding: 36px 44px; }

.faq summary { font-size: clamp(1.05rem, 1.6vw, 1.35rem); padding: 16px 0; }
.faq details p { font-size: .98rem; }

.cta { padding: 60px 54px; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }

.page-hero { padding: 54px 0 48px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.page-hero .art img { max-width: 420px; }
.crumbs { margin-bottom: .9rem; }

.compare th, .compare td { padding: 14px 18px; font-size: .93rem; }
.toc { margin-top: 1.2rem; }

.site-footer { padding: 60px 0 24px; }
.foot-cta { padding-bottom: 40px; margin-bottom: 40px; }
.foot-cta p { font-size: clamp(1.9rem, 4vw, 3.4rem); }
.foot-bottom { margin-top: 40px; }

@media (max-width: 860px) {
  section { padding: 56px 0; }
  .cta { padding: 44px 26px; }
  .stat.dark { padding: 30px 26px; }
  .page-hero { padding: 42px 0 38px; }
}

/* ---------- hero carousel ---------- */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.hero-slide .hero-card > * { transform: translateY(18px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.hero-slide.is-active .hero-card > * { transform: none; opacity: 1; }
.hero-slide.is-active .hero-card > :nth-child(2) { transition-delay: .06s; }
.hero-slide.is-active .hero-card > :nth-child(3) { transition-delay: .12s; }
.hero-slide.is-active .hero-card > :nth-child(4) { transition-delay: .18s; }
.hero-slide.is-active .hero-card > :nth-child(5) { transition-delay: .24s; }
.hero-slide .hero-art img { transform: scale(.94); transition: transform 1.2s var(--ease); }
.hero-slide.is-active .hero-art img { transform: none; }
.hero-title { font: 400 clamp(2.25rem, 4.4vw, 3.125rem)/1.12 var(--font); letter-spacing: -0.04em; color: var(--ink); margin: 0 0 .35em; }
.hero-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* the notched tab on the right edge with the arrows */
.hero-nav { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 3; width: 58px; padding: 18px 0;
  display: grid; gap: 8px; justify-items: center; background: var(--bg); border-radius: 29px 0 0 29px; }
.hero-nav::before, .hero-nav::after { content: ""; position: absolute; right: 0; width: 29px; height: 29px; }
.hero-nav::before { top: -29px; background: radial-gradient(circle at 0 0, transparent 28px, var(--bg) 29px); }
.hero-nav::after { bottom: -29px; background: radial-gradient(circle at 0 100%, transparent 28px, var(--bg) 29px); }
.hero-nav button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: background .25s, color .25s, transform .3s var(--ease); }
.hero-prev { color: var(--teal); }
.hero-next { color: var(--ink); }
.hero-nav button:hover { background: var(--panel); transform: scale(1.08); }

/* dots under the illustration */
.hero-dots { position: absolute; z-index: 3; bottom: 30px; left: calc(min(620px, 46%) + 30px); display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: rgba(17, 17, 17, .25); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.hero-dots button[aria-selected="true"] { width: 30px; background: var(--ink); }

@media (max-width: 860px) {
  .hero-nav { top: auto; bottom: 96px; transform: none; width: 50px; padding: 12px 0; }
  .hero-dots { left: 24px; bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide .hero-card > *, .hero-slide .hero-art img { transform: none !important; opacity: 1 !important; } }

/* every slide fills the panel, so the white card is the same height on each */
.hero-slide { display: flex; }
.hero-slide > .hero-grid { flex: 1; }

/* ---------- services: four columns, line icons, no boxes ---------- */
.svc-section { background: radial-gradient(520px 380px at 0% 100%, rgba(68, 182, 233, .16), transparent 70%), radial-gradient(420px 300px at 100% 0%, rgba(69, 208, 189, .10), transparent 70%); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 40px; }
.svc { padding: 0; }
.svc-icon { width: 26px; height: 26px; fill: none; stroke: var(--violet); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: stroke .3s, transform .4s var(--ease); }
.svc h3 { font: 500 1.1rem/1.3 var(--font); letter-spacing: -0.02em; margin: 0 0 .6rem; }
.svc h3 a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .25s; }
.svc h3 a:hover { color: var(--violet); background-size: 100% 1px; }
.svc p { font-size: .9rem; line-height: 1.75; color: var(--ink-2); margin: 0; max-width: 17rem; }
.svc:hover .svc-icon { stroke: var(--sky); transform: translateY(-3px); }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; gap: 32px; } .svc p { max-width: none; } }

/* top bar: Follow us + social icons */
.follow { display: inline-flex; align-items: center; gap: 4px; color: #b5b8bf; }
.follow a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; transition: background .25s, color .25s; }
.follow a:first-of-type { margin-left: 10px; }
.follow a:hover { background: var(--teal); color: var(--ink); }
.follow svg { width: 14px; height: 14px; fill: currentColor; }

/* hero scenes with people: bigger, the panel height stays (it follows the text card) */
.hero-art { padding: 0 70px 70px 10px; }
.hero-art img { width: min(680px, 100%); }
@media (max-width: 860px) { .hero-art { padding: 0 10px 100px; } }

/* ---------- hero with real photos: the photo fills the banner, the white card sits on top ---------- */
.hero-slide { position: relative; }
.hero-art.hero-photo { position: absolute; inset: 0; padding: 0; z-index: 0; }
.hero-art.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: none; animation: none; transform: scale(1.06); transition: transform 6s ease-out; }
.hero-slide.is-active .hero-art.hero-photo img { transform: scale(1); }
.hero-slide:nth-child(1) .hero-photo img { object-position: 62% 30%; }
.hero-slide:nth-child(2) .hero-photo img { object-position: 70% 45%; }
.hero-slide:nth-child(3) .hero-photo img { object-position: 60% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 17, 17, .18) 0%, rgba(17, 17, 17, 0) 45%); pointer-events: none; }
.hero-slide .hero-grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 600px) 1fr; }
.hero-panel { background: #cfd8e3; }
@media (max-width: 860px) {
  .hero-slide .hero-grid { grid-template-columns: 1fr; padding-bottom: 260px; }
  .hero-slide .hero-photo img { object-position: 60% 80%; }
}

/* layering: photo at the back, text card and fact card on top */
.hero-slide .hero-card { position: relative; z-index: 2; }
.hero-fact { z-index: 3; }

@media (max-width: 860px) { .hero-slide .hero-photo img { object-position: 55% 28%; } }

/* phones: the photo is a strip under the text card, not behind it */
@media (max-width: 860px) {
  .hero-art.hero-photo { top: auto; height: 300px; }
  .hero-slide .hero-photo img { object-position: 50% 35%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(207,216,227,1) 0%, rgba(207,216,227,0) 22%); }
}

/* hero: 3D scenes (the photo layout above stays available via .hero-photo) */
.hero-panel { background: radial-gradient(700px 500px at 80% 30%, rgba(255, 255, 255, .55), transparent 60%), linear-gradient(135deg, #bfeee6 0%, #b9dff5 55%, #d9d4f7 100%); }
.hero-art:not(.hero-photo) { padding: 0 64px 60px 0; }
.hero-art:not(.hero-photo) img { width: min(660px, 100%); filter: drop-shadow(0 30px 40px rgba(17, 17, 17, .10)); }
@media (max-width: 860px) { .hero-art:not(.hero-photo) { padding: 0 6px 96px; } }

/* real-photo hero: where each photo's people sit */
.hero-slide:nth-child(1) .hero-photo img { object-position: 70% 35%; }
.hero-slide:nth-child(2) .hero-photo { left: 26%; }
.hero-slide:nth-child(2) .hero-photo img { object-position: 50% 28%; }
.hero-slide:nth-child(3) .hero-photo img { object-position: 60% 40%; }
@media (max-width: 860px) { .hero-slide:nth-child(2) .hero-photo { left: 0; } }

/* bright classroom photos: where each photo's people sit */
.hero-slide:nth-child(1) .hero-photo img { object-position: 62% 30%; }
.hero-slide:nth-child(2) .hero-photo { left: 0; }
.hero-slide:nth-child(2) .hero-photo img { object-position: 70% 40%; }
.hero-slide:nth-child(3) .hero-photo img { object-position: 55% 25%; }
.hero-photo::after { background: linear-gradient(90deg, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 45%); }

/* photos sit to the right of the text card (whole scene visible, much less zoom) */
.hero-panel { background: linear-gradient(135deg, #d4f4ee 0%, #d4ebf8 60%, #e6e2fa 100%); }
.hero-slide .hero-art.hero-photo { left: 43%; top: 12px; right: 12px; bottom: 12px; border-radius: 22px; overflow: hidden; }
.hero-slide:nth-child(1) .hero-photo img { object-position: 45% 50%; }
.hero-slide:nth-child(2) .hero-photo img { object-position: 60% 45%; }
.hero-slide:nth-child(3) .hero-photo img { object-position: 45% 45%; }
.hero-photo::after { content: none; }
@media (max-width: 860px) {
  .hero-slide .hero-art.hero-photo { left: 10px; right: 10px; top: auto; bottom: 10px; height: 280px; }
  .hero-slide .hero-grid { padding-bottom: 290px; }
}

/* ---------- hero photos with the app on top ---------- */
.hero-slide .hero-photo.shot-portrait { left: 55%; }
.shot-teacher img { object-position: 40% 45% !important; }
.shot-idcard img { object-position: 50% 62% !important; }
.shot-parent img { object-position: 50% 32% !important; }
.ui { position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(17, 17, 17, .18); font-family: var(--text); color: var(--ink); }
.ui-title { font: 600 .8rem/1.2 var(--font); margin: 0 0 8px; letter-spacing: -0.01em; }
.ui-att { right: 22px; top: 22px; width: 230px; padding: 14px 16px; }
.ui-att ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ui-att li { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; padding: 4px 0; border-bottom: 1px solid #eef1f5; }
.ui-att li b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: .7rem; color: #fff; }
.ui-att .p { background: #22c55e; } .ui-att .l { background: #f59e0b; }
.ui-ok { margin: 10px 0 0; font-size: .75rem; font-weight: 700; color: #16a34a; }
.scan-frame { position: absolute; z-index: 2; left: 42%; top: 62%; width: 24%; height: 30%; border-radius: 10px;
  background: linear-gradient(#45d0bd, #45d0bd) 0 0 / 22px 3px no-repeat, linear-gradient(#45d0bd, #45d0bd) 0 0 / 3px 22px no-repeat,
              linear-gradient(#45d0bd, #45d0bd) 100% 0 / 22px 3px no-repeat, linear-gradient(#45d0bd, #45d0bd) 100% 0 / 3px 22px no-repeat,
              linear-gradient(#45d0bd, #45d0bd) 0 100% / 22px 3px no-repeat, linear-gradient(#45d0bd, #45d0bd) 0 100% / 3px 22px no-repeat,
              linear-gradient(#45d0bd, #45d0bd) 100% 100% / 22px 3px no-repeat, linear-gradient(#45d0bd, #45d0bd) 100% 100% / 3px 22px no-repeat; overflow: hidden; }
.scan-frame i { position: absolute; left: 6%; right: 6%; height: 2px; background: #45d0bd; box-shadow: 0 0 12px 3px rgba(69, 208, 189, .7); animation: scanline 2.2s ease-in-out infinite; }
@keyframes scanline { 0%, 100% { top: 10%; } 50% { top: 88%; } }
.ui-chip { left: -38%; top: 30%; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; }
.ui-dot { width: 34px; height: 34px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; font-weight: 800; }
.ui-chip b { display: block; font: 600 .95rem/1.2 var(--font); } .ui-chip small { color: #64748b; font-size: .75rem; }
.ui-alert { left: -30%; top: 56%; width: 230px; padding: 12px 14px; }
.ui-alert p { margin: 6px 0 0; font-size: .8rem; line-height: 1.4; }
.ui-wa { display: inline-block; background: #dcfce7; color: #15803d; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.ui-phone { left: -44%; top: 12%; width: 250px; padding: 14px; border-radius: 26px; border: 6px solid #111; }
.ui-map { width: 100%; height: auto; display: block; border-radius: 10px; }
.ui-eta { margin: 10px 0 0; } .ui-eta b { display: block; font: 600 .95rem/1.2 var(--font); color: #16a34a; } .ui-eta small { font-size: .74rem; color: #64748b; }
.hero-slide .hero-photo { overflow: visible !important; }
.hero-slide .hero-photo img { border-radius: 22px; }
@media (max-width: 1100px) { .ui-chip, .ui-alert, .ui-phone { left: 10px; } .ui-alert { top: auto; bottom: 10px; } .ui-phone { top: 10px; width: 210px; } }
@media (max-width: 860px) {
  .hero-slide .hero-photo.shot-portrait { left: 10px; }
  .ui-att { width: 190px; right: 10px; top: 10px; padding: 10px 12px; } .ui-att li:nth-child(n+3) { display: none; }
  .ui-phone { width: 180px; } .ui-alert { display: none; }
}

/* app overlays stay inside the photo frame */
.ui-phone { left: 18px; top: 18px; width: 220px; }
.ui-chip { left: 18px; top: 22px; }
.ui-alert { left: 18px; top: auto; bottom: 90px; }
.hero-slide .hero-photo.shot-portrait { left: 46%; }

/* slide 3: the phone in the photo shows the live map */
.shot-parent img { object-position: 22% 62% !important; }
.ui-bus { left: auto !important; right: 18px; top: 22px; }
.ui-bus .ui-dot { background: #fef3c7; font-size: 1.05rem; }

/* slide 2: show the ID card, scan frame on it */
.shot-idcard img { object-position: 50% 100% !important; }
.shot-idcard .scan-frame { left: 45%; top: 61%; width: 16%; height: 37%; }
.shot-idcard .ui-alert { bottom: 24px; top: auto; }

/* slide 3: hand + phone centred */
.shot-parent img { object-position: 50% 45% !important; }

.shot-parent img { object-position: 58% 50% !important; }

/* slide 3: just the hand and phone, rising from the bottom of the banner */
.hero-slide .shot-hand { position: absolute; left: 50%; right: 70px; top: 24px; bottom: 0; padding: 0; z-index: 0;
  display: flex; align-items: flex-end; justify-content: center; }
.hero-slide .shot-hand img { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: bottom; animation: none;
  filter: drop-shadow(0 24px 40px rgba(17, 17, 17, .18)); }
.shot-hand .ui-bus { right: 0; top: 30px; }
@media (max-width: 860px) { .hero-slide .shot-hand { left: 10px; right: 10px; top: auto; height: 290px; } .shot-hand .ui-bus { top: -10px; } }

.shot-hand .ui-bus { right: auto; left: 0; top: 70px; }

.shot-hand .ui-bus { left: -190px; top: 120px; }
@media (max-width: 860px) { .shot-hand .ui-bus { left: 0; top: -10px; } }

.shot-hand .ui-bus { left: -190px !important; right: auto !important; top: 120px; }
@media (max-width: 860px) { .shot-hand .ui-bus { left: 0 !important; top: -10px; } }

.shot-hand .ui-bus { left: -20px !important; top: 140px; }
@media (max-width: 860px) { .shot-hand .ui-bus { left: 0 !important; top: -10px; } }

/* ---------- slide 2: an HD ID card on a lanyard, being scanned ---------- */
.hero-slide .shot-card { position: absolute; left: 50%; right: 70px; top: 0; bottom: 0; padding: 0; z-index: 0; display: grid; place-items: center; }
.lanyard { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 110px; }
.lanyard span { position: absolute; inset: 0 0 18px; background: linear-gradient(90deg, #2b7fd1, #3b9be8 50%, #2b7fd1); border-radius: 0 0 6px 6px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.lanyard span::after { content: "SCHOOL MS · SCHOOL MS"; position: absolute; left: 50%; top: 6px; transform: translateX(-50%) rotate(90deg); transform-origin: left top;
  font: 700 8px/1 var(--font); letter-spacing: 2px; color: rgba(255,255,255,.85); white-space: nowrap; margin-left: 13px; }
.lanyard b { position: absolute; left: 50%; bottom: 0; width: 26px; height: 30px; transform: translateX(-50%); border-radius: 6px;
  background: linear-gradient(180deg, #e5e7eb, #9ca3af); box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.idc { position: relative; width: 300px; margin-top: 70px; background: #fff; border-radius: 22px; overflow: hidden; transform: rotate(-4deg);
  box-shadow: 0 40px 70px rgba(17, 17, 17, .22), 0 0 0 1px rgba(17,17,17,.04); animation: idswing 6s ease-in-out infinite; transform-origin: 50% -60px; }
@keyframes idswing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-1deg); } }
.idc::before { content: ""; position: absolute; top: 10px; left: 50%; width: 46px; height: 8px; transform: translateX(-50%); border-radius: 8px; background: rgba(255,255,255,.65); z-index: 2; }
.idc-hd { background: var(--grad); color: #fff; padding: 30px 22px 18px; display: flex; gap: 12px; align-items: center; }
.idc-hd i { width: 36px; height: 36px; border-radius: 50%; border: 7px solid #fff; border-right-color: #1e1b4b; flex: none; }
.idc-hd b { display: block; font: 600 1.25rem/1.1 var(--font); letter-spacing: -0.02em; } .idc-hd small { font-size: .78rem; opacity: .92; }
.idc-bd { display: flex; gap: 16px; padding: 18px 20px 6px; }
.idc-bd img { width: 98px; height: 122px; object-fit: cover; border-radius: 12px; flex: none; }
.idc dl { margin: 0; font-size: .72rem; } .idc dt { color: #64748b; } .idc dd { margin: 0 0 6px; font: 600 .9rem/1.2 var(--font); color: #111; }
.idc-ft { display: flex; align-items: center; gap: 16px; padding: 10px 20px 20px; }
.qr { width: 92px; height: 92px; display: grid; grid-template-columns: repeat(21, 1fr); padding: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; flex: none; }
.qr i { background: #111; } .qr i.o { background: transparent; }
.idc-v small { display: block; color: #64748b; font-size: .72rem; } .idc-v b { display: block; color: #16a34a; font: 600 .82rem/1.3 var(--font); margin-top: 4px; }
.shot-card .scan-frame { left: 14px; right: auto; top: auto; bottom: 12px; width: 112px; height: 112px; }
.shot-card .scan-frame i { animation-duration: 1.8s; }
.idc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
  background-size: 250% 100%; animation: idshine 4s ease-in-out infinite; pointer-events: none; }
@keyframes idshine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.shot-card .ui-chip { left: 0 !important; top: 70px; }
.shot-card .ui-alert { left: auto !important; right: 0; top: auto; bottom: 70px; }
@media (max-width: 860px) {
  .hero-slide .shot-card { left: 10px; right: 10px; top: auto; height: 300px; }
  .idc { width: 230px; margin-top: 40px; } .lanyard { height: 70px; }
  .shot-card .ui-chip { top: 10px; } .shot-card .ui-alert { display: none; }
}
.hero-slide .shot-card .idc-bd img { width: 98px !important; height: 122px !important; max-width: none; object-fit: cover; border-radius: 12px; filter: none; animation: none; transform: none; }
.lanyard span::after { content: none; }
.shot-card .ui-alert { right: 0; bottom: auto !important; top: 300px; width: 210px; }
.shot-card .ui-chip { top: 90px; }
.hero-slide .shot-card { justify-items: end; padding-right: 60px; align-items: start; }
.idc { width: 262px; margin-top: 92px; }
.lanyard { left: auto; right: 191px; transform: none; height: 106px; }
.idc-hd { padding: 26px 18px 14px; } .idc-hd b { font-size: 1.1rem; }
.idc-bd { padding: 14px 16px 4px; gap: 12px; } .hero-slide .shot-card .idc-bd img { width: 84px !important; height: 106px !important; }
.idc dd { font-size: .82rem; } .qr { width: 80px; height: 80px; } .idc-ft { padding: 8px 16px 16px; }
.shot-card .scan-frame { left: 10px; bottom: 8px; width: 98px; height: 98px; }
.shot-card .ui-chip { left: 0 !important; top: 120px; }
.shot-card .ui-alert { left: 0 !important; right: auto; top: 300px; }
@media (max-width: 860px) { .hero-slide .shot-card { justify-items: center; padding-right: 0; } .idc { width: 220px; margin-top: 50px; } .lanyard { left: 50%; right: auto; transform: translateX(-50%); height: 56px; } }
/* lanyard hangs from the top of the banner to the card's centre */
.idwrap { position: relative; padding-top: 92px; }
.idwrap .idc { margin-top: 0; }
.idwrap .lanyard { position: absolute; top: -10px; left: 50%; right: auto; transform: translateX(-50%); height: 112px; z-index: 1; }
.shot-card .ui-chip { left: -90px !important; }
.shot-card .ui-alert { left: -90px !important; }
@media (max-width: 860px) { .idwrap { padding-top: 50px; } .idwrap .lanyard { height: 66px; } .shot-card .ui-chip { left: 0 !important; } }

/* ---------- slide 1: an HD tablet with the attendance screen ---------- */
.hero-slide .shot-tablet { position: absolute; left: 50%; right: 70px; top: 0; bottom: 0; padding: 0; z-index: 0; display: grid; place-items: center start; perspective: 1400px; }
.tab { width: 330px; padding: 14px; border-radius: 34px; background: linear-gradient(145deg, #2a2f3a, #0f1115); margin-left: 20px;
  box-shadow: 0 50px 80px rgba(17, 17, 17, .25), inset 0 0 0 2px #3a404c; transform: rotateY(14deg) rotateX(6deg) rotateZ(-3deg); animation: tabfloat 7s ease-in-out infinite; }
@keyframes tabfloat { 0%, 100% { transform: rotateY(14deg) rotateX(6deg) rotateZ(-3deg) translateY(0); } 50% { transform: rotateY(10deg) rotateX(4deg) rotateZ(-2deg) translateY(-10px); } }
.tab-screen { background: #f6f8fb; border-radius: 22px; padding: 16px 14px 14px; font-family: var(--text); color: #111; position: relative; overflow: hidden; }
.tab-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.5) 0%, transparent 35%); pointer-events: none; }
.ts-top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; }
.ts-app { display: flex; align-items: center; gap: 6px; } .ts-app i { width: 16px; height: 16px; border-radius: 50%; border: 3.5px solid #6366f1; border-right-color: #111; }
.ts-time { color: #64748b; }
.ts-h { font: 600 1.15rem/1.2 var(--font); margin: 12px 0 0; letter-spacing: -0.02em; } .ts-sub { font-size: .72rem; color: #64748b; margin: 0; }
.ts-counts { display: flex; gap: 6px; margin: 10px 0 8px; } .ts-counts span { font-size: .64rem; font-weight: 700; padding: 4px 8px; border-radius: 8px; }
.ts-counts .g { background: #dcfce7; color: #15803d; } .ts-counts .a { background: #fef3c7; color: #b45309; } .ts-counts .r { background: #fee2e2; color: #b91c1c; }
.ts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ts-list li { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 7px 9px; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.tn { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; }
.tn b { width: 26px; height: 26px; border-radius: 50%; background: #e0e7ff; color: #4338ca; display: grid; place-items: center; font-size: .6rem; }
.tb { display: flex; gap: 4px; } .tb i { width: 22px; height: 20px; border-radius: 6px; border: 1.5px solid #e2e8f0; display: grid; place-items: center; font-style: normal; font-size: .6rem; font-weight: 700; color: #94a3b8; }
.tb i.on { background: #22c55e; border-color: #22c55e; color: #fff; } .tb i.late { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.ts-save { margin-top: 10px; background: #111; color: #fff; text-align: center; font-size: .78rem; font-weight: 700; padding: 10px; border-radius: 12px; }
.tap { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(69, 208, 189, .9); left: 278px; top: 50%; margin-top: 18px; animation: tap 2.4s ease-out infinite; pointer-events: none; }
@keyframes tap { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.shot-tablet .ui-att { right: 0; top: 40px; }
@media (max-width: 1200px) { .tab { width: 280px; } }
@media (max-width: 860px) {
  .hero-slide .shot-tablet { left: 10px; right: 10px; top: auto; height: 320px; place-items: center; }
  .tab { width: 220px; margin-left: 0; } .tap { display: none; } .shot-tablet .ui-att { top: 0; }
}
@media (prefers-reduced-motion: reduce) { .tab, .tap { animation: none; } }
.tab { width: 290px; margin-left: -50px; }
.tap { display: none; }
@media (max-width: 860px) { .tab { width: 220px; margin-left: 0; } }

.tab { width: 262px; margin-left: -190px; }
@media (max-width: 860px) { .tab { width: 220px; margin-left: 0; } }

.tn { font-size: .7rem; gap: 6px; } .tn b { width: 22px; height: 22px; }

/* slide 1: fee reminder card */
.ui-fee { right: 0; top: 40px; width: 250px; padding: 14px; }
.uf-hd { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; margin: 0 0 10px; }
.uf-wa { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-weight: 800; }
.uf-hd b { font: 600 .88rem/1.2 var(--font); } .uf-hd small { color: #64748b; font-size: .72rem; }
.uf-msg { background: #dcf8c6; border-radius: 12px 12px 12px 4px; padding: 10px 12px 8px; font-size: .78rem; line-height: 1.45; position: relative; }
.uf-msg p { margin: 0; color: #111; }
.uf-pay { margin-top: 6px !important; color: #0e7490 !important; font-weight: 700; }
.uf-time { display: block; text-align: right; font-size: .64rem; color: #64748b; margin-top: 2px; }
.uf-ok { margin: 8px 0 0; font-size: .72rem; font-weight: 700; color: #16a34a; }
@media (max-width: 860px) { .ui-fee { width: 200px; top: 0; } .uf-ok { display: none; } }
/* slide 1: the fee reminder on its own, larger and centred */
.hero-slide .shot-tablet { place-items: center; }
.shot-tablet .ui-fee { position: relative; right: auto; top: auto; width: 360px; padding: 20px; border-radius: 22px; transform: rotate(-2deg); animation: tabfloat2 7s ease-in-out infinite; }
@keyframes tabfloat2 { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-10px); } }
.shot-tablet .uf-hd b { font-size: 1rem; } .shot-tablet .uf-wa { width: 40px; height: 40px; font-size: 1.1rem; }
.shot-tablet .uf-msg { font-size: .92rem; padding: 14px 16px 10px; } .shot-tablet .uf-ok { font-size: .8rem; }
@media (max-width: 860px) { .shot-tablet .ui-fee { width: 260px; padding: 14px; } .shot-tablet .uf-msg { font-size: .8rem; } }
/* slide 1: phone showing the WhatsApp fee reminder */
.phone { width: 270px; padding: 10px; border-radius: 42px; background: linear-gradient(145deg, #2a2f3a, #0f1115); box-shadow: 0 50px 80px rgba(17,17,17,.25), inset 0 0 0 2px #3a404c;
  transform: rotate(-4deg); animation: phfloat 7s ease-in-out infinite; }
@keyframes phfloat { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }
.ph-screen { border-radius: 33px; overflow: hidden; background: #efe7dd; font-family: var(--text); color: #111; display: flex; flex-direction: column; height: 500px; }
.ph-sb { display: flex; justify-content: space-between; padding: 12px 22px 6px; font-size: .7rem; font-weight: 700; background: #075e54; color: #fff; }
.ph-chat-hd { display: flex; align-items: center; gap: 10px; padding: 8px 14px 12px; background: #075e54; color: #fff; }
.ph-av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; }
.ph-chat-hd b { display: block; font-size: .85rem; } .ph-chat-hd small { font-size: .66rem; opacity: .85; }
.ph-chat { flex: 1; padding: 12px; }
.ph-day { text-align: center; margin: 0 auto 10px; font-size: .62rem; background: #e1f2fb; color: #475569; width: max-content; padding: 3px 10px; border-radius: 8px; }
.ph-bub { background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px 6px; font-size: .78rem; line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ph-bub p { margin: 0 0 6px; color: #111; } .ph-tag { font-weight: 700; color: #0e7490 !important; font-size: .72rem; }
.ph-t { display: block; text-align: right; font-size: .62rem; color: #34b7f1; }
.ph-in { margin: 10px; display: flex; gap: 8px; align-items: center; }
.ph-in span { flex: 1; background: #fff; border-radius: 20px; padding: 8px 14px; font-size: .72rem; color: #94a3b8; }
.ph-in i { width: 34px; height: 34px; border-radius: 50%; background: #00a884; color: #fff; display: grid; place-items: center; font-style: normal; font-size: .8rem; }
@media (max-width: 860px) { .phone { width: 200px; } .ph-screen { height: 290px; } }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }

.phone { width: 250px; margin-right: 150px; } .ph-screen { height: 440px; }
@media (max-width: 860px) { .phone { width: 200px; margin-right: 0; } .ph-screen { height: 290px; } }
/* slide 1: real hand-held phone with the fee reminder */
.hero-slide .shot-tablet { place-items: end center; top: 24px; }
.hero-slide .shot-tablet .hand-fee { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; margin-right: 120px;
  filter: drop-shadow(0 24px 40px rgba(17, 17, 17, .18)); animation: none; transform: none; border-radius: 0; }
@media (max-width: 860px) { .hero-slide .shot-tablet .hand-fee { margin-right: 0; } }

.hero-slide .shot-tablet { display: flex; align-items: flex-end; justify-content: center; }
.hero-slide .shot-tablet img.hand-fee { width: auto !important; height: 100% !important; max-height: 100%; }

/* top bar: Ask AI about us */
.ask-ai { display: inline-flex; align-items: center; gap: 4px; color: #b5b8bf; white-space: nowrap; }
.ask-ai a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; color: #fff; font-weight: 600; transition: background .25s, color .25s; }
.ask-ai a:first-of-type { margin-left: 8px; }
.ask-ai a:hover { background: var(--teal); color: var(--ink); }
.ask-ai svg { width: 14px; height: 14px; }
@media (max-width: 1100px) { .ask-ai a span { display: none; } }
/* footer social icons */
.foot-social { display: flex; gap: 8px; margin-top: 18px; }
.foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #1f1f1f; color: #fff; transition: background .25s, color .25s; }
.foot-social a:hover { background: var(--teal); color: var(--ink); }
.foot-social svg { width: 16px; height: 16px; fill: currentColor; }

.ask-ai svg { width: 16px; height: 16px; }

.copy-toast { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .9rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
/* slide 1: principal's office photo */
.shot-office img { object-position: 55% 50% !important; }
.shot-office .ui-fee { position: absolute; left: 18px; top: 18px; right: auto; width: 250px; transform: none; animation: none; }
@media (max-width: 860px) { .shot-office .ui-fee { width: 200px; } }
/* hero: one wide photo per slide */
.shot-office img { object-position: 35% 50% !important; }
.shot-fee img { object-position: 52% 50% !important; }
.shot-bus img { object-position: 100% 50% !important; }

.hero-slide:nth-child(n) .hero-art.hero-photo { left: 43% !important; top: 12px !important; right: 12px !important; bottom: 12px !important; border-radius: 22px; overflow: hidden !important; }
@media (max-width: 860px) { .hero-slide:nth-child(n) .hero-art.hero-photo { left: 10px !important; right: 10px !important; top: auto !important; bottom: 10px !important; height: 280px; } }

/* hero a little shorter */
.hero-grid { min-height: 420px; }
.hero-card { padding: 26px 44px; }
.hero-card .lead { line-height: 1.55; }
.hero-card .btn-row { margin-top: 1rem; }
.hero-points { margin-top: .8rem; }
/* legal pages */
.legal-sec { scroll-margin-top: 130px; padding: 6px 0 22px; border-bottom: 1px solid var(--line-soft); margin-bottom: 22px; }
.legal-sec h2 { font-size: 1.45rem; margin-bottom: .7rem; }
.legal-sec p, .legal-sec li { font-size: .98rem; line-height: 1.8; }
.legal-sec ul { margin: .4rem 0 1rem; }
.legal-sec a { color: #0e7490; text-decoration: underline; }
.legal-links a { color: #b5b8bf; } .legal-links a:hover { color: var(--teal); }

/* SVG logo: keep its proportions */
.brand img { height: 40px; width: auto; }
.foot-brand img { height: 52px; width: auto; }

/* phones: keep the contact bar (phone + Ask Google), hide the email to fit */
@media (max-width: 860px) {
  .topbar { display: block; font-size: .8rem; }
  .topbar .wrap { height: auto; min-height: 38px; padding: 4px 6px 4px 14px; gap: .5rem; }
  .topbar .tb-mail { display: none; }
  .ask-ai a span { display: inline; }
  .ask-ai a:first-of-type { margin-left: 4px; }
}
@media (max-width: 380px) { .ask-ai > :not(a) { display: none; } }

/* phones: photo first, then the text */
@media (max-width: 860px) {
  .hero-slide:nth-child(n) .hero-art.hero-photo { top: 10px !important; bottom: auto !important; height: 250px; }
  .hero-slide .hero-grid { padding-top: 260px; padding-bottom: 0; }
}
@media (max-width: 860px) {
  .hero-slide .hero-grid { padding-bottom: 104px; }
  .hero-nav { top: 150px; bottom: auto; }
}

/* phones: smaller type and tighter padding */
@media (max-width: 560px) {
  body { font-size: 15px; line-height: 1.65; }
  h1, .hero-title { font-size: 1.85rem; line-height: 1.14; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.15rem; }
  .lead { font-size: .95rem; line-height: 1.6; }
  .eyebrow { font-size: .8rem; margin-bottom: .7rem; }
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .btn { height: 42px; padding: 0 16px; font-size: .88rem; }
  .topbar { font-size: .74rem; }
  .topbar .wrap { padding: 3px 4px 3px 12px; min-height: 34px; }
  .nav { height: 62px; padding: 0 12px; }
  .brand img { height: 32px; }
  .menu-btn { width: 40px; height: 40px; }

  .hero-panel { border-radius: 22px; }
  .hero-card { padding: 22px 18px !important; margin: 8px !important; border-radius: 18px; }
  .hero-card .btn-row { margin-top: .9rem; gap: 8px; }
  .hero-card .btn { height: 40px; font-size: .86rem; border-radius: 9px; }
  .hero-points { margin-top: .8rem; }
  .hero-points li { font-size: .84rem; line-height: 1.5; }
  .hero-slide:nth-child(n) .hero-art.hero-photo { top: 8px !important; left: 8px !important; right: 8px !important; height: 200px; border-radius: 16px; }
  .hero-slide .hero-grid { padding-top: 208px; padding-bottom: 84px; }
  .hero-nav { top: 104px; }
  .hero-fact { padding: 12px 16px; left: 8px; right: 8px; bottom: 8px; border-radius: 16px; }
  .hero-fact b { font-size: 1.8rem; }
  .hero-fact span { font-size: .88rem; }
}

/* footer: phone and email under the description */
.foot-contact { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .35rem; }
.foot-contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.foot-contact a:hover { color: var(--teal); }
.foot-contact svg { width: 16px; height: 16px; fill: var(--teal); flex: none; }

/* FAQ questions are <h3> inside <summary>: keep the summary's look */
.faq summary h3 { font: inherit; letter-spacing: inherit; color: inherit; line-height: inherit; margin: 0; }
/* the Ask Google link always shows its text (it's the link's name for search engines and screen readers) */
.ask-ai a span { display: inline !important; }
.topbar b { white-space: nowrap; }
@media (max-width: 400px) { .topbar .tb-label { display: none; } }

/* demo form: hidden spam trap and result messages */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: .92rem; line-height: 1.5; }
.form-msg.ok { background: #e3f7f0; color: #0b6b52; }
.form-msg.err { background: #fdecec; color: #a12d2d; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* links inside the text of landing pages, the guides' "Updated" date */
.in-links { max-width: 860px; margin: 28px auto 0; color: var(--ink-2); }
.in-links a, .text-links a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }
.updated { margin: .9rem 0 0; font-size: .875rem; color: var(--muted); }

/* the home page H1: outside the slides so it stays visible, as a badge on the photo's top-left corner */
/* the photo shows from the white card's edge (588px) or 43%, whichever is further right */
.hero-h1 { position: absolute; z-index: 3; top: 30px; left: max(606px, calc(43% + 18px)); max-width: calc(100% - max(606px, calc(43% + 18px)) - 18px);
  margin: 0; padding: 10px 18px; border-radius: 18px; background: #fff;
  font: 600 .95rem/1.2 var(--font); letter-spacing: -0.01em; color: var(--ink); box-shadow: 0 6px 20px rgba(17, 17, 17, .08); }
.hero-h1::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--grad); vertical-align: 1px; }
@media (max-width: 860px) { .hero-h1 { top: 24px; left: 24px; right: 70px; width: max-content; max-width: calc(100% - 100px); font-size: .85rem; padding: 8px 14px; } }
