/* OxyLens public site. System fonts, no JS, no external requests. */
:root {
  --ink: #1a1f26; --muted: #5c6570; --line: #e2e6eb; --bg: #ffffff; --soft: #f4f6f8;
  --accent: #1e4d7b; --accent-2: #2a6aa3; --accent-soft: #e8f0f7; --ok: #1f7a4d; --warn: #8a6d12;
  --r: 8px; --wrap: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent-2); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 14px; }
h3 { font-size: 20px; margin: 22px 0 8px; }
p, ul, ol { margin: 0 0 14px; }
.muted { color: var(--muted); }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: #39424c; max-width: 760px; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; padding: 6px 0; }
nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: 16px; padding: 10px 0; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.btn { display: inline-block; background: var(--accent); color: #fff !important; text-decoration: none; font-weight: 600; border-radius: var(--r); padding: 12px 20px; border: 1px solid var(--accent); }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-small { padding: 8px 14px !important; font-size: 15px; }
.btn-ghost { background: #fff; color: var(--accent) !important; }
.btn-ghost:hover { background: var(--accent-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
.hero { padding: 56px 0 44px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.soft { background: var(--soft); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: #fff; }
.card h3 { margin-top: 0; font-size: 18px; }
.card h3 a { display: block; padding: 10px 0; margin: -10px 0 -4px; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; }
.pipeline { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.pipeline li { counter-increment: step; border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.pipeline li::before { content: counter(step) ". "; font-weight: 700; color: var(--accent); }
.pairs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pair { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.pair b { display: block; font-size: 18px; margin-bottom: 4px; }
.article { max-width: 780px; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 14px; }
.crumbs a { display: inline-block; padding: 10px 0; }
.article section { padding: 34px 0; }
.note { border-left: 3px solid var(--warn); background: #fbf7e9; padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
th { background: var(--soft); font-weight: 600; }
figure { margin: 20px 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.related { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 34px 0; margin-top: 30px; font-size: 15px; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-title { font-weight: 700; margin-bottom: 6px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 36px 0; }
  .hero { padding: 36px 0 30px; }
  nav { gap: 2px 14px; }
  .cta-row .btn { width: 100%; text-align: center; }
  th, td { padding: 8px 6px; }
}

/* Request access form (/request-access). Progressive enhancement only: /form.js adds an in-page
   result, the form itself is a plain POST. */
.field { margin: 0 0 18px; max-width: 560px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #b9c2cc; border-radius: var(--r); padding: 11px 12px; min-height: 46px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; border-color: var(--accent-2); }
.field input:invalid:not(:placeholder-shown) { border-color: #a33; }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.form-actions { margin: 22px 0 0; }
.form-actions .btn { font-size: 17px; padding: 13px 24px; cursor: pointer; }
.form-actions .btn[disabled] { opacity: .6; cursor: default; }
.status { margin: 12px 0 0; min-height: 1px; font-weight: 600; }
.status.bad { color: #a33; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { border: 1px solid var(--line); border-left: 4px solid var(--ok); border-radius: var(--r); padding: 22px 24px; background: var(--accent-soft); }
.form-done h2 { margin-top: 0; outline: none; }
.form-done p:last-child { margin-bottom: 0; }

/* One conversion block, appended to the bottom of every marketing page by scripts/build_site.py. */
.cta-band { background: var(--accent-soft); border-top: 1px solid var(--line); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .lede { margin-bottom: 0; }
.cta-note { font-size: 15px; color: var(--muted); margin: 14px 0 0; }
.cta-note a { display: inline-block; padding: 8px 0; }

@media (max-width: 640px) {
  .form-actions .btn { width: 100%; }
}
