/* Dectyl shared design system — loaded by index.html, lca.html, security.html.
   Page-specific styles stay inline in each page's <style> and override these. */

:root {
  --paper: #F7F8F5;
  --card: #FFFFFF;
  --ink: #121815;
  --muted: #5C6660;
  --line: #E0E4DF;
  --teal: #0E7C6F;
  --teal-bg: #EAF5F2;
  --red: #B42318;
  --red-bg: #FBEFED;
  --amber: #A15C07;
  --amber-bg: #FAF3E7;
  --display: 'Archivo', sans-serif;
  --body: 'Public Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; width: 100%; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

a { color: var(--ink); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* ---------- header ---------- */
.site-head { border-bottom: 2px solid var(--ink); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 3px;
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  letter-spacing: 0.28em; text-decoration: none;
}
.wm-box {
  display: inline-block; border: 2px solid var(--ink);
  padding: 3px 3px 3px 7px; line-height: 1;
}
.wm-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--teal);
}
.head-cta {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  text-decoration: none; border: 1.5px solid var(--ink);
  padding: 8px 16px; background: var(--card);
  transition: background 120ms ease, color 120ms ease;
}
.head-cta:hover { background: var(--ink); color: var(--paper); }

/* ---------- section scaffolding ---------- */
.doc-section { padding: 72px 0 8px; }
.section-rule {
  border-top: 2px solid var(--ink);
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 10px; margin-bottom: 40px; gap: 16px;
}
.section-label, .section-page {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
}
.section-page { color: var(--muted); text-align: right; }

/* ---------- footer ---------- */
.site-foot { border-top: 2px solid var(--ink); }
.site-foot .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; padding-bottom: 30px; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
