/* Content pages (guides, privacy). The scanner itself uses styles.css. */
:root {
  --bg: #111418; --panel: #1b1f25; --line: #2c323b; --text: #f2f4f7; --body: #d6dbe1; --muted: #9aa3ae;
  --accent: #2ea66f; --accent-text: #fff; --brand: #e0a64a;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fbfbf8; --panel: #ffffff; --line: #e4e6e1; --text: #15191e; --body: #343b44; --muted: #69727d;
    --accent: #1f8a58; --brand: #a85a12; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }

.site-head { border-bottom: 1px solid var(--line); }
.site-head .in { max-width: 760px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent);
  color: var(--accent-text); text-decoration: none; font-weight: 650; border-radius: 10px; padding: 10px 16px; }
.cta.small { padding: 7px 12px; font-size: 15px; }
.cta.big { padding: 14px 22px; font-size: 18px; }

main { max-width: 760px; margin: 0 auto; padding: 28px 16px 48px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(27px, 6vw, 38px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.3px; }
.lead { font-size: 19px; color: var(--body); margin: 0 0 22px; }
h2 { font-size: 23px; line-height: 1.3; margin: 38px 0 10px; }
h3 { font-size: 18px; margin: 22px 0 6px; }
p, li { color: var(--body); }
ol, ul { padding-left: 22px; }
li { margin-bottom: 8px; }
.muted { color: var(--muted); font-size: 15px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 22px 0; }
.box p:first-child { margin-top: 0; } .box p:last-child { margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 6px 0 8px; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 14px; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 10px 0; background: var(--panel); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 14px 0; }
.cards a { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; color: var(--text); }
.cards a span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

.site-foot { border-top: 1px solid var(--line); text-align: center; padding: 30px 16px 40px; color: var(--muted); font-size: 15px; }
.site-foot img { width: 44px; height: 44px; border-radius: 10px; }
.site-foot .name { display: block; color: var(--text); font-weight: 650; font-size: 18px; margin: 6px 0 2px; }
.site-foot nav { margin: 12px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.site-foot nav a { color: var(--muted); }
.site-foot .kh a { color: var(--brand); font-weight: 650; text-decoration: none; }

@media (max-width: 400px) {
  .logo { font-size: 15px; gap: 8px; min-width: 0; }
  .logo img { width: 28px; height: 28px; }
  .cta.small { padding: 6px 10px; font-size: 14px; white-space: nowrap; }
}
