/* ============================================================
   Shared styling for the plain content pages
   (terms, privacy, refund, contact, 404)
   ============================================================ */

/* The Zimere palette, as in site.css: off-white paper, golden brown,
   gold and a calligraphic script for the name. */
:root {
  --ink: #2b1d12;
  --deep: #24170d;
  --mid: #8b5e2b;
  --gold: #e3c58a;
  --gold-deep: #8a6024;
  --paper: #fbf7f0;
  --ivory: #fffdf8;
  --muted: #74614b;
  --text: #4b3826;
  --line: #e7dbc9;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --script: "Pinyon Script", "Great Vibes", cursive;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

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

/* ---------- HEADER ---------- */
header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 240, .92);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 10;
}
.bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 25px; height: 25px; fill: none; stroke: var(--gold-deep); stroke-width: 1.4; }
.brand strong { display: block; font-family: var(--script); font-size: 32px; font-weight: 400; line-height: 1; color: var(--mid); }
.brand small {
  display: block; font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
header nav { display: flex; gap: 18px; }
header nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
header nav a:hover { color: var(--gold-deep); }

/* ---------- CONTENT ---------- */
main { padding: 56px 0 80px; }

h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.updated {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 40px;
}

h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 3.4vw, 28px);
  margin: 44px 0 12px;
  line-height: 1.25;
}
h3 { font-size: 16px; margin: 26px 0 8px; font-weight: 600; }

p, li { color: var(--text); }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

a { color: var(--gold-deep); }

hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

/* Definition-style contact block */
.detail-list { display: grid; gap: 14px; margin: 0 0 24px; }
.detail-list div {
  display: grid; grid-template-columns: 150px 1fr; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.detail-list dt {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding-top: 3px;
}
.detail-list dd { margin: 0; }

/* ---------- PLACEHOLDER ----------
   Deliberately loud. These MUST be replaced before going live -
   if one ships by accident it should be impossible to miss. */
.todo {
  background: #ffe9a8;
  color: #6b4a00;
  border-bottom: 2px solid #d19f00;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-size: .95em;
}

.btn {
  display: inline-block; border-radius: 999px;
  padding: 13px 26px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none;
  background: var(--mid); color: var(--ivory);
}
.btn:hover { opacity: .92; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--deep);
  color: rgba(255, 255, 255, .6);
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
}
footer a { color: var(--gold); text-decoration: none; margin: 0 8px; }

@media (max-width: 620px) {
  header nav { display: none; }
  .detail-list div { grid-template-columns: 1fr; gap: 2px; }
}
