/* The Across family (shared with uniacross.com, 2026-11-06): home band + footer strip */
/* The Across family: home band and footer strip (2026-11-06, reworked) */
.af-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: center; padding: 40px; border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--surface)) 0%, var(--surface) 70%); border: 1px solid var(--line); }
.af-intro h2 { margin: 6px 0 10px; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2; }
.af-lead { color: var(--muted); margin: 0; font-size: .95rem; }
.af-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.af-card { --af: var(--brand); position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); color: inherit; text-decoration: none; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.af-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--af); }
.af-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15, 23, 42, .10); border-color: color-mix(in srgb, var(--af) 45%, var(--line)); text-decoration: none; }
.af-uniacross { --af: #2f5bb7; } .af-retireacross { --af: #d0682b; } .af-treatacross { --af: #1a8564; }
.af-logo img { height: 30px; width: auto; display: block; } .af-logo .af-d { display: none; }
.af-q { font-weight: 650; font-size: 1rem; margin-top: 6px; }
.af-text { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.af-go { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .9rem; color: var(--af); display: inline-flex; align-items: center; gap: 6px; }
.af-go svg { width: 16px; height: 16px; transition: transform .15s ease; } .af-card:hover .af-go svg { transform: translateX(3px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .af-logo .af-l { display: none; } :root:not([data-theme="light"]) .af-logo .af-d { display: block; } }
:root[data-theme="dark"] .af-logo .af-l { display: none; } :root[data-theme="dark"] .af-logo .af-d { display: block; }
@media (max-width: 900px) { .af-panel { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; } }
@media (max-width: 600px) { .af-cards { grid-template-columns: 1fr; } }

.footer-family { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 22px; }
.site-footer .ff-label { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #8e9ab2; font-weight: 600; }
.ff-sites { display: flex; flex-wrap: wrap; gap: 12px; flex: 1; }
.site-footer .ff-sites li { margin: 0; }
.site-footer .ff-sites .ff-site > a, .ff-here { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.site-footer .ff-site > a { text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.site-footer .ff-site > a:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); text-decoration: none; }
.ff-site img { height: 24px; width: auto; display: block; }
.ff-site span { font-size: .82rem; color: #8e9ab2; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.12); white-space: nowrap; }
.ff-here { border-color: rgba(255,255,255,.14); }
@media (max-width: 700px) { .footer-family { flex-direction: column; align-items: stretch; gap: 14px; } .ff-sites { flex-direction: column; width: 100%; } .site-footer .ff-sites .ff-site > a, .ff-here { padding: 12px 14px; } }
/* inside a text column (treatacross About): no prose link styles on the cards */
.doc-body .af-card, .doc-body .af-card:hover { color: inherit; text-decoration: none; }
.doc-body .af-about { margin: 16px 0 28px; }
.doc-body .af-card .af-q { margin-top: 6px; }
/* the footer disclaimer uses the full footer width (owner 2026-11-06: it looked cut on the right) */
.footer-bottom .disclaimer { max-width: none; }
