:root {
  --primary: #2563eb;
  --primary-deep: #1d4ed8;
  --secondary: #14b8a6;
  --accent: #f59e0b;
  --ink: #0b244a;
  --chalk: #e6f0ff;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #102447;
  --muted: #5d6f8c;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Manrope", "Segoe UI", sans-serif;
  --line: #dbeafe;
  --line-soft: #e2e8f0;
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 20px 48px rgba(37, 99, 235, 0.26);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  --page-bg: url("./assets/brochure-bg.jpg");
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.58;
  min-height: 100vh;
  background:
    linear-gradient(rgba(232, 242, 255, .74), rgba(246, 250, 255, .82)),
    var(--page-bg);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.home-page { --page-bg: url("./assets/bg-home.jpeg"); }
.how-page { --page-bg: url("./assets/bg-how.jpeg"); }
.pricing-page { --page-bg: url("./assets/bg-pricing.jpeg"); }
.privacy-page { --page-bg: url("./assets/bg-privacy.jpeg"); }
.support-page { --page-bg: url("./assets/bg-support.jpeg"); }

body::selection {
  background: rgba(37, 99, 235, .2);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,.42), rgba(255,255,255,.42)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%2394a3b8' stroke-width='2' opacity='0.45'%3E%3Crect x='18' y='28' width='64' height='86' rx='8'/%3E%3Cpath d='M28 46h44M28 60h44M28 74h34'/%3E%3Cpath d='M126 34h72v48h-72z'/%3E%3Cpath d='M126 88h72v10h-72z'/%3E%3Ccircle cx='49' cy='172' r='20'/%3E%3Cpath d='M43 172h12M49 166v12'/%3E%3Cpath d='M122 160h76M122 176h76'/%3E%3Cpath d='M132 146l10 26 10-16 10 20 10-30 10 20'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 260px 260px;
  background-repeat: no-repeat, repeat;
}

body::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  opacity: 0.75;
  background:
    linear-gradient(0deg, rgba(134, 239, 172, .42), rgba(134, 239, 172, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(29, 78, 216, .08) 0 48px,
      rgba(20, 184, 166, .08) 48px 96px,
      rgba(245, 158, 11, .08) 96px 144px
    );
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
img[loading="lazy"] { content-visibility: auto; }

.container {
  width: min(var(--max), 93vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11, 36, 74, .95), rgba(29, 78, 216, .88));
  backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid rgba(148, 197, 255, 0.45);
  box-shadow: 0 10px 24px rgba(11, 36, 74, .18);
}

.home-live-banner-wrap {
  border-top: 1px solid rgba(191, 219, 254, .25);
  background: linear-gradient(90deg, rgba(12, 74, 110, .35), rgba(30, 64, 175, .22));
}

.home-live-banner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #eaf2ff;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .005em;
  padding: 6px 0;
  white-space: nowrap;
  overflow-x: auto;
}

.home-live-banner strong {
  color: #ffffff;
  font-size: .76rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: livePulse 1.5s ease-out infinite;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, .6);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .2);
  padding: 4px;
}

.logo-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0ea5e9, #1d4ed8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.logo-badge::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 6px;
  border-radius: 4px;
  background: #fbbf24;
  top: -4px;
  left: 15px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.005em;
  color: #fff;
  line-height: 1.2;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.2;
}

.nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
  width: 100%;
  overflow: visible;
  padding-bottom: 0;
}

.nav a {
  font-weight: 650;
  color: #dbeafe;
  padding: 8px 8px;
  text-align: center;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  border-radius: 12px;
  transition: background-color .16s ease, color .16s ease;
  white-space: normal;
}

.nav a:hover {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

.header-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  align-items: stretch;
}

.header-actions .btn {
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}


.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 14px;
  min-height: 42px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(140deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: #eef4ff;
  color: #1e3a8a;
  border-color: #bfd6ff;
  box-shadow: 0 8px 20px rgba(30, 58, 138, .08);
}

.site-header .btn-secondary,
.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(191, 219, 254, .4);
  box-shadow: none;
}

.site-header .btn {
  font-size: .84rem;
}

main { padding: 34px 0 56px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 760;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 4px 10px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  line-height: 1.14;
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.72rem); }
h2 { font-size: clamp(1.24rem, 3.2vw, 2rem); }
h3 { font-size: clamp(1.03rem, 2.2vw, 1.18rem); }

p {
  margin: 0 0 12px;
  line-height: 1.7;
}
.muted { color: var(--muted); }
.small { font-size: .84rem; color: #64748b; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.actions .btn {
  min-width: 198px;
}

.section { margin-top: clamp(20px, 2.4vw, 30px); }

