/* SafeScribe — legal + support pages. Deliberately small: this site exists to
   satisfy Apple's mandatory Support/Privacy URL requirement and nothing else. */

:root {
  --ink: #14201f;
  --muted: #5a6b69;
  --accent: #0f766e;
  --line: #dfe6e4;
  --bg: #ffffff;
  --bg-soft: #f5f8f7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8efee;
    --muted: #9db0ad;
    --accent: #5eead4;
    --line: #2a3937;
    --bg: #0e1716;
    --bg-soft: #16211f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--bg);
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--accent);
  border-radius: 6px;
}

.site-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}

.site-head nav { display: flex; gap: 1.1rem; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover,
.site-head nav a:focus-visible { color: var(--accent); text-decoration: underline; }
.site-head nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 0.35rem; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }

.page-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 2rem; }

.callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout p:first-child { margin-top: 0; }

a { color: var(--accent); }

ul, ol { padding-left: 1.3rem; }
li { margin: 0.35rem 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { font-weight: 650; }

.site-foot {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-foot p { margin: 0.35rem 0; }
.langs a[aria-current="true"] { font-weight: 650; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
