/* Scriptlight site: the app's Studio look. Light and dark follow the visitor's system. */
:root {
  --bg: #f5f3f0;
  --card: #ffffff;
  --fg: #141414;
  --muted: #4d4a46;
  --line: #e2ded8;
  --cue: #a35f00;         /* deep amber: passes text contrast on light */
  --cue-fill: #ffb021;
  --brand: linear-gradient(135deg, #ff991f, #e85a12);  /* shared with the app icon */
  --stage: #0b0a09;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0a09;
    --card: #171513;
    --fg: #f4efe8;
    --muted: #b3aba1;
    --line: #2a2622;
    --cue: #ffb021;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.65 var(--body);
  padding-inline: 20px;
}
main, header, footer { max-width: 44rem; margin: 0 auto; }
header { padding-block: 28px 8px; display: flex; align-items: center; gap: 12px; }
header a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 12px; }
header img { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 4px 14px rgba(232, 90, 18, 0.35); }
header span { font: 700 1.2rem/1 var(--display); }
main { padding-block: 24px 48px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 12px; }
h2 { font-size: 1.35rem; margin: 2.2em 0 0.5em; }
h3 { font-size: 1.05rem; margin: 1.6em 0 0.3em; }
p, li { max-width: 65ch; }
a { color: var(--cue); }
a:focus-visible { outline: 2px solid var(--cue); outline-offset: 3px; border-radius: 3px; }
.lede { color: var(--muted); font-size: 1.15rem; }
.updated { color: var(--muted); font-size: 0.9rem; }
.cue { display: inline-block; width: 0; height: 0; border-top: 8px solid transparent;
       border-bottom: 8px solid transparent; border-left: 12px solid var(--cue-fill); margin-right: 10px; }
.stage {
  background: var(--stage); color: #fff; border-radius: 18px; padding: 28px 24px;
  font: 600 clamp(1.4rem, 4vw, 2rem)/1.35 var(--body); margin: 28px 0;
}
.stage em { color: var(--cue-fill); font-style: normal; }
/* Brand gradient bar along the top of the stage; keeps the rounded corners. */
.stage { position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--brand); }
.stage .dot { color: var(--cue-fill); opacity: 0.8; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 16px 0; }
.links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer { border-top: 1px solid var(--line); padding-block: 20px 36px; color: var(--muted); font-size: 0.9rem; }
code { font-size: 0.95em; }

.get { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1.5rem 0 2rem; }
.store {
  display: inline-block; padding: .8rem 1.3rem; border-radius: 999px;
  background: var(--brand); color: #1b0e05; font-weight: 600; text-decoration: none;
}
.store:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.price { color: var(--muted); font-size: .95rem; }
