/* Digital MathLab – Figma desktop frame 3153:1272 */
:root {
  --blue-500: #3b82f6;
  --blue-50: #eff6ff;
  --blue-primary: #0072ff;
  --blue-cyan: #00c6ff;
  --gray-50: #f9fafb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --mint-bg: #dbfde4;
  --how-bg: #133039;
  --how-border: rgba(113, 209, 233, 0.2);
  --how-badge: #b5e8ec;
  --how-badge-text: #275763;
  --how-text: #f0fbfb;
  --lime-card: #fbffe6;
  --lime-border: #c5f372;
  --lime-text: #203003;
  --mint-card: #f1fcf5;
  --mint-border: #80e8ad;
  --mint-text: #184f30;
  --peach-card: #fef5ee;
  --peach-border: #fac4a1;
  --peach-text: #410d09;
  --yellow-accent: #fde047;
  --header-h: 78px;
  --content-w: 1352px;
  --page-pad: max(24px, calc((100vw - var(--content-w)) / 2));
  --font: 'Outfit', system-ui, sans-serif;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 32px;
  --radius-footer: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
  overflow-x: clip;
}

/* cursor-effects bubble canvas */
body > canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  padding-inline: var(--page-pad);
}

.section { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
}

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

.btn-header-cta {
  min-width: 120px;
  height: 42px;
  padding: 8px 16px;
  background: var(--blue-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  border-radius: var(--radius-sm);
}

/* Figma Frame 46 — hero CTA */
.btn-hero-cta {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 186px;
  height: 54px;
  padding: 12px 16px;
  background: #fff;
  color: #0072ff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  line-height: 24px;
  text-align: center;
  border-radius: 16px;
  flex: none;
}

.btn-hero-cta svg {
  flex: none;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-demo {
  width: 186px;
  height: 54px;
  padding: 10px 16px;
  background: var(--blue-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  border-radius: var(--radius-md);
  margin-top: 44px;
}

.btn-contact-brown {
  height: 48px;
  padding: 8px 16px;
  background: var(--peach-text);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-transform: capitalize;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--gray-300);
  transform: translateY(0);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.site-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: calc(var(--content-w) + var(--page-pad) * 2);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 238px;
}

.logo-fallback {
  display: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 16px;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--gray-800);
  padding: 4px 0;
}

.nav a:hover { color: var(--blue-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link-login {
  font-size: 16px;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--gray-800);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero — Figma Frame 169 (gradient + grain texture) */
.hero {
  margin-top: var(--header-h);
  min-height: 668px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(96.79deg, #0072ff 0.09%, #00c6ff 99.91%);
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-texture.png') center / cover no-repeat;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 68px;
  min-height: 668px;
  padding-block: 110px 80px;
}

.hero-copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 617px;
  color: #fff;
}

.hero-copy h1 {
  font-size: 60px;
  font-weight: 600;
  letter-spacing: -0.6px;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
  line-height: 61px;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 32px;
  max-width: 444px;
}

.hero-visual {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 666px;
  aspect-ratio: 611 / 360;
  height: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: none;
  border: none;
  position: relative;
  flex-shrink: 1;
  background: transparent;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 611 / 360;
  object-fit: contain;
  object-position: center;
}

/* About – Figma 3153:1298 */
.about-intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px var(--page-pad) 80px;
  overflow: hidden;
  min-height: 766px;
}

/* Section already uses --page-pad; drop container’s horizontal pad here to avoid
   double-inset (Chrome vs Safari often diverge on the resulting flex / wrap widths). */
.about-intro > .container {
  padding-inline: 0;
}

.about-intro-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  width: 100%;
  max-width: 1188px;
  min-width: 0;
  margin-inline: auto;
  padding: 0 16px;
}

.about-intro h2 {
  font-size: 49px;
  font-weight: 500;
  color: var(--gray-800);
  margin: 0;
  line-height: 62px;
  max-width: 1188px;
  width: 100%;
  min-width: 0;
}

.about-lead {
  font-size: 25px;
  font-weight: 400;
  color: var(--gray-800);
  line-height: 32px;
  max-width: 1126px;
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}

/* Figma Rectangle 101 — #0072FF bar, white text on highlight */
.highlight-phrase {
  display: inline;
  color: #fff;
  background-color: var(--blue-primary);
  padding: 2px 6px 4px;
  vertical-align: baseline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.about-decor {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1808px);
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.about-decor .decor {
  position: absolute;
  object-fit: contain;
  height: auto;
}

/* About decor: small vs body copy; % sizes use .about-decor width (not vw) for Chrome/Safari parity */
.decor-set-square {
  top: 3.26%;
  left: 0.88%;
  width: clamp(40px, 3.6%, 64px);
  transform: rotate(-21.99deg);
}

.decor-infinity {
  top: 6.5% ;
  left: 47.29%;
  width: clamp(34px, 3.05%, 56px);
  transform: translateX(-50%) rotate(-22.48deg);
}

.decor-pi {
  top: 5.89%;
  right: 1.78%;
  width: clamp(30px, 2.75%, 52px);
  transform: rotate(20.81deg);
}

.decor-protractor {
  top: 27.6%;
  left: 22.9%;
  width: clamp(48px, 4.35%, 78px);
  transform: rotate(30deg);
}

.decor-ruler {
  top: 25.6%;
  right: 21.76%;
  width: clamp(50px, 4.45%, 80px);
  transform: rotate(-15.17deg);
}

.decor-sqrt {
  top: 80.4%;
  bottom: auto;
  left: 3.43%;
  width: clamp(32px, 2.9%, 52px);
}

.decor-angle {
  top: 72.3%;
  bottom: auto;
  left: 34.18%;
  width: clamp(42px, 3.75%, 68px);
  transform: rotate(-15deg);
}

.decor-parabola {
  top: 72.7%;
  bottom: auto;
  right: 31.48%;
  width: clamp(46px, 4.1%, 74px);
  transform: rotate(5.54deg);
}

.decor-circle {
  top: 78.33%;
  bottom: auto;
  right: 1.16%;
  width: clamp(40px, 3.6%, 64px);
}

/* Classroom */
.classroom {
  padding: 80px 0 100px;
}

.section-title-center {
  text-align: center;
  font-size: 49px;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 40px;
  line-height: 1.15;
}

.section-title-narrow {
  max-width: 698px;
  margin-inline: auto;
}

.tab-bar {
  position: relative;
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 40px;
  left: 50%;
  transform: translateX(-50%);
}

.tab-bar__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 144px;
  height: 44px;
  border-radius: 8px;
  background: var(--blue-50);
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 144px;
  height: 44px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  cursor: pointer;
  transition: color 0.35s ease;
}

.tab img {
  flex-shrink: 0;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.tab.active {
  color: var(--blue-500);
}

.tab:not(.active) img {
  opacity: 0.85;
}

.tab-panels {
  position: relative;
  display: block;
}

.tab-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateX(0);
  transition: none;
  pointer-events: none;
}

/* Inactive panels must not reserve height (fixes large gap on mobile) */
.tab-panel:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.tab-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

/* Animated Teachers ↔ Students screen change */
.classroom.is-tab-animating .tab-panels {
  overflow: hidden;
}

.classroom.is-tab-animating .tab-panel {
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.55s;
  will-change: opacity, transform;
}

.classroom.is-tab-animating .tab-panel.is-leaving {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: none;
}

.classroom.is-tab-animating .tab-panel.is-entering {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
}

.classroom.is-tab-animating .tab-panel.is-entering.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.classroom.is-tab-forward .tab-panel.is-leaving {
  opacity: 0;
  transform: translateX(-56px);
}

.classroom.is-tab-forward .tab-panel.is-entering {
  transform: translateX(56px);
}

.classroom.is-tab-backward .tab-panel.is-leaving {
  opacity: 0;
  transform: translateX(56px);
}

.classroom.is-tab-backward .tab-panel.is-entering {
  transform: translateX(-56px);
}

.classroom-grid {
  display: flex;
  align-items: center;
  gap: 60px;
}

.classroom-grid-students {
  flex-direction: row;
}

.classroom-image {
  flex: 0 1 758px;
  max-width: 758px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.classroom-image img {
  width: 100%;
  aspect-ratio: 758 / 428;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Figma 3093:988 – Students tab: copy left, thin-bezel display right */
.classroom-display {
  overflow: visible;
  background: transparent;
}

.classroom-display .monitor-frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(180deg, #3a3a3c 0%, #1d1d1f 100%);
  border-radius: 18px;
  box-shadow:
    0 28px 56px rgba(17, 24, 39, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.classroom-display .monitor-screen {
  position: relative;
  aspect-ratio: 758 / 428;
  border-radius: 10px;
  overflow: hidden;
  background: #0072ff;
}

.classroom-display .monitor-screen img {
  position: absolute;
  left: 0;
  top: -50.26%;
  width: 100%;
  height: 160.01%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  aspect-ratio: auto;
}

.classroom-copy {
  flex: 1;
  min-width: 280px;
}

.classroom-copy h3 {
  font-size: 39px;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.15;
}

.classroom-copy > p {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-900);
  margin-bottom: 32px;
  line-height: 1.4;
}

.check-rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.check-brown {
  width: 22px;
  height: 22px;
}


/* Visuals */
.visuals {
  background: var(--mint-bg);
  padding: 100px 0;
}

.visuals .container {
  display: flex;
  flex-direction: column;
}

.visuals-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.visuals-head h2 {
  flex: 1 1 663px;
  max-width: 663px;
  font-size: 49px;
  font-weight: 500;
  color: var(--gray-950);
  line-height: 1.15;
}

.visuals-head p {
  flex: 0 1 538px;
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-950);
  line-height: 1.45;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-950);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pill.active {
  background: var(--gray-950);
  color: #fff;
}

.visuals-demo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 16.7px rgba(0, 0, 0, 0.07);
}

.visuals-demo img {
  width: 100%;
  aspect-ratio: 1352 / 688;
  object-fit: cover;
}

.visuals .btn-demo {
  align-self: center;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  padding: 12px 22px;
  gap: 12px;
  margin-top: 36px;
}

.visuals .btn-demo svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* Experience */
.experience {
  padding: 100px 0;
}

.experience-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.experience-title-wrap h2 {
  position: relative;
  display: inline-block;
  font-size: 49px;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.2;
  max-width: 634px;
}

.title-highlight {
  position: relative;
  z-index: 0;
}

.title-highlight::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.05em;
  width: min(497px, 100%);
  height: 58px;
  background: var(--yellow-accent);
  border-radius: 9px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 24px;
}

.exp-card {
  text-align: center;
}

.exp-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.exp-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.exp-card p {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1.45;
}

/* How it works */
.how-it-works {
  padding: 80px 0 100px;
}

.how-card {
  position: relative;
  background: var(--how-bg);
  border: 1px solid var(--how-border);
  border-radius: var(--radius-lg);
  padding: 96px 48px;
  text-align: center;
}

.how-card-head {
  margin-bottom: 60px;
}

.how-badge {
  display: inline-block;
  padding: 8px 10px;
  background: var(--how-badge);
  color: var(--how-badge-text);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 18px;
  margin-bottom: 8px;
}

.how-card h2 {
  font-size: 39px;
  font-weight: 500;
  color: var(--how-text);
  line-height: 1.15;
}

.steps-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.steps-connector {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: min(628px, 72%);
  height: 4px;
  max-height: 8px;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  flex: 0 1 344px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-icon-ring {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  flex-shrink: 0;
}

.step-icon-ring .step-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.step-icon-standalone {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  object-fit: contain;
}

.step h3 {
  font-size: 25px;
  font-weight: 500;
  color: var(--gray-50);
  line-height: 1.2;
}

.step-num {
  font-variant-numeric: tabular-nums;
}

.step p {
  font-size: 16px;
  font-weight: 400;
  color: #d1d5db;
  max-width: 287px;
  line-height: 1.45;
}

/* Schools */
.schools {
  padding: 80px 0 100px;
}

.school-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin: 32px 0 28px;
  width: 100%;
  min-width: 0;
}

.school-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.school-card-lime {
  background: var(--lime-card);
  border: 1px solid var(--lime-border);
}

.school-card-mint {
  background: var(--mint-card);
  border: 1px solid var(--mint-border);
}

.school-card.school-card-mint {
  overflow: hidden;
}

.school-card-text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  pointer-events: none;
  overflow-wrap: anywhere;
}

