/* Shared styles for the standalone legal pages (/privacy, /terms — served from
   privacy/index.html and terms/index.html). Self-contained: these pages don't
   pull in the rest of the site's CSS, so everything they need lives here. */

:root{
  --bg: #f1eee3;
  --paper: #ebe5d4;
  --ink: #1d1d1f;
  --muted: #6b7280;
  --rule: #e5e7eb;
  --link: #521929;
  --maxw: 42rem;
  --leading: 1.6;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
}

/* ---------- Base ---------- */
html, body{ height:100% }
body{
  margin:0;
  color:var(--ink);
  background-color: var(--bg);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .75rem;
  line-height: 1.25rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap{
  max-width: var(--maxw);
  padding: 32px 16px;
  margin: 0 auto;
}

header{ margin-bottom: 20px }

h1{
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

h2 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: .25rem;
}

h3 {
  font-size: 12px;
  font-weight: 600;
  margin: .75rem 0 .25rem;
  color: var(--ink);
}

.meta{
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1rem;
}

.note{
  margin: 1rem 0 1.5rem;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
}

section {
  margin-bottom: 1.5rem;
}

p{
  margin: 0 0 .5rem;
}

ul{
  margin: 8px 0 12px 1.25rem;
  padding: 0;
}

li{ margin: 6px 0 }

a{
  color: var(--link);
  text-underline-offset: 2px;
  text-decoration-thickness: .08em;
}

strong{ font-weight: 600 }

.legal{
  text-transform: none;
}

table.kv{
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 12px;
}
table.kv td{
  border-top: 1px solid var(--rule);
  padding: 7px 8px 7px 0;
  vertical-align: top;
}
table.kv td:first-child{
  white-space: nowrap;
  padding-right: 16px;
  font-weight: 600;
}

footer{
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .75rem;
}

footer a{ color: var(--muted) }

@media (max-width: 520px){
  .wrap{ margin: 24px auto; padding: 22px 18px 28px }
  h1{ font-size: 24px }
  table.kv td:first-child{ white-space: normal }
}

@media print{
  body{ background:#fff }
  .wrap{
    margin: 0;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-width: 100%;
  }
  a{ color: inherit; text-decoration: underline }
  .note{ border-color: #999 }
}
