:root {
  color-scheme: light;
  --bg: oklch(0.985 0.006 190);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.955 0.014 190);
  --ink: oklch(0.205 0.035 235);
  --muted: oklch(0.42 0.035 225);
  --brand: oklch(0.48 0.105 185);
  --brand-dark: oklch(0.32 0.085 190);
  --accent: oklch(0.62 0.14 35);
  --line: oklch(0.89 0.018 205);
  --focus: oklch(0.68 0.16 65);
  --max: 1180px;
  --article: 760px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--brand-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: oklch(0.38 0.14 35); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); margin: 0 0 1rem; max-width: 12ch; }
h2 { font-size: clamp(1.65rem, 4vw, 2.55rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.22rem; margin: 0 0 0.7rem; }
p { max-width: 72ch; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--ink); color: white; padding: 0.7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in oklch, var(--bg) 88%, white); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 0.85rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; min-width: 160px; }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-size: 1.08rem; letter-spacing: 0; }
.brand small { color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { padding: 0.45rem 0.65rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.94rem; }
.site-nav a:hover { background: var(--surface-2); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 0.55rem 0.75rem; color: var(--ink); }
main { max-width: var(--max); margin: 0 auto; padding: 0 1.2rem 4rem; }
.hero { min-height: 76vh; display: flex; align-items: center; gap: 3rem; padding: 4rem 0 2rem; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-copy > p { font-size: 1.18rem; color: var(--muted); }
.section-label { color: var(--brand-dark); font-weight: 800; margin: 0 0 0.8rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border-radius: 8px; padding: 0.72rem 1rem; font-weight: 750; text-decoration: none; }
.button.primary { background: var(--brand-dark); color: white; }
.button.secondary { border: 1px solid var(--brand); color: var(--brand-dark); background: transparent; }
.hero-panel { flex: 1 1 380px; min-height: 420px; background: radial-gradient(circle at 24% 18%, oklch(0.78 0.11 55), transparent 28%), linear-gradient(135deg, var(--brand-dark), oklch(0.31 0.07 235)); border-radius: 16px; padding: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-content: end; }
.hero-panel span { background: color-mix(in oklch, white 92%, transparent); color: var(--ink); border-radius: 10px; padding: 1rem; font-weight: 800; min-height: 92px; display: flex; align-items: end; flex: 1 1 150px; }
.intro-band, .trust-band { margin: 2rem 0 4rem; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 2rem; align-items: center; }
.intro-band > *, .trust-band > * { flex: 1 1 280px; min-width: 0; }
.trust-band .button { flex: 0 0 auto; }
.search-panel label { display: block; font-weight: 800; margin-bottom: 0.4rem; }
.search-panel input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 0 0.9rem; font: inherit; color: var(--ink); background: white; }
.search-results { margin-top: 0.8rem; display: grid; gap: 0.45rem; }
.search-results a { display: block; padding: 0.55rem 0.7rem; background: var(--surface-2); border-radius: 8px; text-decoration: none; }
.section-wrap { margin: 4rem 0; }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1.3rem; }
.section-heading p { color: var(--muted); margin: 0; }
.article-grid, .category-list { display: flex; flex-wrap: wrap; gap: 1rem; }
.article-grid > *, .category-list > * { flex: 1 1 280px; min-width: 280px; }
.article-card, .category-card, .sidebar-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.article-card { display: grid; gap: 0.7rem; }
.article-card > a:first-child, .category-card h3 a { color: var(--ink); text-decoration: none; }
.article-card p, .category-card p { color: var(--muted); margin: 0 0 0.7rem; }
.card-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 0.85rem; background: var(--surface-2); }
.card-category, .read-time, .category-card span, .category-chip { display: inline-flex; width: fit-content; color: var(--brand-dark); font-size: 0.88rem; font-weight: 800; }
.category-chip { text-decoration: none; background: var(--surface-2); border-radius: 999px; padding: 0.25rem 0.55rem; }
.category-card ul { padding-left: 1.2rem; margin: 1rem 0 0; }
.page-hero { padding: 4rem 0 2rem; }
.page-hero.narrow h1 { max-width: 16ch; }
.breadcrumbs { max-width: var(--article); margin: 1.3rem 0 0; display: flex; gap: 0.5rem; flex-wrap: wrap; color: var(--muted); font-size: 0.94rem; }
.article-shell { display: flex; gap: 2rem; align-items: start; margin-top: 2rem; }
.article-shell .article-main { flex: 1 1 var(--article); }
.article-shell .article-sidebar { flex: 0 0 300px; }
.article-main { min-width: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.article-meta span, .article-meta a { background: var(--surface-2); padding: 0.25rem 0.55rem; border-radius: 999px; text-decoration: none; }
.feature-art { margin: 0 0 1.5rem; overflow: hidden; }
.feature-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: var(--surface-2); }
.feature-art figcaption { margin-top: 0.65rem; max-width: 62ch; color: var(--muted); font-size: 0.92rem; }
.article-content article, .legal-page article { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1rem, 4vw, 2rem); }
.article-content h1 { max-width: 15ch; font-size: clamp(2.2rem, 6vw, 4rem); }
.article-content h2 { margin-top: 2.1rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.article-content p, .article-content li, .legal-page p, .legal-page li { color: oklch(0.28 0.03 230); }
.article-content section section { padding-left: 1rem; border-left: 2px solid var(--line); }
.related-links { margin-top: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; }
.related-links ul { display: grid; gap: 0.8rem; list-style: none; padding: 0; margin: 0; }
.related-links li { display: grid; gap: 0.15rem; }
.related-links span { color: var(--muted); font-size: 0.94rem; }
.article-sidebar { position: sticky; top: 5.8rem; display: grid; gap: 1rem; }
.ad-region { max-width: var(--max); margin: 0.9rem auto; padding: 1rem; min-height: 84px; border: 1px dashed oklch(0.68 0.04 220); border-radius: 8px; display: grid; place-items: center; color: var(--muted); background: oklch(0.97 0.006 220); font-size: 0.9rem; }
.header-ad { margin-top: 0; border-left: 0; border-right: 0; border-radius: 0; }
.sidebar-ad { min-height: 260px; margin: 0; }
.footer-ad { margin: 1.3rem 0 0; max-width: none; }
.legal-page { max-width: var(--article); margin: 3rem auto; }
.sitemap-columns { display: flex; flex-wrap: wrap; gap: 2rem; }
.sitemap-columns > * { flex: 1 1 260px; }
.site-footer { background: var(--ink); color: white; padding: 3rem 1.2rem 1.4rem; }
.site-footer a { color: oklch(0.9 0.07 185); }
.footer-grid { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2rem; }
.footer-grid > * { flex: 1 1 260px; }
.footer-grid h2 { font-size: 1.1rem; }
.footer-grid p { color: oklch(0.86 0.012 230); }
.fine-print { max-width: var(--max); margin: 1.2rem auto 0; color: oklch(0.8 0.014 230); font-size: 0.9rem; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 68px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; box-shadow: 0 8px 18px color-mix(in oklch, var(--ink) 12%, transparent); }
  .site-nav.is-open { display: grid; }
  .hero, .intro-band, .trust-band, .article-shell, .footer-grid { flex-direction: column; align-items: stretch; }
  .hero { min-height: auto; padding-top: 3rem; }
  .hero-panel { min-height: 300px; }
  .article-sidebar { position: static; }
  .section-heading { display: block; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  main { padding-inline: 0.9rem; }
  .header-inner { padding-inline: 0.9rem; }
  .brand { min-width: 0; }
  .hero-panel { flex-direction: column; }
  .intro-band, .trust-band, .article-content article, .legal-page article { padding: 1rem; }
  .article-grid > *, .category-list > * { min-width: 0; }
  .footer-grid { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
