.terms {
  padding-block: 64px;
}

.terms-head {
  max-width: 672px;
  margin-inline: auto;
  margin-bottom: 48px;
  text-align: center;
}

.terms-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 9999px;
  background: hsl(180 100% 67% / 0.1);
  border: 1px solid hsl(180 100% 67% / 0.2);
}

.terms-badge svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--primary);
}

.terms-badge span {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--primary);
}

.terms-title {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: 16px;
  background: linear-gradient(to right, #ffffff, rgb(255 255 255 / 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.terms-lead {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.terms-panel {
  padding: 32px;
  background: rgb(5 7 12 / 0.6);
  border: 1px solid hsl(180 100% 67% / 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 15px -3px hsl(180 100% 67% / 0.05), 0 4px 6px -4px hsl(180 100% 67% / 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.terms-stack > * + * {
  margin-top: 24px;
}

.terms-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid rgb(250 250 250 / 0.1);
  border-radius: 12px;
}

.terms-card--support {
  background: hsl(180 100% 67% / 0.1);
  border-color: hsl(180 100% 67% / 0.3);
}

.terms-card__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.terms-card__row--intro {
  align-items: center;
  margin-bottom: 16px;
}

.terms-card__mark {
  display: block;
  flex: none;
  padding: 8px;
  font-size: 16px;
  line-height: 24px;
  background: hsl(180 100% 67% / 0.1);
  border-radius: var(--radius-sm);
}

.terms-card__mark--strong {
  background: hsl(180 100% 67% / 0.15);
  border: 2px solid var(--primary);
}

.terms-card__mark--support {
  background: hsl(180 100% 67% / 0.2);
}

.terms-card__body {
  flex: 1;
  min-width: 0;
}

.terms-card__lead {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--fg);
}

.terms-card__title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.terms-card__title--support {
  font-size: 16px;
  line-height: 24px;
  color: var(--primary);
}

.terms-card__text {
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted);
}

.terms-card__text--tight {
  line-height: 20px;
}

.terms-card--support .terms-card__row {
  margin-bottom: 0;
}

.terms-card__text > * + * {
  margin-top: 8px;
}

.terms-accent {
  color: var(--primary);
  font-weight: 600;
}

.terms-strong {
  color: var(--fg);
  font-weight: 600;
}

.terms-list {
  padding-left: 16px;
}

.terms-list > * + * {
  margin-top: 4px;
}

.terms-warn {
  padding: 12px;
  background: rgb(234 179 8 / 0.1);
  border: 1px solid rgb(234 179 8 / 0.3);
  border-radius: var(--radius-sm);
}

.terms-warn__title {
  color: rgb(234 179 8);
  font-weight: 600;
  margin-bottom: 4px;
}

.terms-updated {
  padding-block: 16px;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
