  /* Base reset (the home page also gets one from the publish skeleton) */
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body { margin: 0; }
  img { max-width: 100%; }
  [hidden] { display: none !important; }
  :root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }

  /* Layout: one white rounded frame on a pale canvas; pastel cards carry the colour, navy carries text and actions. Single light theme by choice (matches the reference). */
  :root {
    --canvas: #EDF0F4;
    --surface: #FFFFFF;
    --ink: #0F172A;        /* Deep Sabah Navy (CI) */
    --ink-soft: #334155;   /* Slate Charcoal (CI) */
    --muted: #64748B;
    --line: #E2E8F0;
    --track: #F1F5F9;
    --lime: #C8EC72;
    --lime-deep: #8DB83A;
    --orange: #FF9C55;
    --orange-deep: #E5772A;
    --sky: #AECBF6;
    --sky-deep: #6F98D8;
    --lilac: #C9BBF6;
    --pink: #F8B6CF;
    --sun: #FFD66B;
    --mint: #9FE3C6;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --r-lg: 28px;
    --r-md: 22px;
    --r-sm: 14px;
    color-scheme: light;
  }

  * { box-sizing: border-box; }
  body {
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-block: 24px;
  }
  a { color: inherit; text-decoration: none; }
  button, input, select { font: inherit; color: inherit; }
  :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
  h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
  p { margin: 0; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .frame {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    --frame-pad: clamp(16px, 3vw, 32px);
    padding: 6px var(--frame-pad) clamp(28px, 4vw, 44px);
    display: grid;
    gap: clamp(56px, 8vw, 112px);
  }

  /* Header */
  /* Header stays pinned to the top of the screen while the page scrolls */
  body::before {
    content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
    height: env(safe-area-inset-top, 0px); background: var(--canvas);
  }
  .top {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    margin-inline: calc(-1 * var(--frame-pad));
    padding: 12px var(--frame-pad);
    background: rgb(255 255 255 / 0.88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
  .brand-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--ink); display: grid; place-items: center; flex: none;
  }
  .tabs {
    display: flex; gap: 4px; padding: 4px;
    background: var(--track); border-radius: 999px;
  }
  .tabs a {
    padding: 7px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap;
  }
  .tabs a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(15 23 42 / 0.08); }
  .tabs a:hover { color: var(--ink); }
  .actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
  .icon-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
    background: var(--ink); color: var(--surface);
    font-size: 13px; font-weight: 700; white-space: nowrap;
  }

  /* Hero */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .hero { position: relative; isolation: isolate; padding-top: clamp(44px, 8vw, 116px); }
  .hero h1 { order: -1; }
  /* Mount Kinabalu line drawing: the summit crown sits above the headline, the slopes fade out behind it */
  .hero-kinabalu {
    position: absolute; z-index: -1; pointer-events: none;
    left: calc(-1 * var(--frame-pad)); right: calc(-1 * var(--frame-pad));
    top: calc(-1 * clamp(8px, 2.4vw, 34px));
    width: calc(100% + 2 * var(--frame-pad)); height: clamp(180px, 30vw, 380px);
  }
  .hero-kinabalu path { stroke: #4B5563; vector-effect: non-scaling-stroke; }
  .hero-kinabalu .kb-main { stroke-width: 1.6; stroke-opacity: 0.6; }
  .hero-kinabalu .kb-ridge { stroke-width: 1; stroke-opacity: 0.28; }
  /* Sabah flag on a pole rising from behind the right slope; the white mountain body hides the lower pole */
  .hero-kinabalu .kb-flag path { stroke: none; vector-effect: none; }
  .hero-kinabalu .kb-body { fill: var(--surface); stroke: none; }
  .hero-kinabalu .kb-pole { stroke: #334155; stroke-width: 2.6; vector-effect: non-scaling-stroke; }
  .hero-kinabalu .kb-finial { fill: #334155; }
  .hero-note { display: grid; justify-items: center; max-width: 52ch; color: var(--ink-soft); font-size: 15px; }
  .hero-note .badge-dot { display: none; }
  .badge-dot {
    width: 34px; height: 34px; border-radius: 50%;
    background: #1F4D3A; display: grid; place-items: center;
  }
  .hero h1 {
    font-size: clamp(42px, 7.2vw, 100px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.045em;
  }

  /* Training deck: a fan of cards that drifts left; the card at the centre rises and grows */
  .deck-wrap { display: grid; gap: 10px; margin-top: calc(-1 * clamp(16px, 3vw, 36px)); }
  /* Heading: the pill, with a quiet swipe hint under it (the deck has no arrow buttons) */
  .deck-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .deck-hint {
    display: inline-flex; align-items: center; gap: 8px; margin: 0;
    font-size: 12.5px; font-weight: 600; color: var(--muted);
  }
  .deck-hint svg { flex: none; animation: deck-nudge 2.4s ease-in-out infinite; }
  .deck-hint svg:first-child { animation-direction: reverse; }
  @keyframes deck-nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(3px); } }
  @media (prefers-reduced-motion: reduce) { .deck-hint svg { animation: none; } }
  /* Pill label: icon chip on the left, label on the right */
  .deck-badge {
    display: inline-flex; align-items: center; gap: 10px; margin: 0;
    padding: 5px 16px 5px 5px; border-radius: 999px;
    background: var(--ink); color: var(--surface);
    font-size: 13px; font-weight: 700; letter-spacing: 0;
  }
  .deck-badge-icon {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
    background: var(--lime); color: var(--ink);
  }
  .pause {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); font-size: 12.5px; font-weight: 700; cursor: pointer;
  }
  .pause.icon { width: 32px; height: 30px; padding: 0; justify-content: center; }
  .deck {
    position: relative; height: 470px; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    touch-action: pan-y; cursor: grab;
    -webkit-user-select: none; user-select: none;
  }
  .deck.dragging { cursor: grabbing; }
  .deck a, .deck img { -webkit-user-drag: none; }
  .tcard {
    --c: var(--lime);
    position: absolute; left: 0; bottom: 100px;
    width: 192px; height: 288px;
    border-radius: 24px; padding: 16px;
    background: var(--c); color: var(--ink);
    display: flex; flex-direction: column; gap: 4px;
    transform-origin: 50% 100%;
    will-change: transform;
    box-shadow: 0 12px 30px rgb(15 23 42 / 0.13);
  }
  .tcard .kind { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.75; }
  .tcard h3 { font-size: 18.5px; font-weight: 800; line-height: 1.12; }
  .tcard .sub { font-size: 12px; color: var(--ink-soft); line-height: 1.35; opacity: var(--f, 1); }
  .tcard .art { flex: 1; display: grid; place-items: center; min-height: 0; }
  .tcard .art svg { width: 86px; height: 86px; }
  .tcard .meta {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 11px;
    padding-top: 10px; border-top: 1px solid rgb(15 23 42 / 0.15);
  }
  .tcard .go { font-family: var(--font); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--surface); }
  .c-lilac { --c: var(--lilac); } .c-sky { --c: var(--sky); } .c-orange { --c: var(--orange); }
  .c-lime { --c: var(--lime); } .c-pink { --c: var(--pink); } .c-sun { --c: var(--sun); } .c-mint { --c: var(--mint); }
  /* Platform logos on white tiles, in each brand's own colour */
  .tcard .logos { display: flex; align-items: center; justify-content: center; }
  .lg {
    position: relative;
    width: 50px; height: 50px; border-radius: 15px; margin-left: -12px;
    background: #FFFFFF; color: var(--lc, var(--ink));
    display: grid; place-items: center;
    box-shadow: 0 6px 16px rgb(15 23 42 / 0.14);
  }
  .lg:first-child { margin-left: 0; }
  .lg.big { width: 76px; height: 76px; border-radius: 22px; z-index: 2; }
  .lg:nth-child(2) { transform: rotate(8deg) translateY(8px); }
  .lg:nth-child(3) { transform: rotate(-7deg) translateY(14px); }
  .tcard .art .lg svg { width: 56%; height: 56%; fill: currentColor; }
  .tcard .art .lg img { width: 56%; height: 56%; object-fit: contain; }
  .tcard .art .lg img.full { width: 100%; height: 100%; border-radius: inherit; }

  /* Section heading */
  .sec-head {
    display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap;
  }
  .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .sec-head h2, .sec-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }

  /* Stories: one featured story beside two compact ones (bento) */
  .stories-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; flex-wrap: wrap; }
  .stories-head .lead { color: var(--ink-soft); max-width: 48ch; margin-top: 14px; }
  .chips { display: flex; gap: 6px; flex-wrap: wrap; }
  .chip {
    padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); font-size: 13px; font-weight: 600; cursor: pointer;
  }
  .chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
  .stories { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-top: 32px; }
  .story {
    --c: var(--lime); --cd: var(--lime-deep);
    background: color-mix(in srgb, var(--c) 34%, white);
    border-radius: var(--r-md); padding: 14px;
    display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start;
  }
  .story.feature { grid-row: span 2; grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .story:nth-child(2) { --c: var(--orange); --cd: var(--orange-deep); }
  .story:nth-child(3) { --c: var(--sky); --cd: var(--sky-deep); }
  .photo {
    border-radius: var(--r-sm); aspect-ratio: 1; max-width: 100%;
    background: linear-gradient(160deg, color-mix(in srgb, var(--c) 45%, white), color-mix(in srgb, var(--cd) 65%, white));
    display: grid; place-items: center; align-content: center; gap: 6px;
    color: rgb(15 23 42 / 0.5); font-size: 11px; font-weight: 700;
  }
  .story.feature .photo { aspect-ratio: 16 / 9; }
  /* Compact stories: the photo fills the card's height and the training tag sits at the bottom */
  .story:not(.feature) { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); align-items: stretch; }
  .story:not(.feature) .photo { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .story:not(.feature) .story-body { grid-template-rows: auto auto auto 1fr; }
  .story:not(.feature) .took { align-self: end; }
  .photo svg { width: 26px; height: 26px; }
  .story-body { display: grid; gap: 10px; min-width: 0; }
  .story-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
  .example { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--orange-deep); }
  .story blockquote { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; text-wrap: balance; }
  .story.feature blockquote { font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.01em; line-height: 1.25; }
  .story .profile { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; text-wrap: balance; }
  .story.feature .profile { font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.01em; line-height: 1.25; }
  .who { font-size: 12.5px; color: var(--ink-soft); }
  .metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric { background: rgb(255 255 255 / 0.7); border-radius: 12px; padding: 10px 12px; }
  .metric small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
  .metric b { display: block; margin-top: 2px; font-size: 14px; line-height: 1.3; }
  .took { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
  .took .mini {
    width: 26px; height: 26px; border-radius: 8px; background: #FFFFFF;
    display: grid; place-items: center; box-shadow: 0 2px 6px rgb(15 23 42 / 0.1);
  }
  .took .mini svg { width: 60%; height: 60%; fill: currentColor; }
  .empty {
    margin-top: 20px; padding: 28px; border: 1px dashed var(--line); border-radius: var(--r-md);
    color: var(--muted); text-align: center;
  }


  /* Agency band: pitch on the left, the four-step process on the right */
  .agency {
    background: var(--sky); color: var(--ink);
    border-radius: var(--r-md);
    padding: clamp(24px, 4vw, 48px);
    display: grid; gap: 36px;
  }
  .agency-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
  .agency .eyebrow { color: var(--ink-soft); }
  .agency h2, .diag h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
  .agency p.lead { margin-top: 14px; color: var(--ink-soft); max-width: 48ch; }
  .agency .btn { margin-top: 22px; }
  /* Same numbered steps as the business check, two columns inside the panel */
  .agency .steps { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
  .agency-foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    padding-top: 20px; border-top: 1px solid rgb(15 23 42 / 0.12);
  }
  .formats { display: flex; flex-wrap: wrap; gap: 8px; }
  .formats span { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.7); font-size: 12.5px; font-weight: 600; }

  /* Diagnostic */
  .diag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
  .steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
  .steps li {
    counter-increment: s;
    display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start;
  }
  .steps li::before {
    content: counter(s);
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--ink); display: grid; place-items: center; font-weight: 700;
  }
  .steps b { display: block; }
  .steps span { color: var(--ink-soft); font-size: 14px; }
  .form-card { background: var(--lime); border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
  .form-card h3 { font-size: 20px; font-weight: 800; }
  .field { display: grid; gap: 6px; }
  .field label { font-size: 12.5px; font-weight: 700; }
  .field input, .field select {
    width: 100%; padding: 11px 14px; border-radius: 12px;
    border: 1px solid rgb(15 23 42 / 0.18); background: var(--surface);
  }
  .consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 12px; color: var(--ink-soft); align-items: start; }
  .consent input { margin: 2px 0 0; }
  .outcome { background: var(--surface); border-radius: 12px; padding: 14px; font-size: 14px; }
  .outcome b { display: block; margin-bottom: 4px; }
  .concept-note { font-size: 11.5px; color: var(--ink-soft); }

  /* Footer */
  .foot {
    border-top: 1px solid var(--line); padding-top: 40px;
    display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 32px 24px;
    font-size: 13.5px; color: var(--ink-soft);
  }
  .foot h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink); }
  .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .foot a:hover { color: var(--ink); text-decoration: underline; }
  .endorse { margin-top: 10px; font-size: 12.5px; }
  .verify { display: flex; gap: 6px; }
  .verify input {
    flex: 1; min-width: 0; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line);
    font-family: var(--mono); font-size: 12.5px;
  }
  .verify .btn { padding: 9px 14px; }
  #verifyMsg { margin-top: 8px; font-size: 12px; }
  .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }

  @media (max-width: 960px) {
    .top { grid-template-columns: 1fr auto; }
    .menu-btn { display: grid; }
    .tabs {
      display: none; position: absolute; top: calc(100% - 4px); left: var(--frame-pad); right: var(--frame-pad);
      flex-direction: column; gap: 2px; padding: 8px; border-radius: 18px;
      background: var(--surface); box-shadow: 0 18px 40px rgb(15 23 42 / 0.16);
    }
    .top.open .tabs { display: flex; }
    .tabs a { padding: 12px 14px; font-size: 15px; }
    .hero, .agency, .diag { grid-template-columns: minmax(0, 1fr); }
    .deck-wrap { margin-top: 0; }
    .stories { grid-template-columns: minmax(0, 1fr); }
    .story.feature { grid-row: auto; }
    .agency-top { grid-template-columns: minmax(0, 1fr); }
    .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 640px) {
    .deck { height: 410px; }
    .tcard { width: 168px; height: 256px; bottom: 86px; padding: 14px; }
    .tcard h3 { font-size: 16.5px; }
    .tcard .art svg { width: 70px; height: 70px; }
    .lg { width: 40px; height: 40px; border-radius: 12px; }
    .lg.big { width: 60px; height: 60px; border-radius: 18px; }
  }
  @media (max-width: 520px) {
    .actions .icon-btn:not(.menu-btn) { display: none; }
    .story:not(.feature) { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
    .agency .steps { grid-template-columns: minmax(0, 1fr); }
    .foot { grid-template-columns: minmax(0, 1fr); }
  }

  /* ---------- Shared components for the inner pages ---------- */
  .page { display: grid; gap: clamp(56px, 8vw, 112px); }
  .menu-btn { display: none; }
  .more-link { display: inline-block; margin-top: 24px; font-size: 14px; font-weight: 700; }
  .more-link:hover { text-decoration: underline; }

  .tabs .tab-cta { display: none; }
  .page-hero { display: grid; gap: 20px; max-width: 860px; }
  .page-hero h1 { margin: 0; font-size: clamp(38px, 6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
  .page-hero .lead { font-size: 16.5px; color: var(--ink-soft); max-width: 60ch; }
  .section { display: grid; gap: 32px; }
  .section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 24px; flex-wrap: wrap; }
  .section-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
  .section-head .lead { color: var(--ink-soft); max-width: 52ch; margin-top: 12px; }

  .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .panel {
    --c: var(--sky);
    background: color-mix(in srgb, var(--c) 38%, white);
    border-radius: var(--r-md); padding: 24px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .panel > .free-link { margin-top: auto; padding-top: 4px; }
  .panel.plain { background: var(--track); }
  .panel h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.2; }
  .panel p, .panel li { font-size: 14px; color: var(--ink-soft); }
  .panel ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
  .pill { display: inline-block; width: fit-content; padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.72); font-size: 12px; font-weight: 700; }

  /* Small logo tile used in stories, catalogue and resources */
  .mini {
    width: 30px; height: 30px; border-radius: 9px; background: #FFFFFF; color: var(--ink);
    display: grid; place-items: center; flex: none; box-shadow: 0 2px 6px rgb(15 23 42 / 0.1);
  }
  .mini svg { width: 60%; height: 60%; fill: currentColor; }
  .mini img { width: 60%; height: 60%; object-fit: contain; }
  .mini img.full { width: 100%; height: 100%; border-radius: inherit; }
  .logos-row { display: flex; gap: 6px; }

  /* Training catalogue */
  .catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .course { scroll-margin-top: 96px; }
  .course-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .course-who { font-weight: 600; color: var(--ink) !important; }
  .course-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto;
    padding-top: 14px; border-top: 1px solid rgb(15 23 42 / 0.12); font-size: 13px !important;
  }
  .course-foot span { font-family: var(--mono); font-size: 12px; }
  .course-foot a { font-weight: 700; color: var(--ink); }
  .course-foot a:hover { text-decoration: underline; }
  .course:target { outline: 3px solid var(--ink); outline-offset: 3px; }

  /* Numbered modules (a real sequence) */
  .modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: m; }
  .modules li {
    counter-increment: m;
    background: var(--surface); border-radius: var(--r-sm); padding: 16px 18px;
    display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px;
  }
  .modules li::before { content: counter(m, decimal-leading-zero); font-family: var(--mono); font-size: 14px; font-weight: 700; padding-top: 2px; }
  .modules b { display: block; font-size: 15.5px; }
  .modules span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
  .feature-band { background: color-mix(in srgb, var(--lime) 55%, white); border-radius: var(--r-md); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; scroll-margin-top: 96px; }
  .feature-band h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
  .feature-band .lead { color: var(--ink-soft); margin-top: 12px; max-width: 46ch; }
  .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

  /* Resources */
  .resource-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .resource-meta .kind { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
  .panel .free-link { font-size: 13px; font-weight: 700; color: var(--ink); }

  /* FAQ */
  .faq { display: grid; }
  .faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
  .faq summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-size: 20px; line-height: 1; }
  .faq details[open] summary::after { content: "–"; }
  .faq p { margin-top: 10px; color: var(--ink-soft); max-width: 72ch; }

  /* Forms on inner pages */
  .form-panel { background: var(--track); border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; scroll-margin-top: 96px; }
  .form-panel h3 { margin: 0; font-size: 20px; font-weight: 800; }
  .field textarea {
    width: 100%; min-height: 110px; padding: 11px 14px; border-radius: 12px; resize: vertical;
    border: 1px solid rgb(15 23 42 / 0.18); background: var(--surface); font: inherit; color: inherit;
  }
  .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .form-msg { background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 14px; }

  /* Long-form text (privacy, terms) */
  .prose { max-width: 74ch; display: grid; gap: 14px; }
  .prose h2 { margin: 14px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
  .prose p, .prose li { color: var(--ink-soft); font-size: 15px; }
  .prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
  .draft-note { background: color-mix(in srgb, var(--sun) 50%, white); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; max-width: 74ch; }

  /* About */
  .person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; }
  .person .photo { --c: var(--sky); --cd: var(--sky-deep); aspect-ratio: 4 / 5; }
  .person h3 { margin: 0; font-size: 24px; font-weight: 800; }
  .person .role { font-weight: 600; color: var(--ink-soft); margin-top: 4px; }
  .person p.bio { color: var(--ink-soft); margin-top: 12px; max-width: 60ch; }

  /* Contact */
  .copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .copy-row code { font-family: var(--mono); font-size: 15px; background: rgb(255 255 255 / 0.75); padding: 6px 10px; border-radius: 8px; user-select: all; }
  .copy-btn { padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(15 23 42 / 0.2); background: var(--surface); font-size: 12.5px; font-weight: 700; cursor: pointer; }

  /* Closing call to action */
  .cta-band {
    background: var(--lime); border-radius: var(--r-md); padding: clamp(24px, 4vw, 40px);
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  }
  .cta-band h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
  .cta-band p { color: var(--ink-soft); margin-top: 6px; }

  @media (max-width: 960px) {
    .menu-btn { display: grid; }
    .grid-3, .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-band, .person { grid-template-columns: minmax(0, 1fr); }
    .person .photo { max-width: 240px; }
  }
  @media (max-width: 640px) {
    .grid-2, .grid-3, .catalog, .form-row { grid-template-columns: minmax(0, 1fr); }
  }
  /* Small phones: the call to action moves into the menu so the header fits */
  @media (max-width: 520px) {
    .actions > .btn { display: none; }
    .top.open .tabs .tab-cta { display: block; background: var(--ink); color: var(--surface); text-align: center; margin-top: 6px; }
  }


  /* ---------- Phones: tidy header, larger mountain and flag, roomier footer ---------- */
  @media (max-width: 640px) {
    /* Header keeps only the brand and the menu; "Mula belajar" lives inside the menu */
    .actions > .btn, .actions .icon-btn:not(.menu-btn) { display: none; }
    .top.open .tabs .tab-cta { display: block; background: var(--ink); color: var(--surface); text-align: center; margin-top: 6px; }

    /* Mountain drawn a third wider than the screen so it reads at phone size, with the summit
       and flag still in view; the frame clips the faded ends */
    .frame { overflow-x: clip; }
    .hero { padding-top: 68px; }
    /* Headline flows freely and balances over three lines instead of breaking at the desktop <br> */
    .hero h1 { font-size: clamp(32px, 9.4vw, 40px); text-wrap: balance; }
    .hero h1 br { display: none; }
    .hero-kinabalu {
      left: calc(-15% - var(--frame-pad)); right: auto;
      width: calc(130% + 2 * var(--frame-pad)); height: 190px;
      top: -24px;
    }

    /* Footer: brand across the top, link groups in two columns, larger text and tap targets */
    .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 32px; font-size: 15px; }
    .foot > div:first-child { grid-column: 1 / -1; }
    .foot .brand { font-size: 17px; }
    .foot h4 { font-size: 14px; margin-bottom: 12px; }
    .foot ul { gap: 4px; }
    .foot li a { display: inline-block; padding: 6px 0; }
    .endorse { font-size: 14px; line-height: 1.5; }
    .legal { font-size: 12.5px; line-height: 1.5; padding-top: 18px; border-top: 1px solid var(--line); }
  }

  /* Home page sections with the heading on the left and the content on the right */
  .split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
  .split-head { display: grid; gap: 14px; align-content: start; }
  .split-head .eyebrow { margin-bottom: 0; }
  .split-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
  .split-head > p:not(.eyebrow) { color: var(--ink-soft); max-width: 42ch; }
  .split-head .split-note { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
  .split-head .more-link { margin-top: 2px; }

  /* What a business owner takes home from a session, set like a handover note */
  .handover { border-top: 1.5px solid var(--ink); }
  .handover-list { list-style: none; margin: 0; padding: 0; }
  .handover-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); }
  .handover-list h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
  .handover-list p { font-size: 14.5px; color: var(--ink-soft); max-width: 50ch; }
  .handover-link { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: background-color 0.15s ease; }
  .handover-link:hover { background: var(--track); }

  /* Free resources as a ruled index rather than a row of cards */
  .shelf { border-top: 1.5px solid var(--ink); }
  .handover-head, .shelf-note { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
  .shelf-row {
    --c: var(--sky);
    display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 20px; align-items: baseline;
    padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background-color 0.15s ease;
  }
  .shelf-row.c-sun { --c: var(--sun); } .shelf-row.c-mint { --c: var(--mint); }
  .shelf-row:hover { background: var(--track); }
  .shelf-kind { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
  .shelf-kind::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
  .shelf-text { display: grid; gap: 4px; }
  .shelf-text b { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
  .shelf-text span { font-size: 14.5px; color: var(--ink-soft); }
  .shelf-go { font-size: 18px; transition: transform 0.15s ease; }
  .shelf-row:hover .shelf-go { transform: translateX(4px); }
  @media (prefers-reduced-motion: reduce) { .shelf-row, .shelf-go, .handover-link { transition: none; } }

  @media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 640px) {
    .handover-list li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0; align-items: start; }
    .handover-link { justify-self: start; }
    .shelf-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
    .shelf-kind { grid-column: 1 / -1; }
  }

  /* Smallest phones: section headings step down one size so they wrap in three or four lines, not five */
  @media (max-width: 380px) { .split-head h2, .agency h2, .diag h2 { font-size: 26px; } }

  /* ---------- Programme tiers: Asas, Tumbuh, Lanjutan ---------- */
  /* Dark card for the advanced tier */
  .c-ink { --c: var(--ink); }
  .tcard.c-ink, .tier.c-ink { color: #FFFFFF; }
  .tcard.c-ink .sub { color: rgb(255 255 255 / 0.75); }
  .tcard.c-ink .meta { border-top-color: rgb(255 255 255 / 0.2); }
  .tcard.c-ink .go { background: var(--lime); color: var(--ink); }
  .panel.c-ink { background: var(--ink); color: #FFFFFF; }
  .panel.c-ink p, .panel.c-ink li { color: rgb(255 255 255 / 0.78); }
  .panel.c-ink .course-who { color: #FFFFFF !important; }
  .panel.c-ink .pill { background: var(--lime); color: var(--ink); }
  .panel.c-ink .course-foot { border-top-color: rgb(255 255 255 / 0.18); }
  .panel.c-ink .course-foot a { color: var(--lime); }
  .course-foot a { white-space: nowrap; }

  /* Path overview: three tier cards that jump to their section */
  .tiers { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tier {
    height: 100%; display: flex; flex-direction: column; gap: 10px;
    padding: 28px; border-radius: 24px;
    background: var(--c); color: var(--ink); text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  /* .panel resets --c after the shared c-* classes, so the course and tier cards restate their colour */
  :is(.course, .tier).c-lilac { --c: var(--lilac); } :is(.course, .tier).c-sky { --c: var(--sky); }
  :is(.course, .tier).c-orange { --c: var(--orange); } :is(.course, .tier).c-lime { --c: var(--lime); }
  :is(.course, .tier).c-pink { --c: var(--pink); } :is(.course, .tier).c-sun { --c: var(--sun); }
  :is(.course, .tier).c-mint { --c: var(--mint); } :is(.course, .tier).c-ink { --c: var(--ink); }
  .tier:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(15 23 42 / 0.12); }
  .tier-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.7; }
  .tier b { font-size: 30px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
  .tier-desc { font-size: 15px; line-height: 1.5; opacity: 0.85; }
  .tier-count { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 700; }
  .tier.c-ink .tier-count { color: var(--lime); }

  /* One section per tier, two roomy cards per row */
  .tier-block { scroll-margin-top: 96px; }
  .tier-head { display: grid; gap: 10px; max-width: 62ch; margin-bottom: 28px; }
  .tier-head .eyebrow { margin-bottom: 0; }
  .tier-head h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
  .tier-head .lead { margin: 0; font-size: 16.5px; color: var(--ink-soft); }
  .tier-fit { margin: 4px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--track); font-size: 15px; width: fit-content; }
  .tier-fit b { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
  .tier-block .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .tier-block .course { padding: 28px; gap: 14px; }
  .tier-block .course h3 { font-size: 22px; }

  /* Outcomes as ticks, then the work the owner leaves with */
  .course ul { list-style: none; padding-left: 0; gap: 8px; }
  .course li { position: relative; padding-left: 24px; font-size: 14.5px; }
  .course li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--ink); }
  .panel.c-ink li::before { color: var(--lime); }
  .course-take {
    margin: 2px 0 0; padding: 12px 16px; border-left: 3px solid var(--ink); border-radius: 0 12px 12px 0;
    background: rgb(255 255 255 / 0.55); font-size: 14.5px !important; font-weight: 600; color: var(--ink) !important;
  }
  .course-take b { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
  .panel.c-ink .course-take { background: rgb(255 255 255 / 0.07); border-left-color: var(--lime); color: #FFFFFF !important; }
  .panel.c-ink .course-take b { color: var(--lime); }

  @media (prefers-reduced-motion: reduce) { .tier { transition: none; } .tier:hover { transform: none; } }
  @media (max-width: 960px) { .tiers { grid-template-columns: minmax(0, 1fr); } .tier b { font-size: 26px; } }
  @media (max-width: 640px) {
    .tier-block .catalog { grid-template-columns: minmax(0, 1fr); }
    .tier, .tier-block .course { padding: 22px; }
  }
