/* Privacy Policy / Website Terms of Use: policy tables and lists. */

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font: 400 15px/1.55 "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  margin: 2rem 0;
}
.policy-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding-bottom: 0.6rem;
}
.policy-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4a4a4a;
  background: var(--paper);
  border-bottom: 2px solid #c9a227;
  padding: 0.75rem 1rem;
}
.policy-table tbody th,
.policy-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e4e4e0;
  vertical-align: top;
}
.policy-table tbody th {
  text-align: left;
  font-weight: 600;
}
.policy-table tbody tr:nth-child(even) {
  background: var(--paper);
}
/* Column widths: label / category / duration / purpose. Scoped to
   min-width so they can't outrank the mobile width:100% reset below -
   nth-child selectors carry more specificity than the tbody th/td one,
   which was squeezing the row-header column on phones. */
@media (min-width: 641px) {
  .policy-table th:nth-child(1) { width: 22%; }
  .policy-table th:nth-child(2) { width: 15%; }
  .policy-table th:nth-child(3) { width: 13%; }
  .policy-table th:nth-child(4) { width: 50%; }

  .policy-table--twocol th:nth-child(1),
  .policy-table--twocol td:nth-child(1) { width: 30%; }
  .policy-table--twocol th:nth-child(2),
  .policy-table--twocol td:nth-child(2) { width: 70%; }
}
@media (max-width: 640px) {
  .policy-table thead { display: none; }
  .policy-table tbody th,
  .policy-table tbody td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 0.25rem 0;
    white-space: normal;
  }
  .policy-table tbody tr {
    display: block;
    padding: 1.15rem 0;
    border-bottom: 1px solid #e4e4e0;
  }
  .policy-table tbody td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: #4a4a4a;
  }

  /* Row labels are full phrases, not short terms, so bolding them at body
     size reads as a second paragraph rather than a label. Style them like
     the thead instead - consistent across every stacked table. */
  .policy-table tbody th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4a4a4a;
    margin-bottom: 0.35rem;
  }

  /* Two-column tables have a single data cell per row, so the inline
     "<column header>: " prefix just repeats itself down the page - drop it
     and let the value read as a plain paragraph under the label. */
  .policy-table--twocol tbody td::before {
    content: none;
  }
}
.policy-list {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.25rem;
  font: 400 15px/1.6 "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  list-style: none;
}
.policy-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9a227;
}
.policy-list a {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-color: #c9a227;
  text-underline-offset: 2px;
  word-break: break-word;
}
.policy-list a:hover,
.policy-list a:focus-visible {
  color: #8a6f18;
}