.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.hero {
  position: relative;
  display: grid;
  gap: 18px;
  border: 1px solid #c7dcff;
  border-radius: var(--radius-xl);
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(520px 240px at 0% 0%, rgba(14, 165, 233, .26), transparent 66%),
    radial-gradient(420px 220px at 100% 10%, rgba(20, 184, 166, .16), transparent 64%),
    linear-gradient(145deg, #ffffff 0%, #eef6ff 68%, #f1f5f9 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23bfdbfe' stroke-width='2' opacity='0.55'%3E%3Cpath d='M16 56h36l6 10h30l6-10h36v50H16z'/%3E%3Cpath d='M20 52l18-24 18 24'/%3E%3Ccircle cx='80' cy='116' r='12'/%3E%3Cpath d='M74 116h12M80 110v12'/%3E%3Cpath d='M120 24l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, auto, 260px 260px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  box-shadow: var(--shadow-strong);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgba(30, 64, 175, .12) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0 94%, rgba(148,163,184,.14) 94% 95%, transparent 95% 100%);
  background-size: 14px 14px, 48px 100%;
  opacity: .3;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -28px;
  height: 82px;
  border-radius: 48% 52% 0 0 / 60% 60% 0 0;
  background: linear-gradient(180deg, rgba(134, 239, 172, .28), rgba(14, 116, 144, .2));
  z-index: -1;
}

.hero > * { position: relative; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges span {
  background: #dbeafe;
  color: #0b3f9e;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 650;
}

.school-showcase {
  display: grid;
  gap: 12px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  border: 1px solid #c7dcff;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(239,246,255,.6));
}

.hero-mosi-card {
  grid-column: 1 / -1;
  position: relative;
  border: 1px solid #9cc0ff;
  border-radius: 20px;
  background:
    radial-gradient(120px 70px at 18% 14%, rgba(255,255,255,.65), transparent 76%),
    linear-gradient(165deg, #dbeafe 0%, #eff6ff 44%, #ccfbf1 100%);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 200px;
}

.hero-mosi-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 12px 22px rgba(15, 23, 42, .22));
}

.mosi-inline-bubble {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 12px;
  border: 1px dashed #60a5fa;
  background: rgba(255, 255, 255, .9);
  color: #1e3a8a;
  font-size: .82rem;
  padding: 8px 10px;
}

.hero-poster-siza,
.hero-poster-modisa {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #b8d3ff;
  box-shadow: var(--shadow-soft);
  min-height: 220px;
  background: #fff;
  position: relative;
}

.poster-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: .72rem;
  font-weight: 780;
  padding: 5px 10px;
}

.hero-poster-siza img,
.hero-poster-modisa img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  object-position: center top;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
  padding-top: 34px;
  transition: transform .25s ease;
}

.hero-poster-siza:hover img,
.hero-poster-modisa:hover img {
  transform: scale(1.03);
}

.hero-copy .btn-secondary {
  background: #eef4ff;
  color: #1e3a8a;
  border-color: #9ec5ff;
  box-shadow: 0 8px 20px rgba(30, 58, 138, .12);
  font-weight: 760;
}

.hero-copy .btn-secondary:hover {
  background: #e0edff;
}

.hero-visual-notes {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-visual-notes span {
  border-radius: 999px;
  background: #eaf3ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 10px;
}

.scene-legend {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.scene-legend span {
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: rgba(239, 246, 255, .9);
  color: #1e3a8a;
  font-size: .76rem;
  font-weight: 700;
  padding: 8px 10px;
}

.edu-ribbon {
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, .8), transparent 50%),
    linear-gradient(140deg, #1e3a8a, #2563eb 55%, #0891b2);
  color: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.edu-ribbon-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px;
}

.edu-ribbon h3 {
  margin: 0;
  color: #fff;
}

.edu-ribbon p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
}

.icon-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.icon-pill {
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(219, 234, 254, .42);
  padding: 6px 10px;
  font-size: .76rem;
  font-weight: 700;
  color: #e2e8f0;
}

.mosi-panel,
.illustration-panel {
  border: 1px solid #bfdbfe;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #e0f2fe);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.mosi-panel {
  padding: 14px;
}

.mosi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.mosi-chip {
  border-radius: 999px;
  background: #dbeafe;
  padding: 5px 10px;
  font-size: .76rem;
  color: #1e3a8a;
  font-weight: 700;
}

