/* Lantern Garden site. Mobile first, light by default, dark garden at night. No JS, no web fonts. */
:root {
  --bg: #fbf6ea;
  --surface: #ffffff;
  --text: #22252b;
  --muted: #5b6170;
  --accent: #b4650f;        /* amber, dark enough for text on the light background */
  --accent-strong: #f5a623;
  --glow: rgba(245, 166, 35, 0.28);
  --border: #e6dcc6;
  --focus: #1d5fd1;
  --badge-bg: #22252b;
  --badge-text: #fbf6ea;
  --measure: 42rem;
  --radius: 0.75rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a2e;
    --surface: #16233b;
    --text: #e9e4d6;
    --muted: #a7afc2;
    --accent: #ffc35c;
    --accent-strong: #ffb43a;
    --glow: rgba(255, 180, 58, 0.22);
    --border: #26365a;
    --focus: #8fb8ff;
    --badge-bg: #ffc35c;
    --badge-text: #0f1a2e;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 1rem 3rem; }

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; padding: 0.5rem 1rem; background: var(--surface); }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

.site-header {
  max-width: var(--measure);
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}
.brand img { border-radius: 8px; }

h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 1.9rem; margin: 1.5rem 0 0.75rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }

.hero { text-align: center; padding: 2rem 0 1rem; }
.hero-mark {
  border-radius: 22px;
  box-shadow: 0 0 0 10px var(--glow), 0 0 60px 20px var(--glow);
  margin-top: 1rem;
}
.hero h1 { font-size: 2.3rem; margin-top: 1.5rem; margin-bottom: 0.25rem; }
.tagline { color: var(--accent); font-weight: 600; margin: 0; }
.pitch { font-size: 1.2rem; margin: 1rem auto 1.5rem; max-width: 30rem; }

.badges { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.badge {
  display: inline-block;
  min-width: 15rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  background: var(--badge-bg);
  color: var(--badge-text);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.badge[aria-disabled="true"] { cursor: default; opacity: 0.85; }

.features { padding-left: 1.2rem; }
.features li { margin: 0.4rem 0; }
.features li::marker { color: var(--accent-strong); }

.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.center { text-align: center; }

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
table { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); }
th { font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; }
.site-footer p { margin: 0.75rem 0 0; }

@media (min-width: 40rem) {
  .badges { flex-direction: row; justify-content: center; }
  .badge { min-width: 0; }
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.8rem; }
}
