:root {
  color-scheme: light;
  --topbar-height: 78px;
  --ink: #17233b;
  --muted: #52627e;
  --blue: #245fd0;
  --blue-2: #4a86ec;
  --navy: #0f1f3b;
  --green: #159a68;
  --red: #ba115a;
  --purple: #6c2bd9;
  --line: #d7e2f5;
  --soft: #eef4ff;
  --bg: #f7faff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--topbar-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #f7faff 0%, #eef4ff 52%, #eaf1ff 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis-weight: none;
  text-rendering: geometricPrecision;
}

h1,
h2,
h3,
.brand,
.primary-button,
.ghost-button,
.section-cta,
.inline-cta,
.panel-title {
  font-family: Poppins, Inter, Arial, sans-serif;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: var(--topbar-height);
  padding: 4px 110px 0;
  color: #ffffff;
  background: linear-gradient(90deg, #1f5fd1 0%, #4a86ec 100%);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topbar.is-scrolled {
  color: #1a2a44;
  background: rgba(247, 250, 255, 0.92);
  border-bottom: 1px solid rgba(42, 107, 221, 0.2);
  box-shadow: 0 8px 24px rgba(20, 54, 112, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.top-actions,
.seen-band,
.kpi-row,
.fee-metrics,
.fee-action-grid {
  display: flex;
}

.brand {
  align-items: center;
  width: max-content;
  text-decoration: none;
  letter-spacing: 0;
}

.schooltabs-logo {
  display: block;
  height: 31px;
  width: auto;
}

.schooltabs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.schooltabs-wordmark {
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.4px;
}

.schooltabs-brand-on-dark .schooltabs-wordmark {
  color: #ffffff;
}

.schooltabs-brand-on-light .schooltabs-wordmark {
  color: #111111;
}

.schooltabs-wordmark .school-word {
  font-weight: 500;
}

.schooltabs-wordmark .tabs-word {
  font-weight: 700;
}

.schooltabs-brand-on-light,
.topbar.is-scrolled .schooltabs-brand-on-dark {
  display: none;
}

.seen-band .schooltabs-brand-on-light,
.seen-band .schooltabs-brand-on-dark,
.footer .schooltabs-brand-on-dark {
  display: inline-flex;
}

.topbar:not(.is-scrolled) .schooltabs-brand-on-light {
  display: none;
}

.topbar.is-scrolled .schooltabs-brand-on-light {
  display: inline-flex;
}

.seen-band strong .schooltabs-logo {
  height: 22px;
}

.seen-band strong .schooltabs-wordmark {
  font-size: 20px;
}

.app-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #255fd8 0%, #4168f5 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.app-loading-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.app-loading-overlay .schooltabs-logo {
  height: 36px;
}

.app-loading-overlay .schooltabs-wordmark {
  font-size: 36px;
}

.app-loading-overlay .schooltabs-logo {
  animation: none;
}

@keyframes boot-logo-pulse {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.nav {
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav a,
.text-link,
.features-menu button {
  padding: 10px 12px;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.features-menu {
  position: relative;
}

.features-menu button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 20px;
}

.features-menu button .chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease-out;
}

.features-menu:hover button,
.features-menu:focus-within button,
.features-menu.open button {
  background: rgba(255, 255, 255, 0.08);
}

.topbar.is-scrolled .features-menu:hover button,
.topbar.is-scrolled .features-menu:focus-within button,
.topbar.is-scrolled .features-menu.open button {
  background: rgba(42, 107, 221, 0.08);
}

.features-menu:hover button .chevron,
.features-menu:focus-within button .chevron,
.features-menu.open button .chevron {
  transform: translateY(2px) rotate(225deg);
}

.features-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 236px;
  padding: 8px;
  border: 1px solid #5a8eef;
  border-radius: 12px;
  background: #2a6bdd;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 31, 59, 0.18);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.features-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
}

.features-menu:hover .features-panel,
.features-menu:focus-within .features-panel,
.features-menu.open .features-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.features-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(7px);
}

.features-menu:hover .features-panel a,
.features-menu:focus-within .features-panel a,
.features-menu.open .features-panel a {
  animation: menuItemIn 260ms ease-out forwards;
}

.features-panel a:nth-child(2) { animation-delay: 24ms; }
.features-panel a:nth-child(3) { animation-delay: 48ms; }
.features-panel a:nth-child(4) { animation-delay: 72ms; }
.features-panel a:nth-child(5) { animation-delay: 96ms; }
.features-panel a:nth-child(6) { animation-delay: 120ms; }
.features-panel a:nth-child(7) { animation-delay: 144ms; }
.features-panel a:nth-child(8) { animation-delay: 168ms; }

.features-panel a:hover,
.features-panel a:focus {
  background: rgba(255, 255, 255, 0.1);
}

@keyframes menuItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.ghost-button,
.primary-button,
.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  padding: 0 28px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.topbar.is-scrolled .ghost-button {
  border-color: #2a6bdd;
  background: rgba(42, 107, 221, 0.08);
  color: #1a2a44;
}

.primary-button {
  width: max-content;
  min-height: 62px;
  background: #0e3a8a;
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(15, 31, 59, 0.18);
  font-size: 17px;
  font-weight: 700;
}

.section-cta {
  min-height: auto;
  padding: 0;
  width: max-content;
  background: transparent;
  color: #2a6bdd;
  box-shadow: none;
  font-size: 17px;
  font-weight: 700;
  margin-top: 22px;
  margin-bottom: 28px;
}

.section-cta::after,
.inline-cta::after {
  content: "->";
  margin-left: 8px;
}

.hero {
  min-height: calc(100svh - var(--topbar-height));
  background: linear-gradient(90deg, #1f5fd1 0%, #4a86ec 100%);
  color: #ffffff;
  padding: 72px 110px 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-copy {
  padding-top: 0;
}

.hero-tagline {
  margin: 0 0 14px;
  color: #f8fbff;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-tagline-inline {
  margin: 0 0 24px;
  color: #dbe8ff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 920px;
  margin: 0 0 14px;
  font-size: clamp(58px, 5.15vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-nowrap {
  white-space: nowrap;
}

.hero p {
  max-width: 740px;
  margin: 0 0 22px;
  color: #eaf0fd;
  font-size: 20px;
  line-height: 1.45;
}

.proprietor {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin: 0;
  min-height: 500px;
}

.proprietor img {
  width: min(92%, 360px);
  max-height: 520px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 44px rgba(13, 34, 74, 0.22));
}

.seen-band {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 7vw 12px;
  background: #e7ecf5;
  color: #5b6f98;
}

.seen-band span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.seen-band strong {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #d2dbeb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #5a6a88;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.growth-band {
  position: relative;
  overflow: hidden;
  padding: 34px 7vw 42px;
  background: #e7ecf5;
  text-align: center;
}

.growth-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e7f8f1;
  color: var(--green);
}

.growth-icon span {
  width: 34px;
  height: 34px;
  border-left: 8px solid currentColor;
  border-bottom: 8px solid currentColor;
  transform: rotate(135deg);
}

.growth-band h2 {
  margin: 0;
  color: #2d313c;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

.spark {
  position: absolute;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.spark-a {
  left: 9vw;
  top: 44px;
}

.spark-b {
  right: 10vw;
  top: 58px;
}

.feature-section {
  scroll-margin-top: var(--topbar-height);
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.16fr);
  gap: 0;
  align-items: stretch;
  max-width: none;
  min-height: calc(100svh - var(--topbar-height));
  margin: 26px 110px 0;
  padding: 42px 30px 24px 44px;
  border: 1px solid #b8c7e3;
  border-radius: 28px;
  background: #c9d4e8;
}

.feature-section.reverse {
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.16fr);
}

.feature-section.reverse .section-copy {
  order: 1;
}

.feature-section.reverse .showcase {
  order: 2;
}

#teacher-productivity {
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.16fr);
  padding: 52px 56px 46px;
  border-radius: 34px;
}

#teacher-productivity .section-copy {
  order: 1;
  padding-top: 4px;
}

