:root {
      --primary:              #7A4F81;
      --on-primary:           #FFFFFF;
      --primary-container:    #F0E2F2;
      --on-primary-container: #300939;

      --secondary:              #38693C;
      --on-secondary:           #FFFFFF;
      --secondary-container:    #B9F0B7;
      --on-secondary-container: #002107;

      --tertiary:              #3F6836;
      --on-tertiary:           #FFFFFF;
      --tertiary-container:    #C0EFB0;
      --on-tertiary-container: #002200;

      --error:              #B3261E;
      --on-error:           #FFFFFF;
      --error-container:    #F9DEDC;
      --on-error-container: #410E0B;

      --surface-dim:              #DBDBCF;
      --surface:                  #FEFEFA;
      --surface-bright:           #FAFAEE;
      --surface-container-lowest: #FFFFFF;
      --surface-container-low:    #F4F4E8;
      --surface-container:        #FEFEFA;
      --surface-container-high:   #E9E9DD;
      --surface-container-highest:#E3E3D7;
      --inverse-surface:          #313033;
      --inverse-on-surface:       #F4EFF4;
      --inverse-primary:          #D0BCFF;

      --on-surface:         #1C1B1F;
      --on-surface-variant: #49454F;
      --outline:            #79747E;
      --outline-variant:    #CAC4D0;
      --scrim:              #000000;

      --background:         #FCFCF7;
	  --tip-card:          #EBFFE6;

      --card-radius:        18px;
      --outer-card-radius:  30px;
      --card-padding:       16px;

      --sidebar-w: 264px;
    }

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

    body {
      font-family: 'Roboto', sans-serif;
      background: #ffffff;
      color: var(--on-surface);
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      font-size: 16px;
      line-height: 1.5;
    }

    .mobile-header {
      display: none;
      align-items: center;
      padding: 10px 16px;
      background: var(--surface-bright);
      border-bottom: 1px solid #E9EBDB;
      position: sticky;
      top: 0;
      z-index: 150;
    }

    .menu-toggle {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--on-surface);
      padding: 4px;
      margin-right: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .mobile-logo svg {
      height: 30px; 
      width: auto;
      display: block;
    }

    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 190;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .sidebar-overlay.open {
      display: block;
      opacity: 1;
	  background-color: transparent !important;
    }

    .sidebar {
      width: var(--sidebar-w);
      height: 100vh;
      background: #FCFCF7;
      position: fixed;
      top: 0; left: 0;
      display: flex;
      flex-direction: column;
      border-right: 1px solid #E9EBDB;
      z-index: 200;
      overflow-y: auto;
      transition: transform 0.3s ease;
    }

    .sidebar-logo {
      padding: 32px 20px 24px;
      display: flex;
      align-items: center;
    }

    .sidebar-logo svg {
      height: 50px; 
      width: auto;
      display: block;
    }

    .sidebar-back {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px 16px;
      font-size: 14px;
      font-weight: 500;
      color: var(--outline);
      text-decoration: none;
      border-bottom: 1px solid #E9EBDB;
      transition: color 0.15s;
    }

    .sidebar-back:hover { 
      color: var(--secondary); 
    }

    .nav-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--primary);
      padding: 16px 20px 6px;
    }

    .sidebar nav a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 20px;
      font-size: 14px;
      font-weight: 500;
      color: var(--on-surface-variant);
      text-decoration: none;
      border-radius: 0;
      transition: background 0.15s, color 0.15s;
      position: relative;
    }

    .sidebar nav a::before {
      content: '';
      position: absolute;
      left: 0; top: 4px; bottom: 4px;
      width: 3px;
      border-radius: 0 2px 2px 0;
      background: var(--primary);
      opacity: 0;
      transition: opacity 0.15s;
    }

    .sidebar nav a:hover {
      background: var(--surface-container-low);
      color: var(--on-surface);
    }

    .sidebar nav a.active {
      background: var(--secondary-container);
      color: var(--on-secondary-container);
      font-weight: 700;
    }

    .sidebar nav a.active::before { opacity: 1; }

    .sidebar-footer {
      margin-top: auto;
      padding: 16px 20px;
      font-size: 12px;
      color: var(--outline);
    }

    .main-wrap {
      display: flex;
      flex: 1;
    }

    .main {
      margin-left: var(--sidebar-w);
      flex: 1;
      padding: 0 0 80px;
      width: 100%;
    }

    .hero {
      background: #FCFCF7;
      padding: 32px 56px;
      border-bottom: 1px solid #E9EBDB;
    }
    
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 16px;
      font-size: 13px;
    }

    .breadcrumb a { color: var(--secondary); text-decoration: none; font-weight: 500; }
    .breadcrumb a:hover { text-decoration: underline; }
    .breadcrumb span { color: var(--outline); }
    .breadcrumb .current { color: var(--on-surface-variant); }

    .hero h1 {
      font-size: 26px;
      font-weight: 700;
      color: var(--primary); 
      letter-spacing: -0.25px;
      margin-bottom: 10px;
      line-height: 1.25;
    }

    .hero p {
      font-size: 14px;
      font-weight: 400;
      color: var(--on-surface-variant);
      max-width: 750px;
      line-height: 1.65;
    }

    .hero-pills {
      margin-top: 20px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: #EFEFE2;
      border: none;
      border-radius: 8px;
      padding: 5px 12px;
      font-size: 12px;
      font-weight: 500;
      color: var(--on-surface-variant);
    }

    .content {
      padding: 40px 56px;
      max-width: 860px;
    }

    .section {
      margin-bottom: 56px;
      scroll-margin-top: 24px;
    }

    .section-card {
      background: var(--surface-container-lowest);
      border-radius: var(--outer-card-radius);
      overflow: hidden;
      box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10), 0px 2px 6px 0px rgba(0, 0, 0, 0.05);    
    }

    .section-card-header {
      background: var(--background);
      padding: 20px 24px;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .section-num {
      width: 32px; height: 32px;
      border-radius: 100px;
      background: var(--primary-container);
      color: var(--on-primary-container);
      font-size: 14px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .section-title {
      font-size: 18px;
      font-weight: 600;
      color: var(--on-surface);
      letter-spacing: -0.25px;
    }

    .section-body {
      padding: 24px;
    }

    .section-intro {
      font-size: 16px;
      font-weight: 400;
      color: var(--on-surface-variant);
      line-height: 1.65;
      margin-bottom: 24px;
    }

    .inner-card {
      background: var(--surface);
      border-radius: var(--card-radius);
      padding: var(--card-padding);
      margin-bottom: 16px;
    }

    .video-card {
      border-radius: var(--card-radius);
      min-height: 220px;
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 8px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: opacity 0.15s;
    }

    .video-card video, .video-card iframe {
      width: 100%;
      height: auto;
      position: relative;
      z-index: 2;
      display: block;
    }

    .video-card:hover { opacity: 0.9; }

    .video-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(56,106,63,0.25) 0%, rgba(103,80,164,0.15) 100%);
    }

    .play-btn {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: rgba(0,0,0,0.48);
      border: 2px solid rgba(255,255,255,0.72);
      display: flex; align-items: center; justify-content: center;
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      z-index: 3;
      cursor: pointer;
      transition: transform 0.15s, background 0.15s;
    }

    .play-btn:hover {
      background: rgba(0,0,0,0.65);
      transform: translate(-50%, -50%) scale(1.08);
    }

    .video-label {
      font-size: 14px;
      font-weight: 500;
      color: var(--inverse-on-surface);
      position: relative; z-index: 1;
      opacity: 0.7;
    }

    .card-caption {
      font-size: 12px;
      color: var(--outline);
      font-style: italic;
      margin-bottom: 20px;
    }

    .screenshot-card {
      background: var(--surface-container);
      border-radius: var(--card-radius);
      overflow: hidden;
      margin-bottom: 8px;
      display: inline-block; /* shrinks to image natural width */
      max-width: 100%;       /* never overflows the container */
	  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10), 0px 2px 6px 0px rgba(0, 0, 0, 0.05);    

    }

    .screenshot-body {
      height: auto;
      display: block;
    }

    .screenshot-body img {
      display: block;
      width: auto;       /* natural width — not stretched */
      max-width: 100%;   /* constrained if image is wider than container */
      height: auto;      /* natural height — no cropping */
    }

    .steps { display: flex; flex-direction: column; gap: 0; }

    .step {
      display: grid;
      grid-template-columns: 28px 1fr;
      gap: 0 14px;
    }

    .step-track {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .step-dot {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--primary-container);
      color: var(--on-primary-container);
      font-size: 14px;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    .step-line {
      width: 1px;
      flex: 1;
      min-height: 16px;
      background: var(--outline-variant);
      margin: 4px auto;
    }

    .step:last-child .step-line { display: none; }

    .step-content { padding-bottom: 28px; padding-top: 1px; }

    .step-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--on-surface);
      margin-bottom: 8px;
    }

    .step-desc {
      font-size: 16px;
      font-weight: 400;
      color: var(--on-surface-variant);
      line-height: 1.65;
	  margin-bottom: 8px; 
    }

    .tip {
      display: flex;
      gap: 8px;
      align-items: flex-start;
      background: var(--tip-card);
      border-radius: 8px;
      padding: 10px 14px;
      margin-top: 10px;
      font-size: 14px;
      color: var(--on-tertiary-container);
      font-weight: 500;
    }

