/* ConvertPlus Help (/help/...) -- hand-written; scripts/help-build.mjs copies it to website/help-admin/ too.
   One stylesheet for the help pages, the site's own palette (tokens.css) and a system font stack: no font file, no @import,
   no request to another host. It also carries the minimum the site's standard header and footer need. */
:root { --paper: #FAF6F0; --paper-2: #F2EADF; --ink: #2A211C; --ink-2: #5E5048; --rule: #E6DCCD; --accent: #C7472A; --accent-ink: #FFF7F2; --accent-dark: #9E3620; --butter: #F2D9A6; --gutter: clamp(16px, 4vw, 40px); --container: 1200px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus, .skip:focus-visible { position: fixed; left: .75rem; top: .75rem; z-index: 100; padding: .8rem 1.2rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.eyebrow { font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-dark); }

/* the site's header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font: 600 1.15rem/1 Georgia, 'Times New Roman', serif; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.2rem; border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-dark); color: var(--accent-ink); }

/* the help pages */
.help { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
.help h1 { margin: .2rem 0 1rem; font: 600 clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem)/1.2 Georgia, 'Times New Roman', serif; }
.help h2 { margin: 2rem 0 .6rem; font-size: 1.4rem; line-height: 1.3; scroll-margin-top: 16px; }
.help h3 { margin: 1.4rem 0 .4rem; font-size: 1.15rem; }
.help ol, .help ul { padding-left: 1.4rem; }
.help li { margin: .35rem 0; }
.help code { padding: .1em .35em; border-radius: 6px; background: var(--paper-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; overflow-wrap: anywhere; }
.help hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--rule); }
.help__eyebrow { margin: 0; font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-dark); }
.help__needs { margin: 0 0 1.2rem; padding: .5rem .8rem; border-radius: 8px; background: var(--paper-2); color: var(--ink-2); font-size: .95rem; }
.help__for { display: inline-block; margin-left: .4rem; color: var(--ink-2); font-size: .9rem; }
.help__list { padding-left: 0; list-style: none; }
.help__list li { margin: 12px 0; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.help__back, .help__llms { margin-top: 2rem; color: var(--ink-2); }
figure { margin: 1.2rem 0; }
figure img { display: block; max-width: 100%; height: auto; border: 1px solid #ddd; border-radius: 6px; }
aside.note { margin: 1.2rem 0; padding: 8px 12px; border-left: 4px solid var(--accent); background: var(--paper-2); }

/* the site's footer */
.site-footer { padding-block: 2.5rem 2rem; background: var(--ink); color: var(--paper); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--butter); text-decoration: underline; }
.site-footer .logo { color: var(--paper); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__tagline { max-width: 32ch; margin: .75rem 0 0; color: var(--rule); }
.site-footer__heading { margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .06em; color: var(--butter) !important; }
.site-footer__list { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; font-size: .92rem; }
.site-footer__list a { display: inline-block; padding-block: .3rem; }
@media (max-width: 767px) { .site-footer__list a { display: flex; align-items: center; min-height: 44px; } }
.site-footer__legal { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(250, 246, 240, .18); font-size: .92rem; color: var(--rule); }
