/* Additions for the trust center. Tokens come from site.css. */
.doc > * { min-width: 0; }
h1 + .lede { margin-top: 14px; }
@media (max-width: 900px) {
  .doc__rail ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .doc__rail a { font-size: .82rem; padding-block: 5px; }
}
.stamp { margin-top: 14px; color: var(--ink-3); font-family: var(--mono); font-size: .8rem; }
.related { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--hair); }
.prose .table-wrap { margin-block: 6px 4px; }
.prose table td:first-child { font-weight: 600; color: var(--ink); }
.prose blockquote { margin: 0; padding: 16px 20px; border-left: 3px solid var(--signal); background: var(--raise); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; }
.promise { background: var(--surface); padding: 18px 20px; display: grid; gap: 4px; }
.promise strong { font-family: var(--display); font-size: 1.08rem; letter-spacing: -.01em; color: var(--ink); }
.promise span { color: var(--ink-2); font-size: .92rem; }
.promise strong::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--called); margin-right: 9px; vertical-align: .12em; }
.visually-small { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tasks { display: flex; flex-wrap: wrap; gap: 10px; }
.task { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--hair); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.task span { color: var(--signal); transition: transform .15s; }
.task:hover { border-color: var(--signal); color: var(--ink); }
.task:hover span { transform: translateX(3px); }
.hubgrid { align-items: stretch; }
.hubcard h3 { font-size: 1.08rem; }
.hubcard p { font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .task span { transition: none; } }

/* ── Modern layer (Sep 2026): neutral links, quieter accents. ─────────────
   The app palette tokens stay as they are; this only changes how they're used.
   Blue is kept for the one thing that means "act": the app's gradient button. */
:root { --link-line: color-mix(in oklab, var(--ink) 28%, transparent); }
body { letter-spacing: -.003em; }
::selection { background: color-mix(in oklab, var(--signal) 22%, transparent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px;
    text-decoration-color: var(--link-line); text-underline-offset: .22em;
    transition: text-decoration-color .15s ease, color .15s ease; }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.prose a { font-weight: 500; }
.prose p a, .prose li a, .prose td a, .small a { color: var(--ink); }

.kicker, .kicker--signal { color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.kicker--signal::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(135deg, var(--signal), var(--signal-deep)); }

h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -.035em; line-height: 1.02; }
.prose h2 { font-size: 1.45rem; letter-spacing: -.02em; padding-top: 1.4em; border-top: 1px solid var(--hair); }
.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.lede { color: var(--ink-2); }

.nav a:hover, .nav a[aria-current="page"] { background: var(--raise); color: var(--ink); }
.themer:hover { border-color: var(--edge); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.crumbs a:hover, .foot-col a:hover, .links a:hover { color: var(--ink); }
.foot-col a { text-decoration: none; }
.links a { text-decoration: none; }

.doc__rail a { color: var(--ink-3); border-left-color: transparent; text-decoration: none; }
.doc__rail ol { border-left: 1px solid var(--hair); }
.doc__rail a:hover { color: var(--ink); border-left-color: var(--ink); }

.card { border-radius: 18px; box-shadow: none; }
.card--link { text-decoration: none; }
.card--link:hover { border-color: var(--edge); background: var(--raise); transform: none; }
.hubcard h3 { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.hubcard h3::after { content: "↗"; font-family: var(--body); font-weight: 500; color: var(--ink-3); transition: transform .15s ease, color .15s ease; }
.hubcard:hover h3::after { color: var(--ink); transform: translate(2px, -2px); }

.callout { border-left: 1px solid var(--hair); background: var(--raise); border-radius: 14px; }
.prose blockquote { border-left: 2px solid var(--ink); background: var(--raise); }

.prose table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.prose th { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-3); background: transparent; text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--edge); }
.prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--hair); vertical-align: top; color: var(--ink-2); background: transparent; }
.table-wrap { border: 0; background: transparent; }

