.landing-page {
  color: #183153;
  background:
    radial-gradient(circle at 18% 18%, rgba(77, 149, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 191, 87, 0.20), transparent 22%),
    linear-gradient(180deg, #f2f8ff 0%, #fffdf8 100%);
  overflow-x: hidden;
}

.landing-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(65, 114, 175, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 114, 175, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 88%);
}

.landing-page .site-header,
.landing-page .landing-main,
.landing-page .site-footer {
  position: relative;
  z-index: 1;
}

.landing-page .site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 251, 255, 0.86);
  border-bottom: 1px solid rgba(25, 59, 109, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-header .header-inner {
  gap: 24px;
}

.landing-header-nav {
  display: none;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  margin-right: 8px;
}

.landing-header-nav a {
  color: #537198;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.landing-header-nav a:hover {
  color: #1b4d9b;
}

.landing-page .header-actions {
  flex-shrink: 0;
}

.landing-page .header-login,
.landing-page .header-signup,
.landing-page button,
.landing-page input,
.landing-page h1,
.landing-page h2,
.landing-page h3 {
  font-family: var(--font-sans);
}

.landing-page .header-login {
  color: #173d7a;
}

.landing-page .header-login:hover {
  color: #1f5ed0;
}

.landing-page .header-signup {
  background: #1f6fff;
  color: #ffffff;
}

.landing-page .header-signup:hover {
  background: #185cda;
}

.landing-main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 84px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.school-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 36px;
  align-items: center;
  padding-top: 14px;
}

.school-kicker,
.school-card-kicker,
.school-feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 111, 255, 0.10);
  color: #1f5ed0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.school-kicker-muted {
  background: rgba(23, 138, 120, 0.11);
  color: #167567;
}

.school-hero h1 {
  margin: 16px 0 18px;
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.93;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #12305d;
}

.school-hero-lead,
.school-section-copy p,
.school-feature-content p,
.school-access-card p,
.school-stage-scorecard p,
.school-note-box p {
  color: #4f6889;
  line-height: 1.75;
}

.school-hero-actions,
.school-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.school-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.school-btn-primary,
.school-join-btn {
  background: #1f6fff;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 111, 255, 0.18);
}

.school-btn-primary:hover,
.school-join-btn.active:hover {
  background: #185cda;
}

.school-btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: #173d7a;
  border-color: rgba(23, 61, 122, 0.14);
}

.school-btn-secondary:hover {
  border-color: rgba(31, 111, 255, 0.28);
  background: #ffffff;
}

.school-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.school-pill-card,
.school-feature-card,
.school-access-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 61, 122, 0.10);
  box-shadow: 0 20px 60px rgba(24, 57, 105, 0.08);
}

.school-pill-card {
  border-radius: 22px;
  padding: 18px;
}

.school-pill-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #637c9d;
}

.school-pill-card strong {
  color: #173d7a;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.school-hero-stage {
  position: relative;
}

.school-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 280px;
  gap: 16px;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(150deg, #f5cb5a 0%, #1f6fff 44%, #113a75 100%);
  box-shadow: 0 34px 90px rgba(25, 60, 108, 0.18);
}

.school-stage-photo,
.school-feature-photo,
.school-results-photo {
  overflow: hidden;
  background: #dbe8f4;
}

.school-stage-photo {
  border-radius: 24px;
}

.school-stage-photo img,
.school-feature-photo img,
.school-results-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.school-stage-photo-main {
  min-height: 560px;
}

.school-stage-side {
  display: grid;
  gap: 16px;
}

.school-stage-photo-side {
  min-height: 240px;
}

.school-stage-scorecard {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  padding: 20px;
  color: rgba(255, 255, 255, 0.94);
}

.school-stage-scorecard .school-card-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}

.school-stage-scorecard strong {
  display: block;
  margin: 10px 0 14px;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 600;
}

.school-stage-scorecard p {
  color: rgba(255, 255, 255, 0.78);
}

.school-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.school-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
}

.chip-blue {
  background: rgba(255, 255, 255, 0.18);
}

.chip-mint {
  background: rgba(74, 211, 170, 0.22);
}

.chip-gold {
  background: rgba(255, 204, 90, 0.24);
}

.school-floating-strip {
  position: absolute;
  left: 24px;
  bottom: -18px;
  max-width: 430px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  color: #355176;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid rgba(25, 59, 109, 0.10);
  box-shadow: 0 14px 32px rgba(25, 59, 109, 0.10);
}

.school-feature-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 12px;
}

.school-section-copy {
  max-width: 760px;
}

.school-section-copy h2,
.school-results-copy h2,
.school-access-card h2 {
  margin: 16px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #12305d;
}

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

.school-feature-card {
  overflow: hidden;
  border-radius: 30px;
}

