@import url('common.css');

.terms-page {
  background:
    radial-gradient(circle at 8% 5%, rgba(26, 181, 85, 0.08), transparent 22%),
    radial-gradient(circle at 90% 12%, rgba(26, 53, 83, 0.08), transparent 24%),
    #f4f7fa;
  min-height: 100vh;
}

.terms-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 132px 24px 42px;
  position: relative;
}
.terms-hero::after {
  content: '';
  position: absolute;
  left: 24px;
  bottom: 16px;
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1ab555, #1a3553);
}

.terms-title {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  color: #1a3553;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.terms-subtitle {
  font-size: 1.08rem;
  color: #536578;
  max-width: 900px;
  line-height: 1.75;
}

.terms-content {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e7edf3;
  border-radius: 16px;
  padding: 40px 34px;
  box-shadow: 0 14px 34px rgba(10, 28, 47, 0.1);
}

.terms-content h2 {
  font-size: 1.3rem;
  margin: 30px 0 12px;
  color: #1a3553;
  padding-left: 12px;
  border-left: 4px solid #1ab555;
  line-height: 1.35;
}

.terms-content p {
  color: #4b5e70;
  font-size: 1.01rem;
  margin-bottom: 14px;
  line-height: 1.8;
}

.terms-content a {
  color: #1a3553;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.terms-content a:hover {
  color: #1ab555;
}

@media (max-width: 768px) {
  .terms-hero {
    padding-top: 112px;
    padding-bottom: 32px;
  }
  .terms-hero::after {
    left: 24px;
    width: 78px;
  }

  .terms-content {
    border-radius: 10px;
    padding: 24px 18px;
  }

  .terms-content h2 {
    font-size: 1.14rem;
    margin-top: 24px;
  }
}
