/* Shared look for the demo, taken from ceraunic.com: a painted dusk, cobalt sky, one amber sun.
   Cormorant Garamond for big headings only, Source Sans 3 for everything you read. */
:root {
  /* the painting */
  --cobalt:#023c96; --cobalt-deep:#02286e; --night:#041a4a;
  --sun:#ffb547; --ember:#d9622b;
  --on-sky:#ffffff; --on-sky-soft:rgba(255,255,255,.88); --on-sky-quiet:rgba(255,255,255,.74); --on-sky-line:rgba(255,255,255,.38);

  /* roles */
  --blue:var(--cobalt); --blue-deep:var(--cobalt-deep); --blue-ink:#0b1f4d; --blue-hover:#02317e;
  --blue-soft:#eef2fb;
  --amber:var(--sun); --amber-soft:#fff3df; --amber-ink:#6b4208;
  --ink:#0b1f4d; --muted:#515c78;
  --bg:#fbf8f3; --surface:#fffefb;
  --paper:var(--surface); --paper-ink:var(--ink); --paper-muted:var(--muted);
  --wash:rgba(2,60,150,.045);
  --line:rgba(11,31,77,.10); --line-strong:rgba(11,31,77,.22);
  --gain:#17724b; --loss:#b3382c;

  --display:"Cormorant Garamond", Garamond, Georgia, serif;
  --sans:"Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif:var(--display);

  --radius:10px; --radius-lg:16px;
  --shadow-soft:0 1px 2px rgba(11,31,77,.04), 0 14px 44px rgba(11,31,77,.06);
  --shadow-sm:0 1px 2px rgba(11,31,77,.05);
  --shadow-md:0 14px 44px rgba(4,26,74,.22);
  --ring:0 0 0 3px rgba(2,60,150,.25);
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { background:var(--bg); }
body { margin:0; font-family:var(--sans); font-size:17px; line-height:1.55; color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
.num, table, input, select { font-family:var(--sans); font-variant-numeric:tabular-nums; }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font:600 16px/1.2 var(--sans); padding:12px 22px; border-radius:var(--radius); border:1px solid transparent; cursor:pointer; text-decoration:none; transition:transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn:hover { transform:translateY(-1px); }
.btn:active { transform:none; }
.btn:focus-visible { outline:none; box-shadow:var(--ring); }
.btn.primary { background:var(--blue); color:#fff; }
.btn.ghost { color:var(--on-sky); border-color:var(--on-sky-line); background:rgba(255,255,255,.07); }
.btn.ghost:hover { background:rgba(255,255,255,.16); }
.sim-note { font:400 14px/1.45 var(--sans); color:var(--muted); }

/* The painted sky behind every title: the same painting as ceraunic.com, its storm cloud at the right. */
.painted {
  position:relative; color:var(--on-sky); background-color:var(--cobalt);
  background-image:
    linear-gradient(100deg, rgba(2,40,110,.90) 0%, rgba(2,40,110,.68) 42%, rgba(2,40,110,.10) 78%),
    url("hero.webp");
  background-size:auto, cover; background-position:0 0, right 42%; background-repeat:no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transition:none; transform:none; }
}
