:root {
  --bg: #f2f5f7;
  --surface: #ffffff;
  --text: #102331;
  --muted: #546777;
  --brand: #0c4f67;
  --line: #d8e0e7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Public Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 0%, #e9f1f5 0%, var(--bg) 40%);
  line-height: 1.65;
}
.wrap { width: min(1100px, 92vw); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap, .site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.brand {
  font-family: 'Fraunces', serif;
  text-decoration: none;
  color: #163244;
  font-size: 1.06rem;
}
nav a { color: var(--text); text-decoration: none; font-weight: 600; }
main.wrap { padding: 34px 0 52px; }
.hero {
  background: linear-gradient(130deg, #fff, #f8fbfd);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 14px 28px rgba(18, 42, 67, 0.06);
  margin-bottom: 24px;
}
.hero h1 { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0; }
.eyebrow {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #1f6f8b;
  margin: 0 0 8px;
  font-weight: 700;
}
.hero-actions { margin-top: 16px; }
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.panel h2 { margin-top: 0; font-family: 'Fraunces', serif; }
.latest { margin: 0; padding-left: 20px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(18, 42, 67, 0.05);
}
.card h3 { font-family: 'Fraunces', serif; line-height: 1.3; }
.card h3 a { color: var(--text); text-decoration: none; }
.meta { color: var(--muted); font-size: 0.88rem; }
.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 42px);
  box-shadow: 0 12px 24px rgba(18, 42, 67, 0.06);
}
.post h1, .post h2, .post h3 { font-family: 'Fraunces', serif; line-height: 1.25; }
.post ul, .post ol { padding-left: 22px; }
.post a { color: var(--brand); font-weight: 600; }
.diagram {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  background: #fbfdff;
}
.diagram img { width: 100%; height: auto; display: block; }
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}