.mosi-photo {
  border-radius: 18px;
  min-height: 240px;
  background:
    radial-gradient(180px 90px at 20% 20%, rgba(255,255,255,.7), transparent 80%),
    linear-gradient(180deg, #dbeafe, #eff6ff 40%, #e0f2fe 100%);
  display: grid;
  place-items: center;
  padding: 12px;
}

.mosi-photo img {
  width: min(280px, 100%);
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(15, 23, 42, .18));
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.wow-card {
  border-radius: 18px;
  border: 1px solid #bfdbfe;
  background:
    radial-gradient(220px 100px at 100% 0%, rgba(59, 130, 246, .2), transparent 68%),
    linear-gradient(165deg, #ffffff, #f0f9ff);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.wow-card h3 {
  margin: 0 0 8px;
  color: #1e3a8a;
}

.wow-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.app-shot {
  border-radius: 18px;
  border: 1px solid #c7dcff;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.app-shot::before {
  content: attr(data-label);
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 800;
  color: #1e3a8a;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #bfdbfe;
  z-index: 2;
}

.app-shot img {
  width: 100%;
  height: clamp(340px, 48vw, 520px);
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #f8fbff, #eff6ff);
  padding: 44px 10px 12px;
}

.pricing-page .shot-grid .app-shot img {
  height: 420px;
  object-position: top center;
  padding: 42px 16px 18px;
  background: linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
}

.shot-note {
  margin: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid #dbeafe;
  background: #fff;
  color: #475569;
  font-size: .83rem;
  line-height: 1.45;
}

.journey-premium {
  border: 1px solid #c7dcff;
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(280px 120px at 0% 0%, rgba(37,99,235,.14), transparent 72%),
    linear-gradient(160deg, rgba(255,255,255,.94), rgba(239,246,255,.9));
  box-shadow: var(--shadow-soft);
}

.journey-premium .section-title h2 {
  font-size: clamp(1.22rem, 3vw, 1.72rem);
  letter-spacing: -0.01em;
  color: #0f2c63;
}

.journey-intro {
  margin: 8px 0 2px;
  color: #475569;
  font-size: .96rem;
  max-width: 72ch;
}

.journey-premium .shot-grid {
  margin-top: 14px;
  gap: 14px;
}

.journey-premium .app-shot {
  border-radius: 20px;
  border-color: #b8d2ff;
  box-shadow: 0 14px 26px rgba(30, 64, 175, .12);
}

.journey-premium .app-shot::before {
  left: 12px;
  top: 12px;
  padding: 7px 12px;
  font-size: .74rem;
  font-weight: 800;
  color: #1e40af;
  background: rgba(255,255,255,.96);
}

.journey-premium .app-shot img {
  height: clamp(380px, 52vw, 580px);
  padding: 52px 12px 16px;
  background: linear-gradient(180deg, #f8fbff, #eaf3ff);
}

.illustration-panel {
  padding: 14px;
}

.school-scene {
  border-radius: 18px;
  min-height: 240px;
  background:
    radial-gradient(140px 70px at 15% 16%, rgba(255,255,255,.7), transparent 75%),
    radial-gradient(120px 60px at 80% 22%, rgba(255,255,255,.6), transparent 72%),
    linear-gradient(180deg, #60a5fa 0 44%, #bfdbfe 44% 55%, #86efac 55% 100%);
  position: relative;
  overflow: hidden;
}

.school-scene::before,
.school-scene::after {
  content: "";
  position: absolute;
  bottom: 0;
}

.school-scene::before {
  left: 10%;
  width: 92px;
  height: 108px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #1d4ed8, #1e3a8a);
  box-shadow: 128px 0 0 #2563eb, 256px 0 0 #1d4ed8;
}

.school-scene::after {
  right: 10px;
  width: 180px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .17);
}

.school-scene .book {
  position: absolute;
  bottom: 18px;
  width: 34px;
  height: 10px;
  border-radius: 5px;
  background: #f59e0b;
}

.school-scene .book.b2 { left: 22px; background: #14b8a6; }
.school-scene .book.b3 { left: 64px; background: #2563eb; }

.school-scene .scene-pill {
  position: absolute;
  left: 14px;
  top: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: .76rem;
  font-weight: 800;
  padding: 5px 10px;
}

.school-scene .scene-board {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: min(64%, 260px);
}

.school-scene .scene-board span {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: .7rem;
  font-weight: 750;
  background: rgba(255,255,255,.9);
  border: 1px solid #bfdbfe;
  color: #1e293b;
}

.school-scene .scene-mosi {
  position: absolute;
  right: 16px;
  bottom: 6px;
  width: 120px;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, .2));
}

.poster-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trust-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.trust-item {
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #eff6ff);
  color: #1e3a8a;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 12px;
  text-align: center;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.role-card {
  border: 1px solid #c7dcff;
  border-radius: 16px;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(59,130,246,.14), transparent 72%),
    linear-gradient(160deg, #fff, #f5f9ff);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.role-card h3 {
  margin-bottom: 8px;
  color: #173a86;
}

.role-card p {
  margin-bottom: 8px;
  color: #475569;
}

.role-outcome {
  border-top: 1px solid #dbeafe;
  padding-top: 8px;
  margin-top: 8px;
  font-weight: 650;
  color: #1d4ed8;
}

.poster {
  border: 1px solid #c7dcff;
  border-radius: 16px;
  background:
    radial-gradient(220px 90px at 100% 0%, rgba(59,130,246,.16), transparent 70%),
    linear-gradient(160deg, #fff, #f0f9ff);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.poster h4 {
  margin: 0 0 8px;
  color: #1e3a8a;
  font-size: .98rem;
}

.poster p {
  margin: 0;
  color: #475569;
  font-size: .88rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 6px rgba(20, 184, 166, .16);
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.13);
  border-color: #bfdbfe;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -50px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .15), transparent 70%);
}

.feature-card::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  left: -20px;
  bottom: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, .2), transparent 72%);
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #1e40af);
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(37, 99, 235, .24);
  margin-bottom: 8px;
}

.value-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.value-check::before {
  content: "\2713";
  color: #047857;
  font-weight: 800;
}

ul, ol { margin: 0; padding-left: 18px; }
li { margin: 5px 0; }

.mosi-bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px dashed #7dd3fc;
  background: linear-gradient(120deg, #eff6ff, #ecfeff);
  border-radius: var(--radius-md);
  padding: 12px;
  color: #1e3a8a;
  font-size: .95rem;
  box-shadow: var(--shadow-soft);
}

.mosi-bubble strong {
  color: #0f3a8c;
}

.mosi-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--secondary), #0f766e);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(20, 184, 166, .32);
}

.strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.strip-item {
  border: 1px solid #dbeafe;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 620;
  color: #1e3a8a;
}

.gallery-card {
  border-radius: 18px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(155deg, #fff, #f0f9ff);
}

.gallery-card .visual {
  min-height: 170px;
  border-radius: 14px;
  border: 1px dashed #93c5fd;
  background:
    linear-gradient(180deg, #e0f2fe, #f8fafc 70%),
    repeating-linear-gradient(45deg, rgba(148,163,184,.08) 0 7px, rgba(255,255,255,.08) 7px 14px);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  color: #334155;
}

.brochure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.brochure-card {
  border-radius: 18px;
  border: 1px solid #bfdbfe;
  background:
    radial-gradient(180px 90px at 0% 0%, rgba(37,99,235,.16), transparent 72%),
    linear-gradient(165deg, #ffffff, #f0f9ff);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.brochure-card .head {
  padding: 14px 14px 10px;
}

.brochure-card .head h4 {
  margin: 0 0 6px;
  color: #1e3a8a;
}

.brochure-card .head p {
  margin: 0;
  color: #475569;
  font-size: .88rem;
}

.brochure-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-top: 1px solid #dbeafe;
}

.brochure-card.guide img {
  object-fit: contain;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
}

.school-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.school-art {
  border-radius: 18px;
  min-height: 240px;
  border: 1px solid #bfdbfe;
  background:
    linear-gradient(150deg, rgba(9, 35, 76, .86), rgba(29, 78, 216, .45)),
    url("./assets/siza-shot-1.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.school-art:nth-child(2) {
  background:
    linear-gradient(150deg, rgba(11, 36, 74, .88), rgba(14, 116, 144, .5)),
    url("./assets/modisa-shot-1.jpg");
  background-size: cover;
  background-position: center;
}

.school-art:nth-child(3) {
  background:
    linear-gradient(150deg, rgba(49, 46, 129, .82), rgba(30, 64, 175, .48)),
    url("./assets/mosi-whatsapp-image-2026-03-03-at-17.51.29.png");
  background-size: cover;
  background-position: center;
}

.school-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .62));
}

.school-art::after {
  content: none;
}

.school-art > * {
  position: relative;
  z-index: 2;
}

.school-art .sticker {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(125, 211, 252, .9);
  color: #1d4ed8;
  font-weight: 750;
  padding: 5px 10px;
  font-size: .76rem;
}

.school-art .chip-row {
  position: absolute;
  right: 12px;
  top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.school-art .chip-row span {
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid #dbeafe;
  color: #1e293b;
  font-size: .7rem;
  padding: 4px 8px;
  font-weight: 700;
}

.school-art-copy {
  position: absolute;
  left: 14px;
  right: 120px;
  bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(191, 219, 254, .45);
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(3px);
  padding: 10px;
}

.school-art-copy h4 {
  margin: 0 0 6px;
  color: #f8fafc;
  font-size: .9rem;
}

.school-art-copy p {
  margin: 0;
  color: rgba(241, 245, 249, .92);
  font-size: .78rem;
  line-height: 1.35;
}

.school-art .mascot-mini {
  position: absolute;
  width: 96px;
  right: 14px;
  bottom: 12px;
  filter: drop-shadow(0 8px 14px rgba(15,23,42,.2));
}

.edu-divider {
  margin-top: 18px;
  border-radius: 999px;
  height: 12px;
  background:
    radial-gradient(circle at 20% 50%, rgba(20, 184, 166, .45), transparent 22%),
    radial-gradient(circle at 60% 50%, rgba(37, 99, 235, .45), transparent 22%),
    radial-gradient(circle at 90% 50%, rgba(245, 158, 11, .42), transparent 22%),
    linear-gradient(90deg, rgba(148,163,184,.22), rgba(226,232,240,.52));
}

.chalk-card {
  border-radius: 16px;
  border: 1px solid rgba(134, 239, 172, .46);
  background:
    linear-gradient(145deg, rgba(11, 36, 74, .95), rgba(15, 118, 110, .94)),
    linear-gradient(0deg, rgba(255,255,255,.08), rgba(255,255,255,.08));
  color: #e2fef9;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.chalk-card h3 {
  color: #f8fafc;
}

.chalk-card .value-check::before {
  color: #86efac;
}

.cta-band {
  margin-top: 28px;
  background:
    radial-gradient(420px 240px at -5% 0%, rgba(255,255,255,.2), transparent 70%),
    linear-gradient(140deg, #1e3a8a, #2563eb 58%, #0891b2 100%);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-strong);
}

.cta-band h2 {
  margin-bottom: 2px;
}

.cta-band p {
  color: rgba(239, 246, 255, .98);
}

.cta-band .actions {
  margin-top: 2px;
  gap: 10px;
}

.cta-band .actions .btn {
  min-width: 220px;
}

.mosaic-band {
  margin-top: 20px;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(37,99,235,.08) 0 10px,
      rgba(20,184,166,.08) 10px 20px,
      rgba(245,158,11,.08) 20px 30px
    ),
    #ffffff;
}

.mosaic-band h3 {
  margin-bottom: 8px;
}

.proof-band {
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(37,99,235,.14), transparent 72%),
    linear-gradient(160deg, #ffffff, #eff6ff);
  box-shadow: var(--shadow-soft);
}

.proof-band h3 {
  margin-bottom: 10px;
  color: #173a86;
}

.proof-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.proof-points span {
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: rgba(255,255,255,.92);
  color: #1e3a8a;
  font-size: .86rem;
  font-weight: 700;
  padding: 9px 11px;
}

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-nav a {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: .8rem;
  font-weight: 700;
  padding: 7px 11px;
}

.compact-accordion {
  display: grid;
  gap: 10px;
  align-items: start;
}

.compact-accordion .fold-card {
  align-self: start;
}

.fold-card {
  border: 1px solid #c7dcff;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, #f3f8ff);
  box-shadow: var(--shadow-soft);
  padding: 0;
  overflow: hidden;
}

.fold-card summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  padding-right: 44px;
  font-weight: 760;
  color: #173a86;
  background: rgba(239, 246, 255, .8);
  position: relative;
}

