/* ---------------- Policy pages (6 Oct 2026): white, black and gold, like the info cards ---------------- */
.legal-wrap { width: min(70rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.6rem 0 0; }
.policy-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin: 0 0 1.6rem; }
.policy-tabs a {
  font: 600 0.8rem/1 Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #1a1a1a;
  text-decoration: none;
  padding: 0.6rem 0.95rem;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  border: 1px solid #e4c36a;
  border-radius: 999px;
  background: #fff;
}
.policy-tabs a:hover, .policy-tabs a:focus-visible { background: rgba(228, 195, 106, 0.18); outline: none; }
.policy-tabs a.on { background: #0c0c0e; color: #e4c36a; border-color: #0c0c0e; }

.legal { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2rem; align-items: start; }
.legal-card {
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #e4c36a;
  border-radius: 16px;
  padding: 1.8rem 2.1rem 2.1rem;
  font: 16px/1.65 Arial, "Helvetica Neue", Helvetica, sans-serif;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(228, 195, 106, 0.2);
}
.legal-card .eb { font: 600 10px/1.2 Arial, sans-serif; letter-spacing: 0.15em; text-transform: uppercase; color: #8a6a1c; margin: 0 0 8px; }
.legal-card h1 { text-align: left; font: 700 clamp(1.8rem, 4vw, 2.4rem)/1.12 Arial, sans-serif; letter-spacing: -0.015em; margin: 0 0 6px; }
.legal-card .meta { color: #777; font-size: 13px; margin: 0 0 1.1rem; }
.legal-card h2 {
  font: 700 12px/1.2 Arial, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8a6a1c;
  margin: 2rem 0 0.7rem;
  padding-bottom: 7px;
  border-bottom: 1px solid #e4c36a;
  scroll-margin-top: 1.2rem;
}
.legal-card p { margin: 0.6rem 0; }
.legal-card ul { margin: 0.4rem 0; padding: 0; list-style: none; }
.legal-card li { position: relative; margin: 0.5rem 0; padding-left: 1.3rem; }
.legal-card li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: #e4c36a; }
.legal-card b { color: #111; }
.legal-card a { color: #1a1a1a; text-decoration-color: #e4c36a; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.legal-card a:focus-visible, .legal-toc a:focus-visible { outline: 3px solid #e4c36a; outline-offset: 2px; }
.legal-card code { font: 13px ui-monospace, Consolas, monospace; background: #1a1a1c; color: #e4c36a; padding: 0.1rem 0.35rem; border-radius: 4px; border: 1px solid rgba(228, 195, 106, 0.5); }
.callout { background: rgba(228, 195, 106, 0.1); border: 1px solid #e4c36a; border-radius: 12px; padding: 0.8rem 1.05rem; margin: 1rem 0; }
.callout p { margin: 0.2rem 0; }
.callout-eb { font: 700 10px/1.2 Arial, sans-serif !important; letter-spacing: 0.15em; text-transform: uppercase; color: #8a6a1c; }
.callout.short p:last-child { font-size: 17px; font-style: italic; color: #333; }
.legal-card table { width: 100%; border-collapse: collapse; margin: 0.7rem 0; font-size: 14.5px; }
.legal-card th { text-align: left; background: #0c0c0e; color: #e4c36a; font: 700 11px/1.3 Arial, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.6rem 0.75rem; }
.legal-card th:first-child { border-top-left-radius: 8px; }
.legal-card th:last-child { border-top-right-radius: 8px; }
.legal-card td { padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(228, 195, 106, 0.45); vertical-align: top; }
.legal-card tr:nth-child(even) td { background: rgba(228, 195, 106, 0.06); }
.contact-line { margin-top: 2rem !important; padding-top: 1rem; border-top: 1px solid #eee; color: #555; font-size: 14px; }

.legal-toc { position: sticky; top: 1.2rem; font: 14px/1.4 Arial, "Helvetica Neue", Helvetica, sans-serif; text-align: left; border-left: 2px solid #e4c36a; padding: 0.2rem 0 0.2rem 1rem; }
.toc-head { font: 700 10px/1.2 Arial, sans-serif; letter-spacing: 0.15em; text-transform: uppercase; color: #8a6a1c; margin: 0 0 0.6rem; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal-toc li { margin: 0.45rem 0; counter-increment: toc; }
.legal-toc a { color: #333; text-decoration: none; }
.legal-toc a::before { content: counter(toc) ". "; color: #8a6a1c; font-weight: 700; }
.legal-toc a:hover { color: #000; text-decoration: underline; text-decoration-color: #e4c36a; }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}
@media (max-width: 600px) {
  .legal-card { padding: 1.2rem 1.1rem 1.4rem; font-size: 15px; }
  .policy-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.3rem; margin-bottom: 1rem; }
  .policy-tabs a { white-space: nowrap; }
  /* (26 Oct 2026) the strip fades at the right edge while there is more to scroll to */
  .policy-tabs.more { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .legal-card table, .legal-card thead, .legal-card tbody, .legal-card tr, .legal-card th, .legal-card td { display: block; }
  .legal-card thead { display: none; }
  .legal-card tr { border: 1px solid rgba(228, 195, 106, 0.6); border-radius: 10px; margin: 0.6rem 0; overflow: hidden; }
  .legal-card td { border-bottom: 0; }
  .legal-card td:first-child { font-weight: 700; background: rgba(228, 195, 106, 0.12); }
}

/* (6 Oct 2026, mobile polish) Phones only: the gold eyebrow labels grow from 10 to 11 px. */
@media (max-width: 600px) {
  .legal-card .eb, .callout-eb, .toc-head { font-size: 11px !important; }
}
