:root {
  --bg: #f4f1ea;
  --paper: #fffdf8;
  --paper-2: #f9f4ea;
  --ink: #1e2528;
  --muted: #667074;
  --line: #ddd2c0;
  --accent: #315c63;
  --accent-2: #bb6b3d;
  --accent-soft: #e6f0ee;
  --warning-soft: #f8eadf;
  --green-soft: #eaf3df;
  --blue-soft: #e9eef8;
  --shadow: 0 28px 80px rgba(42, 36, 28, .14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(187, 107, 61, .12), transparent 38rem),
    radial-gradient(circle at 85% 10%, rgba(49, 92, 99, .14), transparent 32rem),
    linear-gradient(180deg, #f8f4ed 0%, var(--bg) 52%, #eee7db 100%);
  padding: 48px 22px;
}

a { color: inherit; }

.page {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.digest-shell, .hub-shell {
  background: rgba(255, 253, 248, .9);
  border: 1px solid rgba(221, 210, 192, .8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(49, 92, 99, .16);
  border-radius: 999px;
  background: rgba(255, 253, 248, .68);
  color: #36575d;
  text-decoration: none;
}

.nav-link:hover { border-color: rgba(49,92,99,.38); background: var(--accent-soft); }

header.hero, header.digest-header {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 28px;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(49, 92, 99, .98), rgba(30, 37, 40, .96)),
    var(--accent);
  color: #fffdf8;
}

header.hero::after, header.digest-header::after {
  content: "";
  position: absolute;
  inset: auto 44px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: rgba(255, 253, 248, .84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f1ba83;
  box-shadow: 0 0 0 5px rgba(241, 186, 131, .14);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 68px);
  line-height: .93;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, .74);
  font-size: 17px;
}

.meta-card {
  align-self: end;
  justify-self: end;
  width: min(310px, 100%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
}

.meta-label {
  color: rgba(255,253,248,.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.meta-value {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -.02em;
}

.meta-note {
  margin-top: 12px;
  color: rgba(255,253,248,.7);
  font-size: 13px;
}

main.digest-main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--paper);
}

aside {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-2), rgba(249, 244, 234, .4));
}

.summary-card {
  position: sticky;
  top: 24px;
}

.summary-title, .section-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.summary-title { margin: 0 0 16px; }

.stat {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.stat:last-of-type { border-bottom: 1px solid var(--line); }
.stat span:first-child { color: var(--muted); font-size: 14px; }
.stat span:last-child { color: var(--ink); font-weight: 800; }

.guidance {
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #fffaf1;
  border: 1px solid var(--line);
  color: #5f4a39;
  font-size: 14px;
}

.content { padding: 34px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.item-list, .brief-grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.digest-item, .brief-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffdf8;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.brief-card {
  grid-template-columns: 1fr;
  color: inherit;
  text-decoration: none;
}

.digest-item:hover, .brief-card:hover {
  transform: translateY(-2px);
  border-color: rgba(49,92,99,.38);
  box-shadow: 0 18px 34px rgba(42, 36, 28, .08);
}

.item-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.digest-item.priority .item-index { background: var(--warning-soft); color: var(--accent-2); }
.digest-item.green .item-index { background: var(--green-soft); color: #50702f; }
.digest-item.blue .item-index { background: var(--blue-soft); color: #405f92; }

.item-kicker, .card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.item-kicker::before, .card-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.item-copy, .card-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(49, 92, 99, .16);
  border-radius: 999px;
  background: rgba(230, 240, 238, .55);
  color: #36575d;
  font-size: 12px;
  font-weight: 750;
}

.hub-content {
  padding: 34px;
  background: var(--paper);
}

.brief-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.card-arrow {
  color: var(--accent-2);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}

.footer-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #1e2528;
  color: rgba(255,253,248,.78);
  font-size: 14px;
}

.footer-note strong { color: #fffdf8; }

@media (max-width: 840px) {
  body { padding: 20px 12px; }
  header.hero, header.digest-header { grid-template-columns: 1fr; padding: 30px 24px; }
  .meta-card { justify-self: stretch; }
  main.digest-main { grid-template-columns: 1fr; }
  aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .summary-card { position: static; }
  .content, .hub-content { padding: 24px 18px; }
  .digest-item { grid-template-columns: 1fr; }
  .brief-grid { grid-template-columns: 1fr; }
}

@media print {
  body { background: #fff; padding: 0; }
  .digest-shell, .hub-shell { box-shadow: none; border-radius: 0; }
  .digest-item:hover, .brief-card:hover { transform: none; box-shadow: none; }
  .site-nav { display: none; }
}