.fold-card summary::-webkit-details-marker {
  display: none;
}

.fold-card summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid #bfdbfe;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.fold-card[open] summary::after {
  content: "-";
}

/* Premium editorial hierarchy per page */
.home-page h1 {
  font-size: clamp(1.92rem, 4.2vw, 2.92rem);
}

.how-page h1 {
  font-size: clamp(1.78rem, 3.8vw, 2.62rem);
}

.pricing-page h1,
.support-page h1,
.privacy-page h1 {
  font-size: clamp(1.68rem, 3.5vw, 2.42rem);
}

.fold-card > *:not(summary) {
  margin: 0;
  padding: 10px 14px 14px;
}

/* Keep list markers/text comfortably inside fold cards */
.fold-card ol,
.fold-card ul {
  width: min(100%, 68ch);
  margin: 0;
  padding: 10px 28px 16px 40px;
}

.fold-card ol {
  list-style-position: inside;
}

.fold-card ul {
  list-style-position: outside;
}

.fold-card li {
  margin: 7px 0;
  padding-left: 2px;
}

.fold-card[open] > *:not(summary) {
  animation: foldReveal .22s ease-out;
}

@keyframes foldReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.policy h2,
.policy h3 { margin-top: 18px; }

.faq-item {
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  background: #fff;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: #60a5fa;
  outline: 3px solid rgba(59,130,246,.18);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.tier {
  border: 1px solid #bfdbfe;
  background: linear-gradient(150deg, #fff, #eff6ff);
}

.tier .price {
  font-size: 2rem;
  font-weight: 800;
  color: #1e3a8a;
}

.site-footer {
  border-top: 1px solid #dbeafe;
  padding: 24px 0 36px;
  color: #475569;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(239,246,255,.92));
  backdrop-filter: blur(6px);
}

.footer-grid {
  display: grid;
  gap: 10px;
  font-size: .92rem;
  align-items: center;
}

.site-footer a {
  color: #1d4ed8;
  font-weight: 650;
}

.site-footer a:hover {
  text-decoration: underline;
}

.fade-up {
  animation: fadeUp .6s ease both;
}

.fade-up.delay-1 { animation-delay: .12s; }
.fade-up.delay-2 { animation-delay: .22s; }
.fade-up.delay-3 { animation-delay: .32s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@media (min-width: 860px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 0;
    flex-wrap: nowrap;
  }

  .logo-wrap {
    justify-self: start;
  }

  .nav {
    display: flex;
    flex: 0 1 auto;
    width: auto;
    order: 0;
    overflow: visible;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
    padding-bottom: 0;
  }

  .header-actions {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    justify-self: end;
    gap: 8px;
  }

  .header-actions .btn {
    min-height: 38px;
    font-size: 0.84rem;
  }

  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }

  .hero {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    padding: 34px;
  }

  .poster-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey-premium .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brochure-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .edu-ribbon-inner {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
  }

  .proof-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }

  .footer-grid .small {
    grid-column: 1 / -1;
  }

  /* Reduce visual emptiness in How it works role workflow cards */
  .how-page #roles.compact-accordion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }

  .how-page #roles .fold-card {
    align-self: start;
  }

  .how-page #roles .fold-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    background-attachment: scroll;
  }

  main {
    padding-top: 12px;
  }

  .section {
    margin-top: 14px;
  }

  .header-inner {
    gap: 7px;
    padding: 8px 0 9px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .logo-wrap {
    gap: 8px;
  }

  .hero {
    padding: 15px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .hero-mosi-card img {
    height: 200px;
  }

  .hero-poster-siza,
  .hero-poster-modisa {
    min-height: 200px;
  }

  .hero-poster-siza img,
  .hero-poster-modisa img {
    min-height: 200px;
  }

  .poster-chip {
    font-size: .66rem;
    padding: 4px 8px;
  }

  .hero-visual-notes {
    gap: 6px;
  }

  .hero-visual-notes span {
    font-size: .68rem;
    padding: 4px 8px;
  }

  .school-scene {
    min-height: 220px;
  }

  .school-scene .scene-board {
    width: min(70%, 210px);
    top: 10px;
    right: 10px;
    gap: 5px;
  }

  .school-scene .scene-board span {
    font-size: .66rem;
    padding: 4px 8px;
  }

  .school-scene .scene-mosi {
    width: 96px;
    right: 10px;
    bottom: 8px;
  }

  .school-art {
    min-height: 220px;
  }

  .school-art .mascot-mini {
    width: 76px;
    right: 12px;
  }

  .school-art-copy {
    right: 90px;
    padding: 8px;
  }

  .school-art-copy h4 {
    font-size: .8rem;
  }

  .school-art-copy p {
    font-size: .72rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.48rem, 7.2vw, 1.86rem);
    margin-bottom: 10px;
  }

  .hero-copy .muted {
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .hero-badges {
    gap: 6px;
  }

  .hero-badges span {
    padding: 5px 9px;
    font-size: .72rem;
  }

  .actions {
    gap: 8px;
  }

  .actions .btn {
    min-height: 40px;
  }

  .header-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding: 8px 10px;
  }


  .brand {
    font-size: 0.9rem;
  }

  .brand-sub {
    font-size: 0.7rem;
  }

  .nav a {
    padding: 6px 7px;
    font-size: 0.78rem;
    min-height: 34px;
  }

  .nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-live-banner {
    min-height: 30px;
    font-size: .73rem;
    gap: 7px;
    padding: 5px 0;
  }

  .home-live-banner strong {
    font-size: .71rem;
  }

  .home-rich-mobile {
    display: none !important;
  }

  .hero,
  .card,
  .cta-band,
  .mosi-panel,
  .illustration-panel {
    border-radius: 18px;
  }

  .journey-premium {
    padding: 12px;
  }

  .journey-intro {
    font-size: .9rem;
    margin-top: 6px;
  }

  .journey-premium .app-shot img {
    height: 430px;
    padding-top: 46px;
  }

  .shot-note {
    font-size: .8rem;
    padding: 9px 10px 11px;
  }

  .scene-legend {
    grid-template-columns: 1fr;
  }

  .cta-band .actions .btn {
    min-width: 100%;
  }

  /* Global mobile rule: all Real app journey rows scroll horizontally */
  .journey-premium .shot-grid {
    display: flex !important;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .journey-premium .shot-grid .app-shot {
    flex: 0 0 84vw;
    max-width: 84vw;
    scroll-snap-align: start;
  }

  .how-page .poster-wall {
    gap: 10px;
  }

  .how-page .school-gallery,
  .how-page .journey-premium .shot-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .how-page .school-gallery .school-art,
  .how-page .journey-premium .app-shot {
    flex: 0 0 84vw;
    max-width: 84vw;
    scroll-snap-align: start;
  }

  .how-page .journey-premium {
    padding: 11px;
  }

  .how-page .journey-premium .app-shot img {
    height: 430px;
    padding-top: 44px;
  }

  .how-page .school-art {
    min-height: 200px;
  }

  .how-page .school-art .mascot-mini {
    width: 68px;
  }

  .how-page .quick-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .how-page .quick-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .pricing-page .school-gallery,
  .pricing-page .shot-grid,
  .support-page .school-gallery,
  .support-page .shot-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-page .school-gallery .school-art,
  .pricing-page .shot-grid .app-shot,
  .support-page .school-gallery .school-art,
  .support-page .shot-grid .app-shot {
    flex: 0 0 84vw;
    max-width: 84vw;
    scroll-snap-align: start;
  }

  .pricing-page .shot-grid .app-shot img {
    height: 340px;
    padding: 40px 12px 14px;
  }

  .pricing-page .quick-nav,
  .support-page .quick-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .pricing-page .quick-nav a,
  .support-page .quick-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .pricing-page .compact-accordion,
  .support-page .compact-accordion {
    gap: 8px;
  }

  .pricing-page .fold-card summary,
  .support-page .fold-card summary {
    padding: 11px 12px;
    font-size: .92rem;
  }

  .pricing-page .fold-card > *:not(summary),
  .support-page .fold-card > *:not(summary) {
    padding: 9px 12px 12px;
  }

  .pricing-page .fold-card > ul,
  .pricing-page .fold-card > ol,
  .support-page .fold-card > ul,
  .support-page .fold-card > ol {
    padding: 10px 24px 14px 34px;
  }

  .home-page .trust-strip,
  .home-page .school-gallery,
  .home-page .grid-3,
  .home-page .journey-premium .shot-grid,
  .home-page .brochure-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-page .trust-strip .trust-item,
  .home-page .school-gallery .school-art,
  .home-page .grid-3 .card,
  .home-page .journey-premium .app-shot,
  .home-page .brochure-grid .brochure-card {
    flex: 0 0 84vw;
    max-width: 84vw;
    scroll-snap-align: start;
  }

  .home-page .quick-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .home-page .quick-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .home-page .compact-accordion {
    gap: 8px;
  }

  .home-page .fold-card summary {
    padding: 11px 12px;
    font-size: .92rem;
  }

  .home-page .fold-card > *:not(summary) {
    padding: 9px 12px 12px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 6px;
    padding: 7px 0 8px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand {
    font-size: 0.86rem;
  }

  .brand-sub {
    font-size: 0.66rem;
  }

  .nav {
    gap: 5px;
  }

  .nav a {
    font-size: 0.75rem;
    min-height: 32px;
    padding: 6px;
  }

  .header-actions .btn {
    min-height: 36px;
    font-size: 0.79rem;
  }

  .hero {
    padding: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(1.34rem, 7vw, 1.62rem);
  }
}

/* Public home v2: compact, operational and deliberately scoped. */
.home-v2 {
  --v2-navy: #102a43;
  --v2-blue: #1769aa;
  --v2-teal: #087f8c;
  --v2-green: #2f855a;
  --v2-red: #c23b4a;
  --v2-border: #d9e2ec;
  --v2-soft: #f4f7fa;
  --v2-copy: #334e68;
  background: #ffffff;
  color: var(--v2-navy);
  font-size: 16px;
  line-height: 1.55;
}

.home-v2::before,
.home-v2::after {
  display: none;
}

.home-v2 .v2-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.home-v2 .v2-actions .v2-button {
  min-width: 0;
}

.v2-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, .96);
  border-top: 3px solid var(--v2-teal);
  border-bottom: 1px solid var(--v2-border);
  backdrop-filter: blur(12px);
}

