.terms__split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: start;
}

.terms__aside-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}

.terms__aside-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.terms-list {
  border-top: 1px solid var(--line);
}

.terms-item {
  border-bottom: 1px solid var(--line);
}

.terms-item__trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: clamp(14px, 2vh, 18px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.terms-item__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  transition: color var(--transition);
}

.terms-item__trigger:hover .terms-item__title,
.terms-item.is-open .terms-item__title {
  color: var(--brand);
}

.terms-item__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background-color: var(--paper);
  transition: border-color var(--transition), background-color var(--transition);
}

.terms-item.is-open .terms-item__icon {
  border-color: var(--brand);
  background-color: var(--brand);
}

.terms-item__icon::before,
.terms-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background-color: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform var(--transition), background-color var(--transition);
}

.terms-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.terms-item.is-open .terms-item__icon::before,
.terms-item.is-open .terms-item__icon::after {
  background-color: var(--paper);
}

.terms-item.is-open .terms-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.terms-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.terms-item.is-open .terms-item__panel {
  grid-template-rows: 1fr;
}

.terms-item__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.terms-item__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-body);
  padding: 0 36px clamp(14px, 2vh, 18px) 0;
}

@media (max-width: 960px) {
  .terms__split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .terms__split {
    gap: 14px;
  }

  .terms__aside-title {
    font-size: 21px;
    margin-bottom: 6px;
  }

  .terms__aside-text {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .terms-item__trigger {
    padding: 10px 0;
  }

  .terms-item__title {
    font-size: 14.5px;
  }

  .terms-item__text {
    font-size: 12.5px;
    line-height: 1.44;
    padding: 0 0 10px;
  }
}