#teacher-productivity .showcase {
  order: 2;
}

#teacher-productivity .section-copy h2 {
  max-width: 560px;
}

#teacher-productivity .section-copy p {
  max-width: 610px;
}

.section-copy,
.ops-copy {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.kicker {
  color: #6a34c6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.section-copy h2,
.ops-copy h2,
.pricing-card h2 {
  margin: 20px 0 16px;
  color: #1b2231;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 800;
}

.section-copy p,
.ops-copy p,
.pricing-card p {
  max-width: 560px;
  margin: 0 0 auto;
  color: #000000;
  font-size: 17px;
  line-height: 1.55;
}

.showcase {
  min-height: auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.analytics-card {
  width: 72%;
  min-height: 392px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  justify-self: center;
  padding: 16px;
  border: 1px solid #e3eaf7;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.panel-title {
  margin-bottom: 10px;
  color: #1a2741;
  font-size: 17px;
  font-weight: 800;
}

.kpi-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.kpi-row div,
.fee-metrics article,
.teacher-stats article {
  flex: 1;
  padding: 10px;
  border: 1px solid #e2e8f5;
  border-radius: 12px;
  background: #f5f8ff;
}

.kpi-row span,
.fee-metrics span,
.teacher-stats span,
.fee-action-grid span {
  display: block;
  color: #5c6d8a;
  font-size: 11px;
  font-weight: 600;
}

.kpi-row strong,
.fee-metrics strong,
.teacher-stats strong {
  display: block;
  margin-top: 4px;
  color: #1a2741;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 10px;
  min-height: 292px;
  align-items: stretch;
}

.donut-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px;
  border: 1px solid #e4ebf8;
  border-radius: 14px;
  background: #f8faff;
}

.donut-panel > span {
  align-self: flex-start;
  color: #5b6f90;
  font-size: 11px;
  font-weight: 800;
}

.donut {
  width: 164px;
  height: 164px;
  display: grid;
  place-items: center;
  margin: 14px 0;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 58%, var(--red) 58% 73%, var(--purple) 73% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: #f8faff;
}

.donut strong {
  position: relative;
  z-index: 1;
  font-size: 20px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  color: #2a3a56;
  font-size: 11px;
  font-weight: 700;
}

.legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}

.green {
  color: var(--green);
}

.red {
  color: var(--red);
}

.purple {
  color: var(--purple);
}

.insight-stack {
  display: grid;
  gap: 8px;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.insight-stack article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(36, 95, 208, 0.2);
  background: rgba(36, 95, 208, 0.08);
}

.insight-stack article:first-child {
  border-color: rgba(186, 17, 90, 0.28);
  background: rgba(186, 17, 90, 0.08);
}

.insight-stack article:nth-child(2) {
  border-color: rgba(21, 154, 104, 0.28);
  background: rgba(21, 154, 104, 0.08);
}

.insight-stack strong {
  color: #1a2741;
  font-size: 12px;
  font-weight: 800;
}

.insight-stack span {
  color: #5a6f93;
  font-size: 11px;
  font-weight: 600;
}

.lesson-card,
.teacher-card {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.lesson-shell,
.teacher-shell {
  width: 72%;
  min-height: 392px;
  align-self: center;
  justify-self: center;
  padding: 18px;
  border: 1px solid #dde6f8;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.07);
}

#teacher-productivity .teacher-shell {
  width: min(100%, 628px);
  min-height: 490px;
  padding: 22px;
  border-color: #dce4f1;
  border-radius: 22px;
}

.graphic-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.magic-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #2a6bdd;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.graphic-head strong {
  color: #1a2741;
  font-size: 16px;
  font-weight: 800;
}

