/* Doods: Quiet Drawing. System fonts, no external requests. */
:root {
  --ink: #1C1B19;
  --muted: #4F4B44;
  --cream: #FAF5E9;
  --cream-deep: #F1E9D6;
  --line: #D9CEB4;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: .6rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

header.site { padding: 1.5rem 0 1rem; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }

.brand { font-weight: 700; font-size: 1.125rem; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: underline; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }

main { padding: 2.5rem 0 3rem; }

h1 { font-size: 2.25rem; line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.01em; }
h2 { font-size: 1.375rem; line-height: 1.3; margin: 2.25rem 0 .5rem; }
h3 { font-size: 1.125rem; margin: 1.5rem 0 .25rem; }
p { margin: 0 0 1.1rem; }

.line { font-size: 1.375rem; color: var(--muted); margin-bottom: 1.75rem; }
.meta { color: var(--muted); font-size: 1rem; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.panel {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.panel h2 { margin-top: 0; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

ul.plain, ol.policy { padding-left: 1.4rem; margin: 0 0 1.1rem; }
ul.plain li, ol.policy li { margin-bottom: .6rem; }

dl.faq dt { font-weight: 700; margin-top: 1.4rem; }
dl.faq dd { margin: .2rem 0 0; }

footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 1rem; }
footer.site p { margin: 0 0 .4rem; }
footer.site a { color: var(--ink); }

@media (max-width: 30rem) {
  body { font-size: 1.0625rem; }
  h1 { font-size: 1.85rem; }
  .line { font-size: 1.2rem; }
  .panel { padding: 1rem 1.1rem; }
}

@media print {
  body { background: #fff; }
  nav, .skip { display: none; }
}
