:root {
  --radius: 0.75rem;
  --background: oklch(0.975 0.008 95);
  --foreground: oklch(0.22 0.02 150);
  --card: oklch(0.995 0.004 95);
  --primary: oklch(0.38 0.07 155);
  --primary-foreground: oklch(0.97 0.01 95);
  --muted: oklch(0.94 0.012 100);
  --muted-foreground: oklch(0.5 0.02 140);
  --accent: oklch(0.78 0.13 75);
  --border: oklch(0.89 0.012 100);
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .font-display { font-family: var(--font-display); }
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; max-width: 72rem; margin: 0 auto; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.brand-mark svg { width: 1.25rem; height: 1.25rem; stroke: var(--primary-foreground); }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.25rem; font-size: 0.875rem; }
.site-nav a { text-decoration: none; color: var(--muted-foreground); }
.site-nav a:hover { color: var(--primary); }
.site-nav a.btn { color: var(--primary-foreground); }
.site-nav a.btn:hover { color: var(--primary-foreground); opacity: 0.92; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary); color: var(--primary-foreground); border: none; border-radius: var(--radius); padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 500; text-decoration: none; cursor: pointer; font-family: var(--font-sans); }
.btn:hover { opacity: 0.92; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn svg { width: 1rem; height: 1rem; }

/* hero */
.hero { padding: 3rem 0 2.5rem; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.hero p.lead { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); max-width: 40rem; }
.hero img { margin-top: 2rem; width: 100%; border-radius: var(--radius); aspect-ratio: 21 / 9; object-fit: cover; }

/* cards */
.card-grid { display: grid; gap: 1.5rem; margin: 2.5rem 0; }
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .card-grid.two { grid-template-columns: repeat(2, 1fr); } }
.card { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--card); border-radius: 0.5rem; padding: 1.5rem; text-decoration: none; transition: border-color 0.15s ease; }
.card:hover { border-color: color-mix(in oklch, var(--primary) 40%, var(--border)); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); }
.card-meta .cat { font-weight: 600; color: var(--primary); }
.card h2 { margin-top: 1.25rem; font-size: 1.5rem; line-height: 1.3; font-weight: 600; }
.card p { margin-top: 0.75rem; flex: 1; font-size: 0.875rem; line-height: 1.65; color: var(--muted-foreground); }
.card .read { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.card .read svg { width: 1rem; height: 1rem; transition: transform 0.15s ease; }
.card:hover .read svg { transform: translateX(2px); }

/* article */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 2.5rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.art-cat { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--primary); letter-spacing: 0.02em; }
.art-title { margin-top: 1rem; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; font-weight: 600; }
.art-desc { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.art-cover { margin-top: 2rem; width: 100%; border-radius: 0.5rem; aspect-ratio: 40 / 21; object-fit: cover; }
.art-byline { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; border-bottom: 1px solid var(--border); padding-bottom: 2rem; font-size: 0.75rem; color: var(--muted-foreground); }
.art-body section { margin-top: 2.5rem; }
.art-body h2 { font-size: 1.5rem; line-height: 1.35; font-weight: 600; }
.art-body p { margin-top: 1rem; font-size: 1rem; line-height: 1.75; color: var(--muted-foreground); }
.art-body ul { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; font-size: 1rem; line-height: 1.75; color: var(--muted-foreground); }
.art-body li + li { margin-top: 0.5rem; }
.art-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.disclaimer { margin-top: 2.5rem; font-size: 0.75rem; line-height: 1.6; color: var(--muted-foreground); }
.cta-band { margin-top: 2.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.cta-band h2 { font-size: 1.875rem; font-weight: 600; }
.cta-band p { margin-top: 0.75rem; margin-bottom: 1.5rem; color: var(--muted-foreground); }
.keep-reading { margin-top: 3.5rem; }
.keep-reading .head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.keep-reading h2 { font-size: 1.5rem; font-weight: 600; }
.keep-reading .all { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--primary); text-decoration: none; }
.keep-reading .all svg { width: 1rem; height: 1rem; }

/* footer */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--border); padding: 2rem 1.5rem; }
.site-footer .row { max-width: 72rem; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a { text-decoration: none; color: var(--muted-foreground); }
.site-footer a:hover { color: var(--primary); }
.site-footer .row + .row { margin-top: 1rem; justify-content: flex-start; }

/* 404 */
.notfound { text-align: center; padding: 5rem 0; }
.notfound h1 { font-size: 2.5rem; font-weight: 600; }
.notfound p { margin-top: 1rem; color: var(--muted-foreground); }
.notfound .btn { margin-top: 2rem; }
