/* Terms page uses the same look as the main site */

.terms{
  padding: 48px 0 60px;
}

.terms-card{
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(68,65,169,0.14);
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(35, 20, 90, 0.10);
  padding: 28px 22px;
}

.terms h2{
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
  color:#2a1d7d;
}

.terms .updated{
  margin: 0 0 22px;
  font-size: 12px;
  color: rgba(28,22,48,0.60);
}

.terms section{ margin-top: 18px; }

.terms h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: rgba(68,65,169,0.92);
}

.terms p,
.terms li{
  font-size: 14px;
  line-height: 1.8;
  color: rgba(28,22,48,0.70);
}

.terms ul{ padding-left: 20px; }

.back-link{
  font-family: "Epilogue", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--menu);
  text-decoration: none;
  font-weight: 600;
}
.back-link:hover{ text-decoration: underline; }

@media (max-width: 640px){
  .terms-card{ padding: 20px 16px; }
  .terms h2{ font-size: 24px; }
}

/* Terms page - small laptops */
@media (min-width: 1024px) and (max-width: 1366px){

  .terms{
    padding: 40px 20px 50px;
  }

  .terms-card{
    max-width: 760px;
    padding: 24px 18px;
  }

  .terms h2{
    font-size: 26px;
  }

  .terms h3{
    font-size: 15px;
  }

  .terms p,
  .terms li{
    font-size: 13px;
    line-height: 1.7;
  }

  .terms .updated{
    font-size: 11px;
  }
}

/* Terms page - large laptops */
@media (min-width: 1440px){

  .terms{
    padding: 60px 40px 80px;
  }

  .terms-card{
    max-width: 1000px;
    padding: 36px 28px;
  }

  .terms h2{
    font-size: 34px;
  }

  .terms h3{
    font-size: 18px;
  }

  .terms p,
  .terms li{
    font-size: 16px;
    line-height: 1.9;
  }

  .terms .updated{
    font-size: 13px;
  }
}