
:root {
  --bg: #f8f7f3;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #1f2530;
  --muted: #556071;
  --line: rgba(31, 37, 48, 0.12);
  --blue: #4a7ee8;
  --blue-soft: #d9e7ff;
  --gold: #f3c864;
  --gold-soft: #fff1c8;
  --shadow: 0 18px 50px rgba(37, 53, 82, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(74, 126, 232, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(243, 200, 100, 0.2), transparent 26%),
    linear-gradient(180deg, #fcfbf7 0%, #f7f7f5 100%);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.page-shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto 56px; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 32px rgba(28, 36, 52, 0.08);
}
.brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}
.top-nav, .mobile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.top-nav a, .mobile-nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.top-nav a:hover, .mobile-nav a:hover, .top-nav a.active, .mobile-nav a.active {
  background: rgba(74,126,232,0.12);
  color: var(--text);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  border: 0;
  background: rgba(74,126,232,0.1);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 20px;
}
.mobile-nav {
  display: none;
  padding: 12px 8px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  padding: 72px 0 42px;
  align-items: center;
}
.hero-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 800;
  color: #456ebd;
}
.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  box-shadow: 0 0 0 4px rgba(74,126,232,0.12);
}
.prose { font-size: 1.04rem; }
.prose p:first-child { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .28em; }
.prose blockquote {
  margin-left: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: linear-gradient(90deg, rgba(74,126,232,0.07), rgba(255,255,255,0.55));
  border-radius: 0 16px 16px 0;
  font-weight: 600;
}
.prose h3 {
  margin: 1.7em 0 .65em;
  font-size: 1.28rem;
  line-height: 1.25;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
}
.prose table th, .prose table td {
  padding: 14px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose table th {
  background: rgba(74,126,232,0.09);
  font-size: 0.95rem;
}
.prose table tr:last-child td { border-bottom: 0; }
.prose strong { color: #111827; }
.prose .ref a {
  text-decoration: none;
  color: #456ebd;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: linear-gradient(135deg, var(--blue), #6f8df1);
  color: white;
  box-shadow: 0 12px 28px rgba(74,126,232,0.24);
}
.button.secondary {
  background: rgba(255,255,255,0.8);
  color: var(--text);
  border: 1px solid var(--line);
}
.hero-media {
  position: relative;
}
.hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.72);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }


.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.summary-card, .content-section {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.summary-card {
  padding: 20px 20px 22px;
}
.summary-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}
.summary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}







.content-section {
  padding: 30px clamp(20px, 3vw, 34px);
  margin: 24px 0;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.inline-photo {
  margin: 20px 0 24px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.6);
}
.inline-photo img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}
.inline-photo figcaption {
  padding: 12px 16px 14px;
  color: var(--muted);
  font-size: 0.94rem;
}
.sources .source-list p {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line);
}
.sources .source-list a { color: #2f61ce; word-break: break-word; }

@media (max-width: 1024px) {
  .hero, .summary-grid { grid-template-columns: 1fr; }
  .gallery-item.large, 
}

@media (max-width: 860px) {
  .top-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav.open { display: flex; }
  .hero { padding-top: 44px; }
  

@media (max-width: 640px) {
  .page-shell { width: min(calc(100% - 20px), var(--max)); }
  .site-header { padding: 12px 14px; top: 10px; }
  .content-section { padding: 24px 16px; border-radius: 22px; }
  .summary-card { border-radius: 20px; }
  .button { width: 100%; }
  .hero-actions { flex-direction: column; }
  .prose table { display: block; overflow-x: auto; }
}

.sources .source-list ol { padding-left: 1.25em; }
.sources .source-list li { margin-bottom: 12px; }
.sources .source-list li p { margin: 0; }

.gallery-item figcaption { padding: 12px 16px 14px; color: var(--muted); font-size: .92rem; background: rgba(255,255,255,.84); }

.hero-photo figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  background: rgba(255,255,255,0.92);
  font-size: 0.94rem;
}
