/* article.css — shared styling for the /thoughts articles.
   Same palette and fonts as the landing page, laid out for reading. */

:root {
  --cream: #FFF4E4;
  --coral: #FF5A3C;
  --ink: #1A1614;
  --yellow: #FFD84D;
  --muted: #7a6f63;
  --card: #ffffff;
  --rule: #e8dcc8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* No scroll-behavior: smooth here, deliberately.
   With it set on html, arriving at /thoughts#birds lands at the top of the
   page instead of the Birds section: Chromium starts the smooth scroll to the
   fragment during load and it gets cancelled before it finishes. Clicking a
   jump link worked; following one from the homepage did not. Instant jumps
   are correct in both cases, so the nicety loses to the link working. */
html { }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}

/* --- header / footer ------------------------------------------------- */
header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 760px; margin: 0 auto; padding: 18px 20px;
}
header.site .brand img { height: 46px; width: auto; display: block; }
.btn-sm {
  flex: none; text-decoration: none;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 14px;
  color: #fff; background: var(--coral);
  padding: 9px 16px; border-radius: 999px;
  border: 2.5px solid var(--ink); box-shadow: 2px 3px 0 var(--ink);
}
.btn-sm:active { transform: translate(1px, 2px); box-shadow: 1px 1px 0 var(--ink); }

footer.site {
  max-width: 760px; margin: 48px auto 0; padding: 24px 20px 40px;
  border-top: 2px solid var(--rule);
  text-align: center; font-size: 14px; color: var(--muted);
}
footer.site a { color: var(--ink); font-weight: 600; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site span { margin: 0 8px; opacity: .45; }
footer.site .copy { margin-top: 8px; opacity: .8; font-size: 13px; }

/* --- article ---------------------------------------------------------- */
main { max-width: 760px; margin: 0 auto; padding: 8px 20px 0; }

.eyebrow {
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: 14px; color: var(--coral);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px;
}
h1 {
  font-family: 'Baloo 2', sans-serif; font-weight: 800;
  font-size: clamp(30px, 6.4vw, 46px); line-height: 1.08;
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.standfirst {
  font-size: clamp(17px, 2.4vw, 20px); color: var(--muted);
  font-weight: 500; line-height: 1.5;
  padding-bottom: 22px; margin-bottom: 8px;
  border-bottom: 2px solid var(--rule);
}
h2 {
  font-family: 'Baloo 2', sans-serif; font-weight: 800;
  font-size: clamp(22px, 3.4vw, 28px); line-height: 1.2;
  margin: 34px 0 12px;
}
article p { margin-bottom: 16px; font-size: 17px; }
article ul { margin: 0 0 18px 22px; }
article li { margin-bottom: 9px; font-size: 17px; }
article strong { font-weight: 700; }
article em { font-style: italic; }

/* --- hero image ------------------------------------------------------- */
/* A real share card from the app, so the reader sees the product working
   before they ever hit a button. Portrait, so it is capped by height. */
.hero { margin: 22px 0 28px; text-align: center; }
.hero img {
  max-width: min(360px, 82%); height: auto;
  border: 3px solid var(--ink); border-radius: 18px;
  box-shadow: 4px 6px 0 var(--ink);
  background: var(--card);
}
.hero figcaption {
  font-size: 13.5px; color: var(--muted);
  margin-top: 12px; font-style: italic;
}

/* --- call to action --------------------------------------------------- */
.cta {
  background: var(--card);
  border: 3px solid var(--ink); border-radius: 20px;
  box-shadow: 4px 6px 0 var(--ink);
  padding: 22px 20px; margin: 30px 0; text-align: center;
}
.cta-line {
  font-family: 'Baloo 2', sans-serif; font-weight: 800;
  font-size: 19px; margin-bottom: 14px; line-height: 1.25;
}
.btn {
  display: inline-block; text-decoration: none;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 17px;
  color: #fff; background: var(--coral);
  padding: 14px 26px; border-radius: 999px;
  border: 3px solid var(--ink); box-shadow: 3px 5px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 2px 0 var(--ink); }
.cta-sub { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* --- faq -------------------------------------------------------------- */
.faq { margin-top: 6px; }
.faq details {
  background: var(--card); border: 2.5px solid var(--ink); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 10px;
}
.faq summary {
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 17px;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ' +'; color: var(--coral); font-weight: 800; }
.faq details[open] summary::after { content: ' −'; }
.faq details p { margin: 10px 0 0; font-size: 16px; color: #45403b; }

/* --- related + hub cards ---------------------------------------------- */
.related { display: flex; flex-direction: column; gap: 10px; }
.rel {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 2.5px solid var(--ink); border-radius: 14px;
  padding: 14px 16px; text-decoration: none; color: var(--ink);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px;
  box-shadow: 2px 3px 0 var(--ink);
}
.rel:active { transform: translate(1px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.rel span { font-size: 24px; }

.cards { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 3px solid var(--ink); border-radius: 18px;
  padding: 18px; text-decoration: none; color: var(--ink);
  box-shadow: 3px 4px 0 var(--ink);
}
.card:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.card-emoji { font-size: 30px; }
.card-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; line-height: 1.2; }
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.45; }
