@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,700&display=swap');

:root {
  --bg: #f6f6f5;
  --paper: #ffffff;
  --paper-soft: #f2f4f7;
  --ink: #0e1219;
  --muted: #4a5565;
  --line: #d2d8e2;
  --line-strong: #9ca6b5;
  --accent: #0f172a;
  --shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, #ffffff 0%, transparent 33%),
    linear-gradient(to bottom, #f7f7f6 0%, #f5f6f9 100%);
  color: var(--ink);
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  line-height: 1.56;
}

a {
  color: inherit;
  text-decoration: none;
}

.finance-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1rem 2.6rem;
}

.finance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand__logo {
  width: clamp(130px, 19vw, 208px);
  height: auto;
  object-fit: contain;
}

.brand__meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand__name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #111827;
}

.brand__sub {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.action {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.43rem 0.82rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.action:hover,
.action:focus-visible {
  transform: translateY(-1px);
  border-color: #111827;
}

.action--solid {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.action--solid:hover,
.action--solid:focus-visible {
  background: #1f2937;
}

.hero {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(140deg, #ffffff 0%, #f8fafc 58%, #eef3f8 100%);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.5vw, 1.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.76fr);
  gap: 1rem;
}

.hero__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #334155;
}

.hero h1 {
  margin: 0.25rem 0 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero__lead {
  margin: 0.75rem 0 0;
  max-width: 74ch;
  color: #243447;
  font-size: clamp(0.97rem, 1.4vw, 1.06rem);
}

.badges {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #334155;
  padding: 0.26rem 0.62rem;
  font-size: 0.76rem;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(247, 249, 252, 0.88);
  padding: 0.92rem;
}

.hero-panel h2 {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.08rem;
}

.hero-panel dl {
  margin: 0.7rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.52rem;
}

.hero-panel dt {
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 700;
}

.hero-panel dd {
  margin: 0.12rem 0 0;
  color: #111827;
  font-size: 0.9rem;
}

.section {
  margin-top: 1.3rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.48rem;
  margin-bottom: 0.85rem;
}

.section-head h2 {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.22rem, 2vw, 1.5rem);
}

.section-head p {
  margin: 0;
  font-size: 0.83rem;
  color: #475569;
}

.part-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.84rem;
}

.part-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 0.95rem;
  box-shadow: var(--shadow);
}

.part-kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 700;
}

.part-card h3 {
  margin: 0.22rem 0 0;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}

.session-list {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid #d4dae5;
}

.session-list li {
  margin: 0;
  padding: 0 0 0.72rem 0.72rem;
  position: relative;
}

.session-list li::before {
  content: '';
  position: absolute;
  left: -0.39rem;
  top: 0.2rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  border: 1px solid #a0acbd;
  background: #ffffff;
}

.session-title {
  margin: 0;
  font-weight: 600;
  color: #111827;
}

.session-meta {
  margin: 0.18rem 0 0;
  color: #4b5563;
  font-size: 0.88rem;
}

.quick-notes {
  margin-top: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-soft);
  padding: 0.95rem;
}

.quick-notes h3 {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #334155;
}

.quick-notes p {
  margin: 0.55rem 0 0;
  color: #1f2937;
  font-size: 0.93rem;
}

.note-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.84rem;
}

.reading-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 0.95rem;
}

.reading-card h3 {
  margin: 0;
  font-size: 1.03rem;
}

.reading-card ul {
  margin: 0.62rem 0 0;
  padding-left: 1rem;
}

.reading-card li {
  color: #1f2937;
  font-size: 0.9rem;
}

.reading-card li + li {
  margin-top: 0.28rem;
}

.reading-card p {
  margin: 0.52rem 0 0;
  color: #4b5563;
  font-size: 0.9rem;
}

.footer {
  margin-top: 1.3rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #475569;
  font-size: 0.78rem;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .part-grid,
  .reading-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .finance-shell {
    padding-top: 0.75rem;
  }

  .finance-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: 100%;
  }

  .brand__logo {
    width: min(220px, 58vw);
  }

  .header-actions {
    width: 100%;
  }

  .action {
    font-size: 0.67rem;
    padding: 0.39rem 0.66rem;
  }

  .hero {
    border-radius: 18px;
    padding: 0.96rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
