:root {
  --blue: #1a73c8;
  --blue-dark: #0f4c8a;
  --ink: #1f2933;
  --muted: #5b6771;
  --rule: #d9dee3;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --max: 68rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

header.site {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
header.site .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 2rem; padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  text-decoration: none; color: var(--ink);
  font-weight: 300; font-size: 1.45rem; letter-spacing: .02em; line-height: 1.2;
}
.brand strong { font-weight: 600; color: var(--blue-dark); }
nav.main { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
nav.main a {
  text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--blue-dark); border-color: var(--blue); }

.hero {
  background: var(--blue-dark); color: #fff;
  padding: 3rem 0;
}
.hero h1 { margin: 0 0 1rem; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; line-height: 1.25; }
.hero p { margin: 0; max-width: 52rem; font-size: 1.15rem; opacity: .95; }

section { padding: 2.5rem 0; }
section.alt { background: var(--bg-alt); }
h2 { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 600; color: var(--blue-dark); }
h3 { margin: 1.5rem 0 .5rem; font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.15rem; }

figure { margin: 0; }
figure img { border-radius: 4px; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

ul.links { list-style: none; padding: 0; margin: 0; }
ul.links li { padding: .5rem 0; border-bottom: 1px solid var(--rule); }
ul.links li:last-child { border-bottom: 0; }

ol.pubs { padding-left: 1.4rem; }
ol.pubs li { margin-bottom: 1rem; }
ol.pubs .title { font-weight: 600; }
ol.pubs .venue { color: var(--muted); }
.pub-links a { margin-right: .75rem; white-space: nowrap; }

.btn {
  display: inline-block; padding: .55rem 1.1rem; border-radius: 4px;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 500;
}
.btn:hover { background: var(--blue-dark); color: #fff; }

footer.site {
  border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem;
  padding: 1.5rem 0; margin-top: 1rem;
}
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
