:root { color-scheme: light dark; --bg: #f4f5f7; --card: #fff; --text: #20252e; --muted: #535e6e; --border: #dce1e8; --link: #155fa5; }
@media (prefers-color-scheme: dark) { :root { --bg: #101216; --card: #171a20; --text: #edf0f5; --muted: #a8b1bf; --border: #2d333e; --link: #91bff1; } }
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--muted); font: 15px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 960px; margin: 32px auto; padding: 40px 64px 48px; background: var(--card); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 24px 64px -48px #0005; }
h1, h2, h3, strong { color: var(--text); }
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.12; letter-spacing: -.045em; margin: 36px 0 24px; }
h2 { margin: 40px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 20px; letter-spacing: -.025em; }
h3 { font-size: 16px; margin-bottom: 8px; }
p, li { max-width: 72ch; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 3px; }
img { max-width: 100%; }
.content-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.logo-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 650; }
.logo-link img { border-radius: 9px; }
.content-nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.content-nav a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.intro { font-size: 18px; line-height: 1.8; }
.overline { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; margin-top: 32px; }
.content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.content-card { padding: 22px; border: 1px solid var(--border); border-radius: 16px; }
.content-card h3 { margin-top: 0; }
.content-card p { font-size: 14px; margin-bottom: 0; }
.assets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.asset { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: #101216; color: #e4e8ef; }
.asset img { display: block; max-width: 100%; margin: 0 0 24px; object-fit: contain; }
.asset a { color: #91bff1; }
details { border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin: 12px 0; }
summary { color: var(--text); cursor: pointer; padding: 14px 0; font-weight: 600; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
@media (max-width: 640px) { main { margin: 12px; padding: 24px 20px; border-radius: 18px; } .content-grid, .assets { grid-template-columns: 1fr; } .content-top { align-items: flex-start; } .content-nav { gap: 12px; } .intro { font-size: 16px; } }
@media print { main { max-width: none; margin: 0; border: 0; box-shadow: none; padding: 0; } .content-nav, footer { display: none; } }

/* Support and policy pages share a readable corporate document layout. */
.support-page { font-size: 17px; line-height: 1.8; }
.support-page main { max-width: 1280px; padding: 36px 48px 48px; }
.support-page .content-top { position: relative; padding-bottom: 22px; }
.support-page .content-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg,#7c3aed,#dc277e,#f59e0b); }
.support-page .content-nav { font-size: 14px; font-weight: 650; }
.support-page .content-nav [aria-current] { color: var(--text); }
.content-hero { padding: 24px 0 32px; border-bottom: 1px solid var(--border); }
.support-page h1 { max-width: 20ch; font-size: clamp(40px,6vw,68px); font-weight: 800; margin: 12px 0 24px; }
.support-page h2 { font-size: clamp(25px,3vw,34px); line-height: 1.25; font-weight: 800; margin: 0 0 22px; padding-bottom: 18px; }
.support-page h3 { font-size: 21px; line-height: 1.4; font-weight: 750; margin: 28px 0 12px; }
.support-page strong { font-weight: 750; }
.content-hero > p:not(.overline) { font-size: 19px; max-width: 65ch; }
.content-hero .overline { font-weight: 750; margin-top: 12px; }
.content-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 48px; padding-top: 40px; align-items: start; }
.content-toc { position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; padding-right: 14px; font-size: 14px; }
.toc-label { color: var(--text); font-weight: 800; margin: 0 0 14px; }
.content-toc ol { padding: 0; margin: 0; list-style: none; }
.content-toc li { margin: 0; border-bottom: 1px solid var(--border); }
.content-toc a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--muted); text-decoration: none; line-height: 1.5; }
.content-toc a:hover { color: var(--link); text-decoration: underline; }
.content-article { min-width: 0; }
.content-article section { margin-bottom: 52px; scroll-margin-top: 32px; }
.content-article p { margin: 0 0 18px; }
.content-article li { padding-left: 4px; margin-bottom: 12px; }
.policy-callout { border: 1px solid var(--border); border-left: 4px solid var(--link); border-radius: 12px; padding: 20px 24px; margin: 24px 0; background: var(--bg); }
.policy-callout p { margin: 0; color: var(--text); }
.table-scroll { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: 12px; }
.table-scroll:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.support-page table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.7; }
.support-page th, .support-page td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--border); min-width: 160px; }
.support-page th { background: var(--bg); color: var(--text); font-weight: 750; }
.support-page tr:last-child td { border-bottom: 0; }
.support-page code { font-size: .9em; overflow-wrap: anywhere; }
.support-page footer { font-size: 14px; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 20px; background: var(--card); border: 2px solid var(--link); z-index: 10; }
.skip-link:focus { top: 12px; }
@media (max-width: 960px) {
  .support-page main { padding: 32px; margin: 20px; }
  .content-layout { grid-template-columns: 1fr; gap: 32px; }
  .content-toc { position: static; max-height: none; padding: 0; }
  .content-toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
}
@media (max-width: 640px) {
  .support-page { font-size: 16px; }
  .support-page main { padding: 24px 20px; margin: 12px; }
  .support-page .content-top { flex-wrap: wrap; gap: 12px; }
  .support-page .content-nav { gap: 16px; }
  .content-hero > p:not(.overline) { font-size: 17px; }
  .content-toc ol { grid-template-columns: 1fr; }
  .content-article section { margin-bottom: 40px; }
  .policy-callout { padding: 16px; }
}
@media print {
  .support-page { --text: #222; --muted: #444; --card: #fff; --bg: #fff; --border: #ccc; --link: #155fa5; color: #222; background: #fff; font-size: 11pt; }
  .support-page main { max-width: none; margin: 0; padding: 0; }
  .content-layout { display: block; padding-top: 24px; }
  .content-toc, .skip-link { display: none; }
  .support-page h1 { font-size: 30pt; }
  .support-page h2 { font-size: 20pt; break-after: avoid; }
  .support-page h3 { break-after: avoid; }
  .policy-callout { break-inside: avoid; }
  .table-scroll { overflow: visible; }
  .support-page th, .support-page td { min-width: 0; padding: 8px; }
}
