/* Darwin MailOS — OAuth branding microsite. Static, system fonts only, no external resources, no scripts. */
:root {
  --paper: #f5f7f6;
  --panel: #ffffff;
  --panel-2: #eef2f1;
  --ink: #182028;
  --muted: #55606b;
  --accent: #185a6b;
  --accent-ink: #103f4b;
  --rule: #d3dbdf;
  --focus: #b8741a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 106.25%; line-height: 1.6; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.14em; }
a:hover { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; left: 0.75rem; top: 0.75rem; background: var(--panel); color: var(--ink); padding: 0.5rem 0.75rem; border: 1px solid var(--rule); z-index: 10; }
.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--panel); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: 0.005em; }
.brand:hover { color: var(--accent-ink); }
.site-nav a { font-family: var(--sans); font-size: 0.95rem; margin-left: 1.25rem; }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); }
main { flex: 1 0 auto; padding: 2.25rem 0 3rem; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.25; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: 1.95rem; font-weight: 650; letter-spacing: -0.012em; }
h2 { font-size: 1.32rem; font-weight: 600; margin-top: 2.2rem; }
h3 { font-size: 1.05rem; font-weight: 600; margin-top: 1.6rem; }
p, ul, ol, dl, table { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.35rem; }
.lede { font-size: 1.16rem; line-height: 1.55; }
.status { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); border-left: 3px solid var(--accent); padding: 0.2rem 0 0.2rem 0.9rem; margin: 1.4rem 0 1.8rem; }
.status strong { color: var(--ink); font-weight: 600; }
.ledger { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.95rem; background: var(--panel); border: 1px solid var(--rule); }
.ledger caption { text-align: left; font-family: var(--sans); font-weight: 600; padding: 0 0 0.6rem; color: var(--ink); caption-side: top; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-top: 1px solid var(--rule); }
.ledger thead th { background: var(--panel-2); border-top: 0; font-weight: 600; }
.ledger tbody th { font-weight: 500; width: 42%; }
.ledger td.yes::before { content: "Yes — "; font-weight: 600; color: var(--accent-ink); }
.ledger td.no::before { content: "No — "; font-weight: 600; color: var(--ink); }
.policy-link { background: var(--panel); border: 1px solid var(--rule); padding: 1rem 1.1rem; margin: 2rem 0 0; }
.policy-link p { margin: 0 0 0.4rem; }
.meta { font-family: var(--sans); font-size: 0.92rem; color: var(--muted); }
.toc { font-family: var(--sans); font-size: 0.95rem; background: var(--panel); border: 1px solid var(--rule); padding: 1rem 1.25rem 1rem 2.4rem; column-count: 2; column-gap: 2rem; }
.toc li { break-inside: avoid; }
.summary { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.93rem; background: var(--panel); border: 1px solid var(--rule); }
.summary th, .summary td { text-align: left; vertical-align: top; padding: 0.55rem 0.7rem; border-top: 1px solid var(--rule); }
.summary thead th { background: var(--panel-2); border-top: 0; font-weight: 600; }
.summary tbody th { font-weight: 500; width: 30%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.1rem; }
.table-scroll table { margin-bottom: 0; min-width: 20rem; }
section[id] { scroll-margin-top: 1rem; }
.quote { border-left: 3px solid var(--rule); padding-left: 0.9rem; color: var(--ink); font-style: italic; margin: 1rem 0; }
.site-footer { border-top: 1px solid var(--rule); background: var(--panel); font-family: var(--sans); font-size: 0.88rem; color: var(--muted); }
.site-footer .wrap { padding-top: 1.1rem; padding-bottom: 1.4rem; }
.site-footer p { margin: 0 0 0.4rem; }
@media (max-width: 40rem) {
  html { font-size: 100%; }
  h1 { font-size: 1.6rem; }
  .toc { column-count: 1; }
  .ledger, .summary { font-size: 0.9rem; }
  .ledger tbody th { width: 40%; }
  .site-nav a { margin-left: 0; margin-right: 1.1rem; }
  .toc { padding-left: 1.6rem; }
}
@media print { .site-header, .site-footer, .skip { display: none; } main { padding: 0; } a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: var(--muted); } }
