/* Blog and privacy pages: HALO's silver and graphite surfaces, tuned for long reading. */
:root {
  --ink: #15171a;
  --ink-2: #3a3f45;
  --meta: #5d636a;
  --mist-1: #f3f4f5;
  --mist-2: #d9dcdf;
  --graphite: #1b1e22;
  --graphite-2: #2c3136;
  --line: rgba(21, 23, 26, .16);
  --sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: linear-gradient(180deg, var(--mist-1), var(--mist-2)) fixed; color: var(--ink-2); font-family: var(--sans); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: #000; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
main { padding: clamp(40px, 8vw, 88px) 0; }
img { max-width: 100%; }

.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.shell-narrow { max-width: 740px; margin: 0 auto; padding: 0 16px; }

.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
.btn:hover { background: #000; color: #fff; }

.site-head { background: var(--graphite); color: #fff; }
.site-head .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.site-head a { color: #fff; text-decoration: none; }
.site-head nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; }
.site-head nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .78); }
.site-head nav a:hover, .site-head nav a[aria-current] { color: #fff; }
.site-head .btn { background: #fff; color: var(--ink); }
.site-head .btn:hover { background: var(--mist-2); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 300; letter-spacing: .42em; font-size: 15px; }

.kicker { margin: 0 0 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--meta); }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1 { margin: 0 0 16px; font-size: clamp(36px, 7vw, 56px); font-weight: 300; letter-spacing: -.035em; }
.prose h2 { margin: 48px 0 14px; font-size: clamp(24px, 4vw, 30px); }
.byline { margin: 0 0 32px; font-size: 14px; color: var(--meta); }
.lede { margin: 0 0 40px; font-size: clamp(19px, 3vw, 22px); line-height: 1.5; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 500; }
.answer { padding: 20px 22px; background: rgba(255, 255, 255, .62); border: 1px solid var(--line); border-radius: 14px; font-size: 19px; line-height: 1.55; }
.note { font-size: 15px; color: var(--meta); }
.formula { padding: 14px 16px; background: var(--graphite); color: #fff; border-radius: 10px; font-family: var(--mono); font-size: 14px; line-height: 1.6; }

table { display: block; width: 100%; overflow-x: auto; margin: 0 0 18px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
th, td { min-width: 118px; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }
tbody th { color: var(--ink); font-weight: 500; }
code { font-family: var(--mono); font-size: .88em; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--line); }
.post-list a { display: block; padding: 28px 0; color: inherit; text-decoration: none; }
.post-list h2 { margin: 0 0 8px; font-size: clamp(23px, 4vw, 29px); }
.post-list a:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.post-list p { margin: 0 0 8px; font-size: 16px; }
.post-list time { font-size: 14px; color: var(--meta); }

.cta-card { margin-top: 56px; padding: 28px; border-radius: 18px; background: var(--graphite); color: rgba(255, 255, 255, .82); }
.prose .cta-card h2 { margin: 0 0 8px; color: #fff; font-size: 26px; }
.cta-card .btn { background: #fff; color: var(--ink); }
.cta-card .btn:hover { background: var(--mist-2); color: var(--ink); }

.site-foot { padding: 36px 0; background: var(--graphite); color: rgba(255, 255, 255, .72); font-size: 15px; }
.site-foot .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; }
.site-foot strong { color: #fff; font-weight: 500; }
.site-foot p { margin: 4px 0 0; }
.site-foot nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 4px 28px; flex: 1 1 280px; min-width: 0; max-width: 560px; }
.site-foot a, .site-foot button { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .86); overflow-wrap: anywhere; text-align: left; }
.prose .halo-cookie-link { color: var(--ink); }
