/* Shared styles for the static pages (guides, about, contact, privacy, terms) and the
   site-wide header/footer on the home page. Prefixed with .hq- so it does not collide with style.css. */
:root { --hq-ink:#111; --hq-muted:#5b5b5b; --hq-line:#e6e6e6; --hq-bg:#fafafa; --hq-accent:#0b57d0; }
.hq-page { margin:0; background:var(--hq-bg); color:var(--hq-ink);
  font-family:Inter, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; line-height:1.75; }
.hq-sitebar { position:relative; z-index:50; background:#fff; border-bottom:1px solid var(--hq-line);
  font-family:Inter, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; }
.hq-sitebar-inner { max-width:1100px; margin:0 auto; padding:.6rem 1.25rem; display:flex; gap:1rem;
  align-items:center; justify-content:space-between; flex-wrap:wrap; }
.hq-brand { font-weight:800; color:var(--hq-ink); text-decoration:none; letter-spacing:-.01em; }
.hq-nav { display:flex; gap:.25rem 1rem; flex-wrap:wrap; font-size:.92rem; }
.hq-nav a, .hq-footer a { color:var(--hq-muted); text-decoration:none; }
.hq-nav a:hover, .hq-footer a:hover, .hq-nav a[aria-current="page"] { color:var(--hq-ink); text-decoration:underline; }
.hq-main { max-width:760px; margin:0 auto; padding:2rem 1.25rem 3rem; }
.hq-main h1 { font-size:clamp(1.6rem, 3.2vw, 2.2rem); line-height:1.3; letter-spacing:-.02em; margin:.4rem 0 1rem; }
.hq-main h2 { font-size:1.3rem; margin:2.2rem 0 .6rem; letter-spacing:-.01em; }
.hq-main h3 { font-size:1.08rem; margin:1.6rem 0 .4rem; }
.hq-main p, .hq-main li { font-size:1.02rem; }
.hq-main a { color:var(--hq-accent); }
.hq-main code { background:#eef0f3; padding:.08em .35em; border-radius:4px; font-size:.92em; }
.hq-main pre { background:#16181d; color:#e9edf3; padding:1rem; border-radius:8px; overflow:auto; font-size:.88rem; line-height:1.55; }
.hq-main pre code { background:none; padding:0; color:inherit; }
.hq-main table { border-collapse:collapse; width:100%; margin:1rem 0; font-size:.95rem; }
.hq-main th, .hq-main td { border:1px solid var(--hq-line); padding:.45rem .6rem; text-align:left; vertical-align:top; }
.hq-main th { background:#f1f2f4; }
.hq-crumbs { font-size:.85rem; color:var(--hq-muted); }
.hq-crumbs a { color:var(--hq-muted); }
.hq-meta { color:var(--hq-muted); font-size:.9rem; margin-bottom:1.5rem; }
.hq-note { background:#fff8e1; border:1px solid #f3e1a6; padding:.8rem 1rem; border-radius:8px; }
.hq-related { margin-top:2.5rem; padding-top:1rem; border-top:1px solid var(--hq-line); }
.hq-cards { list-style:none; padding:0; display:grid; gap:.9rem; }
.hq-cards li { background:#fff; border:1px solid var(--hq-line); border-radius:10px; padding:1rem 1.1rem; }
.hq-cards li a { font-weight:700; text-decoration:none; color:var(--hq-ink); }
.hq-cards li p { margin:.3rem 0 0; color:var(--hq-muted); font-size:.95rem; }
.hq-footer { border-top:1px solid var(--hq-line); background:#fff; color:var(--hq-muted); font-size:.88rem;
  font-family:Inter, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; }
.hq-footer-inner { max-width:1100px; margin:0 auto; padding:1.2rem 1.25rem; display:flex; gap:.5rem 1.2rem; flex-wrap:wrap; justify-content:space-between; }
.hq-footer nav { display:flex; gap:.25rem 1rem; flex-wrap:wrap; }
.hq-home-intro { max-width:1100px; margin:0 auto; padding:1.5rem 1.25rem; font-family:Inter, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; color:var(--hq-ink); line-height:1.7; }
.hq-home-intro h2 { font-size:1.2rem; margin:.2rem 0 .5rem; }
.hq-home-intro ul { padding-left:1.2rem; }
[data-theme="dark"] .hq-sitebar, [data-theme="dark"] .hq-footer { background:#111; border-color:#2a2a2a; }
[data-theme="dark"] .hq-brand, [data-theme="dark"] .hq-home-intro { color:#eee; }
[data-theme="dark"] .hq-nav a, [data-theme="dark"] .hq-footer a { color:#bbb; }
.hq-inline-link { color:inherit !important; text-decoration:underline; }