.school-card-mint .school-card-text {
  max-width: 100%;
  padding-right: 0;
}

.school-card h3 {
  font-size: 39px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.15;
}

.school-card-lime h3,
.school-card-lime p { color: var(--lime-text); }

.school-card-mint h3,
.school-card-mint p { color: var(--mint-text); }

.school-card p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.school-card-media {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.school-card-lime .school-card-media {
  left: 64px;
  top: 174px;
  width: min(945px, 148%);
  max-width: none;
  transform: rotate(-1.68deg);
  object-fit: contain;
  object-position: top left;
}

/* Figma — dashboard composition (outer + stage + Group 89 + Frame 210) */
.dashboard-figma-outer {
  position: absolute;
  width: 560.45px;
  height: 156.31px;
  left: 44.01px;
  top: 249px;
  filter: drop-shadow(0 1px 16px rgba(0, 0, 0, 0.03));
  transform: rotate(-2.5deg);
  transform-origin: top left;
  z-index: 1;
  pointer-events: none;
}

.dashboard-figma-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.dashboard-figma-inner {
  position: absolute;
  width: 427.28px;
  height: 137.8px;
  left: 0;
  top: 5.81px;
}

.dashboard-figma-inner img {
  width: 427.28px;
  height: 137.8px;
  object-fit: contain;
  display: block;
}

.dashboard-figma-add {
  position: absolute;
  left: 426.48px;
  top: 122.12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 133.69px;
  height: 39.08px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 34px;
  border: 2px solid #f97316;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: #1f2937;
  line-height: 1;
}

.dashboard-figma-add-text {
  white-space: nowrap;
}

/* dashboard-figma mobile layout lives in responsive.css (≤1024px) */

@media (min-width: 1025px) {
  .school-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin: 49px 0 40px;
  }

  .school-card {
    display: block;
    height: 544px;
    min-height: 544px;
    padding: 43px;
  }

  .school-card-mint {
    height: 544px;
    min-height: 544px;
  }

  .school-card.school-card-mint {
    overflow: visible;
  }

  .school-card-text {
    max-width: 568px;
  }

  .dashboard-figma-outer {
    position: absolute;
    width: 560.45px;
    height: 156.31px;
    left: 44.01px;
    top: 249px;
    transform: rotate(-2.5deg);
    transform-origin: top left;
  }
}

