<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{PAGE_TITLE}}</title>
<style>
  :root {
    --cream: #F7F2EA;
    --paper: #FFFEFB;
    --ink: #2A2521;
    --body: #514A42;
    --muted: #938A7E;
    --hair: #E6DDCE;
    --hair2: #EFE8DB;
    --sienna: #9A5B3F;
    --sienna-soft: #F0E7D9;
    --sage: #5E6B4F;
    --sage-soft: #E9EDE1;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--cream);
    color: var(--body);
    font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
  }
  h1, h2, h3, h4 {
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.25;
  }
  h2 { font-size: 26px; margin: 0 0 6px; }
  h3 { font-size: 20px; margin: 28px 0 8px; }
  h4 { font-size: 16px; margin: 18px 0 6px; letter-spacing: .2px; }
  p { margin: 0 0 14px; }
  a { color: var(--sienna); }
  ul, ol { padding-left: 22px; }
  li { margin-bottom: 7px; }

  /* Layout */
  .layout {
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Sidebar nav */
  nav.toc {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto;
    width: 248px;
    flex: 0 0 248px;
    padding: 34px 22px 60px;
    border-right: 1px solid var(--hair);
    background: var(--paper);
  }
  nav.toc .kicker {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    font-weight: 700;
  }
  nav.toc .nav-title {
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 18px;
    line-height: 1.3;
  }
  nav.toc a {
    display: block;
    color: var(--body);
    text-decoration: none;
    font-size: 13.5px;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 2px;
  }
  nav.toc a:hover {
    background: var(--sienna-soft);
    color: var(--ink);
  }

  /* Main content */
  main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 56px 120px;
  }

  /* Cover / header */
  .cover {
    padding: 64px 0 36px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 8px;
  }
  .cover .eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sienna);
    font-weight: 700;
    margin-bottom: 14px;
  }
  .cover h1 {
    font-size: 46px;
    margin: 0 0 10px;
    letter-spacing: -.5px;
    font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
    color: var(--ink);
    font-weight: 600;
  }
  .cover .sub {
    font-size: 19px;
    color: var(--muted);
    font-family: Georgia, serif;
    font-style: italic;
  }
  .meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 26px;
    font-size: 13.5px;
    color: var(--body);
  }
  .meta-row b {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 2px;
  }
  .about-note {
    background: var(--sienna-soft);
    border-left: 3px solid var(--sienna);
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    font-size: 14.5px;
    margin: 26px 0 0;
    color: #5e4636;
  }

  /* Sections */
  section {
    padding: 46px 0 8px;
    border-bottom: 1px solid var(--hair);
  }
  .sec-label {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--sienna);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  /* Cards */
  .card {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: 10px;
    padding: 22px 24px;
    margin: 16px 0;
  }

  /* Parameters / lock rows */
  .lockrow {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--hair2);
    font-size: 14px;
  }
  .lockrow:last-child { border-bottom: 0; }
  .lockrow .label {
    flex: 0 0 160px;
    font-weight: 700;
    color: var(--ink);
  }

  /* At-a-glance split */
  .ba {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--hair);
    border-radius: 10px;
    overflow: hidden;
    margin: 16px 0;
  }
  .ba > div { padding: 20px 22px; }
  .ba .now { background: #FBF4F0; }
  .ba .next { background: var(--sage-soft); }
  .ba h4 { margin-top: 0; }
  .ba ul { margin: 0; padding-left: 18px; }
  .ba li { margin-bottom: 7px; font-size: 14px; }

  /* Outcomes list */
  ol.outcomes {
    list-style: none;
    counter-reset: c;
    padding: 0;
    margin: 8px 0;
  }
  ol.outcomes li {
    counter-increment: c;
    position: relative;
    padding: 16px 16px 16px 60px;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: 10px;
    margin-bottom: 12px;
  }
  ol.outcomes li::before {
    content: counter(c);
    position: absolute;
    left: 16px;
    top: 16px;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--sienna);
    width: 34px;
  }

  /* Assessment weighting table */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 13.5px;
  }
  th, td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--hair);
    vertical-align: top;
  }
  th {
    background: var(--sienna-soft);
    color: var(--ink);
    font-size: 11.5px;
    letter-spacing: .6px;
    text-transform: uppercase;
    font-weight: 700;
  }
  tbody tr:hover { background: #FCFAF5; }
  .pct { text-align: right; font-weight: 700; }

  /* Decision point cards */
  .decide-card {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-left: 4px solid var(--sienna);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
  }
  .decide-card h4 { margin: 0 0 6px; }
  .decide-card .rec {
    font-size: 13px;
    color: var(--sage);
    font-weight: 600;
    margin-top: 6px;
  }
  .decide-card .detail {
    font-size: 14px;
    margin-top: 4px;
    color: var(--body);
  }

  /* Timeline */
  .tl {
    list-style: none;
    padding: 0;
    margin: 10px 0;
  }
  .tl li {
    padding: 12px 0 12px 26px;
    border-left: 2px solid var(--hair);
    position: relative;
    margin-left: 8px;
  }
  .tl li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sienna);
  }
  .tl b { color: var(--ink); }

  /* Footer */
  footer {
    padding: 34px 56px 60px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 12.5px;
  }

  /* Print */
  @media print {
    nav.toc { display: none; }
    main { padding: 0 10px; }
    .layout { display: block; }
    a { color: var(--ink); }
  }
</style>
</head>
<body>
<div class="layout">
  <nav class="toc" aria-label="Proposal sections">
    <div class="kicker">Proposal</div>
    <div class="nav-title">{{NAV_COURSE_TITLE}}</div>
    {{SIDEBAR_NAV}}
  </nav>

  <main>
    {{COVER_SECTION}}

    {{PARAMETERS_SECTION}}

    {{AT_A_GLANCE_SECTION}}

    {{OUTCOMES_SECTION}}

    {{ASSESSMENT_SECTION}}

    {{MODULE_MAP_SECTION}}

    {{DECISION_POINTS_SECTION}}

    {{TIMELINE_SECTION}}
  </main>
</div>
<footer>
  {{FOOTER_TEXT}}
</footer>
</body>
</html>
