.terms-shell,
.terms-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.terms-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.35fr);
  gap: clamp(48px, 8vw, 112px);
  padding-block: clamp(56px, 8vw, 104px);
}
.terms-summary {
  align-self: start;
  position: sticky;
  top: 40px;
}
.terms-summary h1 {
  margin: 18px 0 20px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.terms-summary > p:not(.eyebrow) {
  color: var(--muted);
}
.terms-summary .review-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-primary);
  background: var(--brand-primary-soft);
  color: var(--ink);
  font-weight: 650;
}
.terms-content section {
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line-soft);
}
.terms-content section:last-child {
  margin-bottom: 0;
}
.terms-content h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.025em;
}
.terms-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.terms-content p + p {
  margin-top: 14px;
}
.terms-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 760px) {
  .terms-shell {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 48px;
  }
  .terms-summary {
    position: static;
  }
  .terms-content p {
    font-size: 16px;
  }
}
