    :root {
      --green: #4fc431;
      --green-dark: #3aad1f;
      --green-soft: rgba(79,196,49,0.08);
      --amber: #f59e0b;
      --amber-soft: rgba(245,158,11,0.1);
      --blue: #3b82f6;
      --blue-soft: rgba(59,130,246,0.1);
      --bg: #0f1620;
      --bg2: #18202e;
      --bg3: #222c3c;
      --text: #e8edf4;
      --text-muted: #8fa0b8;
      --border: #2a3547;
      --white: #ffffff;
      --radius: 16px;
      --mono: 'JetBrains Mono', monospace;
      --sans: 'DM Sans', sans-serif;
    }

    [data-theme="light"] {
      --bg: #dde4ef;
      --bg2: #eaf0f8;
      --bg3: #d0d9e8;
      --text: #0f1a2e;
      --text-muted: #3d5070;
      --border: #b0bdd0;
      --green: #2d8a14;
      --green-dark: #1f6b0d;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      font-family: var(--sans);
      background: var(--bg);
      color: var(--text);
      transition: background 0.3s, color 0.3s;
      line-height: 1.7;
      font-size: 16px;
    }

    /* ── NAV ─────────────────────────────────────────── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(22,27,34,0.9);
      border-bottom: 1px solid var(--border);
      padding: 0 32px;
      display: flex;
      align-items: center;
      height: 64px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    [data-theme="light"] nav { background: rgba(255,255,255,0.9); }

    /* Hero always dark — force ALL text inside it to stay light in light mode */
    [data-theme="light"] #home h1,
    [data-theme="light"] #home h1 span,
    [data-theme="light"] #home .hero-label,
    [data-theme="light"] #home .hero-sub,
    [data-theme="light"] #home .hero-photo-name {
      color: unset;
    }
    [data-theme="light"] #home h1           { color: #ffffff !important; }
    [data-theme="light"] #home h1 span      { color: #4fc431 !important; }
    [data-theme="light"] #home .hero-label  { color: #4fc431 !important; }
    [data-theme="light"] #home .hero-sub    { color: #a8bdd4 !important; }
    [data-theme="light"] #home .hero-photo-name { color: #8fa0b8 !important; }
    [data-theme="light"] #home .tag         { color: #a8bdd4 !important; border-color: rgba(168,189,212,0.35) !important; }
    [data-theme="light"] #home .tag.green   { color: #4fc431 !important; border-color: rgba(79,196,49,0.5) !important; }
    [data-theme="light"] #home .btn-secondary { color: #cbd8e8 !important; border-color: rgba(203,216,232,0.4) !important; }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .nav-logo img { height: 36px; width: auto; }

    .nav-brand {
      font-family: var(--mono);
      font-size: 0.82rem;
      color: var(--green);
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .nav-links {
      display: flex;
      gap: 4px;
      margin-left: auto;
      align-items: center;
    }

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      padding: 8px 14px;
      border-radius: 8px;
      transition: color 0.2s, background 0.2s;
    }

    .nav-links a:hover { color: var(--text); background: var(--bg3); }

    /* ── DROPDOWN ── */
    .nav-dropdown {
      position: relative;
    }

    .nav-dropdown > a {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .nav-dropdown > a::after {
      content: '▾';
      font-size: 0.7rem;
      opacity: 0.6;
      transition: transform 0.2s;
    }

    .nav-dropdown:hover > a::after {
      transform: rotate(180deg);
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 230px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
      overflow: hidden;
      z-index: 200;
      padding-top: 8px;
      /* long menus (Resources) scroll rather than running off the bottom of the screen */
      max-height: calc(100vh - 80px);
      overflow-y: auto;
    }

    .nav-dropdown:hover .dropdown-menu {
      display: block;
    }

    .dropdown-menu a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 11px 16px;
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.83rem;
      font-weight: 500;
      border-radius: 0;
      transition: background 0.15s, color 0.15s;
      border-bottom: 1px solid var(--border);
    }

    .dropdown-menu a:last-child { border-bottom: none; }

    .dropdown-menu a:hover {
      background: var(--bg3);
      color: var(--green);
    }

    .dropdown-menu a::before {
      content: '▸';
      color: var(--green);
      font-size: 0.7rem;
      flex-shrink: 0;
    }

    /* Resources: categories, each opening a sub-menu (flyout) of its resources */
    .nav-dropdown:focus-within .dropdown-menu { display: block; }
    .nav-dropdown-grouped .dropdown-menu { overflow: visible; max-height: none; }
    .dd-group { position: relative; border-bottom: 1px solid var(--border); }
    .dd-group:last-child { border-bottom: none; }
    .dd-group-label {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 11px 16px;
      color: var(--text-muted);
      font-size: 0.83rem;
      font-weight: 500;
      cursor: default;
      white-space: nowrap;
      outline: none;
      transition: background 0.15s, color 0.15s;
    }
    .dd-group-label::after {
      content: '▸';
      margin-left: auto;
      padding-left: 16px;
      color: var(--green);
      font-size: 0.7rem;
    }
    .dd-group:last-child .dd-group-label { border-radius: 0 0 var(--radius) var(--radius); }
    .dd-group:hover > .dd-group-label,
    .dd-group:focus-within > .dd-group-label { background: var(--bg3); color: var(--green); }
    .dd-flyout {
      display: none;
      position: absolute;
      top: -1px;
      left: 100%;
      min-width: 240px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
      overflow: hidden;
      max-height: calc(100vh - 120px);
      overflow-y: auto;
      z-index: 210;
    }
    .dd-group.flip > .dd-flyout { left: auto; right: 100%; }
    .dd-group:hover > .dd-flyout,
    .dd-group:focus-within > .dd-flyout { display: block; }

    .nav-cta {
      background: #4fc431 !important;
      color: #000 !important;
      font-weight: 600 !important;
    }

    .nav-cta:hover {
      background: #3aad1f !important;
      color: #000 !important;
    }

    .theme-btn {
      background: var(--bg3);
      border: 1px solid var(--border);
      color: var(--text-muted);
      cursor: pointer;
      padding: 6px 10px;
      border-radius: 8px;
      font-size: 0.85rem;
      transition: 0.2s;
      margin-left: 8px;
      line-height: 1;
    }

    .theme-btn:hover { color: var(--text); }

    /* ── HERO ─────────────────────────────────────────── */
    #home {
      position: relative;
      min-height: 88vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: #0d1117;
    }

    .hero-code-bg {
      position: absolute;
      inset: 0;
      font-family: var(--mono);
      font-size: 13px;
      line-height: 1.7;
      color: #fff;
      opacity: 0.04;
      padding: 40px 48px;
      white-space: pre;
      overflow: hidden;
      pointer-events: none;
      user-select: none;
    }

    .hero-glow {
      position: absolute;
      top: -120px;
      right: -80px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(79,196,49,0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-container {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
      padding: 100px 32px;
      display: flex;
      align-items: center;
      gap: 64px;
    }

    .hero-content {
      flex: 1;
      min-width: 0;
    }

    .hero-photo-wrap {
      flex-shrink: 0;
      margin-left: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }

    .hero-photo {
      width: 240px;
      height: 240px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--green);
      box-shadow: 0 0 0 6px rgba(79,196,49,0.15), 0 24px 48px rgba(0,0,0,0.4);
      display: block;
    }

    .hero-photo-name {
      color: #8b949e;
      font-size: 0.95rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      text-align: center;
    }

    .hero-photo-placeholder {
      width: 240px;
      height: 240px;
      border-radius: 50%;
      border: 3px dashed rgba(79,196,49,0.4);
      background: rgba(79,196,49,0.05);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-family: var(--mono);
      text-align: center;
      padding: 20px;
    }

    .hero-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-size: 0.78rem;
      color: var(--green);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 28px;
    }

    .hero-label::before {
      content: '';
      display: block;
      width: 8px;
      height: 8px;
      background: #4fc431;
      border-radius: 50%;
      animation: pulse 2.2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.35; transform: scale(1.4); }
    }

    .hero h1 {
      font-family: var(--mono);
      font-size: clamp(2rem, 5vw, 3.6rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.12;
      letter-spacing: -0.03em;
      margin-bottom: 28px;
    }

    #home .hero h1 span { color: #4fc431; }
    #home .hero-label        { color: #4fc431; }
    #home .hero-label::before { background: #4fc431; }
    #home .hero h1           { color: #ffffff !important; }
    #home .hero-sub          { color: #a8bdd4; }
    #home .tag               { color: #a8bdd4; border-color: rgba(168,189,212,0.35); background: rgba(255,255,255,0.04); }
    #home .tag.green         { color: #4fc431; border-color: rgba(79,196,49,0.5); background: rgba(79,196,49,0.09); }
    #home .btn-secondary     { color: #cbd8e8; border-color: rgba(203,216,232,0.4); }
    #home .btn-secondary:hover { color: #4fc431; border-color: #4fc431; }
    #home .hero-photo-name   { color: #8fa0b8; }

    .hero-sub {
      font-size: 1.1rem;
      color: #8b949e;
      margin-bottom: 36px;
      max-width: 540px;
      font-weight: 300;
      line-height: 1.75;
    }

    .hero-tags {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .tag {
      font-family: var(--mono);
      font-size: 0.73rem;
      padding: 6px 14px;
      border-radius: 100px;
      border: 1px solid var(--border);
      color: var(--text-muted);
      background: rgba(255,255,255,0.03);
    }

    .tag.green {
      border-color: rgba(79,196,49,0.5);
      color: var(--green);
      background: rgba(79,196,49,0.09);
    }

    .hero-btns {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: #4fc431;
      color: #000;
      padding: 14px 28px;
      border-radius: var(--radius);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      transition: 0.2s;
      border: none;
      cursor: pointer;
      display: inline-block;
    }

    .btn-primary:hover {
      background: #3aad1f;
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: transparent;
      color: var(--text);
      padding: 14px 28px;
      border-radius: var(--radius);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: 0.2s;
      border: 1px solid var(--border);
      display: inline-block;
    }

    .btn-secondary:hover {
      border-color: var(--green);
      color: var(--green);
    }

    /* ── KEY STAGES STRIP ─────────────────────────────── */
    #stages {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .stages-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 32px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }

    .stage-item {
      padding: 48px 32px;
      border-right: 1px solid var(--border);
    }

    .stage-item:last-child { border-right: none; }

    .stage-ks {
      font-family: var(--mono);
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--green);
      line-height: 1;
      margin-bottom: 8px;
    }

    .stage-name {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--text);
    }

    .stage-desc {
      font-size: 0.855rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ── SHARED SECTION WRAPPER ───────────────────────── */
    .section-wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 80px 32px;
    }

    .section-label {
      font-family: var(--mono);
      font-size: 0.73rem;
      color: var(--green);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 12px;
    }

    .section-title {
      font-size: clamp(1.6rem, 3vw, 2.1rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
      color: var(--text);
    }

    .section-lead {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 600px;
      margin-bottom: 48px;
      font-weight: 300;
      line-height: 1.8;
    }

    .divider {
      border: none;
      border-top: 1px solid var(--border);
      max-width: 1100px;
      margin: 0 auto;
    }

    /* ── ABOUT ────────────────────────────────────────── */
    .about-header {
      margin-bottom: 40px;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: start;
    }

    .about-col {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .cred-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 32px;
    }

    .cred-card h4 {
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--green);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 18px;
    }

    .bullet-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .bullet-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 0.925rem;
      line-height: 1.65;
      color: var(--text);
    }

    .bullet-list li::before {
      content: '▸';
      color: var(--green);
      flex-shrink: 0;
      margin-top: 1px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(79,196,49,0.1);
      border: 1px solid rgba(79,196,49,0.3);
      color: var(--green);
      font-size: 0.8rem;
      font-weight: 600;
      padding: 7px 16px;
      border-radius: 100px;
      margin-top: 16px;
      font-family: var(--mono);
    }

    /* ── HOW IT WORKS ─────────────────────────────────── */
    #how-it-works {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      counter-reset: steps;
    }

    .step-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px 28px;
      position: relative;
      counter-increment: steps;
    }

    .step-card::before {
      content: counter(steps);
      display: block;
      font-family: var(--mono);
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--green);
      opacity: 0.65;
      line-height: 1;
      margin-bottom: 16px;
    }

    .step-card h4 {
      font-size: 1rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 10px;
    }

    .step-card p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* accent card colours */
    .cred-card.amber {
      border-color: rgba(245,158,11,0.35);
      background: linear-gradient(135deg, var(--bg2) 0%, rgba(245,158,11,0.04) 100%);
    }

    .cred-card.amber h4 { color: var(--amber); }

    .cred-card.blue {
      border-color: rgba(59,130,246,0.35);
      background: linear-gradient(135deg, var(--bg2) 0%, rgba(59,130,246,0.04) 100%);
    }

    .cred-card.blue h4 { color: var(--blue); }

    /* pricing badge */
    .price-highlight {
      display: flex;
      align-items: baseline;
      gap: 6px;
      margin: 12px 0 4px;
    }

    .price-highlight .price-amount {
      font-family: var(--mono);
      font-size: 2rem;
      font-weight: 700;
      color: var(--green);
    }

    .price-highlight .price-unit {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    /* ── COURSES ──────────────────────────────────────── */
    #courses { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

    .courses-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-bottom: 24px;
    }

    .course-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      transition: border-color 0.25s, transform 0.25s;
      position: relative;
      overflow: hidden;
    }

    .course-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: #4fc431;
    }

    .course-card:hover {
      border-color: rgba(79,196,49,0.5);
      transform: translateY(-4px);
    }

    .course-board {
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--green);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 6px;
    }

    .course-card h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 20px;
      color: var(--text);
    }

    .course-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .course-list li {
      font-size: 0.87rem;
      color: var(--text-muted);
      display: flex;
      gap: 10px;
      align-items: flex-start;
      line-height: 1.5;
    }

    .course-list li::before {
      content: '→';
      color: var(--green);
      flex-shrink: 0;
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
    }

    .pill {
      font-family: var(--mono);
      font-size: 0.78rem;
      padding: 7px 14px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--text-muted);
    }

    #courses .pill { background: var(--bg); }

    /* ── CONTACT ──────────────────────────────────────── */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 80px;
      align-items: start;
    }

    .contact-info .section-title { margin-bottom: 14px; }

    .contact-info p {
      color: var(--text-muted);
      font-size: 0.93rem;
      line-height: 1.8;
      margin-bottom: 32px;
      font-weight: 300;
    }

    .contact-detail {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      font-size: 0.875rem;
      margin-bottom: 14px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .contact-detail strong {
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--green);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      flex-shrink: 0;
      padding-top: 2px;
    }

    /* Form */
    .form-group { display: flex; flex-direction: column; gap: 16px; }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .field { display: flex; flex-direction: column; gap: 6px; }

    .field label {
      font-size: 0.78rem;
      font-weight: 500;
      color: var(--text-muted);
      letter-spacing: 0.03em;
    }

    .field input,
    .field textarea,
    .field select {
      background: var(--bg2);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 0.9rem;
      font-family: var(--sans);
      transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
    }

    .field input::placeholder,
    .field textarea::placeholder { color: var(--text-muted); opacity: 0.6; }

    .field input:focus,
    .field textarea:focus,
    .field select:focus {
      border-color: var(--green);
      box-shadow: 0 0 0 3px rgba(79,196,49,0.14);
    }

    .field textarea { resize: vertical; min-height: 120px; }

    .field select option { background: var(--bg2); }

    .submit-btn {
      width: 100%;
      padding: 14px;
      background: #4fc431;
      color: #000;
      border: none;
      border-radius: 10px;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: 0.2s;
      font-family: var(--sans);
    }

    .submit-btn:hover {
      background: #3aad1f;
      transform: translateY(-2px);
    }

    /* Contact tabs: booking / message */
    .contact-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      padding: 6px;
      margin-bottom: 24px;
      background: var(--bg2);
      border-radius: 12px;
    }
    .contact-tabs[hidden],
    .contact-panel[hidden] { display: none; }
    .contact-tab {
      padding: 11px 14px;
      border: none;
      border-radius: 8px;
      background: transparent;
      color: var(--text-muted);
      font-family: var(--sans);
      font-size: 0.88rem;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .contact-tab:hover { color: var(--text); }
    .contact-tab[aria-selected="true"] { background: var(--green); color: #000; font-weight: 600; }
    .contact-tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
    .contact-panel + .contact-panel { margin-top: 32px; }
    .contact-tabs:not([hidden]) ~ .contact-panel + .contact-panel { margin-top: 0; }

    .booking-panel {
      background: var(--bg2);
      border-radius: 14px;
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .booking-title { font-size: 1.2rem; font-weight: 600; color: var(--text); }
    .booking-lead { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; font-weight: 300; }
    .booking-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .booking-points li {
      position: relative;
      padding-left: 22px;
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.5;
    }
    .booking-points li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.55em;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
    }
    .booking-points strong { color: var(--text); font-weight: 600; }
    .booking-btn { display: block; text-align: center; text-decoration: none; }

    /* ── FOOTER ───────────────────────────────────────── */
    footer {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 36px 32px;
      text-align: center;
    }

    footer p {
      font-family: var(--mono);
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    footer span { color: var(--green); }

    /* ── RESPONSIVE ───────────────────────────────────── */
    @media (max-width: 800px) {
      .stages-inner { grid-template-columns: 1fr; }
      .steps-grid { grid-template-columns: 1fr; }
      .stage-item { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 24px; }
      .stage-item:last-child { border-bottom: none; }
      .about-grid { grid-template-columns: 1fr; }
      .courses-grid { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; gap: 40px; }
      .form-row { grid-template-columns: 1fr; }
      .hero-container { padding: 60px 20px; flex-direction: column-reverse; gap: 32px; }
      .hero-photo, .hero-photo-placeholder { width: 160px; height: 160px; }
      nav { padding: 0 20px; gap: 12px; }
      .nav-brand { display: none; }
      .nav-links a:not(.nav-cta) { display: none; }
      .nav-links .nav-dropdown { display: none; }
    }

    /* ── PHONE MENU (hamburger) ── */
    .nav-mobile { display: none; }
    @media (max-width: 800px) {
      .nav-mobile { display: block; }
      .nav-mobile > summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid var(--border);
        background: var(--bg3);
        color: var(--text);
      }
      .nav-mobile summary::-webkit-details-marker { display: none; }
      .nav-mobile[open] > summary { border-color: var(--green); color: var(--green); }
      .nav-mobile-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        background: var(--bg2);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,0.35);
        padding: 8px 20px 16px;
      }
      .nav-mobile-panel a,
      .nav-mobile-panel details > summary {
        display: block;
        padding: 12px 4px;
        color: var(--text);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        border-bottom: 1px solid var(--border);
      }
      .nav-mobile-panel details > summary { cursor: pointer; list-style: none; }
      .nav-mobile-panel details > summary::after { content: '▾'; float: right; opacity: 0.6; transition: transform 0.2s; }
      .nav-mobile-panel details[open] > summary::after { transform: rotate(180deg); }
      .nav-mobile-panel details > a { padding-left: 18px; color: var(--text-muted); font-size: 0.9rem; }
      .nav-mobile-panel a:hover, .nav-mobile-panel a:active { color: var(--green); }
      .nav-mobile-panel a strong { color: var(--text); font-weight: 600; }
      .nav-mobile-panel .nav-mobile-sub > summary { padding-left: 18px; color: var(--text-muted); font-size: 0.9rem; }
      .nav-mobile-panel .nav-mobile-sub > a { padding-left: 34px; }
    }

    /* ── SEO ADDITIONS (landing pages, testimonials, FAQ, footer) ── */
    .dropdown-menu a strong { color: var(--text); font-weight: 600; }
    .page-hero { position: relative; overflow: hidden; background: #0d1117; border-bottom: 1px solid var(--border); }
    .page-hero-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 64px 32px 72px;
      display: grid; grid-template-columns: 1.65fr 1fr; gap: 56px; align-items: center; }
    nav.crumbs { position: static; height: auto; background: none; border: 0; padding: 0; display: block; backdrop-filter: none; -webkit-backdrop-filter: none; z-index: auto; }
    .crumbs { font-family: var(--mono); font-size: 0.74rem; color: #8fa0b8; margin-bottom: 26px; }
    .crumbs a { color: #8fa0b8; text-decoration: none; }
    .crumbs a:hover { color: #4fc431; }
    .crumbs span { opacity: 0.5; margin: 0 8px; }
    .page-hero .hero-label { color: #4fc431; }
    .page-hero h1 { font-family: var(--mono); font-size: clamp(1.85rem, 4.2vw, 3rem); font-weight: 700; color: #fff;
      line-height: 1.14; letter-spacing: -0.03em; margin-bottom: 24px; }
    .page-hero h1 span { color: #4fc431; }
    .page-hero .hero-sub { color: #a8bdd4; max-width: 600px; }
    .page-hero .tag { color: #a8bdd4; border-color: rgba(168,189,212,0.35); background: rgba(255,255,255,0.04); }
    .page-hero .tag.green { color: #4fc431; border-color: rgba(79,196,49,0.5); background: rgba(79,196,49,0.09); }
    .page-hero .btn-secondary { color: #cbd8e8; border-color: rgba(203,216,232,0.4); }
    .page-hero .btn-secondary:hover { color: #4fc431; border-color: #4fc431; }
    .facts-card { background: rgba(255,255,255,0.035); border: 1px solid rgba(168,189,212,0.22); border-radius: var(--radius); padding: 28px 30px; }
    .facts-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid #4fc431; display: block; margin-bottom: 14px; }
    .facts-card .fc-name { color: #fff; font-weight: 600; }
    .facts-card .fc-role { color: #8fa0b8; font-size: 0.85rem; margin-bottom: 18px; }
    .facts-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 0.88rem; }
    .facts-card dt { font-family: var(--mono); font-size: 0.68rem; color: #4fc431; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 3px; }
    .facts-card dd { color: #cbd8e8; }
    .alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .alt .cred-card, .alt .step-card { background: var(--bg); }
    .prose p { color: var(--text-muted); max-width: 760px; margin-bottom: 16px; font-size: 0.98rem; }
    .prose p strong { color: var(--text); font-weight: 600; }
    .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg2); }
    table.exam { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
    table.exam th { text-align: left; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em;
      color: var(--green); background: var(--bg3); padding: 14px 18px; }
    table.exam td { padding: 18px; border-top: 1px solid var(--border); vertical-align: top; color: var(--text-muted); line-height: 1.6; }
    table.exam td:first-child { color: var(--text); font-weight: 600; min-width: 200px; }
    table.exam td.num { font-family: var(--mono); color: var(--text); white-space: nowrap; }
    .table-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }
    .topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .topic-grid .cred-card { padding: 26px 26px; }
    .topic-grid .cred-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
    .two-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .two-grid .cred-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
    .callout { border: 1px solid rgba(245,158,11,0.4); background: rgba(245,158,11,0.06); border-radius: var(--radius); padding: 24px 28px; margin-top: 28px; }
    .callout h3 { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 10px; }
    .callout p { color: var(--text-muted); font-size: 0.93rem; }
    .quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .quote-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; position: relative; }
    .testimonials:not(.alt) .quote-card { background: var(--bg2); }
    .quote-card::before { content: '\201C'; position: absolute; top: 10px; right: 22px; font-size: 4rem; line-height: 1; color: var(--green); opacity: 0.25; font-family: Georgia, serif; }
    .quote-card blockquote { font-size: 0.95rem; line-height: 1.75; color: var(--text); margin-bottom: 16px; }
    .quote-card figcaption { font-size: 0.82rem; color: var(--text-muted); }
    .quote-card .q-name { font-family: var(--mono); color: var(--green); font-weight: 700; }
    .quote-source { margin-top: 18px; font-size: 0.82rem; color: var(--text-muted); }
    .quote-source a, .prose a, .faq-a a, .callout a { color: var(--green); }
    .faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--bg2); margin-bottom: 12px; }
    .alt .faq details { background: var(--bg); }
    .faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--text); }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after { content: '+'; font-family: var(--mono); color: var(--green); font-size: 1.1rem; flex-shrink: 0; }
    .faq details[open] summary::after { content: '−'; }
    .faq-a { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.75; }
    .res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .res-card { display: block; text-decoration: none; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; transition: border-color .2s, transform .2s; }
    .alt .res-card { background: var(--bg); }
    .res-card:hover { border-color: rgba(79,196,49,0.55); transform: translateY(-3px); }
    .res-card .rc-level { font-family: var(--mono); font-size: 0.66rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; }
    .res-card .rc-title { display: block; color: var(--text); font-weight: 600; margin: 4px 0 6px; }
    .res-card .rc-desc { display: block; color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; }
    .cta-band { text-align: center; }
    .cta-band .section-lead { margin-left: auto; margin-right: auto; }
    .cta-band .hero-btns { justify-content: center; }
    .course-more { display: inline-block; margin-top: 18px; margin-right: 18px; font-size: 0.85rem; font-weight: 600; color: var(--green); text-decoration: none; }
    .course-more:hover { text-decoration: underline; }
    .contact-link { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border); }
    .contact-link:hover { color: var(--green); border-color: var(--green); }
    .profile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
    .profile-links a { font-size: 0.8rem; color: var(--text-muted); border: 1px solid var(--border); border-radius: 100px; padding: 5px 12px; text-decoration: none; }
    .profile-links a:hover { color: var(--green); border-color: var(--green); }
    .stage-link { color: inherit; text-decoration: none; display: block; }
    .stage-link:hover .stage-name { color: var(--green); }
    .site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 32px 32px; text-align: left; }
    .foot-grid { max-width: 1100px; margin: 0 auto 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
    .site-footer h3 { font-family: var(--mono); font-size: 0.7rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
    .site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .site-footer li, .site-footer li a { font-size: 0.86rem; color: var(--text-muted); text-decoration: none; font-family: var(--sans); }
    .site-footer li a:hover { color: var(--green); }
    .site-footer > p { text-align: center; max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); }
    [data-theme="light"] .page-hero h1 { color: #ffffff !important; }
    [data-theme="light"] .page-hero h1 span, [data-theme="light"] .page-hero .hero-label { color: #4fc431 !important; }
    [data-theme="light"] .page-hero .hero-sub { color: #a8bdd4 !important; }
    [data-theme="light"] .page-hero .tag { color: #a8bdd4 !important; }
    [data-theme="light"] .page-hero .tag.green { color: #4fc431 !important; }
    @media (max-width: 900px) {
      .page-hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 56px; }
      .topic-grid, .res-grid { grid-template-columns: 1fr 1fr; }
      .foot-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .topic-grid, .res-grid, .two-grid, .quote-grid, .foot-grid { grid-template-columns: 1fr; }
      .section-wrap { padding: 56px 20px; }
      .site-footer { padding: 44px 20px 28px; }
    }
    .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
    .form-status { font-size: 0.9rem; min-height: 1.4em; }
    .form-status.ok { color: var(--green); }
    .form-status.error { color: #f87171; }
    .form-note { font-size: 0.8rem; color: var(--text-muted); }
    .form-note a { color: var(--green); }
    .submit-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
  

    /* ── FOOTER PRIVACY LINK ──────────────────────────── */
    footer p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
    footer p a:hover { color: var(--green); }

    /* ── LEGAL PAGES (privacy notice) ─────────────────── */
    .legal-hero { grid-template-columns: 1fr; }
    .legal-updated { font-family: var(--mono); font-size: 0.74rem; color: #8fa0b8; margin-top: 18px; }
    .legal { max-width: 820px; }
    .legal h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin: 44px 0 14px; }
    .legal h2:first-child { margin-top: 0; }
    .legal h3 { font-family: var(--mono); font-size: 0.74rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin: 24px 0 10px; }
    .legal p, .legal li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
    .legal p { margin-bottom: 12px; }
    .legal strong { color: var(--text); font-weight: 600; }
    .legal ul { padding-left: 22px; margin-bottom: 12px; }
    .legal li { margin-bottom: 6px; }
    .legal li::marker { color: var(--green); }
    .legal a { color: var(--green); }
    .legal-table-wrap { overflow-x: auto; margin: 8px 0 16px; border-radius: 12px; background: var(--bg2); }
    .legal-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
    .legal-table th { text-align: left; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); padding: 14px 18px; background: var(--bg3); }
    .legal-table td { padding: 12px 18px; color: var(--text-muted); line-height: 1.6; vertical-align: top; }
    .legal-table tr + tr td { border-top: 1px solid var(--bg3); }
    .legal-table td:first-child { color: var(--text); width: 42%; }