.v2-header-inner {
  height: 69px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 215px;
}

.v2-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.v2-brand span {
  display: grid;
  line-height: 1.15;
}

.v2-brand strong {
  font-family: var(--font-display);
  font-size: .98rem;
  letter-spacing: 0;
}

.v2-brand small {
  margin-top: 3px;
  color: #627d98;
  font-size: .68rem;
  font-weight: 600;
}

.v2-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.v2-nav a {
  position: relative;
  padding: 25px 0 22px;
  color: #486581;
  font-size: .87rem;
  font-weight: 650;
}

.v2-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--v2-blue);
  transform: scaleX(0);
  transition: transform .18s ease;
}

.v2-nav a:hover,
.v2-nav a.active {
  color: var(--v2-navy);
}

.v2-nav a:hover::after,
.v2-nav a.active::after {
  transform: scaleX(1);
}

.v2-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--v2-navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}

.v2-main {
  padding: 0;
}

.v2-hero {
  position: relative;
  min-height: min(650px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #12385b;
}

.v2-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 35%;
}

.v2-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 29, 50, .94) 0%, rgba(10, 42, 70, .84) 43%, rgba(10, 42, 70, .24) 72%, rgba(10, 42, 70, .06) 100%);
}

.v2-hero-content {
  position: relative;
  padding-block: 74px 90px;
}

