/* BIBIA — the world of BIBIA (bibia.ai) and the download page (bibia.app).
   Colours are the app's own Aurora tokens (companion repo, src/app/aurora.css),
   so the site and the product read as one thing. */
:root {
  --brand-50: #fff4e8;
  --brand-100: #ffe4c7;
  --brand-600: #f1780b;
  --brand-700: #c7620a;
  --brand-800: #9c4c08;
  --on-brand: #1a1206;
  --canvas: #f4f6f2;
  --surface: #ffffff;
  --ink: #142019;
  --muted: #4f5d56;
  --hairline: #dde3dd;
  --chip: #eef1ec;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0e1614;
    --surface: #17231f;
    --ink: #eef3ef;
    --muted: #a7b5ae;
    --hairline: #2b3a35;
    --chip: #1f2e29;
    --brand-50: #2a1c0e;
    --brand-100: #3a2611;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: "Hanken Grotesk", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-600); display: grid; place-items: center; color: var(--on-brand); font-size: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn-brand { background: var(--brand-600); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-700); color: #fff; }
.btn-quiet { background: var(--chip); color: var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 3px; }
.hero { padding: 40px 0 28px; }
h1 { font-family: "Hanken Grotesk", sans-serif; font-weight: 800; font-size: clamp(34px, 7vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-family: "Hanken Grotesk", sans-serif; font-weight: 800; font-size: clamp(24px, 4vw, 32px); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 640px; margin: 0 0 24px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
section { padding: 28px 0; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }
.label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.label-coming { background: var(--brand-100); color: var(--brand-800); }
@media (prefers-color-scheme: dark) { .label-coming { color: #ffc58e; } }
.note { font-size: 15px; color: var(--muted); }
.band { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin: 6px 0; }
footer { padding: 32px 0 48px; border-top: 1px solid var(--hairline); margin-top: 24px; font-size: 15px; color: var(--muted); }
footer a { color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }
@media (max-width: 480px) { .btn { width: 100%; } header.top .btn { width: auto; } }