.faq-item {
    background: var(--surface);
    border-radius: var(--card-radius);
    margin-bottom: 12px;
    border: 1px solid var(--outline-variant);
    overflow: hidden; 
    transition: all 0.3s ease;
}

.faq-item summary {
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    font-weight: 700;
    color: var(--on-surface);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--surface-container-low);
}

.faq-item[open] summary {
    color: var(--primary);
}

.faq-body {
    padding: 6px 16px 16px 16px; 
    font-size: 16px;
    font-weight: 400;
    color: var(--on-surface-variant);
    line-height: 1.65;
}

.faq-answer {
    padding: 16px;
    font-size: 16px;
    color: var(--on-surface-variant);
    line-height: 1.6;
    background: var(--surface-container-lowest);
}

.faq-icon {
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--primary);
}
.setup-complete-card {
    text-align: center;
    background: var(--surface-bright);
    padding: 32px 24px;
    border-radius: var(--card-radius);
	margin-top: 32px;
}

.setup-complete-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--on-surface);
}

.setup-complete-card p {
    color: var(--on-surface-variant);
    margin-bottom: 24px;
    font-size: 16px;
}

.btn-primary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--on-primary);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: opacity 0.2s;
}
    @media (max-width: 768px) {
      .mobile-header {
        display: flex;
      }
      .sidebar {
        transform: translateX(-100%);
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
      }
      .sidebar.open {
        transform: translateX(0);
      }
      .main {
        margin-left: 0;
      }
      .hero {
        padding: 20px 20px;
      }
      .hero h1 {
        font-size: 22px;
      }
      .content {
        padding: 24px 20px;
    }
		.sidebar-logo svg {
        height: 42px; 
  }
    }

    /* ========================================= */
    /* Custom Scrollbar Styles */
    /* ========================================= */

    /* For Firefox (Firefox is stubborn with arrows, but this minimizes it) */
    * {
      scrollbar-width: thin !important;
      scrollbar-color: #E5E2E0 transparent !important;
    }

    /* Global scrollbar width */
    ::-webkit-scrollbar {
      width: 6px !important; 
    }

    /* Scrollbar track (background) */
    ::-webkit-scrollbar-track {
      background-color: transparent !important;
    }

    /* Scrollbar thumb (the draggable part) */
    ::-webkit-scrollbar-thumb {
      background-color: #E5E2E0 !important;
      border-radius: 20px !important; 
      border: 3px solid transparent !important; 
      background-clip: content-box !important; 
    }

    /* Hover effect */
    ::-webkit-scrollbar-thumb:hover {
      background-color: #a8a8a8 !important;
    }

    /* Completely nuke all types of arrows/buttons */
    ::-webkit-scrollbar-button,
    ::-webkit-scrollbar-button:start,
    ::-webkit-scrollbar-button:end,
    ::-webkit-scrollbar-button:vertical:start:decrement,
    ::-webkit-scrollbar-button:vertical:end:increment,
    ::-webkit-scrollbar-button:horizontal:start:decrement,
    ::-webkit-scrollbar-button:horizontal:end:increment {
      display: none !important;
      width: 0 !important;
      height: 0 !important;
      background-color: transparent !important;
    }


