:root {
  --paper: #f3efe4;
  --ink: #12261c;
  --muted: #5d6f64;
  --green: #0d3a28;
  --green-2: #145238;
  --sage: #e6efe6;
  --gold: #c4a04a;
  --card: #fffcf6;
  --line: rgba(23, 36, 28, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(820px 360px at 50% -120px, #e7efe4 0%, transparent 72%),
    var(--paper);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.wrap { max-width: 36rem; margin: 0 auto; padding: 1.6rem 1.1rem 3.4rem; }
.wrap.wide { max-width: 54rem; }

.bar { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.brand { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; }
.wordmark {
  display: block;
  width: min(22rem, 92%);
  height: auto;
  margin: 0 auto;
}
.name {
  display: block;
  margin-top: 0.45rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 2.25rem;
  letter-spacing: -0.045em;
  font-weight: 560;
  line-height: 1;
}
.lede-line {
  display: block;
  margin-top: 0.45rem;
  max-width: 22rem;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.tag { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.78rem; }
.tag em { font-style: normal; color: var(--ink); }

nav {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.35rem;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.who { font-size: 0.85rem; color: var(--muted); padding: 0 0.35rem; }

a.ghost, button, a.solid, .lead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
a.ghost, button { background: #efeae1; color: var(--ink); }
a.solid, button.solid { background: var(--green); color: #f6f3ec; }
a.ghost:hover, button:hover { background: #e4ddd1; }
a.solid:hover, button.solid:hover { background: var(--green-2); }

.meta { margin: 0.2rem 0 0.85rem; }
.date, .toast { margin: 0.15rem 0; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }
.row {
  display: inline-flex;
  justify-content: center;
  gap: 0.15rem;
  margin: 0 auto 1.05rem;
  padding: 0.22rem;
  background: #fffcf7;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.pill {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}
.pill.on { background: var(--green); color: #f6f3ec; }

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(23, 36, 28, 0.06);
  padding: 1.55rem 1.4rem 1.35rem;
  margin: 0 auto 0.9rem;
}
.kicker { margin: 0 0 0.5rem; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.thought h2, .tip h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 520;
  font-size: 1.28rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.thought { background: #eef5eb; }
.tip { background: var(--green); color: #f6f3ec; border-color: transparent; }
.tip .kicker, .tip .label { color: #d7eadc; }
.label { margin: 0.85rem 0 0; font-size: 0.88rem; }

.card-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.lead {
  margin: 0;
  background: #f6f3ec;
  color: var(--green);
  font-weight: 600;
}
.lead:hover { background: #fff; }
.save { margin: 0; min-width: 6.5rem; }
.thought .save { background: var(--green); color: #f6f3ec; }
.tip .save { background: #f6f3ec; color: var(--green); }
.tip .save:hover { background: #fff; }

.actions { display: flex; justify-content: center; gap: 0.6rem; margin: 0.4rem 0 1.15rem; }
.section { margin: 1.4rem 0 0.75rem; font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -0.03em; }
.grid, .posts { display: grid; gap: 0.8rem; }
.posts { grid-template-columns: 1fr; }
@media (min-width: 760px) { .posts { grid-template-columns: 1fr 1fr; } }
.grid { grid-template-columns: 1fr; }
@media (min-width: 520px) { .grid { grid-template-columns: 1fr 1fr; } }
.grid .elg { grid-column: 1 / -1; }
.promo {
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  padding: 1.2rem 1.05rem 1.15rem;
  background: #fffcf7;
}
.promo .logo { width: 100%; max-height: 5.4rem; object-fit: contain; }
.promo.elg .logo { max-height: 4.4rem; }
.promo-name {
  margin-top: 0.25rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: var(--ink);
}
.promo small {
  max-width: 16rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.grt, .mpc, .elg { background: #fffcf7; color: var(--ink); }

.mail h3, .page, .form h2 { font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -0.03em; }
.mail input, .form input {
  width: 100%;
  margin: 0.7rem 0;
  padding: 0.95rem 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f7f4ee;
  font: inherit;
  text-align: center;
}
.form label, .levels legend { display: block; margin-top: 0.55rem; font-size: 0.9rem; }
.levels { border: 0; margin: 0.7rem 0; padding: 0; }
.levels label { margin: 0.3rem 0; }
.narrow { max-width: 36rem; margin: 0 auto; }
.switch, .error, .back, .lede { color: var(--muted); }
.error { color: #9b2c2c; }
.article, .prose p, details p { color: var(--muted); line-height: 1.6; }
.article h3 { color: var(--ink); margin: 0 0 0.35rem; font-family: Fraunces, Georgia, serif; }
.prose h2 { margin-bottom: 0.8rem; }
details summary { cursor: pointer; font-weight: 600; }
footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; font-size: 0.84rem; }
footer a { color: var(--muted); text-decoration: none; }
.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 36rem;
  margin: 0 auto;
  background: #fffcf7;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(23, 36, 28, 0.16);
  padding: 1rem;
  text-align: center;
}
.cookie p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; }
.cookie div { display: flex; justify-content: center; gap: 0.5rem; }
.check { display: block; margin: 0.4rem 0 0.7rem; font-size: 0.9rem; color: var(--muted); }

.left, .left li { text-align: left; }
.left ol { padding-left: 1.2rem; }
.left li { margin: 0.35rem 0; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { border-bottom: 1px solid var(--line); padding: 0.55rem; vertical-align: top; text-align: left; }
th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
td em { color: var(--muted); font-style: normal; }

.saved { list-style: none; margin: 0; padding: 0; }
.saved li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.saved li:last-child { border-bottom: 0; }
.saved .empty { color: var(--muted); }

.mail-choices { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin: 0.2rem 0 0.4rem; }
.status { margin: 0.2rem 0 0.6rem; color: var(--muted); font-size: 0.85rem; }
