/* offsprint.com: homepage, /privacy, /terms (docs/m4-plan.md task 26). Brand G6 "Tucked in"
   (design/screens/Brand.dc.html). No web fonts and no third-party requests: Manrope is used
   when installed, otherwise the system font. Light by default, dark from the OS setting. */

:root {
  color-scheme: light dark;
  --bg: #FBFBF9;
  --surface: #FFFFFF;
  --text: #17181A;
  --muted: #6B6F76;
  --border: #E8E8E3;
  --mark: #17181A;
  --dot: #B4530E;
  --focus: #17181A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --surface: #1C1D20;
    --text: #F2F2EE;
    --muted: #A0A3A8;
    --border: #2E2F34;
    --mark: #F2F2EE;
    --dot: #E8893A;
    --focus: #F2F2EE;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--surface); color: var(--text); padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px;
}
.skip:focus { left: 8px; }

a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

header.site { padding: 24px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand span { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
nav.site ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); text-decoration: underline; }

.mark-body { fill: var(--mark); }
.mark-dot { fill: var(--dot); stroke: var(--bg); stroke-width: 8; }

main { padding: 24px 0 64px; }

h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.12; letter-spacing: -0.02em; margin: 24px 0 16px; font-weight: 700; }
h2 { font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; margin: 48px 0 12px; font-weight: 700; }
h3 { font-size: 18px; margin: 28px 0 8px; font-weight: 700; }
p, ul, ol, table { margin: 0 0 16px; }
li { margin-bottom: 6px; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }
.meta { color: var(--muted); font-size: 15px; }

.steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin: 0; }
.steps strong { display: block; font-size: 18px; }

.note { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }

.table-scroll { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { font-weight: 700; }
caption { text-align: left; color: var(--muted); font-size: 14px; padding-bottom: 8px; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; overflow-wrap: anywhere; }

footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 15px; }
footer.site ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
footer.site a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