/* ── SIDEBAR ACCORDION ── */
    .sidebar-accordion { padding-bottom: 16px; }

    /* Each resource section (Forms, Documents, etc.) */
    .sidebar-section { border-bottom: 1px solid #E9EBDB; }

    /* The clickable header row */
    .sidebar-section-toggle {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 12px 20px;
      font-size: 13px;
      font-weight: 700;
      color: var(--on-surface-variant);
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      text-decoration: none;
      transition: background 0.15s, color 0.15s;
    }

    .sidebar-section-toggle:hover {
      background: var(--surface-container-high);
      color: var(--on-surface);
    }

    /* Current page section header — highlighted */
    .sidebar-section-toggle.is-current {
      color: var(--primary);
      font-weight: 700;
    }

    /* Chevron icon */
    .sidebar-section-toggle svg {
      flex-shrink: 0;
      opacity: 0.5;
      transition: transform 0.2s ease, opacity 0.15s;
    }

    .sidebar-section.open .sidebar-section-toggle svg {
      transform: rotate(180deg);
      opacity: 1;
    }

    /* Collapsible links container */
    .sidebar-section-links {
      display: none;
      flex-direction: column;
      background: var(--surface-container-low);
      border-top: 1px solid #E9EBDB;
    }

    .sidebar-section.open .sidebar-section-links {
      display: flex;
    }

    /* Individual feature link */
    .sidebar-section-link {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 9px 20px 9px 32px !important;;
      font-size: 13px;
      font-weight: 400;
      color: var(--on-surface-variant);
      text-decoration: none;
      position: relative;
      transition: background 0.12s, color 0.12s;
      line-height: 1.4;
    }

    .sidebar-section-link::before {
      content: '';
      position: absolute;
      left: 0; top: 4px; bottom: 4px;
      width: 3px;
      border-radius: 0 2px 2px 0;
      background: var(--secondary);
      opacity: 0;
      transition: opacity 0.12s;
    }

    .sidebar-section-link:hover {
      background: var(--surface-container-high);
      color: var(--on-surface);
    }

    /* Currently visible section — updated by scrollspy */
    .sidebar-section-link.active {
      background: var(--secondary-container);
      color: var(--on-secondary-container);
      font-weight: 600;
    }

    .sidebar-section-link.active::before { opacity: 1; }

    /* Support links at the bottom */
    .sidebar-support-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--primary);
      padding: 16px 20px 6px;
      display: block;
    }
  