.lesson-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.lesson-chips span {
  padding: 6px 10px;
  border: 1px solid #d6e3fa;
  border-radius: 999px;
  background: #eff4ff;
  color: #48608b;
  font-size: 10.5px;
  font-weight: 800;
}

.lesson-body,
.teacher-body {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 10px;
  min-height: 252px;
  align-items: stretch;
}

.lesson-main,
.trend-card {
  padding: 10px;
  border: 1px solid #e3eaf8;
  border-radius: 14px;
  background: #f7faff;
}

.lesson-main strong,
.trend-card > span {
  display: block;
  margin-bottom: 8px;
  color: #42577c;
  font-size: 11px;
  font-weight: 800;
}

.lesson-main i {
  display: block;
  width: 92%;
  height: 7px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: #dde7f7;
}

.lesson-main i:nth-of-type(2),
.lesson-main i:nth-of-type(6) {
  width: 84%;
}

.lesson-main i:nth-of-type(4) {
  width: 78%;
  margin-bottom: 10px;
}

.lesson-list,
.teacher-stats,
.teacher-insights {
  display: grid;
  gap: 10px;
}

.lesson-list,
.teacher-insights {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.lesson-list article,
.teacher-insights article {
  padding: 9px;
  border: 1px solid #e3eaf8;
  border-radius: 12px;
  background: #f7faff;
}

.lesson-list strong,
.teacher-insights strong {
  display: block;
  color: #1a2741;
  font-size: 11px;
  line-height: 1.1;
}

.lesson-list span,
.teacher-insights span {
  display: block;
  margin-top: 2px;
  color: #5a6f93;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
}

.fees-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 78%;
  min-height: 426px;
  align-self: center;
  justify-self: center;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fees-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f3fa8 0%, #2f67d6 100%);
  color: #ffffff;
  font-weight: 800;
}

.fees-head strong {
  flex: 1;
  color: #16233d;
  font-size: 17px;
}

.fees-head em,
.dark-action em {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f8f1;
  color: #13875c;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.fee-metrics,
.fee-action-grid {
  gap: 10px;
  margin-bottom: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.fee-metrics article {
  padding: 12px;
  border-radius: 18px;
}

.fee-metrics article:first-child {
  border-color: rgba(47, 103, 214, 0.18);
  background: rgba(47, 103, 214, 0.08);
}

.fee-metrics article:nth-child(2) {
  border-color: rgba(17, 186, 144, 0.18);
  background: rgba(17, 186, 144, 0.08);
}

.fee-action-grid article {
  flex: 1;
  min-height: 138px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e4ebf8;
  background: #f4f7fc;
}

.fee-action-grid strong {
  display: block;
  margin: 6px 0 10px;
  color: #101b33;
  font-size: 20px;
}

.fee-action-grid .dark-action {
  background: #0e1b36;
}

.dark-action span {
  color: rgba(255, 255, 255, 0.66);
}

.dark-action strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.25;
}

.dark-action em {
  display: inline-flex;
  border: 1px solid #2f67d6;
  background: rgba(47, 103, 214, 0.16);
  color: #b8ceff;
}

.fee-trend-panel {
  flex: 1;
  min-height: 132px;
  width: 100%;
  padding: 12px;
  border: 1px solid #d6e1f4;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #eaf2ff 100%);
}

.fee-trend-panel > strong {
  display: block;
  margin-bottom: 12px;
  color: #485a79;
  font-size: 12px;
  font-weight: 700;
}

.fee-bars {
  height: calc(100% - 28px);
  min-height: 86px;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.fee-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.fee-bar i {
  width: 100%;
  display: block;
  border-radius: 999px;
  background: linear-gradient(0deg, #92b5f3 0%, #c8dafb 100%);
}

.fee-bar.active i {
  background: linear-gradient(0deg, #0e3a8a 0%, #2f67d6 100%);
}

.fee-bar span {
  color: #6b7c97;
  font-size: 11px;
  font-weight: 700;
}

.teacher-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

#teacher-productivity .panel-title {
  margin-bottom: 18px;
  font-size: 22px;
}

#teacher-productivity .teacher-stats {
  gap: 12px;
  margin-bottom: 18px;
}

#teacher-productivity .teacher-stats article {
  min-height: 82px;
  padding: 14px;
}

#teacher-productivity .teacher-stats span {
  font-size: 14px;
}