/* Figma Frame 209 – Built for every classroom screen */
.screen-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 131px;
  width: 100%;
  max-width: var(--content-w);
  height: 544px;
  margin-inline: auto;
  padding: 1px 44px;
  background: var(--peach-card);
  border: 1px solid var(--peach-border);
  border-radius: 28px;
  overflow: hidden;
}

/* Figma Frame 207 */
.screen-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 1 1 733px;
  max-width: 733px;
  min-width: 0;
}

/* Figma Frame 216 */
.screen-copy-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.screen-copy h3 {
  margin: 0;
  font-size: 39px;
  font-weight: 500;
  line-height: 49px;
  color: var(--peach-text);
}

.screen-copy-stack > p {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--peach-text);
}

/* Figma Frame 215 */
.screen-check-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.screen-check-rows li {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--peach-text);
}

.screen-check-rows .check-icon {
  width: 22px;
  height: 22px;
}

.screen-card .btn-contact-brown {
  flex: none;
  min-width: 146px;
  height: 48px;
  padding: 8px 16px;
  line-height: 20px;
  border-radius: 12px;
}

/* Figma portrait – 531×544, flipped toward copy */
.screen-image {
  flex: none;
  width: 531px;
  height: 544px;
}

.screen-image img {
  display: block;
  width: 531px;
  height: 544px;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(2px -6px 28.3px rgba(0, 0, 0, 0.08));
  transform: scaleX(-1);
}

