/* =====================================================================
   Block system additions (colors, text blocks, figures, FAQ, list chrome).
   Loaded after site.css.
   ===================================================================== */
.sr { position: absolute; left: -999px; }
.wrap.narrow > * { max-width: 760px; }
.wrap.narrow > .lede { max-width: 34em; }
.list-pad { padding-bottom: clamp(56px, 8vw, 104px); }

/* Panel / band / tag colors (c-mint, c-lav, c-sky, c-plain) */
.panel.c-mint, .app-band.c-mint { --pbg: var(--f-bg); --pfg: var(--f-fg); --pa: var(--f-fg); }
.panel.c-lav, .app-band.c-lav { --pbg: var(--h-bg); --pfg: var(--h-fg); --pa: var(--h-fg); }
.panel.c-sky, .app-band.c-sky { --pbg: var(--sky); --pfg: #041a29; --pa: #041a29; }
.panel.c-plain, .app-band.c-plain { --pbg: var(--surface); --pfg: var(--ink); --pa: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.tag.c-mint { --tg: var(--f-bg); --tf: var(--f-fg); }
.tag.c-lav { --tg: var(--h-bg); --tf: var(--h-fg); }
.tag.c-sky { --tg: var(--sky); --tf: #041a29; }
.tag.c-plain { --tg: var(--surface); --tf: var(--ink); }
.panel.noart, .panel.noart.flip { grid-template-columns: 1fr; }
.panel.noart .tagline { max-width: 40em; }
.panel .tagline { margin-top: 14px; }
.panel h1 { line-height: 1; }

/* Hero variants */
.hero-grid.single { grid-template-columns: 1fr; }
.hero-art.one { min-height: 0; display: grid; justify-items: center; }
.hero-art.one .phone { position: relative; width: min(72%, 300px); transform: rotate(-3deg); }
.hero-img img { border-radius: var(--radius); width: 100%; }

/* Phone with your own screenshot */
.screen.shot { padding: 0; background: #0f1620; display: block; }
.screen.shot img { width: 100%; height: 100%; object-fit: cover; }
.screen.shot .img-ph { display: grid; place-content: center; height: 100%; padding: 20px; text-align: center; color: #8fa0b3; border: 0; }

/* Text blocks */
.prose.flat { padding-bottom: 0; max-width: 68ch; }
.prose.flat h2:first-child { margin-top: 0; }
.rich > * + * { margin-top: 0.9em; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li + li { margin-top: 0.35em; }
.rich h2 { font-size: 1.6rem; letter-spacing: -0.03em; margin-top: 1.8em; }
.rich h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-top: 1.5em; }
.rich blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); font-size: 1.15rem; }
.rich code { font-family: var(--mono); font-size: 0.9em; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose .rich > * + * { margin-top: 1em; }
.prose .rich h2 { margin-top: 2.2em; }
.prose .rich > :first-child { margin-top: 0; }
.callout .rich { color: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.callout b { display: block; margin-bottom: 2px; }
.steps li .rich { color: color-mix(in srgb, var(--ink) 86%, var(--bg)); margin-top: 4px; }
.steps li .rich > * + * { margin-top: 0.6em; }
.narrow > h2, .narrow > .lede { margin-bottom: 10px; }
.narrow > h2 { font-size: 1.8rem; }

/* Figures */
.fig { margin: 0; }
.fig img, .cover img { width: 100%; border-radius: 18px; }
.fig figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 10px; text-align: center; }
.cover { margin-top: 28px; }
.img-ph { display: grid; place-items: center; padding: 40px 20px; border: 2px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }

/* FAQ (visitors get <details>; the editor uses .qa so typing a space never toggles it) */
.faq-h { margin-bottom: 20px; }
details .ans { padding: 0 4px 22px; color: var(--muted); max-width: 60ch; }
.faq details:first-child { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.qa:first-child { border-top: 1px solid var(--line); }
.qa .q { font-weight: 700; margin-bottom: 8px; }
.qa .ans { color: var(--muted); max-width: 60ch; }

/* Link lists */
.link-list a strong { font-weight: 700; }

/* Header and post chrome */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs .tag { grid-row: auto; grid-column: auto; }
.post-end { padding-bottom: clamp(56px, 8vw, 104px); font-weight: 700; }
.post-end a { text-decoration: none; }
.draft-note { background: var(--h-bg); color: var(--h-fg); text-align: center; font-weight: 700; padding: 10px 16px; font-size: 0.95rem; }
.auto-note { padding: 10px 16px; border: 2px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.guide-tools { margin-bottom: 8px; }
.admin-pill { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; gap: 6px; background: #0b1220; border: 1px solid #243246; padding: 6px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.admin-pill a { color: #f6f8f7; text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 8px 16px; border-radius: 999px; }
.admin-pill a.go { background: #2be3a6; color: #04201a; }
.guides a h3 { font-size: 1.25rem; }
.row h3 { font-size: 1.15rem; }