#teacher-productivity .teacher-stats strong {
  margin-top: 8px;
  font-size: 20px;
}

#teacher-productivity .teacher-body {
  gap: 14px;
  min-height: 300px;
}

#teacher-productivity .trend-card {
  padding: 16px;
  border-radius: 14px;
}

#teacher-productivity .trend-card > span {
  margin-bottom: 12px;
  font-size: 14px;
}

#teacher-productivity .teacher-insights {
  gap: 12px;
}

#teacher-productivity .teacher-insights article {
  padding: 14px;
  border-radius: 12px;
}

#teacher-productivity .teacher-insights strong,
#teacher-productivity .teacher-insights span {
  font-size: 15px;
  line-height: 1.1;
}

.teacher-stats article:nth-child(1) strong {
  color: #1d8fd1;
}

.teacher-stats article:nth-child(2) strong {
  color: #11ba90;
}

.teacher-stats article:nth-child(3) strong {
  color: #ba115a;
}

.bar-grid {
  height: 214px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  padding: 22px 14px 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(37, 58, 94, 0.12) 40px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(37, 58, 94, 0.08) 48px);
}

#teacher-productivity .bar-grid {
  height: 204px;
  padding: 18px 14px 0;
  gap: 16px;
}

#teacher-productivity .bar-grid i {
  border-radius: 0;
  background: #727b8c;
}

.bar-grid i {
  display: block;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #2a6bdd 0%, #11ba90 100%);
}

.teacher-insights article:first-child {
  border-color: rgba(17, 186, 144, 0.36);
  background: rgba(17, 186, 144, 0.09);
}

.teacher-insights article:nth-child(2) {
  border-color: rgba(186, 17, 90, 0.32);
  background: rgba(186, 17, 90, 0.08);
}

.teacher-insights article:nth-child(3) {
  border-color: rgba(29, 143, 209, 0.32);
  background: rgba(29, 143, 209, 0.08);
}

.split-feature {
  scroll-margin-top: var(--topbar-height);
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 16px;
  align-items: stretch;
  margin: 22px 110px 0;
  min-height: calc(100svh - var(--topbar-height));
}

.image-card,
.copy-card {
  min-height: 650px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(120, 150, 200, 0.5);
}

.image-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.image-card img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  object-position: bottom center;
}

.curriculum-image {
  background: linear-gradient(135deg, #aec9ff 0%, #6d8fd7 100%);
}

.assessment-image {
  background: linear-gradient(135deg, #e8a04a 0%, #f8cc8e 100%);
}

.ai-image {
  background: linear-gradient(135deg, #67c892 0%, #a7efc9 100%);
}

.copy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 52px 38px 24px 58px;
}

.green-copy {
  background: linear-gradient(135deg, #aec9ff 0%, #6d8fd7 100%);
  border-color: #c7d8f8;
}

.blue-copy {
  background: linear-gradient(135deg, #f8cc8e 0%, #e8a04a 100%);
  border-color: #e0a766;
}

.tutor-copy {
  background: linear-gradient(135deg, #c6f3de 0%, #8cd5b0 100%);
  border-color: #6cc798;
}

.inline-cta {
  width: max-content;
  margin-top: 24px;
  color: #2a6bdd;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.status-deck {
  position: absolute;
  left: 90px;
  right: 18px;
  bottom: 24px;
  height: 160px;
}

.ghost-card,
.main-stack-card {
  position: absolute;
  border: 1px solid #e1e7f0;
  background: #ffffff;
}

.ghost-card {
  height: 66px;
  border-color: #e5eaf2;
  border-radius: 14px;
}

.ghost-one {
  left: 18px;
  right: 8px;
  bottom: 20px;
  opacity: 0.3;
}

.ghost-two {
  left: 10px;
  right: 16px;
  bottom: 30px;
  opacity: 0.52;
}

.main-stack-card {
  left: 0;
  right: 24px;
  bottom: 38px;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #e1e7f0;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.stack-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.stack-icon.warn {
  background: #9a3412;
}

.stack-icon.rule {
  background: #1d4ed8;
}

.stack-icon.tutor {
  background: #7c3aed;
}

.main-stack-card strong {
  display: block;
  color: #1a2233;
  font-size: 17px;
  font-weight: 800;
}

.main-stack-card span:not(.stack-icon) {
  display: block;
  margin-top: 2px;
  color: #5b667b;
  font-size: 14px;
  font-weight: 500;
}

.rotating-stack .main-stack-card {
  opacity: 0;
  animation: stackCycle 9s ease-in-out infinite;
}

.rotating-stack .card-b {
  animation-delay: 3s;
}

.rotating-stack .card-c {
  animation-delay: 6s;
}

@keyframes stackCycle {
  0% { opacity: 0; transform: translateY(14px); }
  8%, 27% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-14px); }
}

.ops-section {
  scroll-margin-top: var(--topbar-height);
  display: block;
  max-width: none;
  margin: 22px 0 0;
  padding: 0;
  min-height: calc(100svh - var(--topbar-height));
  background: linear-gradient(135deg, #0a1222 0%, #101c35 100%);
  border-top: 1px solid #1d2a45;
  border-bottom: 1px solid #1d2a45;
}

.ops-copy {
  min-height: 320px;
  align-items: center;
  justify-content: center;
  padding: 0 110px;
  text-align: center;
}

.ops-copy .kicker {
  color: #d0d7e6;
}

.ops-copy h2 {
  color: #f2f6ff;
  font-size: 34px;
}

.ops-copy p {
  max-width: 940px;
  margin: 0 0 20px;
  color: #d9e4ff;
}

.ops-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 38px;
  border-radius: 12px;
  background: #0e3a8a;
  color: #ffffff;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 28px 110px 30px;
  border-top: 1px solid #22365a;
}

.ops-grid article {
  height: 330px;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid #22365a;
  background: linear-gradient(135deg, #17243d 0%, #121c31 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 200ms ease-out, border-color 240ms ease-out, box-shadow 240ms ease-out, background 240ms ease-out;
}

.ops-grid article:hover {
  transform: scale(1.02);
  border-color: #3d5c8f;
  background: linear-gradient(135deg, #1b2a47 0%, #13203a 100%);
  box-shadow: 0 8px 18px rgba(75, 139, 255, 0.2);
}

.ops-grid article > span {
  display: block;
  width: 120px;
  height: 1px;
  margin: auto 20px 4px;
  border-radius: 2px;
  background: #2b4772;
}

.ops-grid article strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 0 20px 28px;
  color: #ffffff;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 28px;
  line-height: 1.15;
}

.ops-graphic {
  flex: 0 0 180px;
  height: 180px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(75, 139, 255, 0.08), rgba(16, 30, 56, 0.2));
}

.ops-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 72%, rgba(16, 30, 56, 0.18) 90%, rgba(16, 30, 56, 0.4));
  pointer-events: none;
}

.meeting-visual {
  display: grid;
  place-items: center;
}

.meeting-visual img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  transform: translateY(0);
}

.attendance-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 6px 10px;
  padding: 18px 10px;
}

.attendance-visual::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 10px;
  bottom: 16px;
  width: calc(50% - 16px);
  border: 1px solid #2a3d5f;
  border-radius: 10px;
  pointer-events: none;
}

.attendance-chart {
  height: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 8px;
  padding: 14px 16px 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(65, 95, 143, 0.55) 19px 20px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(65, 95, 143, 0.55) 25px 26px);
  opacity: 1;
  transform: translateX(0);
}

.attendance-chart i {
  display: block;
  border-radius: 0;
  background: #7a8392;
}

.attendance-chart i:nth-child(1) { height: 78%; }
.attendance-chart i:nth-child(2) { height: 64%; }
.attendance-chart i:nth-child(3) { height: 71%; }

.attendance-donut {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid #2a3d5f;
  border-radius: 50%;
  background: conic-gradient(#11ba90 0 78%, #ba115a 78% 92%, #801dd1 92%);
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1) rotate(0);
}

.attendance-donut::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #17243d;
}

.attendance-donut b {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 14px;
}

.ops-legend {
  grid-column: 2;
  justify-self: center;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  color: #cfe0ff;
  font-size: 10px;
  font-weight: 700;
  opacity: 1;
}

.ops-legend i {
  width: 7px;
  height: 7px;
  margin-top: 3px;
  border-radius: 50%;
  background: #11ba90;
}

.ops-legend i:nth-child(2) {
  background: #ba115a;
}

.ops-legend i:nth-child(3) {
  background: #801dd1;
}

.chat-visual {
  padding: 8px;
}

.chat-bubble {
  position: absolute;
  max-width: 196px;
  min-height: 62px;
  padding: 10px;
  border-radius: 18px;
  color: #ffffff;
  font-size: 10.8px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.chat-bubble.right {
  right: 12px;
  top: 28px;
  background: #3a4352;
  opacity: 1;
  transform: translate(0, 0);
}

.chat-bubble.left {
  left: 12px;
  bottom: 28px;
  background: #2e77c8;
  opacity: 1;
  transform: translate(0, 0);
}

.health-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.heart-icon {
  position: relative;
  width: 30px;
  height: 30px;
  opacity: 1;
  transform: rotate(-45deg) scale(1);
  border-radius: 8px 8px 4px 8px;
  background: #e53935;
  box-shadow: 0 0 16px rgba(229, 57, 53, 0.38);
}

.heart-icon::before,
.heart-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e53935;
}

.heart-icon::before {
  top: -15px;
  left: 0;
}

.heart-icon::after {
  left: 15px;
  top: 0;
}

