:root {
  --blue: #0759e8;
  --blue-dark: #063aa8;
  --ink: #111827;
  --muted: #526178;
  --line: #dce7f8;
  --soft: #f4f8ff;
  --green: #0c9b56;
  --orange: #f08a16;
  --purple: #6945e8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
button,
input,
select,
textarea {
  font: inherit;
  font-family:
    Poppins,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    Poppins,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  line-height: 1.55;
}
.connection-banner {
  display: none;
}
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e7edf7;
  backdrop-filter: blur(14px);
}
.landing-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  text-decoration: none;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.7px;
}
.brand span span,
.landing-footer b span {
  color: var(--blue);
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #064ed3, #0b69ff);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 7px 16px rgba(7, 89, 232, 0.22);
}
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}
.nav-tab,
.landing-footer button {
  border: 0;
  background: none;
  color: #111827;
  font-weight: 750;
  cursor: pointer;
  padding: 25px 0 22px;
  position: relative;
}
.nav-tab:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transition: 0.2s;
}
.nav-tab.active {
  color: var(--blue);
}
.nav-tab.active:after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-link,
.login-button,
.primary-cta,
.secondary-cta {
  border-radius: 9px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}
.progress-link {
  padding: 10px 14px;
  border: 1px solid #bdd3ff;
  color: var(--blue);
  background: #fff;
  font-size: 13px;
}
.login-button,
.primary-cta {
  border: 0;
  background: linear-gradient(135deg, var(--blue), #0641c6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 89, 232, 0.24);
}
.login-button {
  padding: 11px 18px;
}
.mobile-menu {
  display: none;
  border: 1px solid #d9e4f5;
  background: #fff;
  border-radius: 9px;
  padding: 8px 11px;
  font-size: 18px;
}
.landing-main {
  padding: 26px 0 36px;
}
.page-panel {
  display: none;
  min-height: 660px;
}
.page-panel.active {
  display: block;
  animation: panelIn 0.28s ease;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-section:before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -130px;
  top: -170px;
  width: 610px;
  height: 610px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(120, 180, 255, 0.18),
    rgba(217, 236, 255, 0.08) 55%,
    transparent 72%
  );
}
.hero-section:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -140px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 89, 232, 0.07), transparent 70%);
}
.hero-copy h1 span {
  color: var(--blue);
}
.secondary-cta {
  border: 1px solid #9fbfff;
  background: #fff;
  color: var(--blue);
}
.primary-cta:hover,
.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(7, 89, 232, 0.29);
}
.trust-row span:last-child {
  border-right: 0;
}
.hero-feature-card:hover {
  transform: translateY(-3px);
  border-color: #b8d2fa;
  box-shadow: 0 16px 32px rgba(28, 72, 132, 0.12);
}
.hero-feature-card:nth-child(2) > span {
  color: #6945e8;
  background: linear-gradient(145deg, #f4f0ff, #e9e1ff);
}
.hero-feature-card:nth-child(3) > span {
  color: #0c9b56;
  background: linear-gradient(145deg, #effcf5, #dcf7e8);
}
.hero-feature-card:nth-child(4) > span {
  color: #e17b0b;
  background: linear-gradient(145deg, #fff7eb, #ffecd0);
}
.hero-feature-card:nth-child(5) > span {
  color: #0759e8;
}
.hero-feature-card:nth-child(6) > span {
  color: #0a7f90;
  background: linear-gradient(145deg, #edfdfd, #d9f4f6);
}
.hero-feature-card b,
.hero-feature-card small {
  display: block;
}
.hero-leader-viewport {
  overflow: hidden;
  background: transparent;
  border: 0;
}
.hero-leader-track {
  display: flex;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  padding: 7px 0;
  animation: leaderMarquee 32s linear infinite;
}
.hero-leader-track:hover {
  animation-play-state: paused;
}
.hero-leader-item {
  width: 150px;
  flex: 0 0 150px;
  border: 1px solid #dbeafe;
  background: #fff;
  border-radius: 11px;
  padding: 8px 9px;
  text-align: center;
  box-shadow: 0 4px 11px rgba(15, 23, 42, 0.045);
}
.hero-leader-item > b {
  display: block;
  color: #0f172a;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 3px;
}
.hero-leader-item small {
  display: block;
  color: #475569;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}
.hero-leader-item small strong {
  display: inline;
  color: #15803d;
  font-size: 12px;
}
.hero-leader-empty {
  padding: 9px;
  color: #64748b;
  font-weight: 800;
  font-size: 11px;
}
@keyframes leaderMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 4px));
  }
}
.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 12px auto 34px;
}
.section-heading span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-weight: 900;
  color: var(--blue);
}
.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 8px 0 10px;
}
.section-heading p {
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-grid article,
.support-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(20, 64, 130, 0.055);
}
.feature-grid i,
.support-grid i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #eef5ff;
  color: var(--blue);
  font-style: normal;
  font-size: 25px;
}
.feature-grid h3,
.support-grid h3 {
  margin: 15px 0 7px;
}
.feature-grid p,
.support-grid p {
  margin: 0;
  color: var(--muted);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}
