/* Shared styles for blog and app fact pages. Tokens match the homepage. */
:root {
  --green: #1e4634;
  --green-deep: #143325;
  --cream: #f7f3ea;
  --ink: #20241f;
  --muted: #5c665c;
  --card: #ffffff;
  --line: #e3ddcd;
  --sage: #b9d2a8;
  --mist: #d8e2d2;
  --pill: #e7eedd;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--green); }
a:hover { color: var(--green-deep); }

/* Top bar */
.topbar { background: var(--green-deep); padding: 18px 24px; }
.topbar .inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar .mark {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
}
.topbar nav a {
  color: var(--mist);
  text-decoration: none;
  font-size: 15px;
  margin-left: 22px;
}
.topbar nav a:first-child { margin-left: 0; }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--cream); }

/* Page hero */
.hero {
  background: var(--green-deep);
  color: var(--cream);
  padding: 30px 24px 56px;
  text-align: center;
}
.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.hero h1 { font-size: 40px; font-weight: 700; letter-spacing: 0.5px; line-height: 1.2; }
.hero p {
  margin: 14px auto 0;
  max-width: 600px;
  font-size: 18px;
  color: var(--mist);
}
.hero .status { margin-top: 18px; }

/* Content */
main { max-width: 760px; margin: 0 auto; padding: 48px 24px 24px; }
main.wide { max-width: 960px; }
h2 { font-size: 26px; color: var(--green); margin-bottom: 10px; line-height: 1.3; }
h3 { font-size: 19px; color: var(--green-deep); margin-bottom: 4px; }
.section { margin-bottom: 48px; }
.section > p, .prose p { color: var(--ink); margin-bottom: 14px; }
.section > p.muted, .muted { color: var(--muted); }
.lead { font-size: 19px; }
.prose ul, .prose ol, .section > ul { margin: 0 0 14px 22px; }
.prose li, .section > ul li { margin-bottom: 6px; }
.post-title { font-size: 36px; color: var(--green-deep); line-height: 1.2; margin-bottom: 10px; }
.byline { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }

.status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--pill);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.card p { color: var(--muted); font-size: 15px; }
.card .status { margin-top: 14px; }
.card a.more { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; text-decoration: none; }

/* Key facts list */
.facts {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 24px;
}
.facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; color: var(--green-deep); }
.facts dd { color: var(--ink); }

/* Tables */
.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--pill); color: var(--green-deep); font-weight: 600; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--green-deep); }
.table-note { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* FAQ */
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item p { color: var(--ink); margin: 0; }

/* Post list */
ul.post-list { list-style: none; margin: 20px 0 0; }
.post-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 0; }
.post-list a { font-size: 19px; font-weight: 600; text-decoration: none; }
.post-list p { color: var(--muted); font-size: 15px; margin-top: 4px; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer nav { margin-bottom: 10px; }
footer nav a { margin: 0 10px; }
footer a { color: var(--green); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .topbar nav a { margin-left: 14px; }
}
