:root{
  --bg:#ffffff;
  --text:#111827;
  --muted:#4b5563;
  --border:#e5e7eb;
  --accent:#1f3a8a; /* deep blue */
  --accent2:#0f172a;
  --card:#ffffff;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px;
}

.header{
  padding-top: 42px;
  padding-bottom: 18px;
}

.topline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.badge{
  display:inline-block;
  font-size: 13px;
  padding: 6px 10px;
  border:1px solid var(--border);
  border-radius: 999px;
  background:#fafafa;
  color:var(--accent2);
}

.meta{
  font-size: 13px;
  color: var(--muted);
}

h1{
  font-family: "Source Serif 4", ui-serif, Georgia, serif;
  font-weight: 650;
  font-size: 46px;
  margin: 8px 0 6px;
  letter-spacing: -0.02em;
}

.subtitle{
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
}

.lede{
  font-size: 18px;
  max-width: 78ch;
  margin: 0 0 20px;
}

.cta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 10px;
}

.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--accent2);
  text-decoration:none;
  font-weight:500;
  background:#fff;
}

.btn.primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.section{
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

h2{
  font-family: "Source Serif 4", ui-serif, Georgia, serif;
  font-weight:650;
  letter-spacing:-0.01em;
  margin: 0 0 12px;
  font-size: 28px;
}

h3{
  margin:0 0 10px;
  font-size: 16px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.grid.two{
  grid-template-columns: 1fr;
}

@media (min-width: 860px){
  .grid{ grid-template-columns: 1fr 1fr 1fr; }
  .grid.two{ grid-template-columns: 1fr 1fr; }
}

.card{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px;
  background: var(--card);
}

.card ul{
  margin: 8px 0 0;
  padding-left: 18px;
}

.callout{
  border-left: 4px solid var(--accent);
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  margin-top: 12px;
}

figure{
  margin:0;
}

img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
  border:1px solid var(--border);
}

figcaption{
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.linklike{
  border: none;
  background: none;
  padding: 0;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.hidden{ display:none; }

.params{
  margin-top: 10px;
}

.note{
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.small{
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Author cards */
.author-card{
  padding-top: 16px;
}

.author-header{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.author-photo{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #f8fafc;
}

/* Make sure names don't look like marketing headlines */
.author-header h3{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.role{
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--muted);
}