.health-wave {
  position: relative;
  width: 195px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(229, 57, 53, 0.25);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

.health-wave i {
  flex: 1;
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #ff5a5a;
  box-shadow: 0 0 4px rgba(255, 90, 90, 0.4);
  transform-origin: center;
}

.health-wave i:nth-child(3) { height: 8px; }
.health-wave i:nth-child(5) { height: 16px; }
.health-wave i:nth-child(7) { height: 10px; }

.health-wave span {
  position: absolute;
  left: 9px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7a7a;
  opacity: 1;
  transform: translateX(170px);
}

.network-visual {
  display: grid;
  place-items: center;
}

.network-ghost,
.network-card {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  border: 1px solid rgba(217, 231, 255, 0.28);
  border-radius: 16px;
  background: #3a4352;
}

.network-ghost {
  width: min(92%, 286px);
  height: 100px;
  opacity: 0.36;
}

.network-ghost.ghost-low {
  width: min(86%, 268px);
  height: 92px;
  bottom: 12px;
  opacity: 0.26;
}

.network-card {
  width: min(94%, 314px);
  min-height: 112px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-content: start;
  gap: 6px 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translate(-50%, 34px);
}

.network-card::before {
  content: "";
  grid-row: 1 / 3;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #11ba90;
}

.network-card.school-two::before {
  background: #e53935;
}

.network-card.school-three::before {
  background: #2e77c8;
}

.network-card.school-four::before {
  background: #7c3aed;
}

.network-card.school-five::before {
  background: #f59e0b;
}

.network-card b {
  color: #f2f6ff;
  font-size: 15px;
}

.network-card em {
  color: #a8b6d3;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.network-card span {
  grid-column: 2 / 4;
  color: #c5d3ef;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
}

.cbt-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.exam-timer {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#6ba4ff 0 0%, #2c3e5d 0);
}

.exam-timer::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #17243d;
}

.exam-timer b {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.exam-options {
  display: grid;
  grid-template-columns: repeat(2, 52px);
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(58, 67, 82, 0.6);
}

.cbt-visual button {
  position: relative;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 10px;
  background: #7a8392;
  color: #ffffff;
  font-weight: 800;
  opacity: 1;
  transform: translateY(0);
  transition: background 80ms linear, border-color 80ms linear, box-shadow 80ms linear;
}

.cbt-visual .selected {
  border: 1.4px solid #b8ffe8;
  box-shadow: 0 0 12px rgba(17, 186, 144, 0.45);
}

.option-check {
  position: absolute;
  right: -8px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b8ffe8;
  opacity: 1;
  transform: scale(1);
}

.option-check::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #0c6049;
  border-bottom: 2px solid #0c6049;
  transform: rotate(-45deg);
}

