/* Shared support-page skeleton, based on Teslatlas's app privacy page. */
:root { color-scheme: light; --white: #fafaf8; --black: #151c2c; --grey: #f0f2f6; --border: 1px solid #dfe3e9; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--white); color: var(--black); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 50; padding: .75rem 1rem; background: var(--black); color: var(--white); font-weight: 650; text-decoration: none; }
.skip-link:focus-visible { top: 1rem; }
.page { width: 100%; margin: 0; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; max-width: 1280px; margin: auto; padding: 0 40px; border-bottom: var(--border); }
.legal-brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.1rem; font-weight: 650; text-decoration: none; }
.legal-brand img { width: 2rem; height: 2rem; border-radius: 8px; object-fit: contain; }
.legal-nav { display: flex; align-items: center; gap: 1.5rem; font-size: .86rem; font-weight: 650; }
.legal-nav a, .legal-links a { text-decoration: none; }
.legal-nav a:hover, .legal-links a:hover, .made-by:hover { text-decoration: underline; text-underline-offset: .25em; }
.legal-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.made-by { display: inline-flex; align-items: center; gap: .8rem; justify-content: center; font-size: .86rem; font-weight: 650; text-decoration: none; }
.made-by img { width: auto; height: 1.8rem; max-width: 9rem; object-fit: contain; }
main { padding: 0; }
.legal-title { display: flex; align-items: flex-end; gap: 1.5rem; padding: 64px max(24px, calc((100vw - 1120px) / 2)) 48px; border-bottom: var(--border); }
h1, h2, h3, p { margin: 0; }
h1 { max-width: 64rem; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.03; font-weight: 700; letter-spacing: -.045em; }
.meta { margin-top: 1.25rem; color: #606a7b; font-size: .92rem; font-weight: 500; }
.legal-title .meta:first-child { margin: 0 0 1rem; }
.highlight { margin: 0; padding: 32px max(24px, calc((100vw - 1120px) / 2)); border-bottom: var(--border); background: #111b32; color: var(--white); }
.highlight p, .legal-section p, .legal-section li, .legal-section td, .legal-section th { color: inherit; font-size: .96rem; line-height: 1.72; }
.highlight p { max-width: 1120px; color: #e5e5e5; font-size: .93rem; }
.highlight h2 { font-size: 1.4rem; font-weight: 650; margin-bottom: .85rem; }
.highlight strong { color: var(--white); }
.legal-section ul { margin: .8rem 0 0; padding-left: 1.25rem; }
.legal-section p + p, .legal-section ul + p, .highlight p + p, .legal-section h3 + p { margin-top: .85rem; }
.legal-section li + li { margin-top: .35rem; }
h3 { margin-top: 1rem; font-size: 1rem; }
code { background: var(--grey); border: var(--border); border-radius: 2px; font-family: inherit; padding: .08rem .28rem; overflow-wrap: anywhere; }
.legal-section { display: grid; grid-template-columns: minmax(12rem, .55fr) minmax(0, 1.45fr); gap: 1rem 56px; max-width: 1200px; margin: auto; padding: 40px; border-bottom: var(--border); }
.legal-section > h2 { grid-column: 1; grid-row: 1; align-self: start; position: sticky; top: 32px; }
.legal-section > :not(h2) { grid-column: 2; min-width: 0; }
.legal-section > .release-version { grid-column: 1; grid-row: 1; font-size: 1.4rem; line-height: 1.25; font-weight: 650; }
.legal-section h2 { font-size: 1.4rem; line-height: 1.25; font-weight: 650; letter-spacing: -.025em; }
.legal-section a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin-top: .9rem; }
table { width: 100%; border-collapse: collapse; min-width: 36rem; }
th, td { border: var(--border); padding: .75rem; text-align: left; vertical-align: top; }
.contact a { font-weight: 800; }
.button { justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; border: 1px solid #111b32; border-radius: 4px; background: #111b32; color: #fff; padding: .65rem 1rem; font-weight: 650; text-decoration: none; }
.button:hover { background: #263655; }
.anchor-list { margin: 0; }
.anchor { display: grid; gap: .6rem; padding: 1rem 0; border-bottom: var(--border); }
.anchor:first-child { padding-top: 0; }
.anchor dt { font-size: .86rem; font-weight: 650; }
.anchor dd { min-width: 0; margin: 0; }
.anchor code { display: block; font-size: .9rem; line-height: 1.65; padding: .5rem; }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.button.secondary { background: var(--white); color: var(--black); }
footer { align-items: center; background: var(--grey); display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; padding: 32px 40px; }
footer p { font-size: .86rem; line-height: 1.6; }
.legal-links { display: inline-flex; flex-wrap: wrap; gap: 1.25rem; font-size: .86rem; font-weight: 650; }
@media (max-width: 760px) {
  .legal-top { align-items: flex-start; flex-direction: column; padding: 20px 24px; gap: 16px; }
  .legal-nav { gap: 1rem; flex-wrap: wrap; }
  .legal-title { align-items: flex-start; flex-direction: column; padding-block: 42px 35px; }
  .highlight { padding: 32px 24px; }
  .legal-section { display: block; padding: 32px 24px; }
  .legal-section > h2 { position: static; margin-bottom: 20px; }
  .donation-section .button { margin-top: 1rem; }
  footer { align-items: flex-start; flex-direction: column; padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