/* FAQ */
.faq {
  padding: 100px 0 120px;
}

.faq-grid {
  display: flex;
  gap: 100px;
  align-items: flex-start;
}

.faq-intro {
  flex: 0 0 471px;
  max-width: 471px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.faq-intro h2 {
  width: 100%;
  margin: 0;
  font-size: 50px;
  font-weight: 600;
  line-height: 63px;
  text-align: center;
  color: #1f2937;
}

.faq-mark {
  flex: none;
  width: 160px;
  height: 160px;
  margin: 0;
  object-fit: contain;
}

.faq-list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  min-height: 81px;
  padding: 28px;
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.faq-item summary span {
  flex: 1;
  text-align: left;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item p {
  min-height: 0;
  overflow: hidden;
  padding: 0 28px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.3s ease, padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] p {
  padding: 0 28px 28px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer,
  .faq-item p,
  .faq-toggle {
    transition: none;
  }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 54px;
  bottom: 54px;
  z-index: 1001;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(37, 211, 102, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float.is-hidden {
  transform: translateY(calc(100% + 40px)) scale(0.92);
  opacity: 0;
  pointer-events: none;
}

.whatsapp-float:not(.is-hidden):hover {
  transform: scale(1.08);
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.whatsapp-float svg {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--blue-primary);
  border-radius: var(--radius-footer) var(--radius-footer) 0 0;
  padding: 60px var(--page-pad) 40px;
  color: #fff;
}

.footer-inner {
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
}

.logo-footer {
  display: block;
  margin-bottom: 20px;
}

.logo-footer-img {
  height: 45px;
  width: auto;
  max-width: 226px;
}

.footer-brand p {
  max-width: 337px;
  font-size: 13px;
  font-weight: 400;
  text-transform: capitalize;
  color: #fff;
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-col a {
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  color: #fff;
  white-space: nowrap;
}

.footer-col a:hover { opacity: 0.85; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 400;
}

.footer-copy-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1280px) {
  .hero-inner {
    gap: clamp(20px, 3vw, 68px);
    padding-block: clamp(48px, 8vw, 110px) clamp(32px, 5vw, 80px);
  }

  .hero-copy {
    flex: 1 1 0;
    max-width: min(617px, 46%);
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 3.8vw, 3.75rem);
  }

  .hero-line {
    line-height: 1.08;
  }

  .hero-tagline {
    font-size: clamp(15px, 1.35vw, 20px);
    max-width: 100%;
  }

  .hero-visual {
    flex: 1 1 0;
    max-width: min(666px, 52%);
  }

  .experience-grid { gap: 32px 20px; }
  .steps-row { gap: 40px; }
}

@media (max-width: 992px) {
  .hero {
    width: 100%;
    max-width: 100vw;
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    padding-block: 48px 40px;
    gap: 28px;
  }

  .hero-copy {
    flex: none;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-line {
    line-height: 1.12;
  }

  .hero-tagline {
    margin-inline: 0;
    max-width: 100%;
  }

  .hero-visual {
    flex: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 611 / 360;
    height: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    border-radius: 20px;
    box-shadow: none;
    border: none;
    overflow: hidden;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .visuals-head {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .visuals-head h2 {
    flex: none;
    max-width: none;
  }

  .visuals-head p {
    flex: none;
    max-width: none;
  }

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

  .faq-grid {
    flex-direction: column;
    gap: 48px;
  }

  .faq-intro { flex: none; width: 100%; }

}

@media (max-width: 968px) {
  .classroom-grid,
  .classroom-grid-students {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .classroom-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .classroom-copy {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .screen-card {
    flex-direction: column;
    gap: 40px;
    height: auto;
    padding: 32px 24px;
  }

  .screen-copy {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .screen-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-inline: auto;
  }

  .screen-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .steps-connector {
    display: none;
  }

  .step {
    flex: none;
    width: 100%;
    max-width: 320px;
  }

  .step p {
    max-width: 100%;
  }

  .classroom-display .monitor-frame {
    max-width: 100%;
  }

  .classroom-grid-students {
    flex-direction: column;
  }

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

  .footer-links-group {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-col { align-items: flex-start; }
}

@media (min-width: 1024px) {
  .steps-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .steps-connector {
    display: block;
  }
}

@media (max-width: 900px) {
  .header-actions {
    display: none;
  }

  .nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    gap: 16px;
    z-index: 999;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 24px;
    border-bottom: 1px solid transparent;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-10px);
    box-shadow: 0 0 0 rgba(15, 23, 42, 0);
    transition:
      max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.35s ease,
      border-color 0.25s ease,
      box-shadow 0.35s ease,
      visibility 0s linear 0.42s;
  }

  .nav a {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.2s ease;
  }

  .nav.open {
    max-height: 320px;
    opacity: 1;
    padding: 24px;
    border-bottom-color: var(--gray-300);
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition:
      max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.35s ease,
      border-color 0.25s ease,
      box-shadow 0.35s ease,
      visibility 0s;
  }

  .nav.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.open a:nth-child(1) { transition-delay: 0.06s; }
  .nav.open a:nth-child(2) { transition-delay: 0.11s; }
  .nav.open a:nth-child(3) { transition-delay: 0.16s; }

  .menu-toggle { display: flex; }
}

@media (max-width: 900px) {
  .about-intro {
    --about-icon-size: clamp(28px, 7.5vw, 40px);
    --about-icon-gap: 12px;
    --about-icon-inset: clamp(8px, 2.5vw, 16px);
    --about-text-gutter: clamp(56px, 15vw, 80px);
    min-height: auto;
    padding: calc(var(--about-icon-size) + 24px) max(12px, var(--page-pad)) 56px;
  }

  .about-decor {
    width: 100%;
    left: 0;
    transform: none;
  }

  .about-intro-inner {
    position: relative;
    z-index: 2;
    padding-inline: var(--about-text-gutter);
    padding-top: calc(var(--about-icon-size) + 8px);
    max-width: 100%;
    gap: 12px;
  }

  .about-lead {
    font-size: 18px;
    line-height: 1.5;
  }

  .about-decor .decor {
    display: block;
    width: var(--about-icon-size);
    max-width: var(--about-icon-size);
    opacity: 0.65;
  }

  /* Top-left column — stacked with gap */
  .decor-set-square {
    top: var(--about-icon-inset);
    left: var(--about-icon-inset);
    right: auto;
    bottom: auto;
    transform: rotate(-22deg);
  }

  .decor-protractor {
    top: calc(var(--about-icon-inset) + var(--about-icon-size) + var(--about-icon-gap));
    left: var(--about-icon-inset);
    right: auto;
    bottom: auto;
    transform: rotate(30deg);
  }

  /* Top-right column — stacked with gap */
  .decor-pi {
    top: var(--about-icon-inset);
    right: var(--about-icon-inset);
    left: auto;
    bottom: auto;
    transform: rotate(20.81deg);
  }

  .decor-ruler {
    top: calc(var(--about-icon-inset) + var(--about-icon-size) + var(--about-icon-gap));
    right: var(--about-icon-inset);
    left: auto;
    bottom: auto;
    transform: rotate(-15deg);
  }

  .decor-infinity {
    top: var(--about-icon-inset);
    left: 50%;
    right: auto;
    bottom: auto;
    width: calc(var(--about-icon-size) - 4px);
    max-width: calc(var(--about-icon-size) - 4px);
    transform: translateX(-50%) rotate(-22deg);
  }

  /* Bottom-left column */
  .decor-sqrt {
    top: auto;
    bottom: var(--about-icon-inset);
    left: var(--about-icon-inset);
    right: auto;
  }

  .decor-angle {
    top: auto;
    bottom: calc(var(--about-icon-inset) + var(--about-icon-size) + var(--about-icon-gap));
    left: var(--about-icon-inset);
    right: auto;
    transform: rotate(-15deg);
  }

  /* Bottom-right column */
  .decor-circle {
    top: auto;
    bottom: var(--about-icon-inset);
    right: var(--about-icon-inset);
    left: auto;
  }

  .decor-parabola {
    top: auto;
    bottom: calc(var(--about-icon-inset) + var(--about-icon-size) + var(--about-icon-gap));
    right: var(--about-icon-inset);
    left: auto;
    transform: rotate(5deg);
  }
}

@media (max-width: 640px) {
  .about-intro {
    --about-icon-size: clamp(26px, 7vw, 36px);
    --about-icon-gap: 10px;
    --about-text-gutter: clamp(48px, 13vw, 64px);
    padding-block: calc(var(--about-icon-size) + 20px) 44px;
  }

  .about-intro-inner {
    padding-inline: var(--about-text-gutter);
  }

  .about-intro h2,
  .section-title-center,
  .visuals-head h2,
  .experience-title-wrap h2,
  .faq-intro h2 {
    font-size: clamp(1.75rem, 7vw, 49px);
  }

  .about-intro h2 {
    line-height: 1.2;
  }

  .about-lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .highlight-phrase {
    padding: 2px 5px 3px;
    line-height: 1.45;
  }

  .school-card {
    height: auto;
    min-height: 0;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    padding: 48px 24px;
  }

  .faq-grid { gap: 32px; }

  .faq-intro { flex: none; }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 54px;
    bottom: 54px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Scroll reveal — sections fade in/out on scroll */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .menu-toggle span,
  .nav,
  .nav a {
    transition: none;
  }
  .menu-toggle.active span {
    transform: none;
    opacity: 1;
  }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    transform: none;
    visibility: hidden;
    opacity: 0;
  }
  .nav.open {
    visibility: visible;
    opacity: 1;
  }
  .nav a {
    opacity: 1;
    transform: none;
  }
  .site-header,
  .whatsapp-float { transition: none; }
  .site-header.is-hidden { transform: none; pointer-events: auto; }
  .whatsapp-float.is-hidden { transform: none; opacity: 1; pointer-events: auto; }
  .whatsapp-float:hover { transform: none; }
  .tab-bar__indicator,
  .tab-panel,
  .tab img {
    transition: none;
  }
  .tab-panel {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
