:root {
  color-scheme: light;
}

.main-content-area {
  background: linear-gradient(180deg, #e7f7f4 0%, #f3f4ff 100%);
  display: flex;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  width: min(70%, 1120px);
  margin: 0 auto;
}

.toefl-landing {
  width: min(100%, 1040px);
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 4vw, 2.8rem);
  padding: 0 clamp(1.25rem, 4vw, 2.25rem);
  box-sizing: border-box;
}

.toefl-hero {
  background: linear-gradient(135deg, rgba(9, 111, 97, 0.12), rgba(10, 135, 143, 0.16));
  border: 1px solid rgba(10, 135, 143, 0.2);
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 2.8rem);
  box-shadow: 0 18px 36px rgba(10, 66, 77, 0.08);
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background-color: rgba(11, 109, 117, 0.2);
  color: #0a5b61;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.toefl-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #083b43;
  line-height: 1.25;
}

.hero-lead {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.75;
  color: #104750;
}

.toefl-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: 0 16px 32px rgba(10, 66, 77, 0.08);
  border: 1px solid rgba(9, 111, 97, 0.1);
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.toefl-card h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: #0b4a52;
}

.toefl-card p {
  margin: 0;
  color: #1f4c53;
  line-height: 1.7;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background-color: rgba(10, 135, 143, 0.12);
  color: #0a5b61;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.link-chip:hover,
.link-chip:focus-visible {
  background-color: rgba(10, 135, 143, 0.2);
  border-color: rgba(10, 91, 97, 0.35);
  transform: translateY(-1px);
}

.card-action {
  display: flex;
  align-items: center;
}

.toefl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a8760, #11a3a3);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  box-shadow: 0 15px 30px rgba(12, 109, 112, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.toefl-button:hover,
.toefl-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(12, 109, 112, 0.22);
  filter: brightness(1.05);
}

.toefl-button:focus-visible {
  outline: 3px solid rgba(17, 163, 163, 0.45);
  outline-offset: 3px;
}

.toefl-button--ghost {
  background: transparent;
  color: #0b4a52;
  border: 1px solid rgba(11, 89, 97, 0.32);
  box-shadow: none;
}

.toefl-button--ghost:hover,
.toefl-button--ghost:focus-visible {
  background-color: rgba(13, 148, 136, 0.1);
  box-shadow: none;
}

@media (max-width: 1024px) {
  .main-content-area {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .main-content-area {
    padding: clamp(2rem, 8vw, 3rem) 0;
  }

  .toefl-card {
    padding: clamp(1.4rem, 5vw, 1.9rem);
  }

  .card-links {
    flex-direction: column;
    align-items: stretch;
  }

  .link-chip {
    justify-content: flex-start;
  }
}