.school-feature-card:nth-child(1) {
  border-top: 6px solid #1f6fff;
}

.school-feature-card:nth-child(2) {
  border-top: 6px solid #16a085;
}

.school-feature-card:nth-child(3) {
  border-top: 6px solid #f0af2c;
}

.school-feature-photo {
  height: 230px;
}

.school-feature-content {
  padding: 22px 22px 24px;
}

.school-feature-content .school-feature-tag {
  padding: 0;
  border-radius: 0;
  background: none;
}

.school-feature-content h3 {
  margin: 12px 0 10px;
  font-size: 1.34rem;
  line-height: 1.28;
  font-weight: 600;
  color: #173d7a;
}

.school-results-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: center;
  padding: 30px;
  border-radius: 38px;
  background: linear-gradient(135deg, #103162 0%, #1458aa 58%, #1aa086 100%);
  box-shadow: 0 32px 90px rgba(18, 52, 96, 0.16);
}

.school-results-copy .school-card-kicker {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.school-results-copy h2 {
  color: #f7fbff;
}

.school-results-copy p,
.school-results-list li {
  color: rgba(247, 251, 255, 0.82);
}

.school-results-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.school-results-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.68;
}

.school-results-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #ffe07a;
  transform: translateY(-50%) rotate(45deg);
}

.school-results-photo {
  min-height: 360px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.school-access-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.school-access-card {
  border-radius: 32px;
  padding: 30px;
}

.school-teacher-card {
  background: rgba(255, 255, 255, 0.90);
}

.school-student-card {
  background: linear-gradient(180deg, rgba(236, 244, 255, 0.96) 0%, rgba(248, 251, 255, 0.96) 100%);
}

.school-bullet-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}

.school-bullet-list li {
  position: relative;
  padding-left: 24px;
  color: #365175;
  line-height: 1.68;
}

.school-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #1f6fff;
  transform: translateY(-50%);
}

.school-join-form {
  margin-top: 22px;
}

.school-join-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #173d7a;
  font-size: 0.92rem;
  font-weight: 600;
}

.school-join-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.school-join-input {
  min-height: 56px;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(23, 61, 122, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: #173153;
  padding: 0 18px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.school-join-input::placeholder {
  color: #7b8faa;
  letter-spacing: 0.08em;
}

.school-join-input:focus {
  border-color: rgba(31, 111, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(31, 111, 255, 0.12);
}

.school-join-btn {
  min-width: 176px;
}

.school-join-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  background: rgba(31, 111, 255, 0.34);
  box-shadow: none;
}

.school-join-btn.active {
  opacity: 1;
}

.school-note-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(23, 61, 122, 0.06);
  border: 1px solid rgba(23, 61, 122, 0.08);
}

.school-note-box strong {
  display: block;
  margin-bottom: 6px;
  color: #173d7a;
  font-size: 0.92rem;
  font-weight: 600;
}

.landing-page .site-footer {
  margin-top: 34px;
  padding-top: 18px;
  background: #12305d;
}

.landing-page .site-footer > .footer-divider {
  border-top-color: rgba(255, 255, 255, 0.12);
  max-width: 1240px;
  margin-top: 0;
  margin-bottom: 28px;
}

.landing-page .footer-links a,
.landing-page .footer-copy,
.landing-page .footer-tagline,
.landing-page .footer-links .sep {
  color: rgba(247, 251, 255, 0.76);
}

.landing-page .footer-links a:hover {
  color: #ffffff;
}

@media (min-width: 920px) {
  .landing-header-nav {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .school-hero,
  .school-results-panel,
  .school-access-section {
    grid-template-columns: 1fr;
  }

  .school-hero h1 {
    max-width: none;
  }

  .school-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-floating-strip {
    position: static;
    max-width: none;
    margin-top: 16px;
  }
}

@media (max-width: 760px) {
  .landing-main {
    width: min(100% - 24px, 1240px);
    padding: 24px 0 64px;
    gap: 22px;
  }

  .landing-page .header-inner {
    gap: 12px;
  }

  .landing-page .header-actions {
    gap: 10px;
  }

  .landing-page .header-login,
  .landing-page .header-signup {
    font-size: 0.88rem;
  }

  .landing-page .header-signup {
    padding: 6px 12px;
  }

  .school-hero {
    gap: 24px;
  }

  .school-pill-grid,
  .school-feature-grid {
    grid-template-columns: 1fr;
  }

  .school-stage-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .school-stage-photo-main {
    min-height: 320px;
  }

  .school-stage-photo-side {
    min-height: 220px;
  }

  .school-access-card,
  .school-results-panel {
    padding: 22px 18px;
  }

  .school-join-row {
    grid-template-columns: 1fr;
  }

  .school-join-btn {
    width: 100%;
    min-width: 0;
  }
}