/* Requirements: runloola-legal-pages.1.1, runloola-legal-pages.1.2,
   runloola-legal-pages.1.3, runloola-legal-pages.1.4 */
:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #0c0c0c;
  color: #f2f1ed;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --muted: #aaa9a4;
  --line: #30302e;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.25em; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid #e5dfb9; outline-offset: 5px; border-radius: 2px; }
::selection { background: #e5dfb9; color: #0c0c0c; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; left: 24px; top: -100px; padding: 12px; background: #f2f1ed; color: #0c0c0c; z-index: 2; }
.skip-link:focus { top: 12px; color: #0c0c0c; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 26px; font-weight: 700; letter-spacing: -1.2px; text-decoration: none; }
.header-nav { display: flex; gap: 28px; align-items: center; font-size: 13px; }
.header-nav a { color: var(--muted); text-decoration: none; padding-block: 10px; }
.header-nav a[aria-current="page"] { color: #f2f1ed; text-decoration: underline; text-underline-offset: 8px; }
.hero { padding-block: 76px 48px; border-bottom: 1px solid var(--line); }
.eyebrow, .toc-title, .section-number { font-family: "Courier New", monospace; font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.eyebrow { margin: 0 0 24px; }
h1 { font-size: clamp(44px, 6.7vw, 80px); font-weight: 400; letter-spacing: -0.055em; line-height: 1.05; margin: 0 0 28px; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.intro { max-width: 640px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.updated { flex-shrink: 0; font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0; }
.updated time { display: block; color: #f2f1ed; }
.document-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 70px; padding-block: 48px 88px; }
.toc { align-self: start; position: sticky; top: 32px; }
.toc-title { margin: 0 0 20px; }
.toc ol { padding: 0; margin: 0; list-style: none; }
.toc li { margin-bottom: 13px; }
.toc a { color: var(--muted); font-size: 13px; line-height: 1.5; text-decoration: none; }
.toc a:hover { color: #f2f1ed; text-decoration: underline; }
.document { max-width: 760px; min-width: 0; }
.document section { scroll-margin-top: 30px; }
.document section + section { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 32px; }
h2 { font-size: 23px; font-weight: 400; letter-spacing: -0.025em; line-height: 1.35; margin: 0 0 18px; }
.section-number { display: inline-block; min-width: 30px; vertical-align: middle; }
.document p, .document li { color: #bdbcb7; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.document p { margin: 0 0 16px; }
.document p:last-child { margin-bottom: 0; }
.document ul, .document ol { padding-left: 22px; margin: 0 0 18px; }
.document li { padding-left: 4px; margin-bottom: 9px; }
.document strong { color: #e5e4df; font-weight: 600; }
.placeholder { color: #e8d7a8; }
.limited-use { border-left: 2px solid #d9d7cb; padding: 3px 0 3px 20px; }
.landing-main { padding-block: 84px 96px; }
.landing-main h1 { max-width: 850px; margin-bottom: 24px; }
.landing-intro { max-width: 700px; color: var(--muted); font-size: 21px; line-height: 1.6; margin: 0; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.landing-button { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line); padding: 0 18px; color: #f2f1ed; text-decoration: none; font-size: 13px; }
.landing-button:hover { border-color: #f2f1ed; }
.landing-button-primary { background: #f2f1ed; color: #0c0c0c; border-color: #f2f1ed; }
.landing-button-primary:hover { color: #0c0c0c; background: #fff; }
.landing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 96px; border-top: 1px solid var(--line); }
.landing-grid article { padding-top: 24px; border-top: 2px solid #f2f1ed; }
.landing-number { margin: 0 0 26px; color: var(--muted); font-family: "Courier New", monospace; font-size: 11px; letter-spacing: 0.12em; }
.landing-grid h2, .landing-legal h2 { font-size: 22px; margin-bottom: 12px; }
.landing-grid p:last-child, .landing-legal p { color: #bdbcb7; font-size: 15px; line-height: 1.85; }
.landing-legal { max-width: 760px; margin-top: 88px; padding-top: 32px; border-top: 1px solid var(--line); }
.landing-legal p { margin: 0 0 16px; }
.landing-legal p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 20px 36px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; }

@media (max-width: 850px) {
  .landing-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .document-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .toc ol { columns: 2; column-gap: 24px; }
  .toc li { break-inside: avoid; }
  .document { max-width: none; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 22px 16px; gap: 12px; }
  .header-nav { gap: 24px; }
  .hero { padding-block: 44px 32px; }
  .landing-main { padding-block: 52px 64px; }
  .landing-intro { font-size: 18px; }
  .intro { font-size: 16px; }
  .document-layout { padding-block: 32px 56px; }
  .toc ol { columns: 1; }
  h2 { font-size: 21px; }
}

@media print {
  :root { color-scheme: light; background: #fff; color: #111; --muted: #444; --line: #ccc; }
  .shell { width: 100%; }
  .header-nav, .toc, .skip-link, .footer-links { display: none; }
  .header-inner { min-height: 48px; }
  .hero { padding-block: 24px; }
  h1 { font-size: 36pt; }
  .hero-bottom { display: block; }
  .updated { margin-top: 16px; }
  .document-layout { display: block; padding-block: 24px; }
  .document { max-width: none; }
  .document p, .document li, .document strong, .updated time, a { color: #111; }
  .placeholder { color: #111; text-decoration: underline; }
  h2 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
