/* Clear Alpha Insights — shared styles, institutional navy palette */

:root {
  --navy: #0B1F3A;
  --navy-light: #12294A;
  --navy-border: #2E4568;
  --gold: #C89B3C;
  --gold-dark: #26210F;
  --cream: #F5F0E4;
  --blue-muted: #8FA3C0;
  --text-dark: #0B1F3A;
  --text-body: #3D4750;
  --text-muted: #5F6B7A;
  --text-faint: #8A8F98;
  --bg-page: #FFFFFF;
  --bg-tint: #F2F5F9;
  --bg-section: #F7F7F5;
  --border: #DDE1E6;
  --link: #0C447C;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max-width: 680px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.7;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }

/* ---------- Nav ---------- */

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  background: var(--navy);
}

.site-nav .logo {
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.site-nav .links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-nav .links a {
  color: var(--blue-muted);
  font-size: 13px;
}

.site-nav .subscribe {
  background: var(--gold);
  color: var(--gold-dark);
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

/* ---------- Article shell ---------- */

.article {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.article h1 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 10px;
}

.byline {
  color: var(--text-faint);
  font-size: 12px;
  margin-bottom: 28px;
}

/* Zone 3: key takeaways */

.takeaways {
  background: var(--bg-tint);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 0 24px 32px;
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto;
  margin-right: auto;
}

.takeaways .label {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.takeaways ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.7;
}

.takeaways li { margin-bottom: 4px; }

/* Zone 4: body */

.article h2 {
  font-family: var(--font-sans);
  color: var(--text-dark);
  font-size: 19px;
  font-weight: 600;
  margin: 36px 0 12px;
}

.article p { font-size: 15px; margin: 0 0 16px; }

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 13px;
}

.article th, .article td {
  border: 0.5px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}

.article th {
  background: var(--bg-section);
  color: var(--text-dark);
  font-weight: 600;
}

.article td { color: var(--text-body); }

figure { margin: 20px 0; }

figure img {
  border: 0.5px solid var(--border);
  border-radius: 8px;
}

figcaption {
  color: var(--text-faint);
  font-size: 12px;
  margin-top: 8px;
}

.callout {
  background: var(--bg-tint);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-dark);
  margin: 16px 0;
}

.article ol, .article ul.plain {
  font-size: 15px;
  padding-left: 20px;
  margin: 0 0 16px;
}

.article ol li, .article ul.plain li { margin-bottom: 6px; }

/* Zone 5: author card */

.author-card {
  background: var(--bg-tint);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 32px 0;
}

.author-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.author-card .name {
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.author-card .bio {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Zone 6: disclaimer */

.disclaimer {
  border-top: 0.5px solid var(--border);
  padding-top: 14px;
  margin: 0 0 32px;
}

.disclaimer span {
  color: var(--text-faint);
  font-size: 11px;
}

/* Zone 7: read next */

.read-next {
  background: var(--bg-section);
  padding: 28px 24px 44px;
}

.read-next .inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.read-next h3 {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
}

.read-next .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.read-next .card {
  background: var(--bg-page);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: block;
}

.read-next .card .cat {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.read-next .card .title {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.read-next .card .meta {
  color: var(--text-faint);
  font-size: 12px;
}

/* Footer */

.site-footer {
  background: var(--navy);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer span {
  color: var(--blue-muted);
  font-size: 11px;
}

@media (max-width: 480px) {
  .site-nav .links { display: none; }
  .article h1 { font-size: 24px; }
}
