
  :root {
    --black: #000000;
    --darkest-blue: #282258;
    --dark-blue: #1c4483;
    --mid-blue: #0772b9;
    --light-blue: #2dabc2;
    --vessel-orange: #c85037;
    --vessel-red: #571e2b;
    --lighthouse-green: #009879;
    --wave-blue: #009fe3;
    --grey: #464646;
    --bg: #f0f3f8;
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(28,68,131,0.08);
    --shadow-md: 0 6px 24px rgba(28,68,131,0.13);
    --shadow-lg: 0 12px 40px rgba(28,68,131,0.18);
    --radius: 12px;
    --radius-sm: 8px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; }
  body { 
    font-family: 'IBM Plex Sans', sans-serif; 
    background: var(--bg); 
    min-height: 100dvh; 
    overflow-x: hidden;
    color: var(--grey);
  }

  /* PAGE SYSTEM */
  .page { display: none; height: 100dvh; max-height: 100dvh; flex-direction: column; overflow: hidden; }
  .page.active { display: flex; animation: pageIn 0.22s ease-out; }
  @keyframes pageIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

  /* ─── HEADER (shared) ─── */
  .app-header { 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 12px 20px; background: #fff; 
    box-shadow: 0 1px 0 rgba(28,68,131,0.08), 0 2px 8px rgba(28,68,131,0.05); 
    position: relative; z-index: 100; min-height: 52px;
    flex-shrink: 0;
  }
  .nav-left { display: flex; align-items: center; gap: 8px; }
  .btn-back { 
    background: none; border: none; cursor: pointer; color: var(--mid-blue); 
    display: flex; align-items: center; gap: 5px; 
    font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; font-weight: 500; 
    padding: 6px 10px; border-radius: 6px; transition: background 0.15s; 
  }
  .btn-back:hover { background: rgba(7,114,185,0.07); }
  .btn-back svg { width: 16px; height: 16px; flex-shrink: 0; }
  .company-logo { height: 44px; width: auto; object-fit: contain; }

  /* ─── MAIN PAGE ─── */
  #page-main { background: linear-gradient(to bottom, #ffffff 0%, #f0f3f8 100%); }
  .main-content { 
    flex: 1; display: flex; flex-direction: column; align-items: center; 
    justify-content: center; padding: 16px 20px 24px; gap: 0;
    overflow: hidden; min-height: 0;
  }
  .wheel-container { margin-bottom: 0; transform: translateY(-5%); }
  .main-hint { margin-top: 10%; }
  .wheel-container { 
    width: min(400px, 92vw, 56vh);
    filter: drop-shadow(0 8px 28px rgba(28,68,131,0.2));
    flex-shrink: 1;
  }
  .wheel-container svg { width: 100%; height: auto; display: block; }
  .wecare-wheel [onclick] { transition: filter 0.18s; }
  .wecare-wheel [onclick]:hover { filter: brightness(1.1); }
  .main-hint { 
    font-size: 13px; color: var(--darkest-blue); text-align: center; 
    max-width: 320px; opacity: 0.65; letter-spacing: 0.2px;
  }

  /* ─── SECTION COLOR BANDS ─── */
  .color-band { height: 5px; width: 100%; flex-shrink: 0; }

  /* ─── SHARED PAGE LAYOUT ─── */
  .page-body { flex: 1; padding: 0 20px 40px; max-width: 680px; width: 100%; margin: 0 auto; }
  .section-header { padding: 24px 0 20px; }
  .section-eyebrow { 
    font-size: 11px; font-weight: 600; letter-spacing: 1.5px; 
    text-transform: uppercase; color: var(--mid-blue); margin-bottom: 6px;
  }
  .section-title { 
    font-family: 'Blinker', sans-serif; font-size: 30px; font-weight: 700; 
    color: var(--darkest-blue); line-height: 1.1; 
  }
  .section-subtitle { 
    font-size: 14px; color: var(--grey); margin-top: 6px; line-height: 1.6; font-weight: 300;
  }

  /* ─── CARDS ─── */
  .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .card { 
    background: var(--card-bg); border-radius: var(--radius); 
    padding: 20px 18px 16px; cursor: pointer; 
    box-shadow: var(--shadow-sm); 
    border-top: 4px solid var(--mid-blue); 
    transition: transform 0.18s, box-shadow 0.18s; 
    display: flex; flex-direction: column; gap: 6px; 
  }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .card-num { 
    font-family: 'Blinker', sans-serif; font-size: 11px; font-weight: 700; 
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid-blue); 
  }
  .card-title { 
    font-family: 'Blinker', sans-serif; font-size: 20px; font-weight: 700; 
    color: var(--darkest-blue); line-height: 1.15; 
  }
  .card-desc { font-size: 13px; color: var(--grey); line-height: 1.55; font-weight: 300; }
  .card-arrow { 
    margin-top: auto; padding-top: 10px; color: var(--mid-blue); 
    font-size: 18px; align-self: flex-end; 
  }
  .card.c-darkblue { border-top-color: var(--dark-blue); }
  .card.c-darkblue .card-num { color: var(--dark-blue); }
  .card.c-midblue { border-top-color: var(--mid-blue); }
  .card.c-lightblue { border-top-color: #2DABE2; }
  .card.c-lightblue .card-num { color: #2DABE2; }
  .card.c-orange { border-top-color: var(--vessel-orange); }
  .card.c-orange .card-num { color: var(--vessel-orange); }
  .card.c-green { border-top-color: var(--lighthouse-green); }
  .card.c-green .card-num { color: var(--lighthouse-green); }

  /* ─── SUB-CARDS ─── */
  .sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
  .sub-card { 
    background: var(--card-bg); border-radius: var(--radius); 
    padding: 18px 16px 14px; cursor: pointer; 
    box-shadow: var(--shadow-sm); 
    transition: transform 0.18s, box-shadow 0.18s; 
    display: flex; flex-direction: column; gap: 4px;
    border-left: 4px solid var(--dark-blue);
  }
  .sub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .sub-card-num { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dark-blue); }
  .sub-card-title { font-family: 'Blinker', sans-serif; font-size: 16px; font-weight: 700; color: var(--darkest-blue); line-height: 1.25; }
  .sub-card-arrow { color: var(--mid-blue); font-size: 16px; margin-top: auto; padding-top: 8px; align-self: flex-end; }
  
  /* ─── DETAIL PAGES ─── */
  .detail-hero { 
    display: flex; align-items: flex-start; gap: 16px; 
    padding: 24px 0 20px; border-bottom: 1px solid rgba(28,68,131,0.1); margin-bottom: 24px;
  }
  .detail-badge { 
    width: 52px; height: 52px; border-radius: 14px; 
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; 
    font-family: 'Blinker', sans-serif; font-size: 16px; font-weight: 700; color: #fff; 
  }
  .badge-darkblue { background: var(--dark-blue); }
  .badge-midblue { background: var(--mid-blue); }
  .badge-lightblue { background: #2DABE2; }
  .badge-orange { background: var(--vessel-orange); }
  .badge-green { background: var(--lighthouse-green); }
  .detail-title { font-family: 'Blinker', sans-serif; font-size: 26px; font-weight: 700; color: var(--darkest-blue); line-height: 1.15; }
  .detail-parent { font-size: 12px; color: var(--mid-blue); margin-top: 4px; font-weight: 500; letter-spacing: 0.3px; }
  
  .detail-content { font-size: 15px; line-height: 1.8; color: var(--grey); font-weight: 300; }
  .detail-content p { margin-bottom: 16px; }
  .detail-content h3 { 
    font-family: 'Blinker', sans-serif; font-size: 17px; font-weight: 700; 
    color: var(--darkest-blue); margin: 24px 0 10px; 
  }
  .detail-content ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .detail-content ul li { 
    padding: 12px 16px; background: rgba(7,114,185,0.05); 
    border-radius: var(--radius-sm); border-left: 3px solid var(--mid-blue); 
    font-size: 14px; line-height: 1.55; 
  }

  /* Placeholder */
  .placeholder { 
    background: #fff; border: 2px dashed #c8d8ea; border-radius: var(--radius); 
    padding: 32px 24px; text-align: center; color: #9aabb8; 
    font-size: 14px; font-style: italic; line-height: 1.7; margin-top: 8px;
  }
  .placeholder strong { display: block; font-family: 'Blinker', sans-serif; font-size: 16px; font-weight: 600; color: #b0c4d8; margin-bottom: 6px; font-style: normal; }

  /* ─── TOGGLE TABS ─── */
  .tab-wrap { margin: 20px 0 16px; }
  .tabs { display: inline-flex; background: #f0f3f8; border-radius: 8px; padding: 3px; gap: 2px; }
  .tab { 
    padding: 9px 22px; font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; 
    font-weight: 500; cursor: pointer; background: transparent; 
    color: var(--grey); border: none; border-radius: 6px; transition: all 0.18s; 
  }
  .tab.active { background: var(--dark-blue); color: #fff; box-shadow: 0 2px 6px rgba(28,68,131,0.2); }
  .tab-panel { display: none; }
  .tab-panel.active { display: block; }

  /* ─── ACCOUNTABILITY LADDER ─── */
  .ladder { display: flex; flex-direction: column; gap: 2px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
  .ladder-rung { 
    padding: 18px 22px; color: #fff; cursor: pointer; 
    transition: filter 0.18s; display: flex; align-items: center; justify-content: space-between;
  }
  .ladder-rung:hover { filter: brightness(1.1); }
  .rung-stepping-up { background: linear-gradient(90deg, #008568, var(--lighthouse-green)); }
  .rung-compliance { background: linear-gradient(90deg, #0562a0, var(--mid-blue)); }
  .rung-stepping-down { background: linear-gradient(90deg, #b03f28, var(--vessel-orange)); }
  .rung-text { display: flex; flex-direction: column; gap: 3px; }
  .rung-title { font-family: 'Blinker', sans-serif; font-size: 19px; font-weight: 700; line-height: 1; }
  .rung-hint { font-size: 12px; opacity: 0.85; font-weight: 300; margin-top: 2px; }
  .rung-arrow { font-size: 22px; opacity: 0.7; flex-shrink: 0; }

  /* ─── COMMITMENTS GRID ─── */
  .commit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .commit-card { 
    background: var(--card-bg); border-radius: var(--radius); padding: 18px 14px 14px; 
    cursor: pointer; box-shadow: var(--shadow-sm); 
    border-top: 4px solid var(--vessel-orange); 
    transition: transform 0.18s, box-shadow 0.18s; 
  }
  .commit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .commit-num { font-family: 'Blinker', sans-serif; font-size: 30px; font-weight: 700; color: var(--vessel-orange); line-height: 1; }
  .commit-title { font-family: 'Blinker', sans-serif; font-size: 13px; font-weight: 600; color: var(--darkest-blue); line-height: 1.35; margin-top: 6px; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 520px) {
    .sub-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .commit-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 24px; }
    .detail-title { font-size: 22px; }
    .wheel-container { width: min(340px, 92vw); height: min(340px, 92vw); }
  }

  /* ─── ACCOUNTABILITY LADDER ─── */
  .al-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
  }
  .al-svg-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
  }
  .al-svg-container > svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  /* Sub-pages: SVG fills remaining space with text overlay */
  .al-sub-svg {
    position: relative;
  }
  /* Text overlay sits in the coloured section of each sub-page SVG.
     The coloured box is at y=66.1%–78.5% of the SVG viewBox height.
     We position the overlay using padding-top trick to match the SVG aspect ratio:
     viewBox 953.33 × 1817.33 → ratio = 1817.33/953.33 = 1.906
     So a 100%-wide container has height = 190.6vw (roughly).
     The text zone starts at 66.1% of that height. */
  .al-text-overlay {
    position: absolute;
    top: 25%;
    left: 11.8%;
    width: 76.4%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2% 3% 2% 3%;
    pointer-events: none;
    overflow: hidden;
  }
  .al-content-heading {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(14px, 2.4vw, 22px);
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.4em 0;
    line-height: 1.2;
  }
  .al-content-list {
    margin: 0;
    padding-left: 1.4em;
    list-style: decimal;
  }
  .al-content-list li {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(12px, 2vw, 18px);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 0.3em;
  }
  /* Footer logo */
  .al-footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px 14px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    border-top: 1px solid rgba(28,68,131,0.08);
  }
  .al-footer-logo svg {
    height: 32px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
  }
  .al-footer-logo:hover svg { opacity: 1; }

  @media (max-width: 520px) {
    .al-content-heading { font-size: clamp(11px, 3.5vw, 18px); }
    .al-content-list li { font-size: clamp(9px, 3vw, 15px); }
  }


  /* ─── PEOPLE PRINCIPLES ─── */

  /* Overview page: donut wheel */
  .pp-overview-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 16px 12px;
    gap: 10px;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f3f8 100%);
  }
  .pp-donut-container {
    width: min(380px, 90vw);
    flex-shrink: 0;
    transform: translateY(-5%);
  }
  .pp-donut-container svg { width: 100%; height: auto; display: block; }
  .pp-hint {
    font-size: 13px; color: var(--darkest-blue);
    opacity: 0.6; text-align: center;
    margin-top: 8%;
  }

  /* Principle page: two clickable main cards stacked */
  .pp-cards-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 0;
  }
  .pp-main-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
  }
  .pp-main-card svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    transition: filter 0.18s;
    object-fit: contain;
  }
  .pp-main-card svg:hover { filter: brightness(1.06); }

  /* Detail page: two text cards stacked (Everyone + Leaders) */
  .pp-detail-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 0;
  }
  .pp-detail-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    flex-shrink: 0;
  }
  .pp-detail-card svg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  /* Footer logo (People Principles) */
  .pp-footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px 14px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    border-top: 1px solid rgba(28,68,131,0.08);
  }
  .pp-footer-logo svg {
    height: 28px; width: auto;
    opacity: 0.8; transition: opacity 0.2s;
  }
  .pp-footer-logo:hover svg { opacity: 1; }


  /* ─── PAGE HEADER TITLE ─── */
  .header-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
  }
  /* Ensure app-header is position:relative so absolute child works */
  .app-header { position: relative; }


  /* ─── PP SUBPAGE HERO (quarter circle + title) ─── */
  
  /* Quarter circle: absolutely positioned top-left */
  
  
  /* Back button sits inside hero, top-left */
  
  
  /* Company logo top-right */
  
  /* Title block: bottom-left of hero, next to/below arc */
  
  
  

  /* ─── Adjust pp-cards-wrap and pp-detail-wrap top padding ─── */
  
  


  /* ─── SEXTANT SVG LOGO (replaces PNG) ─── */
  .company-logo-svg,
  
  .company-logo-svg svg {
    height: 31px;
    width: auto;
  }
  
  


  
  /* Tighten card top border radius when preceded by title block */
  


  /* ─── PP PRINCIPLE PAGE HEADER (title left, arc right) ─── */
  .pp-principle-header {
    display: flex;
    align-items: center;
    padding: 0;
    flex-shrink: 0;
    gap: 0;
    overflow: visible;
  }
  .pp-principle-arc {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    margin: 0;
  }
  .pp-principle-arc svg {
    width: 100%; height: 100%; display: block;
  }
  .pp-principle-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.0;
    flex: 1;
    padding-left: 14px;
  }


  /* ─── PP DETAIL PAGE TITLE ─── */
  .pp-detail-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.1;
    padding: 10px 4px 6px;
    flex-shrink: 0;
  }


  /* ─── AL PAGE TITLE ─── */
  .al-page-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: var(--dark-blue);
    padding: 14px 20px 6px;
    flex-shrink: 0;
    background: #fff;
  }
  /* Make al-svg-container a column so title sits above SVG */
  .al-svg-container {
    flex-direction: column;
  }


  /* ─── WECARE ENABLERS PAGE ─── */
  .we-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 12px 12px;
    gap: 8px;
    overflow: hidden;
    background: #fff;
  }
  .we-page-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.1;
    color: #2DABE2;
    margin: 0;
    flex-shrink: 0;
  }
  .we-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    flex: 1;
    min-height: 0;
  }
  .we-tile {
    background: #2DABE2;
    border-radius: 14px;
    padding: 8px 14px 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    transition: filter 0.18s, transform 0.18s;
    flex: 1;
    min-height: 0;
  }
  .we-tile:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
  }
  .we-tile:active {
    transform: translateY(0);
    filter: brightness(0.96);
  }
  .we-tile-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.15;
    color: #fff;
  }
  .we-tile-sub {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
  }


  /* ─── 2.3.1 SAFETY I'S OVERVIEW ─── */
  .si-overview-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
    padding: 0 0 24px;
  }
  .si-overview-image {
    width: 100%;
    padding: 16px 16px 10px;
    flex-shrink: 0;
    background: #fff;
  }
  .si-overview-image svg {
    width: 100%;
    height: auto;
    display: block;
  }
  .si-overview-content {
    padding: 4px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .si-summary {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--darkest-blue);
    margin: 0;
  }
  .si-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--grey);
    margin: 0;
  }
  .si-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .si-list li {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--grey);
    padding-left: 18px;
    position: relative;
  }
  .si-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 8px;
    height: 8px;
    background: #2DABE2;
    border-radius: 1px;
  }
  .si-list li strong {
    font-weight: 600;
    color: var(--darkest-blue);
  }
  .si-explore-btn {
    margin: 20px 20px 0;
    padding: 14px 24px;
    background: #2DABE2;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.18s, transform 0.12s;
    flex-shrink: 0;
    text-align: center;
  }
  .si-explore-btn:hover {
    background: #1a90c8;
    transform: translateY(-1px);
  }

  /* ─── 2.3.1.1 SAFETY I'S DETAIL ─── */
  .si-detail-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
    padding: 12px 16px 24px;
    gap: 0;
    position: relative;
  }
  .si-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(45,171,226,0.15);
    flex: 1;
    min-height: 0;
  }
  .si-row:last-of-type {
    border-bottom: none;
  }
  .si-row-icon {
    width: 72px;
    min-width: 72px;
    flex-shrink: 0;
  }
  .si-row-icon svg {
    width: 100%;
    height: auto;
    display: block;
  }
  .si-row-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
  }
  .si-row-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--darkest-blue);
    line-height: 1.1;
  }
  .si-row-body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: var(--grey);
  }
  .si-copyright {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 10px;
    color: #aab;
    text-align: right;
    margin: 8px 0 0;
    padding: 0;
    flex-shrink: 0;
  }


  /* ─── WE CONTENT PAGES (image-top + overlaid title + text) ─── */
  .we-content-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
  }
  .we-img-wrap {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    line-height: 0;
  }
  .we-img-wrap svg {
    width: 100%;
    height: auto;
    display: block;
  }
  /* Original right-aligned overlay (used by RMS — no title) */
  .we-img-title {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 4.5vw, 24px);
    line-height: 1.1;
    text-align: right;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
    pointer-events: none;
  }
  /* Full-width bar at bottom of image, left-aligned, light-blue bg */
  .we-img-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2DABE2;
    color: #fff;
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 4.5vw, 22px);
    line-height: 1.15;
    padding: 10px 16px 10px;
    pointer-events: none;
    box-sizing: border-box;
  }
  .we-text-wrap {
    padding: 16px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .we-summary {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--darkest-blue);
    margin: 0;
  }
  .we-body-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--grey);
    margin: 0;
  }
  .we-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .we-bullet-list li {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--grey);
    padding-left: 18px;
    position: relative;
  }
  .we-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 9px;
    height: 9px;
    background: #2DABE2;
    border-radius: 1px;
  }
  .we-bullet-list li strong {
    font-weight: 600;
    color: var(--darkest-blue);
  }


  /* ─── 2.3.6 SAFETY COMMITMENTS GRID ─── */
  .osc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 14px 18px;
    gap: 12px;
    overflow-y: auto;
    background: #fff;
  }
  .osc-page-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #2DABE2;
    margin: 0;
    padding: 8px 0 10px;
    flex-shrink: 0;
  }
  .osc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
    flex: 1;
  }
  .osc-tile {
    background: linear-gradient(135deg, #2DABE2 0%, #1a8fc4 100%);
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    transition: filter 0.18s, transform 0.15s;
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
  }
  .osc-tile:hover  { filter: brightness(1.08); transform: translateY(-2px); }
  .osc-tile:active { transform: translateY(0); filter: brightness(0.96); }
  .osc-num {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
  }
  .osc-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
    position: relative;
    z-index: 1;
  }

  /* ─── 2.3.6.x COMMITMENT DETAIL ─── */
  .osc-detail-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
  }
  .osc-detail-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px 14px;
    border-bottom: 2px solid #2DABE2;
    flex-shrink: 0;
  }
  .osc-detail-icon {
    width: 80px;
    min-width: 80px;
    flex-shrink: 0;
  }
  .osc-detail-icon svg {
    width: 100%;
    height: auto;
    display: block;
  }
  .osc-detail-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .osc-detail-num {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: #2DABE2;
    line-height: 1;
  }
  .osc-detail-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--darkest-blue);
    line-height: 1.1;
  }
  .osc-detail-content {
    padding: 16px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .osc-summary {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--darkest-blue);
    margin: 0;
    line-height: 1.4;
  }
  .osc-in-practice {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--darkest-blue);
    margin: 0;
  }
  .osc-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .osc-bullet-list li {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--grey);
    padding-left: 18px;
    position: relative;
  }
  .osc-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.38em;
    width: 9px;
    height: 9px;
    background: #2DABE2;
    border-radius: 1px;
  }


  /* ─── CONCEPT TITLE SVG (AL / WE / PP landing pages) ─── */
  .concept-title-svg {
    padding: 10px 5% 8px;
    flex-shrink: 0;
    background: transparent;
  }
  .concept-title-svg svg {
    width: 100%;
    height: auto;
    display: block;
  }



