/* apps.aripone.com. Dark colours are aripone-website/DESIGN.md's tokens; light mirrors them (ink #0A0B0C from mark-paper).
   Okita pages add class="okita" to <body>: a Night (#14213D) header band, from ventures/ultimate-alarm/brand.md. */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #F7F7F5; --surface: #FFFFFF; --line: #DADCDF; --ink: #0A0B0C; --ink-2: #3F444B; --ink-3: #5C6169;
  --band: #0A0B0C; --band-ink: #F1F2F3;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px; --measure: 68ch;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0A0B0C; --surface: #111316; --line: #24272C; --ink: #F1F2F3; --ink-2: #A3A8AF; --ink-3: #868B93; --band: #111316; }
}
.okita { --band: #14213D; --band-ink: #F7F5F0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-sans); }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: var(--gutter); top: -100px; padding: 8px 12px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 8px; }

.site-header { background: var(--band); color: var(--band-ink); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 640; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; text-decoration: none; min-height: 44px; }
.brand svg { width: 28px; height: 28px; }
.site-header .crumb { color: inherit; opacity: 0.85; }

.wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
main { padding-block: 48px 96px; }
h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); font-weight: 640; font-stretch: 112%; line-height: 1.02; text-transform: uppercase; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: 1.3rem; font-weight: 640; line-height: 1.25; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
p, li { margin: 0 0 12px; }
ul { padding-left: 1.25rem; }
li::marker { color: var(--ink-3); }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); }
.meta { color: var(--ink-3); font-size: 0.9375rem; }
.links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.links a { display: inline-block; min-height: 44px; line-height: 44px; }

table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 16px 0; }
th, td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 640; }
td ul { margin: 8px 0 0; }
td li { font-weight: 400; margin: 4px 0; }
@media (max-width: 560px) {
  table, tbody, tr, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  td { border: 0; padding: 4px 0; }
  td::before { content: attr(data-label); display: block; color: var(--ink-3); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
  td:first-child { font-weight: 640; }
}

.site-footer { border-top: 1px solid var(--line); padding-block: 24px 48px; color: var(--ink-3); font-size: 0.9375rem; }
.site-footer p { margin: 0; }