@keyframes mediaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes chartReveal {
  0% { opacity: 0; transform: translateX(28px); }
  30%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes donutReveal {
  0% { opacity: 0; transform: scale(0.72) rotate(-80deg); }
  35%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes chatEnterRight {
  0%, 7% { opacity: 0; transform: translate(10px, 18px); }
  12%, 100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes chatEnterLeft {
  0%, 20% { opacity: 0; transform: translate(-10px, 18px); }
  28%, 100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes heartBeat {
  0% { opacity: 0; transform: rotate(-45deg) scale(0.72); }
  22% { opacity: 1; transform: rotate(-45deg) scale(1.04); }
  44% { opacity: 1; transform: rotate(-45deg) scale(0.96); }
  68% { opacity: 1; transform: rotate(-45deg) scale(1.08); }
  100% { opacity: 1; transform: rotate(-45deg) scale(1); }
}

@keyframes healthWaveReveal {
  0% { clip-path: inset(0 100% 0 0); opacity: 0.45; }
  32%, 100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

@keyframes healthDot {
  0% { opacity: 0; transform: translateX(0); }
  30% { opacity: 1; }
  100% { opacity: 1; transform: translateX(170px); }
}

@keyframes networkCardCycle {
  0%, 100% { opacity: 0; transform: translate(-50%, 34px); }
  10%, 28% { opacity: 1; transform: translate(-50%, 0); }
  34% { opacity: 0; transform: translate(-50%, -18px); }
}

@keyframes optionReveal {
  0% { opacity: 0; transform: translateY(10px); }
  10%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes examTimer {
  0% { background: conic-gradient(#6ba4ff 0 100%, #2c3e5d 0); }
  100% { background: conic-gradient(#6ba4ff 0 30%, #2c3e5d 30%); }
}

@keyframes timerNumber {
  0% { opacity: 1; }
  50% { opacity: 0.55; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .meeting-visual img,
  .attendance-chart,
  .attendance-donut,
  .chat-bubble,
  .heart-icon,
  .health-wave,
  .health-wave span,
  .network-card,
  .exam-timer,
  .cbt-visual button,
  .exam-timer b {
    animation: none;
  }
}

.pricing-section {
  scroll-margin-top: var(--topbar-height);
  display: flex;
  align-items: center;
  max-width: none;
  margin: 0;
  padding: 28px 110px 30px;
  min-height: calc(100svh - var(--topbar-height));
  background: #0010a3;
}

.pricing-card {
  width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.pricing-card .kicker {
  color: #5f78b4;
  font-size: 13px;
  letter-spacing: 1.1px;
}

.pricing-card h2 {
  margin: 10px 0 12px;
  font-size: 30px;
  line-height: 1.05;
}

.pricing-card p {
  max-width: none;
  margin-bottom: 12px;
  color: #52627e;
  font-size: 16px;
  line-height: 1.45;
}

.info-note {
  position: relative;
  margin: 12px 0 20px;
  padding: 12px 14px 12px 42px;
  border: 1px solid #d5e4ff;
  border-radius: 12px;
  background: #f4f8ff;
  color: #2d4370;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.info-note::before {
  content: "i";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid #2f67d6;
  border-radius: 50%;
  color: #2f67d6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.seat-controls {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #dce6f8;
  border-radius: 14px;
  background: #ffffff;
}

.pricing-row {
  display: grid;
  grid-template-columns: 198px minmax(0, 1fr);
  gap: 8px 28px;
  align-items: center;
  border: 0;
  background: transparent;
}

.pricing-row-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pricing-row-head span {
  color: #2a3a56;
  font-size: 15px;
  font-weight: 700;
}

.pricing-row-head em {
  color: #2a6bdd;
  font-style: normal;
  font-weight: 800;
  font-size: 14px;
}

.seat-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 0;
}

.seat-stepper button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #45608e;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.seat-stepper strong {
  width: 78px;
  color: #182844;
  text-align: center;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.pricing-row input[type="range"] {
  width: 100%;
  height: 28px;
  accent-color: #4568ff;
  cursor: pointer;
  appearance: none;
  background: transparent;
}

.pricing-row input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: #d7dfed;
}

.pricing-row input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -10px;
  border: 0;
  border-radius: 50%;
  background: #4568ff;
  box-shadow: none;
  appearance: none;
}

.pricing-row input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: #d7dfed;
}

.pricing-row input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #4568ff;
  box-shadow: none;
}

.pricing-row + .pricing-row {
  padding-top: 0;
  border-top: 0;
}

.term-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: var(--navy);
}

.term-total span {
  color: #bbd0f8;
  font-size: 14px;
  font-weight: 600;
}

.term-total strong {
  color: #ffffff;
  font-size: 28px;
}

.footer {
  padding: 36px 110px 30px;
  background: #0a1222;
  color: #b9c7e3;
}

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

.footer h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 10px;
  color: #b9c7e3;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #1b2a44;
  color: #8ea0c4;
  font-size: 13px;
  font-weight: 500;
}

.footer-brand {
  color: #ffffff;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1441px) {
  .pricing-section {
    padding-inline: 110px;
  }
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding-inline: 54px;
  }

  .nav {
    display: none;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-nowrap {
    white-space: normal;
  }

  .hero {
    padding-inline: 54px;
  }

  .feature-section,
  .feature-section.reverse,
  .split-feature {
    grid-template-columns: 1fr;
    margin-inline: 54px;
  }

  .feature-section.reverse .section-copy,
  .feature-section.reverse .showcase {
    order: initial;
  }

  .section-copy h2,
  .copy-card h2 {
    font-size: 26px;
    line-height: 0.95;
  }

  .section-copy p,
  .copy-card p {
    font-size: 18px;
    line-height: 1.55;
  }

  .section-cta,
  .inline-cta {
    font-size: 24px;
    font-weight: 700;
  }

  .section-copy,
  .ops-copy,
  .showcase {
    min-height: auto;
  }

  .image-card,
  .copy-card {
    min-height: 523px;
  }

  .status-deck {
    left: 20px;
    right: 20px;
  }

  .ops-copy,
  .ops-grid,
  .pricing-section {
    padding-inline: 54px;
  }
}

@media (max-width: 760px) {
  :root {
    --topbar-height: 126px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    min-height: var(--topbar-height);
    padding: 12px 14px 10px;
  }

  .schooltabs-logo {
    height: 25px;
  }

  .schooltabs-wordmark {
    font-size: 25px;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .features-menu button {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    white-space: nowrap;
  }

  .topbar.is-scrolled .nav a,
  .topbar.is-scrolled .features-menu button {
    background: rgba(42, 107, 221, 0.08);
  }

  .features-panel {
    position: fixed;
    top: calc(var(--topbar-height) - 8px);
    left: 14px;
    right: 14px;
    width: auto;
    max-height: min(62svh, 420px);
    overflow-y: auto;
    transform: translateY(8px);
  }

  .features-menu:hover .features-panel,
  .features-menu:focus-within .features-panel,
  .features-menu.open .features-panel {
    transform: translateY(0);
  }

  .text-link {
    display: none;
  }

  .top-actions {
    min-width: 0;
  }

  .ghost-button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px 30px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.16;
  }

  .hero p {
    font-size: 15px;
  }

  .primary-button {
    margin: 0 auto;
  }

  .proprietor {
    min-height: 0;
    justify-content: center;
  }

  .proprietor img {
    width: min(98%, 330px);
  }

  .growth-band h2 {
    font-size: 32px;
  }

  .feature-section,
  .feature-section.reverse,
  #teacher-productivity,
  .split-feature {
    grid-template-columns: 1fr;
    margin: 22px 14px 0;
    padding: 20px;
    min-height: auto;
    border-radius: 18px;
  }

  .feature-section.reverse .section-copy,
  #teacher-productivity .section-copy {
    order: 1;
  }

  .feature-section.reverse .showcase,
  #teacher-productivity .showcase {
    order: 2;
  }

  #teacher-productivity {
    padding: 20px;
  }

  .ops-section,
  .pricing-section {
    padding: 0;
    min-height: auto;
  }

  .section-copy,
  .ops-copy,
  .showcase {
    padding: 0;
  }

  .pricing-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .section-copy p,
  .copy-card p {
    margin-bottom: 16px;
  }

  .section-cta {
    margin-top: 18px;
    margin-bottom: 34px;
  }

  .showcase {
    padding-top: 22px;
    min-height: auto;
    overflow: hidden;
  }

  .fees-card {
    width: 100%;
    min-height: 0;
  }

  .fee-trend-panel {
    min-height: 150px;
  }

  .copy-card,
  .image-card {
    min-height: auto;
    padding: 22px;
  }

  .image-card {
    min-height: 330px;
  }

  .section-copy h2,
  .copy-card h2,
  .ops-copy h2,
  .pricing-card h2 {
    font-size: 26px;
    line-height: 1.05;
  }

  .ops-copy h2,
  .pricing-card h2 {
    font-size: 30px;
  }

  .analytics-grid,
  .lesson-body,
  #teacher-productivity .teacher-body,
  .teacher-body,
  .lesson-card,
  .fee-action-grid,
  .ops-grid,
  #teacher-productivity .teacher-stats,
  .teacher-stats,
  .split-feature {
    grid-template-columns: 1fr;
  }

  .analytics-card,
  .lesson-shell,
  #teacher-productivity .teacher-shell,
  .teacher-shell,
  .fees-card {
    width: 100%;
    min-height: 0;
    padding: 16px;
    border-radius: 16px;
  }

  .panel-title,
  #teacher-productivity .panel-title {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.2;
  }

  .kpi-row,
  .fee-metrics,
  .fee-action-grid {
    flex-direction: row;
  }

  .kpi-row {
    gap: 8px;
  }

  .kpi-row div {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .fee-metrics article {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

  .fee-action-grid {
    flex-direction: column;
  }

  .donut {
    width: 132px;
    height: 132px;
  }

  .donut::after {
    inset: 20px;
  }

  #teacher-productivity .teacher-stats {
    gap: 8px;
    margin-bottom: 12px;
  }

  #teacher-productivity .teacher-stats article {
    min-height: 0;
    padding: 12px;
  }

  #teacher-productivity .teacher-stats span,
  #teacher-productivity .trend-card > span,
  #teacher-productivity .teacher-insights strong,
  #teacher-productivity .teacher-insights span {
    font-size: 13px;
  }

  #teacher-productivity .teacher-stats strong {
    margin-top: 4px;
    font-size: 18px;
  }

  #teacher-productivity .teacher-body {
    gap: 12px;
    min-height: 0;
  }

  #teacher-productivity .bar-grid,
  .bar-grid {
    height: 148px;
    gap: 10px;
    padding: 16px 10px 0;
  }

  .status-deck {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 20px;
  }

  .ghost-card {
    height: 54px;
  }

  .ghost-one {
    left: 10px;
    right: 10px;
    bottom: 12px;
  }

  .ghost-two {
    left: 8px;
    right: 12px;
    bottom: 20px;
  }

  .main-stack-card {
    right: 14px;
    bottom: 26px;
    min-height: 72px;
  }

  .stack-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .main-stack-card strong {
    font-size: 14px;
  }

  .main-stack-card span:not(.stack-icon) {
    font-size: 12px;
  }

  .ops-copy {
    min-height: auto;
    padding: 24px 26px;
  }

  .ops-grid {
    padding: 24px 14px;
  }

  .pricing-section {
    padding: 24px 14px;
  }

  .ops-grid article {
    height: 260px;
    padding: 12px;
  }

  .ops-grid article strong {
    padding: 0 12px 18px;
    font-size: 21px;
    line-height: 1.16;
  }

  .ops-grid article > span {
    width: 94px;
    margin-inline: 12px;
  }

  .seat-controls {
    gap: 18px;
    padding: 14px;
  }

  .pricing-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pricing-row-head,
  .term-total,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .seat-stepper {
    justify-content: space-between;
    width: min(100%, 190px);
  }

  .pricing-row input[type="range"] {
    height: 34px;
  }

  .term-total strong {
    font-size: 24px;
  }

  .footer {
    padding: 36px 18px 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  :root {
    --topbar-height: 124px;
  }

  .schooltabs-logo {
    height: 22px;
  }

  .schooltabs-wordmark {
    font-size: 22px;
  }

  .ghost-button {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero {
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.2;
  }

  .hero-tagline {
    font-size: 17px;
  }

  .hero-tagline-inline {
    font-size: 16px;
  }

  .seen-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-inline: 18px;
  }

  .growth-band {
    padding: 28px 18px 34px;
  }

  .growth-band h2 {
    font-size: 27px;
  }

  .feature-section,
  .feature-section.reverse,
  #teacher-productivity,
  .split-feature {
    margin-inline: 10px;
    padding: 16px;
  }

  .section-copy h2,
  .copy-card h2,
  .ops-copy h2,
  .pricing-card h2 {
    font-size: 24px;
  }

  .section-copy p,
  .copy-card p,
  .ops-copy p,
  .pricing-card p {
    font-size: 15px;
  }

  .section-cta,
  .inline-cta {
    font-size: 16px;
  }

  .image-card {
    min-height: 240px;
  }

  .image-card img {
    width: 92%;
    height: 92%;
  }

  .main-stack-card {
    right: 0;
    padding: 10px;
  }

  .pricing-card {
    padding: 20px 14px;
  }

  .term-total strong {
    font-size: 21px;
  }
}
