:root {
  --cream: #F3E6D6;
  --cream-deep: #E8D5BE;
  --paper: #FFF8F0;
  --ink: #2A1F1A;
  --ink-soft: #5B473E;
  --muted: #8A7368;
  --sage: #4F7A58;
  --sage-deep: #3B5C42;
  --sage-soft: #D8E6D6;
  --clay: #C45C3E;
  --honey: #E0B05A;
  --urgent-bg: #F8E4E0;
  --urgent-ink: #8B2A22;
  --urgent-line: #D18980;
  --shadow-sm: 0 2px 10px rgba(42, 31, 26, 0.06);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, #f7dcc8 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 20%, #d9e6d4 0%, transparent 50%),
    var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(20px + var(--safe-top)) 20px calc(40px + var(--safe-bottom));
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.back {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.back:hover { text-decoration: underline; }
.draft {
  background: var(--urgent-bg);
  border: 1.5px solid var(--urgent-line);
  color: var(--urgent-ink);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 0 0 22px;
}
.draft strong { display: block; margin-bottom: 4px; }
h1, h2 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.03em;
  font-weight: 650;
}
h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.12; margin-bottom: 8px; }
.meta { color: var(--muted); font-weight: 700; font-size: 0.92rem; margin-bottom: 22px; }
.panel {
  background: var(--paper);
  border-radius: 22px;
  padding: 22px 22px 8px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(42, 31, 26, 0.08);
}
h2 { font-size: 1.25rem; margin: 8px 0 8px; }
p, li { color: var(--ink-soft); margin-bottom: 12px; }
ul, ol { padding-left: 1.2em; margin-bottom: 12px; }
li { margin-bottom: 8px; }
a { color: var(--sage-deep); font-weight: 800; }
.placeholder {
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-weight: 800;
  padding: 0 5px;
  border-radius: 6px;
  font-size: 0.95em;
}
.site-legal {
  margin-top: 28px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}
.site-legal a { color: var(--ink-soft); }
