:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #172033;
  background: #f8faff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(73, 101, 255, 0.13),
      transparent 34rem
    ),
    #f8faff;
}

button,
a {
  font: inherit;
}

.siteHeader {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brandMark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  font-weight: 900;
  font-size: 21px;
  background:
    linear-gradient(
      135deg,
      #3155e7,
      #7547dd
    );
  box-shadow: 0 8px 24px rgba(49, 85, 231, 0.22);
}

.brandText {
  display: flex;
  flex-direction: column;
}

.brandText strong {
  font-size: 19px;
  line-height: 1.1;
}

.brandText small {
  margin-top: 3px;
  color: #7b8497;
  font-size: 12px;
}

.teacherLogin {
  padding: 10px 16px;
  color: #31394b;
  border: 1px solid #dce1ec;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}

.teacherLogin:hover {
  border-color: #aeb8cb;
  background: #ffffff;
}

.hero {
  width: min(720px, calc(100% - 40px));
  margin: 70px auto 76px;
  text-align: center;
}

.heroBadge {
  display: inline-flex;
  padding: 7px 12px;
  color: #4557a6;
  background: #edf0ff;
  border: 1px solid #dce1ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.hero h1 {
  margin: 22px 0 18px;
  color: #151b29;
  font-size: clamp(48px, 8vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  background:
    linear-gradient(
      90deg,
      #3155e7,
      #7650de
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heroText {
  width: min(590px, 100%);
  margin: 0 auto;
  color: #6f788b;
  font-size: 18px;
  line-height: 1.65;
}

.googleButton {
  width: min(390px, 100%);
  min-height: 56px;
  margin-top: 30px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #4f46e5
    );
  box-shadow:
    0 12px 30px rgba(37, 99, 235, 0.24);
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

.googleButton:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 36px rgba(37, 99, 235, 0.3);
}

.googleButton:active {
  transform: translateY(0);
}

.googleMark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #3155e7;
  background: #ffffff;
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.schoolOnly {
  margin: 13px 0 0;
  color: #8c94a5;
  font-size: 12px;
}

.loginStatus {
  width: min(470px, 100%);
  margin: 20px auto 0;
  padding: 13px 16px;
  border: 1px solid #dce1ec;
  border-radius: 12px;
  color: #596276;
  background: #ffffff;
  font-size: 13px;
}

.features {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid #e4e7ef;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.featureCard {
  min-height: 170px;
  padding: 24px;
  display: flex;
  gap: 17px;
  border: 1px solid #e2e6ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.featureIcon {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 900;
}

.featureCard.blue .featureIcon {
  color: #3155e7;
  background: #eaf0ff;
}

.featureCard.purple .featureIcon {
  color: #7650de;
  background: #f0eafd;
}

.featureCard.green .featureIcon {
  color: #16845b;
  background: #e6f7ef;
}

.featureCard h2 {
  margin: 2px 0 8px;
  color: #202738;
  font-size: 16px;
}

.featureCard p {
  margin: 0;
  color: #7b8495;
  font-size: 14px;
  line-height: 1.55;
}

footer {
  width: min(1050px, calc(100% - 40px));
  margin: 56px auto 0;
  padding: 25px 0 34px;
  color: #9aa2b0;
  border-top: 1px solid #e4e7ef;
  text-align: center;
  font-size: 12px;
}

footer span {
  padding: 0 7px;
}

@media (max-width: 760px) {
  .siteHeader {
    width: min(100% - 28px, 1180px);
  }

  .brandText small {
    display: none;
  }

  .teacherLogin {
    padding: 9px 12px;
  }

  .hero {
    margin-top: 48px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}
.homeClassList {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.homeClassCard {
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #172033;
  background: #ffffff;
  border: 1px solid #dfe4ef;
  border-radius: 13px;
  text-decoration: none;
  text-align: left;
  transition:
    transform 120ms ease,
    border-color 120ms ease;
}

.homeClassCard:hover {
  transform: translateY(-1px);
  border-color: #8da2ff;
}

.homeClassCard span {
  color: #747e91;
  font-size: 13px;
}

.homeClassCard .homeClassEnter {
  margin-top: 7px;
  color: #3155e7;
  font-weight: 800;
}

.googleButtonHost {
  width: min(390px, 100%);
  min-height: 44px;
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
}
.studentCodeForm {
  width: min(390px, 100%);
  margin: 30px auto 0;
  text-align: left;
}

.studentCodeForm label {
  display: block;
  margin-bottom: 8px;
  color: #384257;
  font-size: 13px;
  font-weight: 800;
}

.studentCodeInput {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: #172033;
  background: #ffffff;
  border: 1px solid #ccd4e3;
  border-radius: 13px;
  outline: none;
  font: inherit;
  font-size: 17px;
}

.studentCodeInput:focus {
  border-color: #4f67e8;
  box-shadow: 0 0 0 4px rgba(79, 103, 232, 0.12);
}

.studentCodeButton {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  border: 0;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #3155e7,
    #654bd8
  );
  box-shadow: 0 12px 30px rgba(49, 85, 231, 0.22);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.studentCodeButton:disabled {
  opacity: 0.65;
  cursor: wait;
}

.loginDivider {
  width: min(390px, 100%);
  margin: 22px auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a0a7b5;
  font-size: 12px;
}

.loginDivider::before,
.loginDivider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e4ec;
}

.googleDisabledButton {
  width: min(390px, 100%);
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #7d8595;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 13px;
  font: inherit;
  font-weight: 700;
  cursor: not-allowed;
}

.googleDisabledMark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #8b93a2;
  background: #ffffff;
  border-radius: 7px;
  font-family: Arial, sans-serif;
  font-weight: 900;
}