/* ═══════════════════════════════════════════
   MOBILE-FIRST / PORTRAIT OPTIMISATIONS
═══════════════════════════════════════════ */

/* Base: treat the viewport as the page frame */
html, body {
  height: 100%;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Each page fills exactly the viewport, scrolls internally */
.page.active {
  display: flex;
}

/* Smooth slide-in animation */
@keyframes slideInRight {
  from { transform: translateX(30px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes slideInLeft {
  from { transform: translateX(-30px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
.page.active            { animation: slideInRight 0.22s ease-out; }
.page.active.back-anim  { animation: slideInLeft  0.22s ease-out; }

/* Swipe hint cursor on page content areas */
.al-svg-container, .pp-overview-wrap, .we-body,
.pp-cards-wrap, .pp-detail-wrap, .osc-body,
.si-overview-body, .si-detail-body, .we-content-body,
.al-wrap { touch-action: pan-y; }

/* App header: compact on mobile */
.app-header {
  min-height: 52px;
  padding: 8px 14px;
}
.btn-back {
  font-size: 13px;
  padding: 5px 8px;
}

/* Consistent large title sizing across all concept pages */
.al-page-title,
.we-page-title,
.osc-page-title,
.pp-principle-title,
.pp-detail-title,
.pp-section-title,
.si-summary,
.we-summary,
.osc-detail-title {
  font-size: clamp(20px, 5.5vw, 28px) !important;
}

/* Concept title SVGs: wider on mobile for readability */
.concept-title-svg svg {
    width: 100%;
    height: auto;
    display: block;
  }

/* Wheel on main page: fill more of the screen */
.wheel-container {
  width: min(92vw, 400px, 60vh);
}
.pp-donut-container {
  width: min(88vw, 380px);
}

/* WeCare enablers tiles: ensure min height on small screens */
.we-tile  { min-height: 0; }
.osc-tile { min-height: 0; }

/* Safety I detail rows: comfortable on phone */
.si-row { padding: 12px 0; }
.si-row-icon { width: 64px; min-width: 64px; }

/* Accountability sub-page text legibility */
.al-content-heading { font-size: clamp(13px, 3.8vw, 20px) !important; }
.al-content-list li { font-size: clamp(11px, 3.5vw, 17px) !important; line-height: 1.6; }

/* People principles hero: tighter on small screens */
.pp-principle-header { padding: 10px 12px 8px 0; }
.pp-principle-title {
    font-size: clamp(32px, 8vw, 42px) !important;
  }
.pp-principle-arc    { width: 70px; height: 70px; }

/* WeCare content pages: image takes up ~40% of viewport height */
.we-img-wrap { max-height: 42vh; overflow: hidden; }
.we-img-wrap svg { width: 100%; height: 100%; object-fit: cover; }

/* Commitment detail hero: icon slightly smaller on phone */
.osc-detail-icon { width: 68px; min-width: 68px; }
.osc-num  { font-size: 28px; }
.osc-title { font-size: clamp(17px, 5vw, 22px); }

/* Scrollable content areas */
.al-wrap,
.pp-cards-wrap,
.pp-detail-wrap,
.we-body,
.we-content-body,
.si-overview-body,
.si-detail-body,
.osc-body,
.osc-detail-body,
.al-svg-container {
  -webkit-overflow-scrolling: touch;
}

/* Remove tap delay */
* { touch-action: manipulation; }
.al-svg-container, .al-sub-svg { touch-action: pan-y; }

  /* ─── AL MAIN PAGE: flush left, fill height, no crop ─── */
  .al-svg-container.al-main-container {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
  }
  .al-svg-container.al-main-container > svg {
    width: auto !important;
    height: 90% !important;
    max-height: 90% !important;
    max-width: 100% !important;
    object-fit: unset !important;
    align-self: flex-start;
    margin: 0;
    display: block;
  }

  /* ─── OSC GRID — tiles share height, always fit screen ─── */
  .osc-grid {
    grid-template-rows: repeat(5, 1fr);
    min-height: 0;
  }
  .osc-body {
    overflow: hidden;
  }

  /* ─── OSC TILE WATERMARK ─── */
  .osc-tile-watermark {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 60px;
    height: 60px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
  }

  /* ─── WE-GRID — no scrolling ─── */
  .we-grid {
    overflow: hidden;
  }

  /* Main page — transparent content so gradient flows end to end */
  .main-content { background: transparent; }
  .app-header { background: transparent; box-shadow: none; }
  /* Restore header shadow on sub-pages that have white bg */
  .al-wrap ~ .app-header,
  .we-body ~ .app-header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(28,68,131,0.08);
  }

  /* Cards-inner: 15% side padding, only around the SVG cards */
  .pp-cards-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 15% 12px;
    flex: 1;
    overflow-y: auto;
  }

  /* Detail cards inner: 15% side padding */
  .pp-detail-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 15% 12px;
    flex: 1;
    overflow-y: auto;
  }
  /* pp-detail-title: full width, left-aligned (outside the padded inner) */
  .pp-detail-title {
    padding-left: 0;
    margin: 8px 0 4px;
  }


/* ═══════════════════════════════════════════════════
   CONSOLIDATED FIXES — appended last so they win
═══════════════════════════════════════════════════ */

/* ── 1. MAIN PAGE: seamless gradient top to bottom ── */
/* The hard line comes from app-header having background:#fff
   and the wheel container's translateY(-5%) creating a gap.
   Fix: make the whole page one gradient, header transparent. */
#page-main {
  background: linear-gradient(to bottom, #ffffff 0%, #f0f3f8 100%) !important;
}
#page-main .app-header {
  background: transparent !important;
  box-shadow: none !important;
}
#page-main .main-content {
  background: transparent !important;
}
/* Remove translateY gap that causes the line */
#page-main .wheel-container {
  transform: translateY(-3%) !important;
  margin-bottom: 0;
}
#page-main .main-hint {
  margin-top: 6% !important;
}