.promise strong::before { background: linear-gradient(135deg, var(--signal), var(--signal-deep)); border-radius: 3px; width: 8px; height: 8px; }
.task { text-decoration: none; }
.task span { color: var(--ink-3); }
.task:hover { border-color: var(--ink); background: var(--raise); }
.task:hover span { color: var(--ink); }
/* Primary button: keep the app gradient and white text in every state. */
a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btn:focus-visible, a.btn:active,
.nav a.btn, .nav a.btn:hover, .nav a.btn:focus-visible, .nav a.btn:active {
  background: linear-gradient(103deg, #2560F0, #0877D6); color: #FFFFFF; text-decoration: none;
}
a.btn:hover, .nav a.btn:hover { filter: brightness(1.08); }
a.btn:active, .nav a.btn:active { filter: brightness(.95); transform: translateY(0); }
a.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
a.btn--ghost, a.btn--ghost:hover, a.btn--ghost:active { background: transparent; color: var(--ink); filter: none; }
main > .band--tight:first-child + .band { padding-top: clamp(8px, 2vw, 20px); }
.hubgrid { margin-top: 4px; }
.stack > h2[id] { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.band--tight h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }

/* ── Color layer (Sep 2026): the app's own hues as accents. ───────────────
   Each section has a hue: Legal = signal blue → aqua, Safety = called green,
   Company = aqua → blue. No red, orange or amber anywhere. Body text and links stay ink; color lives in
   glows, chips, rules, icons and hover states. */
:root { --aqua: #0891B2; --g1: var(--signal); --g2: var(--aqua); --glow: 16%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --aqua: #2ED3F2; --glow: 26%; } }
:root[data-theme="dark"] { --aqua: #2ED3F2; --glow: 26%; }
.g-legal, .g-hub { --g1: var(--signal); --g2: var(--aqua); }
.g-safety { --g1: var(--called); --g2: var(--aqua); }
.g-company { --g1: var(--aqua); --g2: var(--signal); }

::selection { background: color-mix(in oklab, var(--g1) 26%, transparent); }

/* Header and footer rules pick up the brand gradient. */
.site-head { border-bottom-color: transparent; }
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal) 25%, var(--aqua) 60%, transparent); opacity: .55; }
.site-foot { position: relative; border-top-color: transparent; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), var(--aqua), transparent); opacity: .45; }
.crumbs { position: relative; z-index: 1; }

/* Page intro: soft aurora glow over a faint dot grid. */
main > .band--tight:first-child { position: relative; overflow: hidden; isolation: isolate; }
main > .band--tight:first-child::before { content: ""; position: absolute; inset: -40% -10% -30% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 60% at 12% 30%, color-mix(in oklab, var(--g1) var(--glow), transparent), transparent 70%),
    radial-gradient(34% 55% at 78% 10%, color-mix(in oklab, var(--g2) var(--glow), transparent), transparent 70%); }
main > .band--tight:first-child::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in oklab, var(--ink) 14%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); opacity: .5; }

.kicker--signal { color: var(--g1); background: color-mix(in oklab, var(--g1) 11%, transparent);
  border: 1px solid color-mix(in oklab, var(--g1) 24%, transparent); padding: 5px 11px 5px 9px; border-radius: 999px; }
.kicker--signal::before { background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 0 10px color-mix(in oklab, var(--g1) 70%, transparent); }
.grad-text { background: linear-gradient(100deg, var(--signal), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Links: ink text, tinted underline. */
a { text-decoration-color: color-mix(in oklab, var(--g1) 50%, transparent); }
a:hover { text-decoration-color: var(--g1); text-decoration-thickness: 2px; }

/* Long pages. */
.prose h2 { border-top: 0; padding-top: .6em; }
.prose h2::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--g1), var(--g2)); }
.prose li::marker { color: var(--g1); }
.prose th { color: var(--ink-2); background: color-mix(in oklab, var(--g1) 7%, transparent); padding-left: 12px; border-bottom: 0; }
.prose th:first-child { border-radius: 10px 0 0 10px; }
.prose th:last-child { border-radius: 0 10px 10px 0; }
.prose td:first-child { padding-left: 12px; }
.callout { background: linear-gradient(135deg, color-mix(in oklab, var(--g1) 9%, var(--surface)), color-mix(in oklab, var(--g2) 6%, var(--surface)));
  border: 1px solid color-mix(in oklab, var(--g1) 24%, transparent); }
.prose blockquote { border-left: 3px solid var(--g1); background: color-mix(in oklab, var(--g1) 7%, var(--surface)); }

