.sp-terms {
    line-height: 1.7;
}
.sp-terms .sp-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 160px 24px 120px;
  }

  /* ---- Header ---- */
  .sp-terms .sp-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
  }

  .sp-terms h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0;
    line-height: 1.08;
  }

  .sp-terms .sp-lede {
    max-width: 62ch;
    color: var(--text-dim);
    font-size: 1.05rem;
    margin: 0;
  }

  .sp-terms .sp-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 12.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .sp-terms .sp-meta-row strong {
    color: var(--teal);
    font-weight: 700;
  }

  /* ---- Layout: index rail + clause cards ---- */
  .sp-terms .sp-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 56px;
    align-items: start;
  }

  .sp-terms .sp-index {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .sp-terms .sp-index-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 14px;
  }

  .sp-terms .sp-index a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 0;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-left: 2px solid transparent;
    padding-left: 12px;
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  .sp-terms .sp-index a span {
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 700;
  }
  .sp-terms .sp-index a:hover {
    color: var(--ink);
    border-left-color: var(--teal);
  }

  .sp-terms .sp-clauses {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .sp-terms .sp-clause {
    scroll-margin-top: 32px;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--teal);
    border-radius: 10px;
    padding: 28px 30px;
    box-shadow: 0 1px 2px rgba(11, 31, 30, 0.04);
  }

  .sp-terms .sp-clause-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--teal);
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 14px;
  }

  .sp-terms .sp-clause h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 12px;
  }

  .sp-terms .sp-clause p {
    margin: 0;
    max-width: 68ch;
    color: var(--text-dim);
    font-size: 0.98rem;
  }

  /* ---- Contact strip ---- */
  .sp-terms .sp-contact {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--teal);
    border-radius: 10px;
    padding: 26px 30px;
  }
  .sp-terms .sp-contact p {
    margin: 0;
    color: #DDEFEA;
    font-size: 0.98rem;
    max-width: 46ch;
  }
  .sp-terms .sp-contact a {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    white-space: nowrap;
  }
  .sp-terms .sp-contact a:hover { border-color: #fff; }

  /* ---- Responsive ---- */
  @media (max-width: 820px) {
    .sp-terms .sp-layout {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .sp-terms .sp-index {
      position: static;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 8px 4px;
    }
    .sp-terms .sp-index-label { width: 100%; }
    .sp-terms .sp-index a {
      border-left: none;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 7px 14px;
    }
  }

  @media (max-width: 560px) {
    .sp-terms .sp-shell { padding: 120px 18px 80px; }
    .sp-terms .sp-clause { padding: 22px 20px; }
    .sp-terms .sp-contact { flex-direction: column; align-items: flex-start; }
  }

  @media (prefers-reduced-motion: reduce) {
    .sp-terms * { scroll-behavior: auto !important; transition: none !important; }
  }