/* lunora.health. Colours are the app's clay and brown on a light cream page.
   Measured (WCAG): text 14.6:1, muted 8.4:1, links 5.25:1 light; 7.4:1+ dark. */
:root {
  color-scheme: light dark;
  --bg: #fbf3ef;
  --card: #ffffff;
  --text: #3a1710;
  --muted: #6b3a2e;
  --link: #a34d29;
  --hero-from: #bf7d7d;
  --hero-to: #e6c8c8;
  --shadow: 0 2px 12px rgba(58, 23, 16, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #2a1410;
    --card: #3a1e18;
    --text: #f2e1da;
    --muted: #d9bfb4;
    --link: #deaa90;
    --hero-from: #8c3d27;
    --hero-to: #5a2a1f;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 10; }

header.site, main, footer.site { max-width: 820px; margin: 0 auto; padding: 0 16px; }

header.site {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 20px; }
.brand img { border-radius: 50%; background: #fff; }
header.site nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
header.site nav a { text-decoration: none; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
header.site nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; }

.hero {
  text-align: center; padding: 40px 20px 36px; border-radius: 24px; margin-top: 8px;
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
}
.hero-logo { border-radius: 50%; background: #fff; box-shadow: var(--shadow); width: 128px; height: 128px; }
/* Text on the hero sits on a solid panel so it never depends on the gradient. */
.hero .panel { background: var(--card); max-width: 560px; margin: 24px auto 0; padding: 20px; border-radius: 16px; }
.hero h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.2; margin: 0 0 10px; }
.hero .tagline { margin: 0 0 12px; font-size: 21px; font-weight: 600; }
.hero .lead { margin: 0 0 12px; color: var(--muted); }
.hero .soon { margin: 0; font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 32px 0; }
.card { background: var(--card); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.card h2 { font-size: 19px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); }

.signin { margin-top: 24px; background: var(--card); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.signin h2 { font-size: 19px; margin: 0 0 6px; }
.signin p { margin: 0; color: var(--muted); }

.contact { text-align: center; margin: 40px 0; }
.contact h2 { font-size: 22px; margin-bottom: 4px; }

.doc { background: var(--card); border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow); margin: 8px 0 32px; overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.2; margin: 0 0 4px; }
.doc .lead { color: var(--muted); margin-top: 0; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 21px; margin: 32px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

footer.site { padding-top: 16px; padding-bottom: 40px; text-align: center; color: var(--muted); font-size: 15px; }
footer.site p { margin: 6px 0; }
footer.site a { display: inline-block; padding: 8px 2px; }

@media (max-width: 480px) {
  .doc { padding: 22px 16px; }
  .hero { padding: 28px 12px; }
}