.doc__rail ol { border-left: 1px solid var(--hair); }
.doc__rail a { margin-left: -1px; border-left: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.doc__rail a:hover { border-left-color: color-mix(in oklab, var(--g1) 60%, transparent); }
.doc__rail a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--g1); }

/* Trust center. */
.promise { position: relative; transition: background .2s ease; }
.promise:hover { background: color-mix(in oklab, var(--signal) 5%, var(--surface)); }
.promise strong { display: flex; align-items: center; gap: 10px; }
.promise strong::before { content: "✓"; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; display: grid; place-items: center;
  font: 800 .72rem/1 var(--body); color: #fff; background: linear-gradient(135deg, var(--signal), var(--aqua));
  box-shadow: 0 4px 14px color-mix(in oklab, var(--signal) 35%, transparent); }
.task span { color: var(--signal); }
.task:hover { border-color: color-mix(in oklab, var(--signal) 55%, transparent); background: color-mix(in oklab, var(--signal) 7%, var(--surface)); }
.task:hover span { color: var(--signal); }

.hubgroup > h2 { display: flex; align-items: center; gap: 12px; }
.hubgroup > h2::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--g1), var(--g2));
  box-shadow: 0 0 16px color-mix(in oklab, var(--g1) 55%, transparent); }
.hubcard { position: relative; overflow: hidden; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.hubcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--g1), var(--g2));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.card--link.hubcard:hover { border-color: color-mix(in oklab, var(--g1) 40%, transparent);
  background: color-mix(in oklab, var(--g1) 5%, var(--surface)); transform: translateY(-2px); }
.hubcard:hover::before { transform: scaleX(1); }
.hubcard:hover h3::after { color: var(--g1); }
@media (prefers-reduced-motion: reduce) { .hubcard, .hubcard::before { transition: none; } .card--link.hubcard:hover { transform: none; } }

/* ── Icons ───────────────────────────────────────────────────────────────── */
.ico { width: 20px; height: 20px; flex: none; }
.ico-tile { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px;
  color: var(--g1); background: linear-gradient(135deg, color-mix(in oklab, var(--g1) 16%, transparent), color-mix(in oklab, var(--g2) 12%, transparent));
  border: 1px solid color-mix(in oklab, var(--g1) 22%, transparent); }
.ico-tile .ico { width: 21px; height: 21px; }
.ico-tile--lg { width: 52px; height: 52px; border-radius: 15px; color: #fff; border: 0;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  box-shadow: 0 10px 28px -8px color-mix(in oklab, var(--g1) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.ico-tile--lg .ico { width: 26px; height: 26px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

.promise { grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
.promise .ico-tile { grid-row: span 2; --g1: var(--signal); --g2: var(--aqua); }
.promise strong::before { content: none; }
.promise strong { padding-top: 2px; }

.task { padding-left: 12px; }
.task-ico { width: 18px; height: 18px; color: var(--signal); }

.hubcard { gap: 12px; }
.hubcard .ico-tile { margin-bottom: 2px; }
.hubcard:hover .ico-tile { color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); border-color: transparent; }
.hubcard .ico-tile { transition: background .2s ease, color .2s ease; }

.callout { display: flex !important; gap: 14px; align-items: flex-start; }
.callout-ico { color: var(--g1); width: 22px; height: 22px; margin-top: 1px; }
.callout > div { display: grid; gap: 6px; }

.related { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hair); display: grid; gap: 12px; }
.related__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rel-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: .88rem; font-weight: 600 !important;
  border: 1px solid var(--hair); background: var(--surface); color: var(--ink); text-decoration: none; }
.rel-chip .ico { width: 17px; height: 17px; color: var(--g1); }
.rel-chip:hover { border-color: color-mix(in oklab, var(--g1) 50%, transparent); background: color-mix(in oklab, var(--g1) 7%, var(--surface)); }

.links b { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.smap-ico { width: 18px; height: 18px; color: var(--signal); }

h2.visually-small, .band--tight h2.visually-small { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; }
.band--tight + .band { padding-top: clamp(20px, 3vw, 36px); }
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > .foot-col:first-child { grid-column: 1 / -1; }
}
