/* ============================================================
   axplusb — legal / policy document pages
   Loaded on top of base.css by terms, privacy, safeguarding,
   complaints and security. Uses the shared Soft-theme tokens.
   ============================================================ */

.ax-doc { max-width: 880px; margin: 0 auto; padding: 44px 44px 66px; }
.ax-doc__kicker { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .06em; margin-bottom: 11px; }
.ax-doc h1 { font-family: var(--head); font-weight: 600; font-size: 40px; letter-spacing: -.02em; margin: 0 0 14px; line-height: 1.08; }
.ax-doc__lead { font-size: 17.5px; color: var(--muted); line-height: 1.55; margin: 0 0 20px; max-width: 720px; }
.ax-doc__meta {
  display: flex; flex-wrap: wrap; gap: 7px 18px; align-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  padding: 13px 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 24px;
}

.ax-doc__toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 20px;
}
.ax-doc__toc h2 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; color: var(--muted); font-weight: 400; margin: 0 0 14px; }
.ax-doc__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: axtoc; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 26px; }
.ax-doc__toc li { counter-increment: axtoc; font-size: 14px; }
.ax-doc__toc li::before { content: counter(axtoc) ". "; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ax-doc__toc a { color: var(--ink); text-decoration: none; }
.ax-doc__toc a:hover { color: var(--accent); }

.ax-doc section {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 16px; scroll-margin-top: 20px;
}
.ax-doc section h2 { font-family: var(--head); font-weight: 600; font-size: 20px; letter-spacing: -.01em; margin: 0 0 12px; }
.ax-doc section h3 { font-family: var(--head); font-weight: 600; font-size: 15.5px; margin: 20px 0 8px; color: var(--ink); }
.ax-doc p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0 0 12px; }
.ax-doc p:last-child, .ax-doc ul:last-child { margin-bottom: 0; }
.ax-doc ul { margin: 0 0 12px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ax-doc ul li { position: relative; padding-left: 18px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.ax-doc ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ax-doc strong { color: var(--ink); font-weight: 600; }
.ax-doc a { color: var(--accent); }

/* fact rows — company details, contact points */
.ax-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.ax-facts > div { background: var(--surface); padding: 15px 18px; }
.ax-facts > div.ax-wide { grid-column: 1 / -1; }
.ax-facts dt { font-size: 11.5px; font-family: var(--mono); color: var(--muted); margin-bottom: 4px; }
.ax-facts dd { font-size: 14.5px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.45; }

/* explicit marker for a detail that is not yet confirmed in writing */
.ax-tbc {
  display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: var(--neg); background: color-mix(in srgb, var(--neg) 11%, transparent);
  border-radius: 100px; padding: 1px 10px;
}

/* cross-links between the legal documents, at the bottom of each page */
.ax-doc__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ax-doc__nav a {
  text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 100px; transition: border-color .15s, background .15s;
}
.ax-doc__nav a:hover { border-color: var(--accent); background: var(--accent-soft); }

@media (max-width: 820px) {
  .ax-doc { padding: 74px 18px 52px; }   /* room for the fixed hamburger */
  .ax-doc h1 { font-size: 30px; }
  .ax-doc__lead { font-size: 16px; }
  .ax-doc section { padding: 22px 20px; }
  .ax-doc__toc { padding: 20px 20px; }
  .ax-doc__toc ol { grid-template-columns: 1fr; }
  .ax-facts { grid-template-columns: 1fr; }
}
