/* jadeshub.com public site: plain static pages, no build step, no scripts, no cookies.
   Colours follow packages/ui/src/styles.css. */
:root {
  color-scheme: light dark;
  --surface: oklch(0.99 0 0);
  --surface-muted: oklch(0.96 0.005 265);
  --text: oklch(0.22 0.02 265);
  --text-muted: oklch(0.5 0.02 265);
  --border: oklch(0.9 0.01 265);
  --brand: oklch(0.49 0.17 265);
  --brand-text: oklch(0.99 0 0);
  --link: oklch(0.49 0.17 265);
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: oklch(0.2 0.01 265);
    --surface-muted: oklch(0.25 0.015 265);
    --text: oklch(0.95 0.01 265);
    --text-muted: oklch(0.72 0.02 265);
    --border: oklch(0.33 0.02 265);
    --brand: oklch(0.55 0.17 265);
    --link: oklch(0.78 0.11 265);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

.bar { border-bottom: 1px solid var(--border); }
.bar-inner, .page, .foot-inner { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.brand { font-weight: 600; color: var(--text); text-decoration: none; }
.bar nav { display: flex; gap: 16px; font-size: 0.875rem; }
.bar nav a { color: var(--text-muted); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--text); }

.page { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 1.875rem; line-height: 1.2; margin: 0 0 4px; letter-spacing: -0.01em; }
.meta { color: var(--text-muted); margin: 0 0 32px; font-size: 0.9375rem; }
h2 { font-size: 1.1875rem; line-height: 1.3; margin: 36px 0 8px; }
h3 { font-size: 1rem; margin: 20px 0 4px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.25rem; }
li { margin: 4px 0; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; background: var(--surface-muted); padding: 1px 5px; border-radius: 4px; }

.hero { padding: 64px 0 32px; }
.hero h1 { font-size: 2.25rem; }
.lead { font-size: 1.125rem; color: var(--text-muted); margin: 12px 0 28px; max-width: 34rem; }
.button {
  display: inline-block; background: var(--brand); color: var(--brand-text); text-decoration: none;
  font-weight: 600; padding: 10px 18px; border-radius: 8px;
}
.button:hover { filter: brightness(1.08); }

.muted { color: var(--text-muted); }
.cards { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; gap: 16px; }
@media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  margin: 0; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-muted);
  display: flex; flex-direction: column;
}
.card h3 { margin: 0 0 6px; font-size: 1.0625rem; }
.card p { color: var(--text-muted); flex: 1; }
.card .button { align-self: flex-start; margin-top: 8px; }

.foot { border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.875rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; padding-bottom: 28px; }
.foot a { color: var(--text-muted); }
