/* 2026-10-30: Shared styles for crawlable content pages (AdSense / WCAG). */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --link: #5b21b6;
  --link-hover: #4c1d95;
  --accent: #7c3aed;
  --nav-bg: #0f172a;
  --nav-text: #f8fafc;
  --nav-muted: #cbd5e1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--link); }
a:hover, a:focus-visible { color: var(--link-hover); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.site-header {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 0.85rem 1.25rem;
}
.site-header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.site-brand {
  color: var(--nav-text);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.92rem;
}
.site-nav a {
  color: var(--nav-muted);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--nav-text); text-decoration: underline; }
.site-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.site-main h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  line-height: 1.25;
}
.site-main h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.25rem;
}
.site-main h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}
.site-main p,
.site-main li {
  color: var(--text);
  font-size: 1.02rem;
}
.site-main .lede {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.site-main ul { padding-left: 1.25rem; }
.site-main li { margin: 0.35rem 0; }
.cta-row { margin: 1.5rem 0 0; }
.cta {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
.cta:hover { filter: brightness(1.06); }
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
}
.site-footer a { color: var(--muted); margin: 0 0.35rem; }
.site-footer a:hover { color: var(--text); }
.ad-slot {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  min-height: 90px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot .adsbygoogle {
  display: block;
  width: 100%;
  min-height: 90px;
}
.guide-list { list-style: none; padding: 0; }
.guide-list li {
  margin: 0 0 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.guide-list a { font-weight: 700; text-decoration: none; }
.guide-list p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }
