/*
 * Shared stylesheet for Lumira's static content pages — the hand-written
 * landing pages in mobile/web/*.html and every page emitted by
 * tools/seo/generate_seo.py.
 *
 * Kept as one external file (rather than inlined per page) because ~110
 * generated pages share it and it caches across navigations. The app root
 * `index.html` deliberately does NOT use this file: its shell CSS is inlined
 * so first paint never waits on a second request.
 *
 * Palette and type from docs/PROMO_POSTER_PROMPT.md.
 */

:root {
  --lum-ground: #FBF8F3;
  --lum-deep: #0D7377;
  --lum-teal: #4ECDC4;
  --lum-coral: #FF6B6B;
  --lum-sun: #FFE66D;
  --lum-ink: #23303D;
  --lum-ink-muted: #5b6875;
  --lum-line: rgba(35, 48, 61, .1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--lum-ground);
  color: var(--lum-ink);
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.wrap--wide { max-width: 1040px; }

a { color: var(--lum-deep); }
a:hover { text-decoration: none; }

/* ---------- site header ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--lum-line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--lum-ink);
  text-decoration: none;
  letter-spacing: .01em;
}
.brand img { width: 32px; height: 32px; }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-nav a { font-size: .93rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }

/* ---------- hero ---------- */

.hero {
  background: var(--lum-deep);
  color: #fff;
  padding: 60px 0 54px;
  border-radius: 0 0 26px 26px;
}
.hero .eyebrow { color: rgba(255, 255, 255, .72); }
.hero h1 { color: #fff; }
.hero p { color: rgba(255, 255, 255, .9); max-width: 36em; }
.hero a { color: #fff; }

/* ---------- type ---------- */

h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.55rem);
  line-height: 1.2;
  margin: 10px 0 14px;
  max-width: 20em;
}
h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.3;
  margin: 44px 0 10px;
}
h3 { font-size: 1.05rem; margin: 26px 0 6px; }
p { margin: 0 0 16px; }

.eyebrow {
  color: var(--lum-deep);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.lede { font-size: 1.12rem; color: var(--lum-ink-muted); max-width: 36em; }
.muted { color: var(--lum-ink-muted); }

main { padding-bottom: 40px; }
main ul, main ol { margin: 0 0 18px; padding-left: 1.25em; }
main li { margin-bottom: 7px; }

/* ---------- components ---------- */

.card-grid {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card-grid > li {
  background: #fff;
  border: 1px solid var(--lum-line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0;
}
.card-grid h3 { margin: 0 0 4px; font-size: 1rem; }
.card-grid p { margin: 0; font-size: .93rem; color: var(--lum-ink-muted); }

.tag-cloud { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud li { margin: 0; }
.tag-cloud a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--lum-line);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.tag-cloud a:hover { border-color: var(--lum-teal); background: #fff; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.chips li {
  margin: 0;
  background: rgba(13, 115, 119, .09);
  color: var(--lum-deep);
  border-radius: 999px;
  padding: 4px 13px;
  font-size: .87rem;
  font-weight: 600;
}
.hero .chips li { background: rgba(255, 255, 255, .17); color: #fff; }

.word-list { list-style: none; padding: 0; margin: 16px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.word-list li {
  margin: 0;
  background: #fff;
  border: 1px solid var(--lum-line);
  border-radius: 9px;
  padding: 7px 14px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.callout {
  background: #fff;
  border: 1px solid var(--lum-line);
  border-left: 4px solid var(--lum-teal);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }

.cta { margin: 38px 0 8px; }
.btn {
  display: inline-block;
  background: var(--lum-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 30px;
}
.btn:hover { background: #0a5c5f; }
.hero .btn { background: #fff; color: var(--lum-deep); }
.hero .btn:hover { background: rgba(255, 255, 255, .88); }

.faq-item { border-bottom: 1px solid var(--lum-line); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h2 { font-size: 1.12rem; margin: 0 0 8px; }

.cover { float: right; width: 150px; margin: 4px 0 18px 22px; border-radius: 10px; }

.breadcrumb { font-size: .88rem; margin: 22px 0 0; }
.breadcrumb a { text-decoration: none; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--lum-line);
  margin-top: 50px;
  padding: 34px 0 60px;
  font-size: .91rem;
  color: var(--lum-ink-muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-footer a { font-weight: 600; text-decoration: none; }
.site-footer .credit { width: 100%; margin: 6px 0 0; }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 42px 0 38px; }
  .site-nav { width: 100%; margin-left: 0; }
  .cover { float: none; width: 130px; margin: 0 0 16px; display: block; }
}
