.terms-embed {
    --terms-color-text: #1f2328;
    --terms-color-sub: #4b5563;
    --terms-color-border: #e2e5e9;
    --terms-color-accent: #1b6b4f;
    color: var(--terms-color-text);
    line-height: 1.9;
    font-size: 16px;
  }

  .terms-embed * { box-sizing: border-box; }

  .terms-embed .terms__header {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 22px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--terms-color-accent);
  }

  .terms-embed .terms__title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
    color: var(--terms-color-text);
  }

  .terms-embed .terms__meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 1.5rem;
    color: var(--terms-color-sub);
  }

  .terms-embed .terms__meta span {
    white-space: nowrap;
  }

  .terms-embed .clause {
    padding: 28px 0;
    border-bottom: 1px solid var(--terms-color-border);
  }

  .terms-embed .clause:last-of-type {
    border-bottom: none;
  }

  .terms-embed .clause__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--terms-color-accent);
    margin: 0 0 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .terms-embed .clause__title .clause__num {
    flex-shrink: 0;
  }

  .terms-embed .clause p.clause__lead {
    margin: 0 0 12px;
  }

  .terms-embed .clause__list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: item;
  }

  .terms-embed .clause__list > li {
    counter-increment: item;
    position: relative;
    padding-left: 2em;
    margin-bottom: 14px;
  }

  .terms-embed .clause__list > li:last-child {
    margin-bottom: 0;
  }

  .terms-embed .clause__list > li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--terms-color-sub);
    font-weight: 600;
  }

  .terms-embed .clause__sublist {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    counter-reset: subitem;
  }

  .terms-embed .clause__sublist > li {
    counter-increment: subitem;
    position: relative;
    padding-left: 2.4em;
    margin-bottom: 10px;
  }

  .terms-embed .clause__sublist > li:last-child {
    margin-bottom: 0;
  }

  .terms-embed .clause__sublist > li::before {
    content: "(" counter(subitem) ")";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--terms-color-sub);
  }

  .terms-embed .clause__sublist--paren {
    counter-reset: subitem2;
  }

  .terms-embed .clause__sublist--paren > li {
    counter-increment: subitem2;
  }

  .terms-embed .clause__sublist--paren > li::before {
    content: "(" counter(subitem2) ")";
  }

  .terms-embed .clause__plain {
    margin: 0 0 12px;
  }

  .terms-embed .clause__plain:last-child {
    margin-bottom: 0;
  }

  .terms-embed .terms__footer {
    text-align: center;
    margin-top: 48px;
    color: var(--terms-color-sub);
    font-size: 1.75rem;
  }

  .terms-embed a {
    color: var(--terms-color-accent);
    word-break: break-all;
  }

  @media (max-width: 480px) {
    .terms-embed { font-size: 15px; }
    .terms-embed .terms__title { font-size: 2.25rem; }
  }