.v2-hero-content > * {
  max-width: 610px;
}

.v2-kicker {
  margin: 0 0 12px;
  color: #a7f3d0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v2-kicker.dark {
  color: var(--v2-teal);
}

.home-v2 .v2-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 3.25rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.v2-lead {
  margin: 20px 0 0;
  color: #e3edf5;
  font-size: 1.14rem;
  line-height: 1.6;
}

.v2-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.v2-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .87rem;
  font-weight: 750;
}

.v2-button.primary {
  background: #fff;
  color: var(--v2-navy);
}

.v2-button.secondary {
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.v2-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: #d9e8f3;
  list-style: none;
  font-size: .8rem;
  font-weight: 600;
}

.v2-proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: #5eead4;
  vertical-align: 1px;
}

.v2-band {
  border-bottom: 1px solid var(--v2-border);
  background: #f8fafc;
}

.v2-band-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.v2-band-grid div {
  display: grid;
  gap: 3px;
}

.v2-band-grid strong {
  font-size: 1rem;
}

.v2-band-grid span {
  color: #627d98;
  font-size: .85rem;
}

.v2-band-grid > a {
  color: var(--v2-blue);
  font-size: .84rem;
  font-weight: 750;
}

.v2-section {
  padding-block: 76px;
}

.v2-section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.v2-section-heading.compact {
  margin-bottom: 28px;
}

.home-v2 .v2-section-heading h2,
.home-v2 .v2-rollout h2 {
  margin: 0;
  color: var(--v2-navy);
  font-size: 2rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.v2-section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--v2-copy);
  font-size: .96rem;
  line-height: 1.65;
}

.v2-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.v2-product {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--v2-border);
  border-radius: 7px;
  background: #fff;
}

.v2-product.parent { border-top: 4px solid var(--v2-teal); }
.v2-product.teacher { border-top: 4px solid var(--v2-red); }

.v2-product-copy {
  padding: 30px 0 30px 30px;
}

.v2-product-label {
  color: #627d98;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-v2 .v2-product h3 {
  margin: 7px 0 12px;
  font-size: 1.46rem;
  letter-spacing: 0;
}

.v2-product p,
.v2-product li {
  color: var(--v2-copy);
  font-size: .86rem;
  line-height: 1.6;
}

.v2-product ul {
  display: grid;
  gap: 7px;
  margin: 20px 0 24px;
  padding-left: 18px;
}

.v2-product-copy > a:not(.play-badge-link) {
  color: var(--v2-blue);
  font-size: .82rem;
  font-weight: 750;
}

.play-badge-link {
  display: inline-flex;
  width: 158px;
  min-height: 47px;
  align-items: center;
}

.play-badge-link img {
  display: block;
  width: 100%;
  height: auto;
}

.v2-product > img {
  align-self: end;
  width: 185px;
  height: 365px;
  object-fit: contain;
  object-position: bottom center;
  background: linear-gradient(180deg, #f7fbff 0%, #e6f0f7 100%);
  border: 8px solid #152536;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: -12px 12px 28px rgba(16, 42, 67, .16);
}

.v2-workflow-wrap {
  border-block: 1px solid var(--v2-border);
  background: var(--v2-soft);
}

.v2-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid #bcccdc;
}

.v2-workflow li {
  min-height: 160px;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  padding: 24px 20px;
  border-right: 1px solid #bcccdc;
}

.v2-workflow li:last-child { border-right: 0; }

.v2-workflow li > span {
  color: var(--v2-teal);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
}

.v2-workflow strong {
  display: block;
  margin-bottom: 8px;
  font-size: .9rem;
}

