:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #171717;
  --muted: #5f6368;
  --line: #d9d9d4;
  --accent: #2457d6;
  --max: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
}
a { color: var(--accent); text-underline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header {
  background: rgba(247,246,242,.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 24px; }
.brand { color: var(--text); font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
main { padding: 72px 0 96px; }
.hero { max-width: 900px; padding: 28px 0 42px; }
.eyebrow {
  color: var(--accent);
  font-size: .82rem;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); margin-top: 12px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 22px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4 { font-size: 1.05rem; margin-bottom: 6px; }
.lede { font-size: clamp(1.22rem, 2.4vw, 1.62rem); max-width: 850px; color: #2e3135; margin: 24px 0; }
.meta { color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid var(--text);
  background: var(--text);
  color: white;
  text-decoration: none;
  font-weight: 680;
}
.button.secondary { background: transparent; color: var(--text); }
.callout {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 8px;
  margin: 26px 0 36px;
}
.section { padding: 42px 0; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.card p:last-child { margin-bottom: 0; }
.role { padding: 28px 0; border-bottom: 1px solid var(--line); }
.role:last-child { border-bottom: 0; }
.role-head { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 12px; }
.role-title { font-weight: 760; }
.role-date { white-space: nowrap; color: var(--muted); font-size: .95rem; }
.subrole { margin: 22px 0 4px; }
ul { margin-top: 10px; padding-left: 22px; }
li { margin: 7px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.two-col p + h2 { margin-top: 20px; }
.two-col p:has(+ h2) { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .88rem;
}
footer { border-top: 1px solid var(--line); padding: 26px 0 50px; color: var(--muted); font-size: .92rem; }
article.ai h2 { margin-top: 54px; }
article.ai h3 { margin-top: 36px; }
article.ai h4 { margin-top: 24px; }
article.ai p, article.ai li { max-width: 880px; }
.small { font-size: .92rem; }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid, .two-col { grid-template-columns: 1fr; }
  .role-head { display: block; }
  .role-date { display: block; margin-top: 3px; }
  .nav { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0; min-height: unset; }
  .nav-links { gap: 14px; flex-wrap: wrap; }
  .nav-links a { font-size: .88rem; }
  main { padding-top: 42px; }
}
@media print {
  .site-header, footer, .actions, .ai-switch { display: none !important; }
  body { background: white; font-size: 11pt; }
  main { padding: 0; }
  .container { width: 100%; }
  .section { padding: 18px 0; }
  .role { padding: 13px 0; }
  h1 { font-size: 28pt; }
  h2 { font-size: 17pt; }
  h3 { font-size: 13pt; }
  a { color: inherit; text-decoration: none; }
  .role, .section, h2, h3 { page-break-inside: avoid; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
}
