/* shane-consulting.com: the privacy policy and terms of service pages (privacy.html, terms.html).
   Plain readable documents in the holding page's dark theme: same colours and system fonts as
   style.css, none of the editor chrome. Nothing from outside; the CSP allows style-src 'self'
   only, so there are no inline styles on these pages. A single column, 760 px at most, from
   320-pixel phones to desktop. */
:root {
  --bg: #1f1f1f;
  --bar: #181818;
  --line: #2b2b2b;
  --text: #cccccc;
  --heading: #ececec;
  --dim: #9d9d9d;
  --accent: #0078d4;
  --link: #9cdcfe;
  --link-hover: #cfeaff;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 17px/1.65 var(--ui);
  overflow-wrap: anywhere;
}

a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.wrap {
  width: 100%; max-width: 760px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* header: the company's name, linking home */
.site-header {
  background: var(--bar); border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.site-header .wrap { display: flex; align-items: center; min-height: 56px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 0;
  color: var(--heading); font-size: 18px; font-weight: 600; text-decoration: none;
}
.brand:hover { color: #fff; }
.brand img { flex: none; width: 28px; height: 28px; border-radius: 6px; }

/* the document */
main { flex: 1; padding-top: 32px; padding-bottom: 48px; }
h1 { margin: 0 0 4px; color: var(--heading); font-size: 2rem; line-height: 1.2; font-weight: 700; }
h2 { margin: 2.2rem 0 0.4rem; color: var(--heading); font-size: 1.3rem; line-height: 1.3; font-weight: 650; }
p, ul { margin: 0.8rem 0; }
ul { padding-left: 1.3rem; }
li { margin: 0.4rem 0; padding-left: 0.2rem; }
li::marker { color: var(--dim); }
strong { color: var(--heading); font-weight: 600; }
.updated { margin: 0 0 1.6rem; color: var(--dim); font-size: 0.95rem; }
.statement {
  margin: 1rem 0; padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--accent); color: var(--heading);
}

/* footer */
.site-footer {
  background: var(--bar); border-top: 1px solid var(--line);
  padding-top: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom));
  color: var(--dim); font-size: 0.9rem; line-height: 1.6;
}
.site-footer p { margin: 0.25rem 0; }
.site-footer nav { margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { display: inline-block; padding: 6px 0; }

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  main { padding-top: 24px; padding-bottom: 36px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; margin-top: 1.9rem; }
}
