﻿:root {
      --green: #1f5b45;
      --green-dark: #153f31;
      --green-light: #e9f2ee;
      --gold: #c99a2e;
      --gold-light: #f7f0dc;
      --gold-highlight: #f3d985;
      --contrast: var(--gold-highlight);
      --ink: #1f2933;
      --muted: #5c6773;
      --paper: #ffffff;
      --soft: #f6f8f7;
      --line: #d9e2dd;
      --blue: #2f6eb3;
      --red: #b73d3d;
      --shadow: 0 14px 40px rgba(23, 48, 38, 0.10);
      --radius: 18px;
    }

    * { 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(--ink);
      background: var(--soft);
      line-height: 1.65;
    }
    a { color: var(--blue); }
    .topbar {
      background: var(--green-dark);
      color: #fff;
      font-size: .92rem;
    }
    .topbar-inner, .nav-inner, .container {
      width: min(1180px, calc(100% - 34px));
      margin: 0 auto;
    }
    .topbar-inner {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--ink);
      font-weight: 850;
      line-height: 1.08;
    }
    .brand-logo {
      width: 44px;
      height: 44px;
      object-fit: contain;
      flex: 0 0 auto;
      filter: drop-shadow(0 5px 12px rgba(23,48,38,.16));
    }
    .brand-text { display: block; }
    .brand-subtitle {
      color: var(--green);
      display: block;
      font-size: .82rem;
      letter-spacing: .04em;
      text-transform: uppercase;
      margin-top: 5px;
    }
    .nav-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
    .nav-links a {
      color: var(--ink);
      text-decoration: none;
      font-size: .94rem;
      font-weight: 700;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--green); }
    .menu-btn {
      display: none;
      border: 0;
      background: var(--green-light);
      color: var(--green-dark);
      border-radius: 10px;
      padding: 9px 12px;
      font-weight: 800;
      cursor: pointer;
    }
    .section-subnav-wrap {
      position: sticky;
      top: 72px;
      z-index: 90;
      pointer-events: none;
      height: 0;
    }
    .section-subnav {
      width: min(1080px, calc(100% - 34px));
      margin: 12px auto 0;
      padding: 8px 10px;
      display: flex;
      align-items: center;
      gap: 6px;
      overflow-x: auto;
      background: rgba(255,255,255,.94);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(217,226,221,.95);
      border-radius: 999px;
      box-shadow: 0 10px 30px rgba(23,48,38,.14);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      pointer-events: none;
      transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
      scrollbar-width: none;
    }
    .section-subnav::-webkit-scrollbar { display: none; }
    .section-subnav-wrap.is-visible .section-subnav {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }
    .section-subnav-label {
      flex: 0 0 auto;
      padding: 7px 10px 7px 12px;
      color: var(--muted);
      font-size: .78rem;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: .07em;
    }
    .section-subnav a {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 7px 13px;
      border-radius: 999px;
      color: var(--green-dark);
      text-decoration: none;
      font-size: .87rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .section-subnav a:hover { background: var(--green-light); }
    .section-subnav a.active { background: var(--green); color: #fff; }
    .hero {
      background:
        radial-gradient(circle at 86% 16%, rgba(201,154,46,.24), transparent 27%),
        linear-gradient(135deg, var(--green-dark), var(--green));
      color: #fff;
      padding: 86px 0 76px;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 52px;
      align-items: center;
    }
    .eyebrow, .section-kicker {
      text-transform: uppercase;
      letter-spacing: .11em;
      font-weight: 850;
      font-size: .82rem;
    }
    .eyebrow { color: #f1d88b; }
    h1 {
      font-size: clamp(2.55rem, 6vw, 5rem);
      line-height: 1.02;
      margin: .25rem 0 1rem;
      letter-spacing: -.04em;
    }
    .hero p {
      font-size: 1.15rem;
      max-width: 760px;
      color: rgba(255,255,255,.9);
    }
    .hero-statement {
      max-width: 790px;
      margin: 0 0 1rem;
      color: var(--contrast);
      font-size: clamp(1.45rem, 3vw, 2.35rem);
      line-height: 1.16;
      letter-spacing: -.025em;
    }
    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 28px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 18px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 850;
      border: 1px solid transparent;
      transition: .2s ease;
    }
    .btn-primary { background: var(--gold); color: #172116; }
    .btn-primary:hover { transform: translateY(-2px); background: #d9ac45; }
    .btn-secondary { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
    .btn-secondary:hover { background: rgba(255,255,255,.15); }
    .hero-card {
      background: rgba(255,255,255,.11);
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 24px;
      padding: 28px;
      box-shadow: 0 20px 50px rgba(0,0,0,.14);
    }
    .hero-logo {
      width: min(240px, 72%);
      margin: 0 auto 22px;
      padding: 16px;
      border-radius: 22px;
      background: rgba(255,255,255,.92);
      box-shadow: 0 18px 45px rgba(0,0,0,.18);
    }
    .hero-logo img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
    }
    .hero-card h3 { margin-top: 0; font-size: 1.3rem; }
    .hero-card ul { margin: 0; padding-left: 1.2rem; }
    .hero-card li { margin: .55rem 0; }
    section { padding: 76px 0; scroll-margin-top: 136px; }
    section.alt { background: #fff; }
    .section-kicker { color: var(--green); }
    h2 {
      font-size: clamp(2rem, 4vw, 3.15rem);
      line-height: 1.08;
      margin: .35rem 0 1rem;
      letter-spacing: -.035em;
    }
    h3 { line-height: 1.25; }
    .lead {
      max-width: 900px;
      font-size: 1.12rem;
      color: var(--muted);
    }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 34px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
    .card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
    }
    .alt .card { background: var(--soft); box-shadow: none; }
    .card h3 { margin-top: 0; color: var(--green-dark); }
    .quote-card { border-left: 6px solid var(--gold); }
    .educator-card {
      display: grid;
      grid-template-columns: 188px 1fr;
      gap: 24px;
      align-items: start;
    }
    .educator-portrait {
      width: 188px;
      aspect-ratio: 1;
      border-radius: 18px;
      overflow: hidden;
      background: var(--green-light);
      border: 1px solid var(--line);
      box-shadow: 0 12px 30px rgba(23,48,38,.12);
    }
    .educator-portrait img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }
    .educator-kicker {
      margin: 0 0 6px;
      color: var(--green);
      font-size: .78rem;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .callout {
      margin-top: 34px;
      padding: 26px 28px;
      background: linear-gradient(120deg, var(--green-dark), var(--green));
      color: #fff;
      border-radius: 20px;
    }
    .callout h3 { margin-top: 0; }
    .unit-card { border-top: 5px solid var(--green); display: flex; flex-direction: column; }
    .unit-card .tag {
      display: inline-flex;
      width: max-content;
      padding: 5px 10px;
      border-radius: 999px;
      font-size: .76rem;
      font-weight: 850;
      color: #73580d;
      background: var(--gold-light);
      text-transform: uppercase;
      letter-spacing: .04em;
      margin-bottom: 10px;
    }
    .unit-card ul, .journal-list, .compact-list { padding-left: 1.2rem; margin-bottom: 0; }
    .unit-card li, .journal-list li, .compact-list li { margin: .45rem 0; }
    .resource { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
    .resource > div:last-child { flex: 1; }
    .resource h3 { margin: 0 0 8px; }
    .resource p { margin: .35rem 0 .8rem; color: var(--muted); }
    .resource-badge {
      min-width: 52px;
      height: 52px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: var(--gold-light);
      color: #77580d;
      font-weight: 900;
    }
    .resource-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
    .resource-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 9px 13px;
      border-radius: 10px;
      background: var(--green);
      color: #fff !important;
      font-weight: 850;
      font-size: .9rem;
      text-decoration: none;
      border: 1px solid var(--green);
    }
    .resource-btn:hover { background: var(--green-dark); }
    .resource-btn.secondary { background: #fff; color: var(--green-dark) !important; border-color: var(--line); }
    .resource-btn.secondary:hover { background: var(--gold-light); border-color: #dbc066; }
    .wide { grid-column: 1 / -1; }
    .practice-card { border-left: 5px solid var(--green); }
    .practice-card:nth-child(2) { border-left-color: var(--gold); }
    .practice-card:nth-child(3) { border-left-color: var(--blue); }
    .practice-card:nth-child(4) { border-left-color: var(--red); }
    .step {
      display: grid;
      grid-template-columns: 52px 1fr;
      gap: 15px;
      align-items: start;
    }
    .step-num {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: var(--green);
      color: #fff;
      font-weight: 900;
      font-size: 1.1rem;
    }
    .step h3 { margin: .1rem 0 .25rem; }
    .step p { margin: 0; color: var(--muted); }
    .journal-shell {
      margin-top: 30px;
      border: 1px solid var(--line);
      border-radius: 20px;
      overflow: hidden;
      background: #fff;
      box-shadow: var(--shadow);
    }
    .journal-head {
      padding: 24px 28px;
      background: linear-gradient(120deg, var(--green-dark), var(--green));
      color: #fff;
    }
    .journal-head h3 { margin: 0 0 6px; }
    .journal-head p { margin: 0; color: rgba(255,255,255,.88); }
    .journal-body { padding: 26px 28px 30px; }
    .journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
    .note {
      background: var(--gold-light);
      border: 1px solid #ead8a3;
      border-radius: 14px;
      padding: 16px 18px;
      color: #5e4610;
    }
    .exam-callout {
      margin-top: 28px;
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 22px;
      align-items: center;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 24px;
      box-shadow: var(--shadow);
    }
    .exam-date-badge {
      min-height: 150px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      text-align: center;
      background: linear-gradient(135deg, var(--green-dark), var(--green));
      color: #fff;
      padding: 18px;
    }
    .exam-date-badge strong {
      display: block;
      font-size: 2.2rem;
      line-height: 1;
      margin: 4px 0;
      color: #f3d985;
    }
    .exam-date-badge span {
      display: block;
      font-size: .78rem;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .exam-callout h3 { margin: 0 0 8px; color: var(--green-dark); }
    .exam-callout p { margin: .25rem 0; color: var(--muted); }
    .exam-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 14px;
    }
    .exam-meta span {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 6px 11px;
      border-radius: 999px;
      background: var(--gold-light);
      color: #73580d;
      font-size: .86rem;
      font-weight: 850;
    }
    .exam-source-link {
      display: inline-flex;
      margin-top: 14px;
      color: var(--green-dark);
      font-weight: 850;
    }
    .code-window {
      margin-top: 22px;
      background: #17261f;
      color: #dfe9e4;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 16px 40px rgba(23, 38, 31, .18);
      border: 1px solid rgba(255,255,255,.08);
    }
    .code-window-bar {
      display: flex;
      gap: 8px;
      align-items: center;
      min-height: 38px;
      padding: 0 14px;
      background: rgba(0,0,0,.18);
    }
    .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
    .dot:nth-child(2) { background: #78b991; }
    .dot:nth-child(3) { background: #7aa7d8; }
    pre {
      margin: 0;
      padding: 20px;
      overflow-x: auto;
      font: 500 .95rem/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    }
    footer { background: #17261f; color: #dfe9e4; padding: 42px 0; }
    footer a { color: #f3d985; }
    .footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; }
    .small { font-size: .9rem; color: #b9c8c1; }
    .back-top {
      position: fixed;
      right: 20px;
      bottom: 20px;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 0;
      display: none;
      place-items: center;
      cursor: pointer;
      background: var(--gold);
      color: #172116;
      font-size: 1.2rem;
      font-weight: 900;
      box-shadow: var(--shadow);
    }
    .back-top.show { display: grid; }
    @media (max-width: 980px) {
      .hero-grid, .grid-2, .journal-grid, .footer-grid { grid-template-columns: 1fr; }
      .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
      .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 18px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
      }
      .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; }
      .menu-btn { display: block; }
      .section-subnav { width: calc(100% - 20px); border-radius: 16px; }
      .section-subnav-label { display: none; }
    }
    @media (max-width: 640px) {
      .topbar-inner { align-items: flex-start; flex-direction: column; padding: 8px 0; gap: 2px; }
      .nav-inner { min-height: 64px; }
      .brand { max-width: 72%; font-size: .98rem; }
      .brand-logo { width: 38px; height: 38px; }
      .brand-subtitle { font-size: .7rem; }
      .nav-links { top: 64px; }
      .hero { padding: 62px 0 58px; }
      section { padding: 58px 0; scroll-margin-top: 132px; }
      .grid-3, .grid-4 { grid-template-columns: 1fr; }
      .educator-card { grid-template-columns: 1fr; }
      .educator-portrait { width: min(210px, 100%); }
      .exam-callout { grid-template-columns: 1fr; }
      .exam-date-badge { min-height: 118px; }
      .resource { flex-direction: column; }
    }

