:root {
  --ink: #153638;
  --muted: #62777a;
  --teal: #0ca7aa;
  --teal-dark: #087f84;
  --teal-deep: #075c61;
  --coral: #ef796c;
  --yellow: #f2bf4d;
  --green: #63a36f;
  --sky: #4d8fb7;
  --paper: #ffffff;
  --soft: #f3f9f8;
  --line: #d9e7e5;
  --shadow: 0 18px 48px rgba(18, 76, 77, 0.12);
  --radius: 8px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
.samio-home-page .w-menu,
.samio-home-page .footer,
.samio-home-page .footer-powered { display: none !important; }
.samio-home-page .wrap-home { width: 100%; max-width: none; padding: 0; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; stroke-width: 2; }

.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(21, 54, 56, 0.1);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.scrolled {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(21, 54, 56, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-shell { display: flex; min-height: 76px; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; border: 0; background: transparent; box-shadow: none; }
.brand-logo { display: block; width: 146px; height: auto; }
.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08);
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  height: 5px;
  border-bottom: 2px solid white;
  border-radius: 50%;
}
.brand-mark span { margin-top: -5px; font-size: 18px; }
.brand-name { color: var(--ink); font-size: 27px; font-weight: 800; line-height: 1; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 32px; flex: 1; }
.desktop-nav a, .login-link { position: relative; font-size: 14px; font-weight: 600; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { font-size: 18px; }
.button-small { min-height: 42px; padding: 0 17px; }
.button-primary { background: var(--teal-dark); color: white; box-shadow: 0 10px 24px rgba(8, 127, 132, .2); }
.button-primary:hover { background: var(--teal-deep); box-shadow: 0 13px 30px rgba(8, 127, 132, .26); }
.button-quiet { border-color: rgba(21, 54, 56, .22); background: rgba(255, 255, 255, .76); color: var(--ink); }
.button-quiet:hover { border-color: var(--teal-dark); background: white; }
.button-light { background: white; color: var(--teal-deep); }
.button-white { background: white; color: var(--teal-deep); }
.button-outline-white { border-color: rgba(255,255,255,.7); color: white; }
.icon-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  cursor: pointer;
}
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: min(790px, 100vh);
  overflow: hidden;
  background: #dff6f4 url("../images/samio-hero-clean.jpg") center center / cover no-repeat;
  background-image: -webkit-image-set(url("../images/samio-hero-clean.webp") 1x, url("../images/samio-hero-clean.jpg") 1x);
  background-image: image-set(url("../images/samio-hero-clean.webp") type("image/webp"), url("../images/samio-hero-clean.jpg") type("image/jpeg"));
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 29%, rgba(255,255,255,.42) 48%, rgba(255,255,255,0) 68%);
}
.hero-inner { position: relative; z-index: 2; display: flex; min-height: inherit; align-items: center; padding: 112px 0 54px; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-copy { width: 52%; max-width: 650px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.eyebrow > span { width: 30px; height: 2px; background: currentColor; }
.eyebrow.light { color: #a8e9e5; }
.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(50px, 5.2vw, 74px);
  font-weight: 800;
  line-height: 1.06;
}
.hero h1 > span { display: block; margin-bottom: 10px; color: var(--teal-dark); font-size: .48em; line-height: 1; }
.hero-lead { max-width: 600px; margin: 24px 0 0; color: #425f61; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: #466366; font-size: 12px; font-weight: 600; }
.hero-notes span { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes svg { color: var(--green); font-size: 16px; }
.hero-caption {
  position: absolute;
  right: max(26px, calc((100vw - var(--shell)) / 2));
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  background: rgba(255,255,255,.83);
  box-shadow: 0 12px 30px rgba(19, 72, 73, .15);
  backdrop-filter: blur(12px);
}
.hero-caption-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 7px; background: var(--coral); color: white; }
.hero-caption > span:last-child { display: grid; gap: 2px; }
.hero-caption strong { font-size: 12px; }
.hero-caption small { color: var(--muted); font-size: 10px; }

/* Independent zero-gravity layers above the illustrated hero. */
.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  perspective: 1100px;
  transform-style: preserve-3d;
}
.hero-float {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: absolute;
  display: flex;
  box-sizing: border-box;
  color: #087f84;
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
  filter: drop-shadow(0 16px 18px rgba(13, 75, 78, .19));
}
.float-picture,
.float-lesson {
  border: 1px solid rgba(255, 255, 255, .82);
  background: rgba(225, 250, 248, .7);
  box-shadow: inset 0 0 0 1px rgba(8, 127, 132, .1), 0 18px 38px rgba(13, 75, 78, .14);
  backdrop-filter: blur(9px) saturate(1.12);
}
.float-lesson > span { display: grid; flex: 1; gap: 6px; }
.float-lesson b { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(8, 127, 132, .46); }
.float-picture {
  top: 23%;
  right: 38%;
  width: 106px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  opacity: .58;
  animation: samio-float-c 8.4s ease-in-out -.6s infinite;
}
.float-picture svg { width: 58px; height: 42px; color: #2eb9b1; }
.float-lesson {
  top: 34%;
  right: 39.5%;
  width: 150px;
  height: 62px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  opacity: .46;
  animation: samio-float-d 7.2s ease-in-out -2.2s infinite;
}
.float-lesson > svg { width: 30px; height: 30px; flex: 0 0 auto; fill: rgba(46,185,177,.18); }
.float-lesson b:last-child { width: 66%; opacity: .55; }
.hero-caption {
  z-index: 4;
  animation: samio-caption-float 7s ease-in-out -1.8s infinite;
  will-change: transform;
}
@keyframes samio-float-c {
  0%,100% { transform: translate3d(var(--pointer-x), var(--pointer-y), 25px) rotateY(-5deg) rotateZ(-2deg); }
  50% { transform: translate3d(calc(var(--pointer-x) + 5px), calc(var(--pointer-y) - 10px), 45px) rotateY(5deg) rotateZ(2deg); }
}
@keyframes samio-float-d {
  0%,100% { transform: translate3d(var(--pointer-x), var(--pointer-y), 36px) rotateY(5deg) rotateZ(1deg); }
  50% { transform: translate3d(calc(var(--pointer-x) - 4px), calc(var(--pointer-y) - 12px), 58px) rotateY(-4deg) rotateZ(-2deg); }
}
@keyframes samio-caption-float {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-7px,0); }
}
.hero-sound-toggle {
  position: absolute;
  right: max(26px, calc((100vw - var(--shell)) / 2));
  bottom: 96px;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--teal-dark);
  box-shadow: 0 12px 30px rgba(19,72,73,.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.hero-sound-toggle:hover { transform: translateY(-2px); }
.hero-sound-toggle[aria-pressed="true"] { background: var(--teal-dark); color: #fff; }
.hero-sound-toggle svg { width: 20px; height: 20px; }
.hero-sound-toggle:focus-visible { outline: 3px solid rgba(12,167,170,.3); outline-offset: 3px; }

.signal-band { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: white; }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid > div { display: flex; min-height: 108px; align-items: center; gap: 14px; padding: 20px 26px; border-right: 1px solid var(--line); }
.signal-grid > div:first-child { padding-left: 0; }
.signal-grid > div:last-child { border-right: 0; padding-right: 0; }
.signal-grid > div > svg { flex: 0 0 auto; color: var(--teal-dark); font-size: 27px; }
.signal-grid span { display: grid; gap: 4px; }
.signal-grid strong { font-size: 13px; }
.signal-grid small { color: var(--muted); font-size: 10px; line-height: 1.45; }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: end; gap: 72px; margin-bottom: 54px; }
.section-heading.compact { align-items: center; }
.section h2, .story-copy h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 750;
  line-height: 1.15;
}
.section-intro { margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.experience-section { background: var(--soft); }
.role-switcher { display: grid; grid-template-columns: 190px minmax(0,1fr); align-items: start; gap: 24px; }
.role-tabs { display: grid; gap: 10px; padding-top: 18px; }
.role-tabs button {
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}
.role-tabs button > span:last-child { display: grid; gap: 4px; min-width: 0; }
.role-tabs button strong { color: inherit; font-size: 12px; }
.role-tabs button small { color: #7d9293; font-size: 8px; font-weight: 600; }
.role-tab-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 7px; background: #e9f5f3; color: var(--teal-dark); }
.role-tab-icon svg { width: 18px; height: 18px; }
.role-tabs button[aria-selected="true"] { border-color: var(--line); background: white; color: var(--teal-dark); box-shadow: 0 10px 25px rgba(18,76,77,.08); }
.role-tabs button[data-role-tab="teacher"] .role-tab-icon { background: #e8f3eb; color: #3f7953; }
.role-tabs button[data-role-tab="teacher"][aria-selected="true"] { color: #315f42; }
.role-tabs button[data-role-tab="center"] .role-tab-icon { background: #eaf0f8; color: #376895; }
.role-tabs button[data-role-tab="center"][aria-selected="true"] { color: #315f88; }

.app-window {
  --role-accent: #0a8588;
  --role-soft: #dcf5f1;
  --role-sidebar: #0b686b;
  display: grid;
  grid-template-columns: 202px minmax(0,1fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid #cfe1df;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.app-window[data-active-role="teacher"] { --role-accent: #43815b; --role-soft: #e8f4e9; --role-sidebar: #245d48; }
.app-window[data-active-role="center"] { --role-accent: #3c6f9d; --role-soft: #e9f0f8; --role-sidebar: #294f73; }
.app-sidebar { display: flex; flex-direction: column; padding: 24px 16px; background: var(--role-sidebar); color: white; transition: background .25s ease; }
.mini-brand { display: flex; align-items: center; gap: 9px; padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; }
.mini-brand .brand-mark { width: 28px; height: 28px; background: white; color: var(--role-sidebar); box-shadow: none; }
.mini-brand .brand-mark::after { border-color: var(--role-sidebar); }
.mini-brand .brand-mark span { font-size: 13px; }
.role-context[hidden], .role-panel[hidden] { display: none !important; }
.app-nav { display: grid; gap: 7px; margin-top: 24px; }
.app-nav span { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 11px; border-radius: 6px; color: rgba(255,255,255,.72); font-size: 11px; }
.app-nav span.active { background: rgba(255,255,255,.15); color: white; }
.app-nav svg { width: 16px; height: 16px; }
.profile-mini { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 14px 8px 0; border-top: 1px solid rgba(255,255,255,.14); }
.profile-mini > span { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 50%; background: var(--yellow); color: #4f3c05; font-size: 9px; font-weight: 800; }
.profile-mini small { display: grid; gap: 2px; color: rgba(255,255,255,.68); font-size: 8px; }
.profile-mini small strong { color: white; font-size: 10px; }
.app-main { min-width: 0; padding: 25px 28px 28px; background: #fbfdfd; transition: background .25s ease; }
.app-window[data-active-role="teacher"] .app-main { background: #fcfdfb; }
.app-window[data-active-role="center"] .app-main { background: #fbfcfe; }
.app-topbar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.app-topbar > .role-context { display: grid; gap: 5px; }
.app-topbar small { color: var(--muted); font-size: 9px; }
.app-topbar strong { font-size: 17px; }
.app-topbar .icon-button { width: 38px; height: 38px; }
.notification-dot { position: absolute; top: -5px; right: -5px; display: grid; width: 18px; height: 18px; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--coral); color: white; font-size: 8px; font-weight: 800; }
.role-panel { min-height: 500px; animation: panelIn .28s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.role-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.role-card-head > span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 5px; background: white; color: var(--role-accent); font-size: 8px; font-weight: 800; }
.role-card-head > span svg { width: 13px; height: 13px; }
.role-card-head small { color: #617b7c; font-size: 8px; }
.role-action { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--role-accent); color: white; font-size: 9px; font-weight: 800; }
.role-action svg { width: 13px; height: 13px; }
.progress-line { height: 6px; overflow: hidden; border-radius: 6px; background: rgba(8,127,132,.14); }
.progress-line span { display: block; height: 100%; border-radius: inherit; background: var(--role-accent); }

.student-overview-grid { display: grid; grid-template-columns: minmax(0,1fr) 168px; gap: 13px; }
.student-course-card { min-height: 210px; padding: 19px 20px; border-radius: 8px; background: #dcf5f1; }
.student-course-card > p { margin: 22px 0 3px; color: #4e7475; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.student-course-card h3 { margin: 0 0 17px; font-size: 20px; }
.student-progress-copy { display: flex; justify-content: space-between; margin-bottom: 7px; color: #547273; font-size: 8px; }
.student-progress-copy strong { color: var(--teal-dark); }
.student-course-card .role-action { margin-top: 17px; }
.student-streak-card { display: flex; min-height: 210px; flex-direction: column; align-items: center; justify-content: center; padding: 18px 12px; border-radius: 8px; background: #fff0eb; text-align: center; }
.streak-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 10px; border-radius: 50%; background: rgba(239,121,108,.12); color: var(--coral); }
.streak-icon svg { width: 23px; height: 23px; fill: rgba(239,121,108,.16); }
.student-streak-card > strong { font-size: 19px; }
.student-streak-card > small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.streak-days { display: flex; gap: 4px; margin-top: 17px; }
.streak-days i { width: 7px; height: 7px; border-radius: 50%; background: #f3b0a8; }
.streak-days i.today { width: 18px; border-radius: 7px; background: var(--coral); }
.student-dayline { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 13px; padding: 13px 12px; border: 1px solid #e1eceb; border-radius: 8px; background: white; }
.student-dayline::before { content: ""; position: absolute; top: 28px; right: 12%; left: 12%; height: 2px; background: #e3eceb; }
.student-dayline > div { position: relative; z-index: 1; display: grid; justify-items: center; gap: 3px; text-align: center; }
.student-dayline > div > span { display: grid; width: 30px; height: 30px; place-items: center; border: 3px solid white; border-radius: 50%; background: #edf2f1; color: #718586; font-size: 8px; font-weight: 800; }
.student-dayline > div.done > span { background: var(--teal-dark); color: white; }
.student-dayline > div.active > span { background: var(--yellow); color: #604a0c; box-shadow: 0 0 0 3px #fff4c9; }
.student-dayline svg { width: 12px; height: 12px; }
.student-dayline small { color: var(--muted); font-size: 7px; }
.student-dayline strong { font-size: 8px; }
.student-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.student-feed > div { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 9px; min-width: 0; padding: 10px 11px; border: 1px solid #e1eceb; border-radius: 7px; background: white; }
.student-feed > div > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.student-feed strong, .student-feed small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-feed strong { font-size: 9px; }
.student-feed small { color: var(--muted); font-size: 7px; }
.student-feed b { grid-column: 2; color: var(--teal-dark); font-size: 7px; }
.feed-icon { display: grid; width: 33px; height: 33px; grid-row: 1 / span 2; place-items: center; border-radius: 6px; background: #e9f6f4; color: var(--teal-dark); }
.feed-icon.warm { background: #fff4dd; color: #a8750b; }
.feed-icon svg { width: 15px; height: 15px; }

.teacher-workspace-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(230px,.75fr); gap: 13px; }
.teacher-class-card { min-height: 270px; padding: 19px 20px; border-radius: 8px; background: #e8f4e9; }
.teacher-class-card > p { margin: 25px 0 5px; color: #56725f; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.teacher-class-card h3 { max-width: 430px; margin: 0; font-size: 20px; line-height: 1.25; }
.class-attendance { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.class-attendance > small { color: #64766a; font-size: 8px; }
.avatar-stack { display: flex; padding-left: 7px; }
.avatar-stack i { display: grid; width: 26px; height: 26px; place-items: center; margin-left: -7px; border: 2px solid #e8f4e9; border-radius: 50%; background: #78aa87; color: white; font-size: 6px; font-style: normal; font-weight: 800; }
.avatar-stack i:nth-child(2) { background: #df947f; }
.avatar-stack i:nth-child(3) { background: #718cae; }
.avatar-stack i:nth-child(4) { background: #fff; color: #52705c; }
.teacher-class-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.teacher-class-footer > span { color: #607668; font-size: 8px; }
.grading-queue { min-height: 270px; padding: 16px; border: 1px solid #dce8df; border-radius: 8px; background: white; }
.queue-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.queue-head > span { display: inline-flex; align-items: center; gap: 6px; color: #315f42; font-size: 9px; font-weight: 800; }
.queue-head svg { width: 15px; height: 15px; }
.queue-head > strong { padding: 4px 6px; border-radius: 5px; background: #eef6ef; color: #3f7953; font-size: 8px; }
.queue-item { display: grid; grid-template-columns: 29px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 11px 0; border-top: 1px solid #edf1ee; }
.queue-item > span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #e8f3eb; color: #3d7350; font-size: 7px; font-weight: 800; }
.queue-item p { display: grid; gap: 3px; min-width: 0; margin: 0; }
.queue-item p strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.queue-item p small { overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.queue-item > b { color: #4b7b5b; font-size: 7px; }
.teacher-pulse-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 13px; }
.teacher-pulse-row article { display: grid; grid-template-columns: 34px 1fr; align-items: center; column-gap: 9px; padding: 11px; border: 1px solid #dfe9e1; border-radius: 7px; background: white; }
.teacher-pulse-row small { color: var(--muted); font-size: 7px; }
.teacher-pulse-row strong { margin-top: 3px; font-size: 10px; }
.pulse-icon { display: grid; width: 34px; height: 34px; grid-row: 1 / span 2; place-items: center; border-radius: 6px; }
.pulse-icon.coral { background: #fff0ed; color: var(--coral); }
.pulse-icon.green { background: #edf7ee; color: var(--green); }
.pulse-icon.yellow { background: #fff7df; color: #a97609; }
.pulse-icon svg { width: 15px; height: 15px; }
.teacher-agenda { display: grid; grid-template-columns: 50px minmax(0,1fr) auto; align-items: center; gap: 11px; margin-top: 13px; padding: 11px 13px; border-left: 3px solid #4f8b63; border-radius: 0 7px 7px 0; background: #f2f7f3; }
.agenda-time { color: #315f42; font-size: 10px; font-weight: 800; }
.teacher-agenda > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.teacher-agenda strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.teacher-agenda small { color: var(--muted); font-size: 7px; }
.teacher-agenda b { color: #3b7550; font-size: 7px; }

.center-kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.center-kpi-grid article { display: grid; grid-template-columns: 31px minmax(0,1fr); align-items: center; column-gap: 8px; padding: 11px; border: 1px solid #dfe7ef; border-radius: 7px; background: white; }
.center-kpi-grid article > span { display: grid; width: 31px; height: 31px; grid-row: 1 / span 3; place-items: center; border-radius: 6px; background: #eaf1f8; color: #3c6f9d; }
.center-kpi-grid svg { width: 15px; height: 15px; }
.center-kpi-grid small { color: var(--muted); font-size: 7px; }
.center-kpi-grid strong { margin-top: 2px; font-size: 13px; }
.center-kpi-grid b { margin-top: 2px; color: #5b7c9c; font-size: 6px; }
.center-operations-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(230px,.65fr); gap: 12px; margin-top: 12px; }
.operation-chart, .center-alerts { min-height: 292px; padding: 17px; border: 1px solid #dfe7ef; border-radius: 8px; background: white; }
.operation-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.operation-head > span { display: grid; gap: 4px; }
.operation-head strong { font-size: 10px; }
.operation-head small { color: var(--muted); font-size: 7px; }
.operation-head > b { padding: 5px 7px; border-radius: 5px; background: #ebf3fa; color: #376895; font-size: 7px; }
.bar-chart { display: grid; height: 205px; grid-template-columns: repeat(7,1fr); align-items: end; gap: 9px; margin-top: 18px; padding: 8px 6px 0; border-bottom: 1px solid #dfe7ef; background: repeating-linear-gradient(to top, transparent 0, transparent 49px, #edf1f5 50px); }
.bar-chart > span { display: grid; height: 100%; grid-template-rows: 1fr 18px; align-items: end; gap: 5px; justify-items: center; }
.bar-chart i { width: min(22px,80%); height: var(--bar); border-radius: 4px 4px 0 0; background: #82acd0; }
.bar-chart span:nth-child(4) i, .bar-chart span:nth-child(6) i { background: #3c6f9d; }
.bar-chart small { color: var(--muted); font-size: 7px; }
.alert-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.alert-head strong { font-size: 10px; }
.alert-head span { padding: 4px 6px; border-radius: 5px; background: #edf2f7; color: #4c6c8a; font-size: 7px; font-weight: 800; }
.center-alerts > div:not(.alert-head) { display: grid; grid-template-columns: 9px minmax(0,1fr) 14px; align-items: center; gap: 8px; padding: 14px 0; border-top: 1px solid #edf1f5; }
.alert-dot { width: 8px; height: 8px; border-radius: 50%; }
.alert-dot.coral { background: var(--coral); }
.alert-dot.yellow { background: var(--yellow); }
.alert-dot.green { background: var(--green); }
.center-alerts p { display: grid; gap: 3px; min-width: 0; margin: 0; }
.center-alerts p strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.center-alerts p small { color: var(--muted); font-size: 7px; }
.center-alerts > div > svg { width: 13px; color: #7c909f; }
.center-quick-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 11px 13px; border-radius: 7px; background: #eaf1f8; }
.center-quick-row > span { display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; column-gap: 9px; }
.center-quick-row > span > svg { width: 30px; height: 30px; grid-row: 1 / span 2; padding: 7px; border-radius: 6px; background: white; color: #376895; }
.center-quick-row strong { font-size: 9px; }
.center-quick-row small { color: #688097; font-size: 7px; }
.center-quick-row > b { display: inline-flex; align-items: center; gap: 5px; color: #315f88; font-size: 8px; }
.center-quick-row > b svg { width: 12px; height: 12px; }

.path-section { background: white; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-size: 13px; font-weight: 750; }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.path-card { position: relative; min-height: 330px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.path-card::before { content: ""; position: absolute; right: -36px; bottom: -40px; width: 140px; height: 140px; border: 28px solid rgba(255,255,255,.35); border-radius: 50%; }
.path-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 7px; background: rgba(255,255,255,.75); font-size: 25px; }
.path-card > span { display: block; margin-top: 48px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.path-card h3 { margin: 9px 0 11px; font-size: 21px; line-height: 1.35; }
.path-card p { margin: 0; color: rgba(21,54,56,.72); font-size: 12px; line-height: 1.65; }
.path-card > a { position: absolute; right: 20px; bottom: 20px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(21,54,56,.2); border-radius: 7px; background: rgba(255,255,255,.72); transition: transform .2s ease, background .2s ease; }
.path-card > a:hover { transform: translateX(3px); background: white; }
.path-ielts { background: #d9f0ef; }
.path-language { background: #f9e4df; }
.path-ai { background: #fff2c8; }
.path-class { background: #e4f0df; }

.story-band { display: grid; min-height: 720px; grid-template-columns: 1.08fr .92fr; overflow: hidden; }
.story-image { position: relative; min-height: 620px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-image.motion-reveal { opacity: 1; transform: none; filter: none; clip-path: inset(0); }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 90px max(48px, calc((100vw - var(--shell)) / 2)); }
.vocab-band .story-copy { padding-left: 72px; background: var(--teal-deep); color: white; }
.story-copy > p:not(.eyebrow) { max-width: 570px; margin: 22px 0 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.8; }
.feature-list { display: grid; width: 100%; gap: 10px; margin: 30px 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.feature-list li > svg { flex: 0 0 auto; color: #9de5e1; font-size: 23px; }
.feature-list li span { display: grid; gap: 4px; }
.feature-list strong { font-size: 13px; }
.feature-list small { color: rgba(255,255,255,.6); font-size: 10px; }

.journey-section { background: #fffaf0; }
.journey-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 90px; }
.journey-copy > p:not(.eyebrow) { margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.journey-points { display: grid; gap: 12px; margin-top: 28px; }
.journey-points span { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 650; }
.journey-points svg { display: grid; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #dfeedd; color: var(--green); }
.journey-visual { padding: 28px; border: 1px solid #eadfca; border-radius: var(--radius); background: white; box-shadow: 0 20px 50px rgba(87,67,25,.09); }
.level-card { padding: 22px; border-radius: 7px; background: #ecf7f6; }
.level-top { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; }
.avatar-star { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 7px; background: var(--teal); color: white; font-size: 22px; }
.level-top > span:nth-child(2) { display: grid; gap: 4px; }
.level-top small { color: var(--muted); font-size: 9px; }
.level-top strong { font-size: 15px; }
.level-top b { color: var(--teal-dark); font-size: 13px; }
.xp-track { height: 8px; margin-top: 20px; overflow: hidden; border-radius: 6px; background: rgba(8,127,132,.13); }
.xp-track span { display: block; width: 82%; height: 100%; border-radius: inherit; background: var(--teal); }
.level-bottom { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 8px; }
.badge-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.badge-shelf article { display: flex; min-height: 174px; flex-direction: column; align-items: center; justify-content: center; padding: 15px; border: 1px solid var(--line); border-radius: 7px; text-align: center; }
.badge-shape { display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 13px; clip-path: polygon(50% 0%, 90% 18%, 100% 60%, 72% 100%, 28% 100%, 0 60%, 10% 18%); color: white; font-size: 27px; }
.badge-green { background: var(--green); }
.badge-coral { background: var(--coral); }
.badge-yellow { background: var(--yellow); color: #6e500b; }
.badge-shelf strong { font-size: 10px; line-height: 1.45; }
.badge-shelf small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.badge-shelf article.locked { opacity: .55; filter: grayscale(.4); }

.classroom-band { grid-template-columns: .92fr 1.08fr; }
.classroom-band .story-image img { object-position: right center; }
.classroom-band .story-copy { padding-right: 72px; background: #173f45; color: white; }
.classroom-stats { display: grid; width: 100%; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 30px 0; }
.classroom-stats > div { display: grid; gap: 5px; min-width: 0; padding: 15px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; }
.classroom-stats svg { margin-bottom: 7px; color: #9de5e1; font-size: 22px; }
.classroom-stats strong { font-size: 11px; }
.classroom-stats small { color: rgba(255,255,255,.58); font-size: 8px; line-height: 1.5; }

.device-section { overflow: hidden; background: #eef7f6; }
.device-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 86px; }
.device-copy > p:not(.eyebrow) { margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.device-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.device-tags span { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 10px; font-weight: 650; }
.device-stage { position: relative; min-height: 470px; }
.laptop-mockup { position: absolute; top: 25px; right: 0; width: 78%; padding: 12px 12px 27px; border-radius: 8px 8px 4px 4px; background: #183a3c; box-shadow: 0 28px 55px rgba(12,63,66,.2); transform: rotate(2deg); }
.laptop-mockup::after { content: ""; position: absolute; right: -5%; bottom: -15px; left: -5%; height: 18px; border-radius: 3px 3px 8px 8px; background: #cbd9d8; }
.laptop-screen { min-height: 342px; padding: 24px; border-radius: 4px; background: white; }
.mock-header { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.mock-logo { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 6px; background: var(--teal); color: white; font-size: 12px; }
.mock-welcome { display: grid; gap: 5px; margin-top: 34px; }
.mock-welcome small { color: var(--muted); font-size: 9px; }
.mock-welcome strong { font-size: 18px; }
.mock-course { display: grid; grid-template-columns: 48px 1fr; gap: 13px; margin-top: 20px; padding: 18px; border-radius: 7px; background: #e8f5f4; }
.mock-course > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 7px; background: var(--teal-dark); color: white; }
.mock-course > div { display: grid; gap: 5px; }
.mock-course strong { font-size: 12px; }
.mock-course small { color: var(--muted); font-size: 8px; }
.mock-course i { display: block; height: 5px; overflow: hidden; border-radius: 4px; background: rgba(8,127,132,.14); }
.mock-course i b { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.mock-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 15px; }
.mock-mini-grid span { height: 80px; border: 1px solid var(--line); border-radius: 6px; background: #fbfdfd; }
.phone-mockup { position: absolute; bottom: 0; left: 2%; width: 205px; padding: 8px; border-radius: 30px; background: #173638; box-shadow: 0 25px 55px rgba(12,63,66,.28); transform: rotate(-5deg); }
.phone-notch { position: absolute; top: 12px; left: 50%; z-index: 2; width: 58px; height: 14px; border-radius: 9px; background: #173638; transform: translateX(-50%); }
.phone-screen { min-height: 405px; padding: 32px 15px 18px; border-radius: 23px; background: white; }
.phone-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.phone-screen > p { margin: 32px 0 3px; color: var(--muted); font-size: 8px; }
.phone-screen > h3 { margin: 0; font-size: 17px; }
.phone-lesson { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 9px; margin-top: 20px; padding: 14px 10px; border-radius: 7px; background: #fff1ec; }
.phone-lesson > svg { display: grid; width: 42px; height: 42px; padding: 11px; border-radius: 7px; background: var(--coral); color: white; }
.phone-lesson strong { font-size: 10px; line-height: 1.35; }
.phone-lesson small { color: var(--muted); font-size: 7px; font-weight: 500; }
.phone-lesson > span { color: var(--coral); font-size: 8px; font-weight: 800; }
.phone-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 13px; }
.phone-actions span { display: grid; height: 62px; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--teal-dark); }

.final-cta { padding: 94px 0; background: var(--teal-dark); color: white; }
.final-cta-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 70px; }
.final-cta h2 { max-width: 760px; }
.final-cta p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.75; }
.final-actions { display: grid; gap: 10px; min-width: 235px; }
.site-footer { padding: 68px 0 24px; background: #102f31; color: white; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 70px; }
.footer-brand .brand { border: 0; }
.footer-brand .brand-logo { width: 156px; }
.site-footer .brand-name { color: white; }
.footer-brand p { max-width: 310px; margin: 20px 0 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.7; }
.footer-top > div:not(.footer-brand) { display: grid; align-content: start; gap: 12px; }
.footer-top > div:not(.footer-brand) strong { margin-bottom: 5px; font-size: 12px; }
.footer-top a:not(.brand) { color: rgba(255,255,255,.58); font-size: 11px; }
.footer-top a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 9px; }

.demo-dialog { width: min(460px, calc(100% - 32px)); padding: 34px; border: 0; border-radius: var(--radius); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.3); text-align: center; }
.demo-dialog::backdrop { background: rgba(9,39,41,.66); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 4px auto 20px; border-radius: 8px; background: #e3f5f3; color: var(--teal-dark); font-size: 27px; }
.demo-dialog h2 { margin: 0; font-size: 23px; }
.demo-dialog p { margin: 14px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.dialog-confirm { width: 100%; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; max-width: 380px; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid #bfe2df; border-radius: 7px; background: #f4fffd; box-shadow: var(--shadow); color: var(--ink); font-size: 11px; }
.toast[hidden] { display: none; }
.toast svg { flex: 0 0 auto; color: var(--teal-dark); font-size: 18px; }

.reveal, .reveal-image, .motion-reveal {
  --reveal-delay: 0ms;
  --reveal-duration: 760ms;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(5px);
  clip-path: inset(0);
  transition:
    opacity var(--reveal-duration) cubic-bezier(.2,.72,.22,1),
    transform var(--reveal-duration) cubic-bezier(.2,.72,.22,1),
    filter var(--reveal-duration) cubic-bezier(.2,.72,.22,1),
    clip-path calc(var(--reveal-duration) + 120ms) cubic-bezier(.2,.72,.22,1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform, filter, clip-path;
}
[data-reveal="slide-left"] { transform: translate3d(52px, 0, 0); }
[data-reveal="slide-right"] { transform: translate3d(-52px, 0, 0); }
[data-reveal="zoom"] { transform: translate3d(0, 16px, 0) scale(.93); }
[data-reveal="pop"] { transform: translate3d(0, 24px, 0) scale(.86) rotate(-1.2deg); filter: blur(3px); }
[data-reveal="tilt"] { transform: perspective(1000px) translate3d(28px, 20px, 0) rotateY(-7deg) scale(.96); transform-origin: 45% 55%; }
[data-reveal="wipe-left"], [data-reveal="wipe-right"] { transform: scale(1.035); filter: blur(2px); }
[data-reveal="wipe-left"] { clip-path: inset(0 0 0 100%); }
[data-reveal="wipe-right"] { clip-path: inset(0 100% 0 0); }
.reveal.is-visible, .reveal-image.is-visible, .motion-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0);
}
.hero .reveal { opacity: 1; transform: none; filter: none; clip-path: inset(0); }
.role-switcher.is-visible .progress-line span,
.journey-visual.is-visible .xp-track span { transform-origin: left center; animation: samio-progress-grow .9s .28s cubic-bezier(.2,.72,.22,1) both; }
@keyframes samio-progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1050px) {
  .desktop-nav { gap: 20px; }
  .role-switcher { grid-template-columns: 1fr; }
  .role-tabs { display: flex; padding: 0; }
  .role-tabs button { width: auto; min-width: 166px; }
  .app-window { min-height: 620px; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .path-card { min-height: 280px; }
  .story-band { min-height: 650px; }
  .story-copy { padding-top: 70px; padding-bottom: 70px; }
  .classroom-stats { grid-template-columns: 1fr; }
  .classroom-stats > div { grid-template-columns: 30px 1fr; }
  .classroom-stats svg { grid-row: 1 / span 2; margin: 0; }
  .device-layout { gap: 38px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .desktop-nav, .login-link, .nav-actions > .button { display: none; }
  .nav-shell { min-height: 66px; }
  .menu-toggle { display: grid; }
  .nav-actions { margin-left: auto; }
  .mobile-menu {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 25px 20px calc(25px + env(safe-area-inset-bottom));
    background: white;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a:not(.button) { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 650; }
  .mobile-menu .button { margin-top: 14px; }
  .hero { min-height: 730px; background-position: 61% center; }
  .hero-scrim { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 48%, rgba(255,255,255,.08) 100%); }
  .hero-copy { width: 69%; }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 15px; }
  .hero-caption { display: none; }
  .signal-grid { grid-template-columns: repeat(2,1fr); }
  .signal-grid > div { min-height: 92px; padding: 16px; border-bottom: 1px solid var(--line); }
  .signal-grid > div:first-child { padding-left: 16px; }
  .signal-grid > div:nth-child(2) { border-right: 0; }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
  .section-intro { max-width: 620px; }
  .app-window { grid-template-columns: 74px minmax(0,1fr); }
  .mini-brand strong, .app-nav span { font-size: 0; }
  .mini-brand { justify-content: center; padding-inline: 0; }
  .app-nav span { justify-content: center; padding: 0; }
  .profile-mini { justify-content: center; }
  .profile-mini small { display: none; }
  .story-band { grid-template-columns: 1fr; }
  .story-image { min-height: 520px; }
  .vocab-band .story-copy, .classroom-band .story-copy { padding: 72px 48px; }
  .classroom-band .story-copy { order: 2; }
  .classroom-band .story-image { order: 1; }
  .journey-layout, .device-layout { grid-template-columns: 1fr; gap: 50px; }
  .device-stage { min-height: 500px; }
  .footer-top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
}

@media (max-width: 600px) {
  .site-header { top: 0; }
  .site-header.scrolled { top: 0; }
  .brand-logo { width: 128px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 24px; }
  .hero { min-height: 0; background: #f5fbfa; }
  .hero-scrim { display: none; }
  .hero-inner { min-height: 0; align-items: flex-start; padding-top: 104px; padding-bottom: 30px; }
  .hero-media {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: clamp(230px, 64vw, 275px);
    border-top: 1px solid rgba(8, 127, 132, .12);
    border-bottom: 1px solid rgba(8, 127, 132, .12);
    background: #dff6f4 url("../images/samio-hero-clean.jpg") 70% center / cover no-repeat;
    background-image: -webkit-image-set(url("../images/samio-hero-clean.webp") 1x, url("../images/samio-hero-clean.jpg") 1x);
    background-image: image-set(url("../images/samio-hero-clean.webp") type("image/webp"), url("../images/samio-hero-clean.jpg") type("image/jpeg"));
  }
  .hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
  }
  .hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(245,251,250,.2), transparent 28%);
    pointer-events: none;
  }
  .hero-orbit,
  .hero-sound-toggle { display: none; }
  .hero-caption { animation: none; }
  .hero-copy { width: 100%; max-width: 100%; }
  .hero h1 { max-width: 360px; font-size: 40px; line-height: 1.08; }
  .hero-lead { max-width: 410px; margin-top: 19px; font-size: 14px; line-height: 1.65; }
  .hero-actions { display: grid; width: 100%; max-width: none; margin-top: 24px; }
  .button { min-height: 48px; }
  .hero-notes { max-width: 360px; gap: 9px 14px; margin-top: 17px; font-size: 10px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid > div { min-height: 72px; border-right: 0; }
  .signal-grid > div:last-child { padding-right: 16px; }
  .section { padding: 68px 0; }
  .section h2, .story-copy h2, .final-cta h2 { font-size: 34px; }
  .role-tabs { overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .role-tabs::-webkit-scrollbar { display: none; }
  .role-tabs button { min-width: 102px; min-height: 66px; flex: 1 1 0; grid-template-columns: 30px minmax(0,1fr); gap: 6px; padding: 7px 6px; }
  .role-tabs button strong { font-size: 9px; }
  .role-tabs button small { display: none; }
  .role-tab-icon { width: 30px; height: 30px; }
  .role-tab-icon svg { width: 15px; height: 15px; }
  .app-window { grid-template-columns: 1fr; min-height: 0; }
  .app-sidebar { display: none; }
  .app-main { padding: 20px 14px; }
  .app-topbar { min-height: 44px; margin-bottom: 15px; }
  .app-topbar > .role-context { max-width: calc(100% - 48px); }
  .app-topbar strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .app-topbar .icon-button { width: 34px; height: 34px; }
  .role-panel { min-height: 0; }
  .student-overview-grid { grid-template-columns: minmax(0,1fr) 92px; gap: 8px; }
  .student-course-card { min-height: 205px; padding: 15px; }
  .student-course-card h3 { font-size: 17px; }
  .student-course-card .role-card-head small { display: none; }
  .student-streak-card { min-height: 205px; padding: 10px 6px; }
  .student-streak-card > strong { font-size: 15px; }
  .streak-days { gap: 2px; }
  .streak-days i { width: 5px; height: 5px; }
  .streak-days i.today { width: 12px; }
  .student-dayline { gap: 2px; padding-inline: 5px; }
  .student-dayline strong { font-size: 7px; }
  .student-feed { grid-template-columns: 1fr; }
  .teacher-workspace-grid { grid-template-columns: 1fr; }
  .teacher-class-card { min-height: 235px; padding: 16px; }
  .teacher-class-card h3 { font-size: 18px; }
  .grading-queue { min-height: 245px; }
  .teacher-pulse-row { gap: 5px; }
  .teacher-pulse-row article { grid-template-columns: 1fr; justify-items: center; padding: 9px 4px; text-align: center; }
  .pulse-icon { grid-row: auto; margin-bottom: 3px; }
  .teacher-agenda { grid-template-columns: 44px minmax(0,1fr); }
  .teacher-agenda > b { display: none; }
  .center-kpi-grid { grid-template-columns: repeat(2,1fr); }
  .center-operations-grid { grid-template-columns: 1fr; }
  .operation-chart, .center-alerts { min-height: 270px; padding: 14px; }
  .bar-chart { height: 185px; gap: 5px; }
  .center-quick-row > b { font-size: 0; }
  .center-quick-row > b svg { width: 16px; height: 16px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 250px; }
  .path-card > span { margin-top: 35px; }
  .story-image { min-height: 390px; }
  .vocab-band .story-copy, .classroom-band .story-copy { padding: 60px 24px; }
  .journey-layout { gap: 36px; }
  .journey-visual { padding: 14px; }
  .badge-shelf { gap: 6px; }
  .badge-shelf article { min-height: 156px; padding: 9px 4px; }
  .badge-shape { width: 52px; height: 52px; font-size: 22px; }
  .level-card { padding: 16px; }
  .classroom-stats { grid-template-columns: 1fr; }
  .device-stage { min-height: 390px; }
  .laptop-mockup { width: 88%; padding: 8px 8px 20px; }
  .laptop-screen { min-height: 270px; padding: 16px; }
  .mock-welcome { margin-top: 22px; }
  .mock-mini-grid span { height: 54px; }
  .phone-mockup { width: 150px; }
  .phone-screen { min-height: 302px; padding: 27px 10px 12px; }
  .phone-screen > p { margin-top: 24px; }
  .phone-lesson { grid-template-columns: 31px 1fr; padding: 10px 7px; }
  .phone-lesson > svg { width: 31px; height: 31px; padding: 8px; }
  .phone-lesson > span { display: none; }
  .phone-actions span { height: 44px; }
  .final-cta { padding: 68px 0; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 35px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .toast { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float,
  .hero-caption { animation: none !important; transform: none !important; }
  .hero-video { display: block !important; }
  .hero-sound-toggle { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-image, .motion-reveal { opacity: 1; transform: none; filter: none; clip-path: inset(0); }
}
