:root {
  --blue: #0759e8;
  --blue-dark: #063aa8;
  --ink: #111827;
  --muted: #526178;
  --line: #dce7f8;
  --soft: #f4f8ff;
  --green: #0c9b56;
  --orange: #f08a16;
  --purple: #6945e8;
}

/* 30-day membership plans */
.membership-heading{max-width:850px;margin-inline:auto}.membership-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.membership-card{position:relative;border:1px solid #dbe7f8;border-radius:22px;background:#fff;padding:20px;box-shadow:0 14px 35px rgba(20,64,130,.08);display:flex;flex-direction:column;min-height:455px;overflow:hidden}.membership-card:before{content:"";position:absolute;inset:0 0 auto;height:6px;background:#3b82f6}.membership-card.master:before{background:#16a34a}.membership-card.teacher:before{background:#7c3aed}.membership-card.featured{border-color:#86efac;box-shadow:0 18px 42px rgba(22,163,74,.13);transform:translateY(-7px)}.popular-badge{position:absolute;right:14px;top:15px;background:#dcfce7;color:#166534;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.membership-card-top{display:flex;align-items:center;gap:12px;margin-top:4px}.membership-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eff6ff;color:#1d4ed8;font-size:22px;font-weight:950}.master .membership-icon{background:#dcfce7;color:#15803d}.teacher .membership-icon{background:#f3e8ff;color:#7e22ce}.membership-card-top small{color:#64748b;font-size:11px;font-weight:800}.membership-card h3{margin:2px 0 0;font-size:24px}.membership-price{display:flex;align-items:baseline;gap:7px;margin:19px 0 14px;padding-bottom:14px;border-bottom:1px solid #e2e8f0}.membership-price b{font-size:38px;line-height:1;color:#0f3c7c}.master .membership-price b{color:#15803d}.teacher .membership-price b{color:#7e22ce}.membership-price span{font-size:12px;color:#64748b;font-weight:750}.membership-card ul{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:11px}.membership-card li{position:relative;padding-left:25px;color:#334155;font-size:13px;font-weight:720;line-height:1.45}.membership-card li:before{content:"✓";position:absolute;left:0;top:0;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#dcfce7;color:#15803d;font-size:11px;font-weight:950}.membership-cta{margin-top:auto;display:flex;justify-content:center;align-items:center;text-decoration:none;border-radius:12px;background:#2563eb;color:#fff!important;padding:11px 14px;font-weight:900}.master .membership-cta{background:#16a34a}.teacher .membership-cta{background:#7c3aed}.membership-contact{margin-top:20px;border:1px solid #dbeafe;background:#f8fbff;border-radius:15px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#475569;font-size:12px}.membership-contact>div{display:flex;gap:8px;flex-wrap:wrap}.membership-contact a{border:1px solid #bfdbfe;background:#fff;border-radius:9px;padding:7px 9px;color:#1d4ed8;text-decoration:none;font-weight:850}@media(max-width:900px){.membership-grid{grid-template-columns:1fr}.membership-card{min-height:0}.membership-card.featured{transform:none}.membership-contact{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.membership-card{padding:17px}.membership-price b{font-size:34px}.membership-contact>div{width:100%}.membership-contact a{flex:1;text-align:center}}
* {
  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;
}
.proclass-qr-card{width:min(260px,100%);margin:0;padding:11px;background:linear-gradient(145deg,#fff,#f4f8ff);border:1px solid #dbeafe;border-radius:21px;box-shadow:0 16px 38px rgba(30,64,175,.12);display:grid;gap:8px;justify-items:center}.proclass-qr-card img{display:block;width:min(205px,68vw);height:auto;aspect-ratio:948/1102;object-fit:contain;border-radius:13px;background:#fff}.proclass-qr-card figcaption{display:grid;text-align:center;gap:1px;color:#17345d}.proclass-qr-card figcaption b{font-size:16px}.proclass-qr-card figcaption span{font-size:11px;color:#64748b;font-weight:750}
.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;
}
.home-how-section.home-pro-section{
    margin-top:30px;
}
.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: minmax(240px, 280px) minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #f2f7ff, #fff);
  padding: 18px;
  gap: 30px;
}
.teacher-visual{justify-self:start;width:100%;display:flex;justify-content:flex-start}.teacher-copy{min-width:0}
.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;
  }
}

/* Public feedback panel */
.feedback-heading{max-width:760px;margin-left:auto;margin-right:auto;text-align:center}
.feedback-form{max-width:900px;margin:0 auto;background:#fff;border:1px solid #d7e2f7;border-radius:22px;padding:28px;box-shadow:0 18px 45px rgba(24,53,94,.08)}
.feedback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.feedback-form label{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#26364f}
.feedback-form input,.feedback-form select,.feedback-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd8ee;border-radius:13px;background:#f9fbff;color:#15243b;padding:13px 14px;font:inherit;outline:none}
.feedback-form input:focus,.feedback-form select:focus,.feedback-form textarea:focus{border-color:#6f63d9;box-shadow:0 0 0 3px rgba(111,99,217,.12);background:#fff}
.feedback-message{margin-top:18px;position:relative}.feedback-message textarea{resize:vertical;min-height:150px}.feedback-message small{align-self:flex-end;color:#6b7890;font-weight:500}
.feedback-submit-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.feedback-submit-row small{color:#6b7890}.feedback-submit-row .primary-cta{border:0}
.feedback-status{display:none;margin-top:14px;padding:12px 14px;border-radius:12px;font-weight:700}.feedback-status.show{display:block}.feedback-status.success{background:#ecfdf3;color:#176c3a;border:1px solid #a7edc2}.feedback-status.error{background:#fff1f1;color:#a62525;border:1px solid #ffc4c4}
@media(max-width:680px){.feedback-form{padding:20px 16px}.feedback-grid{grid-template-columns:1fr}.feedback-submit-row{align-items:stretch}.feedback-submit-row .primary-cta{width:100%}}