/* ── 2. PP LANDING: title NOT part of nav bar ── */
/* concept-title-svg sits between sticky header and pp-overview-wrap.
   Give it its own background so it's clearly separate. */
#page-pp .concept-title-svg {
  background: #ffffff;
  padding: 12px 5% 10px;
  border-bottom: none;
}
/* pp-overview-wrap gradient should start from white */
#page-pp .pp-overview-wrap {
  background: linear-gradient(to bottom, #ffffff 0%, #f0f3f8 100%);
}

/* ── 3. PP DETAIL TITLE: 5% left padding, not inside nav ── */
.pp-detail-title {
  padding: 10px 5% 6px !important;
  margin: 0 !important;
  flex-shrink: 0;
}

/* ── 4. PP DETAIL INNER: 10% side padding (was 15%) ── */
.pp-detail-inner {
  padding: 4px 10% 12px !important;
}

/* ── 5. WE TILES: force fit all 6 on screen ── */
/* Remove all competing padding/gap and force the grid to fit */
.we-body {
  padding: 6px 10px 8px !important;
  gap: 6px !important;
  overflow: hidden !important;
}
.we-grid {
  gap: 5px !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.we-tile {
  padding: 6px 12px !important;
  min-height: 0 !important;
  flex: 1 !important;
  justify-content: center !important;
}

/* ── 6. OSC TILES: force fit all 10 on screen ── */
.osc-body {
  padding: 6px 10px 8px !important;
  gap: 6px !important;
  overflow: hidden !important;
}
.osc-grid {
  gap: 5px !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.osc-tile {
  padding: 4px 8px !important;
  min-height: 0 !important;
  flex: 1 !important;
  justify-content: center !important;
}
/* Watermark icon: increase by 50% (60px → 90px) */
.osc-tile-watermark {
  width: 90px !important;
  height: 90px !important;
  bottom: -8px !important;
  right: -8px !important;
}

/* ═══════════════════════════════════════════════════
   FINAL HEIGHT FIX — tiles must fit on screen
═══════════════════════════════════════════════════ */

/* Strict page height — overrides everything */
.page.active {
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: unset !important;
  overflow: hidden !important;
}

/* Header fixed height */
.app-header {
  flex-shrink: 0 !important;
  height: auto !important;
}

/* WE body: tight flex column, grid fills rest */
.we-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 6px 10px !important;
  gap: 6px !important;
  box-sizing: border-box !important;
}
.we-body > .concept-title-svg {
  flex-shrink: 0 !important;
}
.we-grid {
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: repeat(3, 1fr) !important;
  gap: 5px !important;
}
.we-tile {
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 5px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
}

/* OSC body: tight flex column, grid fills rest */
.osc-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 4px 10px 6px !important;
  gap: 4px !important;
  box-sizing: border-box !important;
}
.osc-body > .osc-page-title {
  flex-shrink: 0 !important;
  font-size: 20px !important;
  padding: 2px 0 4px !important;
}
.osc-grid {
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: repeat(5, 1fr) !important;
  gap: 5px !important;
}
.osc-tile {
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 3px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
}
.osc-tile-watermark {
  width: 90px !important;
  height: 90px !important;
  bottom: -10px !important;
  right: -10px !important;
  opacity: 0.15 !important;
}

/* ── AL TITLE FIX: title sits in al-wrap as direct sibling of container ── */
.al-wrap > .concept-title-svg {
  flex-shrink: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 5% 8px !important;
  background: #fff;
}
/* al-main-container: fills remaining height, no longer a column with title */
.al-svg-container.al-main-container {
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* ── AL MAIN: SVG fills all remaining height after title ── */
.al-wrap {
  overflow: hidden !important;
}
.al-svg-container.al-main-container {
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: flex-start !important;
}
.al-svg-container.al-main-container > svg {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  display: block !important;
  flex-shrink: 0 !important;
}
