/* Shared by the terms and conditions (tac.html) and the privacy statement
   (privacy.html): both are long-form legal pages with the same structure. */

div.tac-content {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h, 72px) + 3rem) 1.5rem 5rem;
  font-family: var(--font, 'Inter', system-ui, sans-serif);
  color: rgba(255, 255, 255, 0.82);
}

div.tac-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

div.tac-content p.tac-intro {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
}

div.tac-content span.tac-version {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--c-accent, #d2a24c);
  letter-spacing: 0.04em;
}

div.tac-content p.tac-note {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

div.tac-content h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-accent, #d2a24c);
  margin: 2.25rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  /* keeps the #cookies deep link clear of the fixed nav bar */
  scroll-margin-top: calc(var(--nav-h, 72px) + 1rem);
}

div.tac-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 1.5rem 0 0.4rem;
}

div.tac-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.75rem;
}

div.tac-content p b {
  color: rgba(255, 255, 255, 0.92);
}

div.tac-content ul.tac-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  list-style: none;
}

div.tac-content ul.tac-list li {
  position: relative;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.5rem;
}

div.tac-content ul.tac-list li::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent, #d2a24c);
  opacity: 0.7;
}

div.tac-content ul.tac-list li b {
  color: rgba(255, 255, 255, 0.92);
}

/* The cookie and retention tables are wider than the column on phones, so
   they scroll inside their own wrapper instead of the page body. */
div.tac-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

table.tac-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

table.tac-table th,
table.tac-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
  line-height: 1.5;
}

table.tac-table th {
  color: var(--c-accent, #d2a24c);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.03);
}

table.tac-table td {
  color: rgba(255, 255, 255, 0.72);
}

table.tac-table tbody tr:last-child td {
  border-bottom: none;
}

div.tac-content p.tac-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

div.tac-content a {
  color: var(--c-accent, #d2a24c);
  text-decoration: underline;
  text-underline-offset: 3px;
}

div.tac-content a:hover {
  color: #e0b463;
}
