/* photodumps legal — minimal, readable */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fafafa;
  --paper: #ffffff;
  --text: #141414;
  --muted: #5c5c5c;
  --faint: #8a8a8a;
  --line: #e8e8e8;
  --accent: #3b5bfc;
  --max: 40rem;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover { text-decoration: none; color: var(--text); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  padding: 4px 0;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--text);
  text-decoration: none;
}

.wrap {
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.hero {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 36em;
  line-height: 1.6;
}

.hero-meta {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--faint);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
}

.toc {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.toc-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 1;
}

@media (min-width: 520px) {
  .toc ol { columns: 2; column-gap: 2rem; }
}

.toc li { margin: 3px 0; font-size: 0.875rem; }
.toc a { color: var(--muted); font-weight: 500; }
.toc a:hover { color: var(--accent); }

section {
  margin-top: 28px;
  scroll-margin-top: 72px;
}

section:first-of-type { margin-top: 0; }

section h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

section p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
}

section ul {
  margin: 0 0 10px 1.1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

section li { margin: 5px 0; }
section li strong { color: var(--text); font-weight: 600; }

.callout {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

.callout strong { color: var(--text); font-weight: 600; }

.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--faint);
}

.site-footer p + p { margin-top: 6px; }

.hub-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

@media (min-width: 560px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}

.hub-card {
  display: block;
  padding: 20px 18px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.hub-card:hover {
  border-color: #ccc;
  text-decoration: none;
  color: var(--text);
}

.hub-card h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.hub-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.hub-card .arrow {
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
}
