.section__terms {
  padding: 2.5rem 0 5rem;
}

.terms__title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin-bottom: 0.8rem;
}

.terms__description {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 auto;
}

.terms__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.4rem;
  margin-top: 1rem;
}

.terms__card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.terms__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-solid);
  border-radius: 2px;
  opacity: 0.85;
}

.terms__header {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.terms__header::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%235c7cfa' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M12 3v3M6.34 5.34l2.12 2.12M3 12h3M5.34 18.66l2.12-2.12M12 21v-3M17.66 18.66l-2.12-2.12M21 12h-3M18.66 5.34L16.54 7.46M12 9a3 3 0 1 0 3 3 3 3 0 0 0-3-3Z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.terms__description-inner {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.terms-agree {
  grid-column: 1 / -1;
  padding: 2rem 2.2rem;
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md), var(--shadow-accent);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.3rem;
  align-items: center;
}

.terms-agree::before {
  display: none;
}

.terms-agree-icon {
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -12px var(--accent-glow);
}

.terms-agree-icon i {
  font-size: 1.8rem;
  color: #ffffff;
}

.terms-agree .terms__header::before {
  display: none;
}

.terms-agree .terms__header {
  padding: 0;
}

.terms-agree .terms__description-inner {
  grid-column: 2;
}

@media (max-width: 720px) {
  .terms__cards {
    grid-template-columns: 1fr;
  }
  .terms-agree {
    grid-template-columns: auto 1fr;
    padding: 1.5rem;
  }
  .terms-agree-icon {
    width: 54px;
    height: 54px;
  }
  .terms-agree-icon i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .terms__card { padding: 1.4rem 1.4rem 1.4rem 1.6rem; }
}