.steps-grid article {
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.steps-grid article > b {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.steps-grid i {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
  background: #f2f7ff;
  color: var(--blue);
  font-style: normal;
  font-size: 32px;
}
.steps-grid p {
  color: var(--muted);
}
.workflow-note {
  margin: 25px auto 0;
  max-width: 800px;
  text-align: center;
  padding: 16px;
  border-radius: 13px;
  background: #eef5ff;
  color: #31557d;
}
.teacher-copy h2 {
  font-size: 38px;
  line-height: 1.2;
  margin: 14px 0;
}
.teacher-copy p {
  color: var(--muted);
}
.teacher-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.teacher-points span {
  padding: 12px;
  border: 1px solid #dbe7f8;
  border-radius: 11px;
  background: #fff;
  font-weight: 800;
  color: #23456f;
}
.screen-head {
  display: flex;
  gap: 6px;
}
.screen-head span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bad0ed;
}
.teacher-avatar {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--blue);
  font-size: 46px;
}
.mini-chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 110px;
  flex: 1;
}
.mini-chart i {
  flex: 1;
  background: linear-gradient(#1671f5, #0e4ed0);
  border-radius: 5px 5px 0 0;
}
.mini-chart i:nth-child(1) {
  height: 38%;
}
.mini-chart i:nth-child(2) {
  height: 55%;
}
.mini-chart i:nth-child(3) {
  height: 43%;
}
.mini-chart i:nth-child(4) {
  height: 76%;
}
.mini-chart i:nth-child(5) {
  height: 94%;
}
.student-lines {
  display: grid;
  gap: 9px;
}
.student-lines span {
  height: 12px;
  border-radius: 999px;
  background: #e9f0fa;
}
.student-lines span:nth-child(2) {
  width: 82%;
}
.student-lines span:nth-child(3) {
  width: 65%;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.support-grid a {
  display: inline-block;
  margin-top: 15px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}
.landing-footer {
  background: #061e4e;
  color: #dce8ff;
  margin-top: 30px;
}
.footer-inner {
  min-height: 105px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}
.footer-inner > div {
  display: grid;
}
.footer-inner b {
  font-size: 19px;
}
.footer-inner small {
  font-size: 11px;
  color: #a8badb;
}
.footer-inner nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-inner nav button,
.footer-inner nav a {
  padding: 0;
  color: #cddcff;
  text-decoration: none;
  font-size: 12px;
}
.footer-inner nav button {
  cursor: pointer;
}
.login-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 16px 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
}
.login-modal.show {
  display: flex;
}
.login-card {
  width: min(460px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
  padding: 22px;
  position: relative;
}
.login-close {
  position: absolute;
  right: 13px;
  top: 11px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef4ff;
  color: #264b80;
  font-size: 22px;
  cursor: pointer;
}
.login-brand {
  text-align: center;
  margin-bottom: 16px;
}
.login-brand h2 {
  margin: 0;
  color: #123c88;
}
.login-brand p {
  margin: 4px 0;
  color: #708099;
  font-size: 12px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 6px;
}
.auth-tabs button {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px;
  font-weight: 900;
  background: #fff;
  color: #dc2626;
  cursor: pointer;
}
.auth-tabs button.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: #2563eb;
}
.auth-form {
  display: grid;
  gap: 13px;
}
.auth-form.hide {
  display: none;
}
.auth-field {
  display: grid;
  gap: 7px;
}
.auth-field label {
  font-size: 13px;
  font-weight: 900;
  color: #1e3a8a;
}
.auth-field input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  background: #fbfdff;
  padding: 12px;
  color: var(--ink);
  font-weight: 700;
  outline: none;
}
.auth-field input:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
  border-color: #60a5fa;
  background: #fff;
}
.auth-submit {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1746ba);
  color: #fff;
  font-weight: 900;
  padding: 12px 14px;
  cursor: pointer;
}
.auth-msg {
  display: none;
  border-radius: 14px;
  padding: 11px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 12px;
}
.auth-msg.err {
  display: block;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecaca;
}
.auth-msg.ok {
  display: block;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.public-reg-disabled #modalRegisterTab {
  display: none;
}
.public-reg-disabled .auth-tabs {
  grid-template-columns: 1fr;
}
body.public-reg-loading #modalRegisterTab,
body.public-reg-disabled #modalRegisterTab,
body.public-reg-loading #modalRegForm,
body.public-reg-disabled #modalRegForm {
  display: none !important;
}
body.public-reg-loading .auth-tabs {
  grid-template-columns: 1fr;
}
body.public-reg-disabled .auth-tabs {
  display: none !important;
}
.eyebrow {
  display: inline-block;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0755d9;
  font-weight: 850;
  padding: 6px 11px;
  font-size: 11px;
  line-height: 1.35;
}
.hero-copy h1 {
  max-width: 610px;
  margin: 14px 0 16px;
  font-size: clamp(43px, 4.25vw, 56px);
  line-height: 1.03;
  letter-spacing: -2.2px;
}
.hero-copy p {
  color: var(--muted);
  max-width: 590px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 21px 0 16px;
}
.primary-cta,
.secondary-cta {
  padding: 12px 20px;
  font-size: 14px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  color: #28405f;
  font-weight: 750;
  gap: 7px 13px;
  font-size: 11px;
}
.trust-row span {
  border-right: 1px solid #d7e4f5;
  padding-right: 12px;
}
.hero-feature-showcase:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72),
    rgba(232, 243, 255, 0.54)
  );
  border: 1px solid rgba(199, 220, 248, 0.72);
  backdrop-filter: blur(8px);
  z-index: -1;
  border-radius: 23px;
  box-shadow: 0 18px 42px rgba(38, 86, 151, 0.09);
}
.hero-feature-card > span {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  background: linear-gradient(145deg, #edf5ff, #dfeeff);
  color: var(--blue);
  font-weight: 900;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  font-size: 22px;
}
.hero-feature-card b {
  font-size: 13px;
  line-height: 1.22;
}
.hero-feature-card small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.35;
}
.topper-strip {
  position: relative;
  margin: 0 0 26px;
  padding: 0 8px;
  border: 1px solid #dce7f8;
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: 0 7px 20px rgba(19, 59, 116, 0.045);
  overflow: hidden;
}
.compact-heading h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-top: 5px;
}
.home-how-section .steps-grid i {
  width: 58px;
  height: 58px;
  font-size: 27px;
}
.home-how-section .steps-grid h3 {
  margin: 12px 0 5px;
  font-size: 15px;
}
.home-how-section .steps-grid p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}
.home-how-section .workflow-note {
  margin-top: 18px;
  padding: 12px;
  font-size: 13px;
}
.landing-shell {
  width: calc(100% - 32px);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 0;
}
.connection-banner.show {
  display: block;
  margin: 10px auto;
  padding: 10px 14px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff1f2;
  color: #991b1b;
  font-weight: 800;
  width: calc(100% - 32px);
  max-width: 1200px;
}
.hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #e4edf9;
  border-radius: 24px;
  background: linear-gradient(120deg, #ffffff 0%, #fbfdff 48%, #eef6ff 100%);
  box-shadow: 0 14px 38px rgba(31, 73, 125, 0.07);
  grid-template-columns: minmax(0, 1.02fr) minmax(500px, 0.98fr);
  align-items: center;
  min-height: 0;
  padding: 20px;
  gap: 22px;
}
.hero-copy {
  position: relative;
  z-index: 3;
  padding: 0;
}
.hero-feature-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  padding: 8px;
  gap: 8px;
}
.hero-feature-card {
  display: flex;
  align-items: center;
  border: 1px solid #dbe8f8;
  background: rgba(255, 255, 255, 0.94);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 7px 19px rgba(28, 72, 132, 0.065);
  min-height: 0;
  gap: 10px;
}
.home-how-section {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(145deg, #fbfdff, #f3f8ff);
  box-shadow: 0 12px 30px rgba(24, 66, 126, 0.055);
  padding: 16px;
}
.compact-heading {
  margin: 0 auto 20px;
}
.home-how-section .steps-grid {
  gap: 10px;
}
.teacher-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #f2f7ff, #fff);
  padding: 18px;
  gap: 30px;
}
.screen-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 55px rgba(24, 66, 126, 0.15);
  transform: perspective(700px) rotateY(7deg);
  padding: 10px;
}
.screen-body {
  display: flex;
  align-items: end;
  gap: 20px;
  padding: 18px 8px 10px;
}
.home-how-section .steps-grid article {
  padding: 20px 10px 10px;
  border-radius: 15px;
  box-shadow: 0 7px 18px rgba(20, 64, 130, 0.045);
}
@media (max-width: 1100px) and (min-width: 981px) {
  .hero-section {
    grid-template-columns: minmax(0, 0.94fr) minmax(470px, 1.06fr);
    padding-inline: 28px;
  }
  .hero-copy h1 {
    font-size: 47px;
  }
  .hero-feature-card {
    min-height: 94px;
    padding: 12px 11px;
  }
}
@media (max-width: 980px) {
  .landing-nav {
    position: absolute;
    left: 17px;
    right: 17px;
    top: 73px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(19, 52, 105, 0.14);
  }
  .landing-nav.open {
    display: flex;
  }
  .nav-tab {
    padding: 12px;
    text-align: left;
  }
  .nav-tab:after {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .progress-link {
    display: none;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy p {
    margin-inline: auto;
  }
  .hero-actions,
  .trust-row {
    justify-content: center;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .teacher-layout {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 25px 0;
  }
  .footer-inner nav {
    justify-content: center;
  }
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 24px;
  }
  .hero-copy h1 {
    max-width: 760px;
    margin-inline: auto;
    font-size: clamp(42px, 7vw, 58px);
  }
  .hero-feature-showcase {
    margin: 8px auto 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(760px, 100%);
  }
  .home-how-section {
    padding: 27px 22px;
  }
}
@media (max-width: 620px) {
  .landing-header-inner {
    min-height: 64px;
    gap: 8px;
  }
  .header-actions {
    margin-left: auto;
    gap: 6px;
    flex-shrink: 0;
  }
  .mobile-menu {
    flex-shrink: 0;
    order: -1;
  }
  .brand {
    font-size: 21px;
  }
  .brand-icon {
    width: 35px;
    height: 31px;
  }
  .login-button {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 13px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .primary-cta,
  .secondary-cta {
    width: 100%;
  }
  .hero-feature-card b {
    font-size: 12px;
  }
  .hero-feature-card small {
    font-size: 10px;
  }
  .feature-grid,
  .steps-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .topper-strip {
    margin-bottom: 24px;
    padding-inline: 5px;
  }
  .hero-leader-item {
    width: 136px;
    flex-basis: 136px;
    padding: 7px 8px;
  }
  .teacher-layout {
    padding: 12px;
  }
  .teacher-copy h2 {
    font-size: 30px;
  }
  .teacher-points {
    grid-template-columns: 1fr;
  }
  .footer-inner nav {
    flex-wrap: wrap;
  }
  .page-panel {
    min-height: 560px;
  }
  .hero-section {
    min-height: auto;
    border-radius: 18px;
    padding: 12px;
  }
  .hero-copy h1 {
    font-size: 37px;
    line-height: 1.06;
    letter-spacing: -1.35px;
    margin: 13px 0 15px;
  }
  .hero-copy p {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-feature-showcase {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
    gap: 8px;
  }
  .hero-feature-card {
    gap: 10px;
    min-height: 91px;
    padding: 8px;
  }
  .hero-feature-card > span {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 19px;
  }
  .home-how-section {
    padding: 12px;
    border-radius: 18px;
  }
  .compact-heading {
    margin-bottom: 24px;
  }
  .home-how-section .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .landing-shell {
    width: calc(100% - 16px);
  }
  .connection-banner.show {
    width: calc(100% - 16px);
  }
  .feature-grid article,
  .support-grid article {
    padding: 8px;
  }
  .home-how-section .steps-grid article {
    padding: 18px 8px 8px;
  }
}
@media (max-width: 480px) {
  .hero-feature-showcase {
    grid-template-columns: 1fr;
  }
  .hero-feature-card {
    min-height: 82px;
  }
  .topper-strip {
    border-radius: 11px;
  }
  .hero-leader-track {
    padding: 5px 0;
  }
}
@media (max-width: 420px) {
  .brand {
    font-size: 18px;
    gap: 7px;
  }
  .brand-icon {
    width: 31px;
    height: 29px;
    font-size: 18px;
  }
  .login-button {
    padding: 8px 10px;
    font-size: 12px;
  }
  .login-button span {
    display: none;
  }
  .mobile-menu {
    padding: 7px 9px;
  }
  .landing-header-inner {
    gap: 5px;
  }
  .hero-copy h1 {
    font-size: 34px;
  }
  .hero-feature-showcase {
    grid-template-columns: 1fr;
  }
  .hero-feature-card {
    min-height: 76px;
  }
}
