/* Legal page content (terms.html, privacy.html) — loads after site.css */
.tc-content { max-width: 1000px; margin: clamp(32px, 3vw, 48px) auto 0; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.7; overflow-wrap: break-word; }
.tc-intro p + p { margin-top: 16px; }
.tc-callout { margin-top: 24px; padding: 18px 22px; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--soft); color: var(--ink); }
.tc-callout strong { color: var(--ink); }
.tc-section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.tc-content > .tc-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tc-section h2 { display: flex; gap: 14px; align-items: baseline; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.tc-section h2 .tc-num { color: var(--blue); }
.tc-section h3 { margin: 32px 0 4px; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(19px, 1.5vw, 22px); color: var(--blue); }
.tc-section > p { margin-top: 16px; }
.tc-lead { margin-top: 20px; font-weight: 700; color: var(--ink); }

/* Numbered clauses (terms) */
.tc-clause { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; margin-top: 18px; scroll-margin-top: 24px; }
.tc-cn { padding-top: 2px; font-family: Inter, sans-serif; font-weight: 700; font-size: 15px; color: var(--blue); }
.tc-clause strong { color: var(--ink); }
.tc-list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.tc-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); }
.tc-list li > b { font-family: Inter, sans-serif; color: var(--ink); }
.tc-clause :target, .tc-clause:target .tc-cn { color: var(--blue-dark); }
.tc-clause:target { background: var(--soft); border-radius: 10px; box-shadow: 0 0 0 10px var(--soft); }

/* Bullet lists (privacy) */
.tc-bullets { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.tc-bullets-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.tc-bullets li { position: relative; padding-left: 26px; }
.tc-bullets li::before { content: ""; position: absolute; left: 6px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.tc-bullets strong { color: var(--ink); }

/* Address cards (privacy) */
.tc-address { margin-top: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: #F7FAFF; font-style: normal; }
.tc-address strong { color: var(--ink); }
.tc-address p { margin-top: 12px; }

/* Tables */
.tc-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tc-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: clamp(15px, 1vw, 17px); line-height: 1.55; }
.tc-table th, .tc-table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.tc-table th { background: var(--blue); color: #fff; font-family: Inter, sans-serif; font-weight: 700; }
.tc-table td { border-top: 1px solid var(--line); }
.tc-table tr:nth-child(even) td { background: #F7FAFF; }
.tc-table td:first-child { width: 45%; color: var(--ink); }

@media (max-width: 560px) {
  .tc-clause { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tc-table { min-width: 0; }
  .tc-table th, .tc-table td { padding: 12px 14px; }
  .tc-list li { grid-template-columns: 28px minmax(0, 1fr); }
  .tc-bullets-cols { grid-template-columns: minmax(0, 1fr); }
  .tc-address { padding: 18px 20px; }
}