.v2-workflow p {
  margin: 0;
  color: var(--v2-copy);
  font-size: .8rem;
  line-height: 1.55;
}

.v2-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.v2-screens figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--v2-border);
  border-radius: 6px;
  background: #fff;
}

.v2-screens img {
  width: 100%;
  height: 380px;
  padding: 14px;
  object-fit: contain;
  object-position: top center;
  background:
    linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
}

.v2-screens figcaption {
  display: grid;
  gap: 3px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--v2-border);
}

.v2-screens figcaption strong { font-size: .87rem; }
.v2-screens figcaption span { color: #627d98; font-size: .77rem; }

.v2-rollout {
  padding-block: 64px;
  background: var(--v2-navy);
}

.v2-rollout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
}

.home-v2 .v2-rollout h2 { color: #fff; }

.v2-rollout p:not(.v2-kicker) {
  max-width: 680px;
  margin: 14px 0 0;
  color: #c9d8e6;
  font-size: .92rem;
}

.v2-rollout-actions {
  min-width: 220px;
  display: grid;
  gap: 8px;
}

.v2-button.light {
  margin-bottom: 5px;
  background: #fff;
  color: var(--v2-navy);
}

.v2-rollout-actions span {
  color: #c9d8e6;
  font-size: .76rem;
  text-align: center;
}

.v2-footer {
  padding-block: 28px;
  border-top: 1px solid #243b53;
  background: #0b1f33;
  color: #c9d8e6;
}

.v2-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 30px;
}

.v2-footer-grid > div {
  display: grid;
  gap: 2px;
}

.v2-footer strong { color: #fff; font-size: .86rem; }
.v2-footer span,
.v2-footer p,
.v2-footer a { font-size: .72rem; }
.v2-footer p { grid-column: 1 / -1; margin: 0; color: #829ab1; }
.v2-footer nav { display: flex; gap: 20px; }
.v2-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .v2-header { height: auto; }
  .v2-header-inner {
    height: auto;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding-block: 9px;
  }
  .v2-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
  }
  .v2-nav a { padding: 7px 0 8px; white-space: nowrap; }
  .v2-nav a::after { bottom: 2px; }
  .v2-hero { min-height: 610px; }
  .v2-products { grid-template-columns: 1fr; }
  .v2-product { min-height: 390px; }
  .v2-workflow { grid-template-columns: repeat(2, 1fr); }
  .v2-workflow li:nth-child(2) { border-right: 0; }
  .v2-workflow li:nth-child(-n+2) { border-bottom: 1px solid #bcccdc; }
}

@media (max-width: 620px) {
  .home-v2 .v2-container {
    width: calc(100% - 28px);
    min-width: 0;
  }
  .v2-header-action { display: none; }
  .v2-header-inner { grid-template-columns: 1fr; }
  .v2-brand { min-width: 0; }
  .v2-brand img { width: 38px; height: 38px; }
  .v2-brand strong { font-size: .88rem; }
  .v2-brand small { font-size: .62rem; }
  .v2-nav { gap: 18px; }
  .v2-nav a { font-size: .76rem; }
  .v2-hero {
    min-height: 560px;
    align-items: flex-end;
  }
  .v2-hero-image { object-position: 62% center; }
  .v2-hero-shade {
    background: linear-gradient(180deg, rgba(7,29,50,.10) 0%, rgba(7,29,50,.54) 38%, rgba(7,29,50,.96) 70%);
  }
  .v2-hero-content { padding-block: 190px 38px; }
  .v2-hero-content > * { max-width: 100%; }
  .home-v2 .v2-hero h1 { font-size: 2.2rem; }
  .v2-lead { font-size: .94rem; line-height: 1.55; }
  .v2-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .v2-actions .v2-button { width: 100%; }
  .v2-proof { gap: 5px 12px; margin-top: 22px; font-size: .7rem; }
  .v2-band-grid { min-height: 106px; grid-template-columns: 1fr; gap: 8px; padding-block: 18px; }
  .v2-band-grid > a { justify-self: start; }
  .v2-section { padding-block: 50px; }
  .home-v2 .v2-section-heading h2,
  .home-v2 .v2-rollout h2 { font-size: 1.5rem; }
  .v2-section-heading { margin-bottom: 24px; }
  .v2-product {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 104px;
  }
  .v2-product-copy { padding: 22px 0 24px 20px; }
  .home-v2 .v2-product h3 { font-size: 1.18rem; }
  .v2-product p,
  .v2-product li { font-size: .77rem; }
  .play-badge-link { width: 132px; min-height: 39px; }
  .v2-product > img { width: 116px; height: 292px; border-width: 5px; }
  .v2-workflow { grid-template-columns: 1fr; }
  .v2-workflow li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #bcccdc;
    padding: 18px 10px;
  }
  .v2-workflow li:nth-child(3) { border-bottom: 1px solid #bcccdc; }
  .v2-workflow li:last-child { border-bottom: 0; }
  .v2-screens {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .v2-screens figure {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }
  .v2-screens img { height: 360px; padding: 12px; }
  .v2-rollout-grid { grid-template-columns: 1fr; gap: 28px; }
  .v2-rollout-actions { min-width: 0; }
  .v2-footer-grid { grid-template-columns: 1fr; }
  .v2-footer nav { flex-wrap: wrap; gap: 10px 18px; }
  .v2-footer p { grid-column: auto; }
}
