﻿    /* ── TOKENS ──────────────────────────────────────────────────── */
    :root {
      --navy:      var(--onyx);
      --deep-navy: var(--onyx);
      --teal:      var(--porcelain);
      --teal-dark: var(--line-light);
      --silver:    var(--mist);
      --white:     var(--porcelain);
      --card-bg:   var(--graphite);
      --border:    rgba(245,243,238,0.10);

      --font-display: var(--font-serif);
      --font-body:    var(--font-sans);
    }

    /* ── RESET ───────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    /* Compensate for the fixed 64px nav bar so clicking a nav link
       (Courses, Pricing, etc.) scrolls to a position where the
       section's heading is actually visible below the nav, instead
       of being hidden underneath it. */
    section[id], div[id] {
      scroll-margin-top: 84px;
    }
    body {
      background: var(--navy);
      color: var(--white);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    ul { list-style: none; }


    /* ── HERO ────────────────────────────────────────────────────── */
    .hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: center;
      padding: 100px 8% 60px;
      position: relative;
      overflow: hidden;
    }
    .hero-content { max-width: 600px; }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      grid-column: 1 / -1;
      pointer-events: none;
    }
    .hero-eyebrow {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 1.2rem;
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 6vw, 4.8rem);
      font-weight: 400;
      line-height: 1.05;
      letter-spacing: 0;
      max-width: 16ch;
      margin-bottom: 1.5rem;
    }
    .hero h1 em {
      font-style: normal;
      color: var(--teal);
    }
    .hero-sub {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: var(--silver);
      max-width: 50ch;
      line-height: 1.7;
      margin-bottom: 0.8rem;
    }
    .hero-quote {
      font-family: var(--font-display);
      font-size: 0.9rem;
      font-style: italic;
      color: rgba(245,243,238,0.6);
      margin-bottom: 2.5rem;
    }
    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
    }
    .btn-primary {
      background: var(--teal);
      color: var(--navy);
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 700;
      padding: 0.8rem 1.8rem;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
      display: inline-block;
    }
    .btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
    .btn-ghost {
      color: var(--silver);
      font-size: 0.9rem;
      font-weight: 500;
      padding: 0.8rem 1.8rem;
      border-radius: 8px;
      border: 1px solid var(--border);
      transition: border-color 0.2s, color 0.2s;
      display: inline-block;
    }
    .btn-ghost:hover { border-color: var(--silver); color: var(--white); }
    .hero-stats {
      display: flex;
      gap: 2.5rem;
      margin-top: 3rem;
      flex-wrap: wrap;
    }
    .stat-item { display: flex; flex-direction: column; gap: 0.25rem; }
    .stat-num {
      font-family: var(--font-mono);
      font-size: 1.6rem;
      font-weight: 500;
      color: var(--porcelain);
      line-height: 1;
      font-variant-numeric: tabular-nums;
    }
    .stat-label {
      font-size: 0.78rem;
      color: var(--steel);
      line-height: 1.4;
    }
    .stat-link { color: var(--porcelain); text-underline-offset: 3px; }

    /* ── SECTIONS ────────────────────────────────────────────────── */
    section { padding: 90px 5%; }
    .section-label {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 0.8rem;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 400;
      letter-spacing: 0;
      line-height: 1.1;
      margin-bottom: 1rem;
    }
    .section-sub {
      color: var(--silver);
      font-size: 1rem;
      max-width: 55ch;
      line-height: 1.7;
      margin-bottom: 3rem;
    }

    /* ── COURSES ─────────────────────────────────────────────────── */
    #courses { background: var(--deep-navy); }
    .courses-filter-wrap {
      position: relative;
      margin-bottom: 2rem;
    }
    .courses-filter {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
    }
    .filter-btn {
      font-size: 0.8rem;
      font-weight: 500;
      padding: 0.4rem 1rem;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--silver);
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }
    .filter-btn.active, .filter-btn:hover {
      background: var(--teal);
      color: var(--navy);
      border-color: var(--teal);
      font-weight: 700;
    }
    @media (max-width: 768px) {
      .courses-filter-wrap::after {
        content: '';
        position: absolute;
        top: 0; right: 0; bottom: 0; width: 52px;
        background: linear-gradient(to right, transparent, #0B0B0C);
        pointer-events: none;
        z-index: 1;
      }
      .courses-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scroll-padding-left: 16px;
        padding-bottom: 4px;
      }
      .courses-filter::-webkit-scrollbar { display: none; }
      .filter-btn {
        flex-shrink: 0;
        font-size: 0.875rem;
        padding: 0.35rem 0.85rem;
        scroll-snap-align: start;
      }
    }
    .courses-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 1rem;
    }
    .course-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.4rem;
      transition: border-color 0.2s, transform 0.2s;
      cursor: default;
    }
    .course-card:hover {
      border-color: var(--smoke);
      transform: translateY(-2px);
    }
    .course-card.hidden { display: none; }
    .course-emoji { font-size: 1.8rem; margin-bottom: 0.8rem; }
    .course-card h3 {
      font-family: var(--font-display);
      font-size: 0.98rem;
      font-weight: 400;
      letter-spacing: 0;
      line-height: 1.3;
      margin-bottom: 0.4rem;
    }
    .course-meta {
      font-size: 0.78rem;
      color: var(--silver);
      display: flex;
      gap: 0.8rem;
      margin-bottom: 0.7rem;
    }
    .course-desc {
      font-size: 0.82rem;
      color: var(--silver);
      line-height: 1.55;
      margin-bottom: 0.9rem;
    }
    .course-card.extra-hidden { display: none; }
    .courses-showmore {
      display: flex;
      justify-content: center;
      margin-top: 2rem;
    }
    .showmore-btn {
      background: transparent;
      border: 1px solid var(--smoke);
      color: var(--teal);
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 0.9rem;
      padding: 0.7rem 1.6rem;
      border-radius: 30px;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }
    .showmore-btn:hover {
      background: rgba(245,243,238,0.06);
      border-color: var(--teal);
    }
    .course-badge {
      font-size: 0.7rem;
      font-weight: 700;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      display: inline-block;
    }
    .badge-free { display: none; }
    .badge-premium { display: none; }

    /* ── FEATURES ────────────────────────────────────────────────── */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
    }
    .feature-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.8rem;
      transition: border-color 0.2s;
    }
    .feature-card:hover { border-color: var(--smoke); }
    .feature-icon {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
    .feature-card h3 {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 400;
      letter-spacing: 0;
      margin-bottom: 0.5rem;
    }
    .feature-card p { font-size: 0.875rem; color: var(--silver); line-height: 1.65; }

    /* ── SCREENSHOTS ─────────────────────────────────────────────── */
    .screenshots-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 1.5rem;
    }
    .screenshot-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      transition: border-color 0.2s, transform 0.2s;
    }
    .screenshot-card:hover { border-color: var(--smoke); transform: translateY(-4px); }
    .screenshot-card img {
      width: 100%;
      display: block;
      border-bottom: 1px solid var(--border);
    }
    .screenshot-card p {
      padding: 1rem 1.1rem;
      font-size: 0.85rem;
      color: var(--silver);
      line-height: 1.6;
    }

    /* ── PRICING ─────────────────────────────────────────────────── */
    #pricing { background: var(--deep-navy); }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 1.2rem;
      align-items: start;
    }
    .pricing-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 2rem 1.6rem;
      position: relative;
      transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    }
    .pricing-card:hover {
      transform: translateY(-6px);
      border-color: var(--teal);
      box-shadow: 0 16px 32px rgba(0,0,0,0.35);
    }
    .pricing-card.featured:hover {
      transform: translateY(-8px);
    }
    .pricing-card.featured {
      border-color: var(--teal);
      background: linear-gradient(160deg, #1C1C1F 0%, #0B0B0C 100%);
    }
    .pricing-card.featured::before {
      content: 'Most Popular';
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--teal);
      color: var(--navy);
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 0.25rem 0.8rem;
      border-radius: 20px;
      white-space: nowrap;
    }
    .plan-name {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 400;
      margin-bottom: 0.3rem;
    }
    .plan-price {
      font-family: var(--font-display);
      font-size: 2.4rem;
      font-weight: 400;
      color: var(--teal);
      line-height: 1;
      margin: 0.6rem 0 0.2rem;
    }
    .plan-price span { font-size: 1rem; color: var(--silver); font-weight: 400; }
    .plan-yearly { font-size: 0.78rem; color: var(--silver); margin-bottom: 1.4rem; }
    .plan-features {
      margin-bottom: 1.8rem;
    }
    .plan-features li {
      font-size: 0.85rem;
      color: var(--silver);
      padding: 0.3rem 0;
      display: flex;
      gap: 0.5rem;
      align-items: flex-start;
    }
    .plan-features li::before { content: '✓'; color: var(--teal); flex-shrink: 0; font-weight: 700; }
    .plan-cta {
      display: block;
      text-align: center;
      padding: 0.75rem;
      border-radius: 8px;
      font-weight: 700;
      font-size: 0.875rem;
      transition: all 0.2s;
      border: 1px solid var(--teal);
      color: var(--teal);
      background: transparent;
      cursor: pointer;
      position: relative;
    }
    .plan-cta:hover, .pricing-card.featured .plan-cta {
      background: var(--teal);
      color: var(--navy);
      letter-spacing: 0.02em;
    }
    .plan-cta::after {
      content: '→';
      display: inline-block;
      margin-left: 0.4rem;
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity 0.2s, transform 0.2s;
    }
    .plan-cta:hover::after {
      opacity: 1;
      transform: translateX(0);
    }
    .pricing-note {
      text-align: center;
      margin-top: 2rem;
      font-size: 0.8rem;
      color: var(--silver);
    }
    .pricing-note a { color: var(--teal); text-decoration: underline; }
    @keyframes price-flash { 0%,100% { opacity:1; } 30% { opacity:0.3; } }
    .price-flash { animation: price-flash 0.35s ease; }

    /* ── HOW IT WORKS ────────────────────────────────────────────── */
    .steps {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 2rem;
      counter-reset: steps;
    }
    .step {
      counter-increment: steps;
      position: relative;
      padding-left: 1rem;
    }
    .step::before {
      content: counter(steps, decimal-leading-zero);
      display: block;
      font-family: var(--font-display);
      font-size: 3rem;
      font-weight: 400;
      color: rgba(245,243,238,0.08);
      line-height: 1;
      margin-bottom: 0.6rem;
    }
    .step h3 {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 0;
      margin-bottom: 0.4rem;
    }
    .step p { font-size: 0.875rem; color: var(--silver); line-height: 1.65; }

    /* ── APPLY ───────────────────────────────────────────────────── */
    #apply { background: var(--deep-navy); }
    .apply-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }
    .apply-form {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 2rem;
    }
    .form-row {
      margin-bottom: 1.1rem;
    }
    .form-row label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--silver);
      margin-bottom: 0.4rem;
      letter-spacing: 0.04em;
    }
    .form-row input,
    .form-row select,
    .form-row textarea {
      width: 100%;
      background: var(--navy);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0.7rem 1rem;
      color: var(--white);
      font-family: var(--font-body);
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.2s;
    }
    .form-row input:focus,
    .form-row select:focus,
    .form-row textarea:focus {
      border-color: var(--teal);
    }
    .form-row select option { background: var(--deep-navy); }
    .form-row textarea { resize: vertical; min-height: 90px; }
    .form-status {
      font-size: 0.85rem;
      margin-top: 0.8rem;
      min-height: 1.5rem;
    }
    .status-ok { color: var(--teal); }
    .status-err { color: var(--danger); }
    .whatsapp-btn {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      background: var(--porcelain);
      color: var(--onyx);
      border: 1px solid var(--smoke);
      font-weight: 700;
      font-size: 0.9rem;
      padding: 0.75rem 1.4rem;
      border-radius: 50px;
      margin-top: 1.2rem;
      transition: background 0.18s, color 0.18s, border-color 0.18s;
      width: fit-content;
      text-decoration: none;
    }
    .whatsapp-btn:hover { background: var(--onyx); color: var(--porcelain); border-color: var(--porcelain); }
    .apply-info h3 {
      font-family: var(--font-display);
      font-size: 1.4rem;
      font-weight: 400;
      letter-spacing: 0;
      margin-bottom: 1rem;
    }
    .apply-info p { font-size: 0.9rem; color: var(--silver); line-height: 1.7; margin-bottom: 1rem; }
    .info-list li {
      font-size: 0.875rem;
      color: var(--silver);
      padding: 0.4rem 0;
      display: flex;
      gap: 0.6rem;
    }
    .info-list li::before { content: '→'; color: var(--teal); }

    /* ── APP DOWNLOAD ────────────────────────────────────────────── */
    #app { background: var(--deep-navy); }
    .app-showcase {
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 3rem;
      align-items: center;
    }
    .app-mockups {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      min-height: 360px;
    }
    .phone-mock {
      position: absolute;
      width: 148px;
      height: 296px;
      background: linear-gradient(160deg, #1C1C1F 0%, #0B0B0C 100%);
      border: 2px solid var(--border);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0,0,0,0.4);
      transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  width 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  height 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  border-color 0.3s, opacity 0.2s;
    }
    @media (prefers-reduced-motion: reduce) {
      .phone-mock { transition: none; }
    }
    .phone-mock-notch {
      position: absolute;
      top: 12px;
      left: 50%;
      transform: translateX(-50%);
      width: 50px; height: 5px;
      border-radius: 4px;
      background: var(--border);
      z-index: 3;
    }
    .phone-mock-screen {
      position: absolute;
      top: 28px; left: 2px; right: 2px; bottom: 2px;
      overflow: hidden;
      border-radius: 0 0 22px 22px;
    }
    .phone-mock-screen img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
    }
    .phone-mock[data-slot="center"] {
      width: 176px;
      height: 350px;
      border-color: var(--teal);
      box-shadow: 0 25px 70px rgba(0,0,0,0.4);
      z-index: 2;
    }
    .phone-mock[data-slot="left"]  { transform: rotate(-9deg) translate(-105px, 18px); z-index: 1; cursor: pointer; }
    .phone-mock[data-slot="right"] { transform: rotate(9deg) translate(105px, 18px); z-index: 1; cursor: pointer; }
    .phone-mock[data-slot="left"]:hover,
    .phone-mock[data-slot="right"]:hover { opacity: 0.82; }
    /* Caption below phone fan */
    .phone-caption-area {
      position: absolute;
      bottom: -2rem;
      left: 0; right: 0;
      text-align: center;
      font-size: 0.78rem;
      color: var(--silver);
      pointer-events: none;
      transition: opacity 0.25s;
    }
    /* Mobile dots for phone carousel */
    .phone-dots {
      display: none;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 1rem;
    }
    .phone-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--border);
      border: none; cursor: pointer; padding: 0;
      transition: background 0.2s, transform 0.2s;
    }
    .phone-dot.active { background: var(--teal); transform: scale(1.3); }

    .app-feature-list { margin-bottom: 1.8rem; }
    .app-feature-list li {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-size: 0.92rem;
      color: var(--silver);
      padding: 0.55rem 0;
      border-bottom: 1px solid var(--border);
    }
    .app-feature-list li:last-child { border-bottom: none; }
    .app-feature-list li .li-icon { font-size: 1.2rem; width: 1.6rem; text-align: center; flex-shrink: 0; }

    .rmi-install-btn { margin-bottom: 0.75rem; }
    .app-store-note { font-size: 0.8rem; color: var(--steel); margin-bottom: 1rem; }
    .app-official-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
    .app-official-badges img { height: 40px; width: auto; display: block; }
    @media (min-width: 960px) { .app-official-badges img { height: 48px; } }

    .install-faq {
      margin-top: 1.6rem; border: 1px solid var(--border);
      border-radius: 14px; overflow: hidden; background: var(--card-bg);
    }
    .install-faq summary {
      cursor: pointer; list-style: none; padding: 1rem 1.3rem;
      font-family: var(--font-display); font-weight: 400; font-size: 0.9rem; letter-spacing: 0; color: var(--white);
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    }
    .install-faq summary::-webkit-details-marker { display: none; }
    .install-faq summary .chevron { transition: transform 0.2s; color: var(--teal); flex-shrink: 0; }
    .install-faq[open] summary .chevron { transform: rotate(180deg); }
    .install-faq-body { padding: 0 1.3rem 1.2rem; }
    .install-faq-body p { font-size: 0.85rem; color: var(--silver); line-height: 1.7; margin-bottom: 0.8rem; }
    .install-faq-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: flex; flex-direction: column; gap: 0.6rem; }
    .install-faq-steps li {
      font-size: 0.83rem; color: var(--silver); line-height: 1.6;
      padding-left: 2.1rem; position: relative; counter-increment: step;
    }
    .install-faq-steps li::before {
      content: counter(step); position: absolute; left: 0; top: -0.05rem;
      width: 1.5rem; height: 1.5rem; border-radius: 50%;
      background: rgba(245,243,238,0.08); color: var(--teal);
      font-weight: 800; font-size: 0.78rem;
      display: flex; align-items: center; justify-content: center;
    }

    /* ── FIND US / MAP ───────────────────────────────────────────── */
    .map-card {
      position: relative;
      height: 420px;
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      background: var(--card-bg);
    }
    .map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
    .map-badge, .map-toggle {
      position: absolute;
      top: 16px;
      z-index: 5;
      background: rgba(11,11,12,0.85);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border);
      border-radius: 10px;
    }
    .map-badge {
      left: 16px;
      padding: 0.55rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.55rem;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--white);
    }
    .map-badge .pulse-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--teal);
      animation: pulseDot 2s infinite;
      flex-shrink: 0;
    }
    @keyframes pulseDot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(1.35); }
    }
    .map-toggle {
      right: 16px;
      display: flex;
      gap: 0.35rem;
      padding: 0.3rem;
    }
    .map-toggle button {
      background: transparent;
      border: none;
      color: var(--silver);
      font-family: var(--font-body);
      font-size: 0.78rem;
      font-weight: 600;
      padding: 0.45rem 0.85rem;
      border-radius: 7px;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .map-toggle .ri { width: 16px; height: 16px; }
    .map-toggle button:hover:not(.active) { color: var(--white); }
    .map-toggle button.active { background: var(--teal); color: var(--navy); }
    .location-info {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-top: 1.5rem;
    }
    .location-info-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.1rem 1.3rem;
      display: flex;
      align-items: flex-start;
      gap: 0.8rem;
      min-width: 0; /* allows text to wrap inside flex children */
    }
    .location-info-icon { font-size: 1.3rem; line-height: 1; margin-top: 2px; flex-shrink: 0; }
    .location-info-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--silver);
      margin-bottom: 2px;
    }
    .location-info-value {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--white);
      word-break: break-word; /* prevents long emails overflowing */
    }

    /* ── FOOTER ──────────────────────────────────────────────────── */
    footer {
      background: var(--deep-navy);
      border-top: 1px solid var(--border);
      padding: 3rem 5% 6rem; /* 6rem clears the fixed WA button on desktop */
    }
    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 2.5rem;
    }
    .footer-brand .nav-logo { font-size: 1.2rem; margin-bottom: 0.8rem; }
    .footer-brand p { font-size: 0.85rem; color: var(--silver); line-height: 1.7; max-width: 36ch; }
    .footer-col h4 {
      font-family: var(--font-display);
      font-size: 0.85rem;
      font-weight: 400;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--silver);
      margin-bottom: 1rem;
    }
    .footer-col li { margin-bottom: 0.5rem; }
    .footer-col a { font-size: 0.85rem; color: rgba(245,243,238,0.6); transition: color 0.2s; }
    .footer-col a:hover { color: var(--white); }
    .footer-bottom {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 1.5rem;
      align-items: start;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border);
    }
    .footer-bottom p { font-size: 0.78rem; color: rgba(245,243,238,0.4); margin-bottom: 0.35rem; }
    .footer-bottom a { color: var(--teal); }
    .footer-bottom-left .footer-links-row a { color: rgba(245,243,238,0.55); font-size: 0.78rem; }
    .footer-bottom-left .footer-links-row a:hover { color: var(--white); }
    .footer-delete-link { color: rgba(229,103,92,0.65) !important; }
    .footer-delete-link:hover { color: var(--danger) !important; }
    .footer-bottom-mid a { color: var(--teal); font-weight: 600; }
    .footer-notify-cta {
      display: inline-block;
      font-size: 0.78rem;
      background: rgba(245,243,238,0.06);
      color: var(--teal) !important;
      border: 1px solid rgba(245,243,238,0.12);
      border-radius: 8px;
      padding: 0.45rem 0.9rem;
      text-decoration: none;
      transition: background 0.2s;
      margin-top: 0.3rem;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }
    .footer-notify-cta:hover { background: rgba(245,243,238,0.10); }

  
  /* ── TOAST ───────────────────────────────────────────────────── */
    .toast {
      position: fixed;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%) translateY(80px);
      background: var(--teal);
      color: var(--navy);
      font-weight: 700;
      font-size: 0.9rem;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      transition: transform 0.3s;
      z-index: 999;
      white-space: nowrap;
    }
    .toast.show { transform: translateX(-50%) translateY(0); }

    /* ── NAV HAMBURGER (tablet + mobile ≤1099px) ─────────────────── */
    @media (max-width: 1099px) {
      .nav-links { display: none; }
      .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: var(--deep-navy);
        padding: 0.25rem 0 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 60px rgba(0,0,0,0.45);
        z-index: 99;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
      }
      .nav-hamburger { display: flex; }
      #navMobileCta {
        display: inline-flex;
        align-items: center;
        font-size: 0.82rem;
        padding: 0.38rem 0.9rem;
        border-radius: 6px;
        white-space: nowrap;
        flex-shrink: 0;
      }

      /* Regular nav links */
      .nav-links.open > li > a:not(.nav-cta) {
        display: flex; align-items: center;
        padding: 0.95rem 5%;
        font-size: 0.95rem; font-weight: 500;
        color: var(--silver);
        border-bottom: 1px solid rgba(245,243,238,0.06);
        transition: color 0.15s, background 0.15s;
      }
      .nav-links.open > li > a:not(.nav-cta):hover { color: var(--white); background: rgba(245,243,238,0.04); }

      /* Search icon button */
      .nav-links.open > li > button:not(.nav-more-btn) {
        display: flex; align-items: center;
        width: 100%; padding: 0.95rem 5%;
        font-size: 0.95rem; font-weight: 500; color: var(--silver);
        border: none; border-bottom: 1px solid rgba(245,243,238,0.06);
        background: none; cursor: pointer; text-align: left;
        font-family: var(--font-body); transition: color 0.15s, background 0.15s;
      }
      .nav-links.open > li > button:not(.nav-more-btn):hover { color: var(--white); background: rgba(245,243,238,0.04); }

      /* More dropdown: show inline as indented section */
      .nav-more-item { width: 100%; }
      .nav-more-btn { display: none; }
      .nav-more-dropdown {
        display: flex !important; position: static; transform: none;
        flex-direction: column; background: rgba(0,0,0,0.2);
        border: none; border-radius: 0; padding: 0;
        box-shadow: none; min-width: unset;
      }
      .nav-more-dropdown::before {
        content: 'MORE';
        display: block;
        font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
        color: rgba(245,243,238,0.35);
        padding: 0.7rem 5% 0.2rem;
      }
      .nav-more-dropdown a {
        padding: 0.8rem 5% 0.8rem 8% !important;
        font-size: 0.88rem !important;
        color: rgba(245,243,238,0.7) !important;
        border-bottom: 1px solid rgba(245,243,238,0.05) !important;
        border-radius: 0 !important;
        transition: color 0.15s, background 0.15s !important;
      }
      .nav-more-dropdown a:hover { color: var(--white) !important; background: rgba(245,243,238,0.04) !important; }
      /* Sponsor appears again as a standalone CTA - hide it inside More dropdown on mobile */
      .nav-more-dropdown li:last-child { display: none; }

      /* Separator before CTA buttons */
      .nav-links.open > li:has(> a.nav-cta-outline-teal) {
        border-top: 1px solid rgba(245,243,238,0.1);
        margin-top: 0.75rem;
        padding-top: 0.25rem;
      }
      /* CTA pills */
      .nav-links.open > li > a.nav-cta {
        display: block;
        margin: 0.25rem 5%;
        text-align: center;
        border-radius: 8px;
        padding: 0.5rem 0.85rem;
        font-size: 0.82rem;
        border-bottom: none !important;
      }
    }

    /* ── MOBILE (≤768px) ─────────────────────────────────────────── */
    @media (max-width: 768px) {
      .apply-wrap { grid-template-columns: 1fr; gap: 2rem; }
      .footer-top { grid-template-columns: 1fr; gap: 2rem; }
      .hero-stats { gap: 2rem; }
      section { padding: 60px 5%; }
      .map-card { height: 280px; }
      .map-badge { font-size: 0.72rem; padding: 0.45rem 0.75rem; }
      .map-toggle button { font-size: 0.72rem; padding: 0.4rem 0.65rem; }
      .location-info { grid-template-columns: 1fr 1fr; }

      .app-showcase { grid-template-columns: 1fr; gap: 2.5rem; }
      .app-mockups { min-height: 260px; order: -1; }
      .phone-mock { width: 116px; height: 232px; border-radius:18px; }
      .phone-mock[data-slot="center"] { width: 138px; height: 274px; }
      .phone-mock[data-slot="left"]  { transform: rotate(-9deg) translate(-70px, 14px); }
      .phone-mock[data-slot="right"] { transform: rotate(9deg) translate(70px, 14px); }
      footer { padding-bottom: 8rem; } /* extra for mobile WA button + app bar */
    }

    /* ── SCROLL REVEAL ───────────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    @media (max-width: 480px) {
      .map-card { height: 220px; }
      .map-toggle { gap: 0.25rem; }
      .location-info { grid-template-columns: 1fr; }

      .app-mockups { min-height: 260px; }
      .phone-mock[data-slot="left"], .phone-mock[data-slot="right"] { opacity: 0; pointer-events: none; }
      .phone-mock[data-slot="center"] { width: 160px; height: 318px; transform: none; }
      .phone-dots { display: flex; }
    }

    /* ── LOGO IMAGES ──────────────────────────────────────────────── */
    .rmi-logo-nav {
      height: 46px;
      width: auto;
      object-fit: contain;
    }
    .rmi-logo-footer {
      height: 64px;
      width: auto;
      object-fit: contain;
      margin-bottom: 1rem;
    }

    /* ── PODCAST SECTION ─────────────────────────────────────────── */
    #podcast { background: var(--navy); position: relative; overflow: hidden; }
    #podcast::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .podcast-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
      position: relative;
    }
    .podcast-art {
      position: relative;
      display: flex;
      justify-content: center;
    }
    .podcast-cover {
      width: 100%;
      max-width: 380px;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .podcast-cover:hover {
      transform: scale(1.03) rotate(-1deg);
      box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    }
    /* Floating badge */
    .podcast-badge {
      position: absolute;
      bottom: -12px;
      right: 20px;
      background: var(--graphite);
      color: var(--mist);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.4rem 1rem;
      border-radius: 20px;
      border: 1px solid var(--smoke);
    }
    .podcast-host {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      margin-bottom: 1.5rem;
    }
    .host-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--steel);
      box-shadow: none;
      animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.7); }
    }
    .host-name {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--silver);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .podcast-content .section-title { margin-bottom: 0.6rem; }
    .podcast-tagline {
      font-family: var(--font-display);
      font-size: 1rem;
      color: var(--steel);
      font-style: italic;
      margin-bottom: 1rem;
    }
    .podcast-desc {
      font-size: 0.9rem;
      color: var(--silver);
      line-height: 1.75;
      margin-bottom: 1.8rem;
      max-width: 48ch;
    }
    .podcast-topics {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 2rem;
    }
    .topic-chip {
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.3rem 0.85rem;
      border-radius: 20px;
      border: 1px solid var(--smoke);
      color: var(--mist);
      background: rgba(245,243,238,0.04);
    }
    .podcast-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
    }
    .btn-youtube {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      background: #FF0000;
      color: #fff;
      font-weight: 700;
      font-size: 0.875rem;
      padding: 0.75rem 1.4rem;
      border-radius: 8px;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-youtube:hover { background: #cc0000; transform: translateY(-1px); }
    .btn-youtube svg { flex-shrink: 0; }
    .btn-spotify {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      background: transparent;
      color: #1DB954;
      font-weight: 700;
      font-size: 0.875rem;
      padding: 0.75rem 1.4rem;
      border-radius: 8px;
      border: 1px solid #1DB954;
      transition: all 0.2s;
    }
    .btn-spotify:hover { background: #1DB954; color: #000; }
    .podcast-stats {
      display: flex;
      gap: 2.5rem;
      margin-top: 2.5rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
    }
    .podcast-stat strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 400;
      color: var(--porcelain);
      line-height: 1;
    }
    .podcast-stat span {
      font-size: 0.78rem;
      color: var(--silver);
    }
    @media (max-width: 768px) {
      .podcast-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
      .podcast-cover { max-width: 280px; }
    }

    /* ── TESTIMONIALS ────────────────────────────────────────────── */
    #testimonials { background: var(--deep-navy); }
    .testimonial-carousel-wrap {
      display: flex;
      align-items: center;
      gap: 1rem;
      max-width: 780px;
      margin: 0 auto;
    }
    .testimonial-nav {
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--card-bg);
      border: 1px solid var(--border);
      color: var(--silver);
      font-size: 1.4rem;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .testimonial-nav:hover { border-color: var(--teal); color: var(--teal); }
    .testimonials-grid {
      display: flex;
      overflow: hidden;
      flex: 1;
      touch-action: pan-y;
    }
    .testimonial-card {
      flex: 0 0 100%;
      transition: none;
    }
    .testimonial-dots {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 1.2rem;
    }
    .testimonial-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border);
      border: none;
      cursor: pointer;
      padding: 0;
      transition: background 0.2s, transform 0.2s;
    }
    .testimonial-dot.active { background: var(--teal); transform: scale(1.3); }
    .testimonial-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 2.2rem 2rem;
      position: relative;
      transition: border-color 0.3s, transform 0.3s;
    }
    .testimonial-card:hover {
      border-color: var(--smoke);
      transform: translateY(-3px);
    }
    /* Big quote mark */
    .testimonial-card::before {
      content: '\201C';
      position: absolute;
      top: 1rem;
      right: 1.6rem;
      font-family: var(--font-display);
      font-size: 6rem;
      line-height: 1;
      color: rgba(245,243,238,0.05);
      pointer-events: none;
    }
    .stars {
      display: flex;
      gap: 3px;
      margin-bottom: 1.2rem;
    }
    .star {
      color: var(--porcelain);
      font-size: 1rem;
    }
    .testimonial-quote {
      font-size: 0.975rem;
      color: var(--white);
      line-height: 1.8;
      margin-bottom: 1rem;
      font-style: italic;
    }
    .testimonial-quote.clamped {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .read-more-btn {
      background: none;
      border: none;
      color: var(--teal);
      font-size: 0.82rem;
      cursor: pointer;
      padding: 0;
      margin-bottom: 1.2rem;
      display: block;
      font-family: var(--font-body);
    }
    .read-more-btn:hover { text-decoration: underline; }
    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .author-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--teal-dark), var(--deep-navy));
      border: 2px solid var(--teal);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-weight: 400;
      font-size: 1.1rem;
      color: var(--teal);
      flex-shrink: 0;
    }
    .author-name {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: 0.95rem;
      color: var(--white);
    }
    .author-role {
      font-size: 0.78rem;
      color: var(--silver);
      margin-top: 0.1rem;
    }
    .author-badge {
      display: inline-block;
      font-size: 0.68rem;
      font-weight: 700;
      padding: 0.15rem 0.55rem;
      border-radius: 10px;
      background: rgba(245,243,238,0.07);
      color: var(--teal);
      margin-top: 0.3rem;
      letter-spacing: 0.04em;
    }
    .testimonials-note {
      text-align: center;
      margin-top: 2.5rem;
      font-size: 0.82rem;
      color: rgba(245,243,238,0.45);
      font-style: italic;
    }
    @media (max-width: 768px) {
      .testimonial-carousel-wrap { gap: 0.5rem; }
      .testimonial-nav { display: none; }
      .testimonial-card { padding: 1.5rem 1.2rem; }
      .testimonial-quote { font-size: 0.875rem; line-height: 1.7; }
      .footer-bottom { grid-template-columns: 1fr; text-align: center; }
      .footer-bottom-left .footer-links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 0.75rem; }
      .footer-notify-cta { justify-content: center; }
    }

    /* ── FAQ ─────────────────────────────────────────────────────── */
    #faq { background: var(--navy); }
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
      max-width: 960px;
    }
    .faq-item {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 0.2s;
    }
    .faq-item.open { border-color: var(--smoke); }
    .faq-question {
      width: 100%;
      background: none;
      border: none;
      padding: 1.3rem 1.5rem;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      cursor: pointer;
      text-align: left;
    }
    .faq-question-text {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 400;
      letter-spacing: 0;
      color: var(--white);
      line-height: 1.35;
    }
    .faq-icon {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 1.5px solid var(--teal);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--teal);
      font-size: 1rem;
      font-weight: 700;
      transition: transform 0.3s, background 0.2s;
      margin-top: 1px;
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
      background: var(--teal);
      color: var(--navy);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.2s;
      padding: 0 1.5rem;
    }
    .faq-item.open .faq-answer {
      max-height: 420px;
      padding-bottom: 1.4rem;
    }
    .faq-feedback {
      display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem;
      font-size: 0.78rem; color: var(--silver);
    }
    .faq-feedback button {
      background: none; border: 1px solid var(--border); border-radius: 8px;
      padding: 0.25rem 0.55rem; cursor: pointer; font-size: 0.9rem; transition: border-color 0.15s, transform 0.1s;
    }
    .faq-feedback button:hover { border-color: var(--teal); transform: scale(1.1); }
    .faq-feedback button.voted { border-color: var(--teal); background: rgba(245,243,238,0.06); }
    .faq-feedback-thanks { color: var(--teal); font-weight: 600; }
    .faq-answer p {
      font-size: 0.875rem;
      color: var(--silver);
      line-height: 1.75;
    }
    .faq-answer a { color: var(--teal); text-decoration: underline; }
    .faq-answer strong { color: var(--white); }
    .faq-cta-row {
      margin-top: 2.5rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .faq-cta-text {
      font-size: 0.9rem;
      color: var(--silver);
    }
    .faq-cta-text a { color: var(--teal); font-weight: 600; text-decoration: underline; }
    @media (max-width: 768px) {
      .faq-grid { grid-template-columns: 1fr; }
    }
  


    @media (min-width: 769px) {
    }
    @media (max-width: 768px) {
      /* Push page content up so bar doesn't overlap footer */
    }

    /* ── BACK TO TOP BUTTON ──────────────────────────────────────── */
    #back-to-top {
      position: fixed;
      right: 24px;
      bottom: 96px; /* sits above the WhatsApp button (56px + 16px gap + 24px) */
      z-index: 999;
      width: 50px;
      height: 50px;
      border: none;
      border-radius: 50%;
      background: var(--teal);
      color: var(--navy);
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 6px 24px var(--smoke), 0 2px 8px rgba(0,0,0,0.3);
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px) scale(0.9);
      transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
    }
    #back-to-top.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }
    #back-to-top:hover {
      background: var(--teal-dark);
      box-shadow: 0 2px 10px rgba(0,0,0,0.35);
      transform: translateY(-3px) scale(1.05);
    }
    #back-to-top:active {
      transform: translateY(0) scale(0.96);
    }
    #back-to-top svg {
      width: 22px;
      height: 22px;
    }
    /* Lift above the sticky mobile app bar so they don't overlap */
    @media (max-width: 768px) {
    }


    img { -webkit-user-drag: none; }

/* ── Payment modal ── */
.pay-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.72);z-index:9000;align-items:center;justify-content:center;padding:1rem}
.pay-overlay.open{display:flex}
.pay-modal{background:var(--deep-navy);border:1px solid rgba(245,243,238,0.14);border-radius:16px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;padding:2rem 1.8rem 2.4rem;position:relative;box-shadow:0 24px 60px rgba(0,0,0,0.6);color:#e2e8f0}
.pay-close{position:absolute;top:1rem;right:1.1rem;background:none;border:none;color:#94a3b8;font-size:1.5rem;cursor:pointer;line-height:1}
.pay-close:hover{color:#fff}
.pay-plan-badge{display:inline-block;background:rgba(245,243,238,0.08);border:1px solid var(--smoke);color:var(--porcelain);border-radius:20px;padding:.25rem .9rem;font-size:.78rem;font-weight:600;letter-spacing:.04em;margin-bottom:.6rem}
.pay-modal h2{font-size:1.4rem;font-weight:700;margin:0 0 .25rem;color:#fff}
.pay-modal .pay-price{font-size:1.1rem;color:#94a3b8;margin-bottom:1.4rem}
.pay-modal label{display:block;font-size:.8rem;font-weight:600;color:#94a3b8;margin-bottom:.3rem;letter-spacing:.03em}
.pay-modal input[type="text"],.pay-modal input[type="email"],.pay-modal input[type="password"]{width:100%;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.15);border-radius:8px;color:#e2e8f0;padding:.65rem .9rem;font-size:.95rem;margin-bottom:1rem;outline:none;box-sizing:border-box;transition:border-color .2s}
.pay-modal input:focus{border-color:var(--porcelain)}
.pay-password-wrap{position:relative}
.pay-password-wrap input[type="password"],.pay-password-wrap input[type="text"]{padding-right:2.6rem}
.pay-password-toggle{position:absolute;right:.7rem;top:50%;transform:translateY(-65%);background:none;border:none;cursor:pointer;color:#94a3b8;padding:.3rem;display:flex;align-items:center;justify-content:center}
.pay-password-toggle:hover{color:#e2e8f0}
.pay-password-toggle svg{width:18px;height:18px}
.pay-divider{text-align:center;font-size:.78rem;color:var(--steel);margin:.8rem 0 1rem;position:relative}
.pay-divider::before,.pay-divider::after{content:'';position:absolute;top:50%;width:40%;height:1px;background:rgba(255,255,255,0.1)}
.pay-divider::before{left:0}.pay-divider::after{right:0}
.pay-btn{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;padding:.85rem 1rem;border:none;border-radius:10px;font-size:.95rem;font-weight:700;cursor:pointer;margin-bottom:.75rem;transition:opacity .2s,transform .15s}
.pay-btn:hover{opacity:.88;transform:translateY(-1px)}
.pay-btn:disabled{opacity:.4;cursor:not-allowed;transform:none}
.pay-btn-payfast{background:var(--porcelain);color:var(--onyx)}
.pay-btn-ozow{background:#fff;color:#0B0B0C;border:1px solid rgba(255,255,255,0.2)}
.pay-note{font-size:.73rem;color:var(--steel);text-align:center;margin-top:.5rem;line-height:1.5}
.pay-spinner{display:none;width:18px;height:18px;border:2px solid rgba(0,0,0,0.2);border-top-color:#0B0B0C;border-radius:50%;animation:rmi-spin .7s linear infinite}
@keyframes rmi-spin{to{transform:rotate(360deg)}}
.pay-trial-info{background:rgba(245,243,238,0.05);border:1px solid rgba(245,243,238,0.14);border-radius:10px;padding:1rem 1.1rem;font-size:.9rem;color:#94a3b8;margin-bottom:1.2rem;line-height:1.6}
.pay-btn-trial{background:var(--porcelain);color:var(--onyx)}

/* extracted additional inline style blocks */

  @media (max-width: 768px) {
    .steamspark-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .thuto-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  }



  @media (max-width: 768px) {
    .about-founder-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .about-mission-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  }

    /* ── STEAMSPARK GALLERY ──────────────────────────────────────── */
    .ss-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 1.2rem;
    }
    .ss-gallery-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      transition: border-color 0.2s, transform 0.2s;
    }
    .ss-gallery-card:hover { border-color: var(--smoke); transform: translateY(-4px); }
    .ss-gallery-card img {
      width: 100%; aspect-ratio: 4/3; object-fit: cover;
      display: block; border-bottom: 1px solid var(--border);
    }
    .ss-gallery-card p {
      padding: 0.85rem 1rem; font-size: 0.8rem;
      color: var(--silver); line-height: 1.55;
    }
    .ss-subheading {
      font-family: var(--font-display); font-size: 1.1rem;
      font-weight: 400; letter-spacing: 0; color: var(--white); margin-bottom: 1rem;
    }

/* ── Orientation: landscape phones ──────────────────────────
   When a phone rotates landscape, viewport height drops to
   ~350-420px. These keep modals scrollable, nav compact, and
   pricing readable without breaking the desktop layout.     */
@media (max-height: 500px) and (orientation: landscape) {

  /* Nav - tighter padding */
  nav.site-nav { height: 52px; padding: 0 4%; }

  /* Modals - reduce padding so content fits in short viewport */
  .pay-overlay { padding: 0.4rem; align-items: flex-start; }
  .pay-modal {
    max-height: 96vh;
    padding: 1rem 1.2rem 1.2rem;
    border-radius: 10px;
  }
  .pay-modal h2 { font-size: 1.1rem; margin-bottom: 0.15rem; }
  .pay-modal .pay-price { font-size: 0.9rem; margin-bottom: 0.6rem; }
  .pay-modal label { margin-bottom: 0.15rem; }
  .pay-modal input[type="text"],
  .pay-modal input[type="email"],
  .pay-modal input[type="password"] {
    padding: 0.4rem 0.7rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }
  .pay-plan-badge { margin-bottom: 0.3rem; }
  .pay-btn { padding: 0.6rem 1rem; margin-bottom: 0.4rem; }
  .pay-divider { margin: 0.4rem 0 0.5rem; }
  .pay-note { font-size: 0.68rem; margin-top: 0.3rem; }
  #passwordHint { padding: 0.4rem 0.6rem; font-size: 0.72rem; }

  /* Pricing - 2 columns so cards don't stack into a tall column */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reduce hero top padding - content visible without scrolling */
  .hero { padding-top: 70px; min-height: auto; }
}

/* ── Orientation: landscape tablets ─────────────────────────
   Tablets in landscape are wide/tall enough for normal layout
   but benefit from a 3-column pricing grid cap               */
@media (min-height: 501px) and (max-height: 900px) and (orientation: landscape) and (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── How It Works section ────────────────────────────────────── */
#how-it-works { padding: 5rem 5%; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2rem;
}
.how-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.how-step:hover {
  border-color: var(--smoke);
  transform: translateY(-4px);
}
.how-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.how-badge {
  display: inline-block;
  background: rgba(245,243,238,0.07);
  border: 1px solid var(--smoke);
  color: var(--porcelain);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
}
.how-icon { font-size: 1.8rem; }
.how-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
  margin: 0;
}
.how-step p {
  font-size: 0.875rem;
  color: var(--silver);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.how-step-footer { margin-top: auto; padding-top: 1rem; }
.how-tag {
  display: inline-block;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: rgba(245,243,238,0.6);
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}
.how-grade-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(245,243,238,0.04);
  border: 1px solid rgba(245,243,238,0.10);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-top: 1.5rem;
}
.how-grade-icon { font-size: 1.4rem; flex-shrink: 0; padding-top: 0.1rem; }
.how-grade-note strong { color: #fff; display: block; font-size: 0.9rem; margin-bottom: 0.35rem; }
.how-grade-note p { font-size: 0.83rem; color: var(--silver); line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
  .how-grid { grid-template-columns: 1fr; gap: 1rem; }
  .how-step { padding: 1.4rem; }
}

/* ── Floating WhatsApp button: styles moved to rmi-brand.css ── */
/* ── Kids Mode toggle - positioned in CSS so inline style only carries appearance */
#kidsModeToggle {
  position: fixed;
  bottom: 164px; /* above back-to-top (96px + 50px height + 18px gap) */
  right: 24px;
  z-index: 7000;
}
@media (max-width: 768px) {
  #kidsModeToggle {
    bottom: 204px; /* above back-to-top (142px + 44px height + 18px gap) */
    right: 16px;
  }
}

@media (max-width: 768px) {
  #back-to-top { right: 16px; bottom: 142px; width: 44px; height: 44px; }
}

/* ── Course cards - clickable ────────────────────────────────── */
.course-card { cursor: pointer; }
.course-card:hover { border-color: var(--smoke); transform: translateY(-3px); }


/* ── Demo video placeholder ──────────────────────────────────── */
.demo-video-wrap { max-width: 680px; margin: 0 auto; }
.demo-video-placeholder {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.demo-play-icon {
  width: 72px; height: 72px;
  background: rgba(245,243,238,0.07);
  border: 2px solid var(--smoke);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.demo-video-placeholder p { color: #fff; font-weight: 600; font-size: 1rem; margin: 0; }
.demo-video-placeholder span { font-size: 0.85rem; color: var(--silver); }

/* ── hamburger-only nav items ────────────────────────────────
   These links are hidden in the desktop nav bar but appear
   in the mobile hamburger menu when it opens.              */
@media (min-width: 1100px) {
  .hamburger-only { display: none !important; }
}

/* ── Kids Mode ───────────────────────────────────────────────
   Applied via body.kids-mode. Overrides select design tokens
   for a friendlier, more accessible experience for young learners. */
body.kids-mode {
  --font-display: 'Nunito', sans-serif;
  --font-body:    'Nunito', sans-serif;
  font-size: 18px;
  letter-spacing: 0.01em;
}
body.kids-mode h1,
body.kids-mode h2,
body.kids-mode h3 {
  letter-spacing: 0;
  line-height: 1.25;
}
body.kids-mode .btn-primary,
body.kids-mode .btn-ghost,
body.kids-mode .plan-cta,
body.kids-mode .nav-cta {
  border-radius: 50px;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  font-size: 1rem;
}
body.kids-mode .feature-card,
body.kids-mode .pricing-card,
body.kids-mode .course-card {
  border-radius: 20px;
}
body.kids-mode .feature-icon {
  background: rgba(245,243,238,0.08);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
body.kids-mode .hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
}
body.kids-mode .hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
}
body.kids-mode .section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
/* Hide adult-focused nav items in kids mode */
body.kids-mode li:has(a[href="resources.html"]),
body.kids-mode li:has(a[href="blog/index.html"]),
body.kids-mode li:has(a[href="#donate"]) {
  display: none;
}

/* ── Demo video embed ────────────────────────────────────────── */
.demo-video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 9/16 - reliable 16:9 on all devices */
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.demo-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.demo-video-caption {
  text-align: center;
  color: var(--silver);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* ── Organisations section ───────────────────────────────────── */
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2.5rem;
}
.org-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.org-card:hover { border-color: var(--smoke); transform: translateY(-4px); }
.org-icon { font-size: 2rem; margin-bottom: 1rem; }
.org-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 0.6rem;
}
.org-card p { font-size: 0.875rem; color: var(--silver); line-height: 1.65; }
.org-cta-box {
  background: rgba(245,243,238,0.04);
  border: 1px solid rgba(245,243,238,0.10);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.org-cta-box h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 0.5rem;
}
.org-cta-box > div:first-child p { font-size: 0.9rem; color: var(--silver); line-height: 1.6; margin-bottom: 1rem; }
.org-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.org-benefits li { font-size: 0.85rem; color: var(--silver); }
.org-benefits li::first-letter { color: var(--teal); }
.org-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
  justify-content: center;
}
.org-btn-primary {
  background: var(--porcelain);
  color: var(--onyx);
  border: 1px solid var(--smoke);
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.org-btn-primary:hover { background: var(--onyx); color: var(--porcelain); border-color: var(--porcelain); }
.org-btn-secondary {
  border: 1px solid var(--smoke);
  color: var(--teal);
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}
.org-btn-secondary:hover { background: rgba(245,243,238,0.05); }
@media (max-width: 768px) {
  .org-grid { grid-template-columns: 1fr; }
  .org-cta-box { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
}

/* ── About RMI section ───────────────────────────────────────── */
#about { padding: 4rem 5%; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2rem;
}
.about-video { display: flex; justify-content: center; align-items: flex-start; }
.about-video .demo-video-embed { max-width: 100%; }
.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 1.2rem;
  line-height: 1.35;
}
.about-text p {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-text em { color: var(--teal); font-style: italic; }
.about-stats {
  display: flex;
  gap: 2rem;
  margin: 1.8rem 0;
  flex-wrap: wrap;
}
.about-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.about-stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--teal);
}
.about-stat span { font-size: 0.75rem; color: var(--silver); text-transform: uppercase; letter-spacing: 0.08em; }
.about-cta {
  display: inline-block;
  background: var(--teal);
  color: #0B0B0C;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: 0.5rem;
}
.about-cta:hover { opacity: 0.85; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { gap: 1.2rem; }
}

/* ── About RMI cards (match How It Works style) ─────────────── */
.about-text { display: flex; flex-direction: column; gap: 0.75rem; }
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s, transform 0.2s;
}
.about-card:hover { border-color: var(--smoke); transform: translateY(-3px); }
.about-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
  margin: 0;
}
.about-card p {
  font-size: 0.85rem;
  color: var(--silver);
  line-height: 1.65;
  margin: 0;
}

/* ── RESPONSIVE FIXES ────────────────────────────────────────────
   Targeted fixes identified in the full responsive audit.
   Grouped here to keep them easy to find and update.          */

/* Hero CTA buttons: stack full-width on very small phones */
@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    text-align: center;
    width: 100%;
  }
}

/* Toast: prevent horizontal overflow on narrow viewports */
.toast {
  max-width: calc(100vw - 2rem);
  white-space: normal;
  text-align: center;
}

/* Pricing grid: 2 columns on tablets (481-900px) so cards don't
   stretch awkwardly at widths where 3 is too tight */
@media (max-width: 900px) and (min-width: 481px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Section padding: tighter on mid-range tablets */
@media (max-width: 900px) and (min-width: 769px) {
  section { padding: 70px 5%; }
}

/* Footer bottom: stack on very small phones */
@media (max-width: 420px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* Apply form: full-width submit button on mobile */
@media (max-width: 480px) {
  .whatsapp-btn { width: 100%; justify-content: center; }
}

/* Podcast stats: wrap on narrow tablets */
@media (max-width: 600px) {
  .podcast-stats { flex-wrap: wrap; gap: 1.5rem; }
  .podcast-actions { flex-direction: column; }
  .podcast-actions .btn-youtube,
  .podcast-actions .btn-spotify { width: 100%; justify-content: center; }
}

/* Org CTA buttons: full-width on narrow tablets */
@media (max-width: 600px) {
  .org-cta-buttons { min-width: 0; width: 100%; }
}

/* ── HERO SPHERE ────────────────────────────────────────────── */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Hero 2-col → sphere-above on mobile */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 4rem 5% 3rem;
    min-height: unset;
    text-align: center;
  }
  .hero-visual { grid-row: 1; margin-bottom: 2rem; }
  .hero-content { grid-row: 2; max-width: 100%; }
  .hero-eyebrow, .hero h1, .hero-sub, .hero-quote { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}
@media (max-width: 480px) {
  .hero { padding-top: 5rem; padding-bottom: 2.5rem; }
}

/* Nav open menu: ensure long nav list on tablet is scrollable
   (already added overflow-y:auto to .nav-links.open above) */

/* ── App notify form ───────────────────────────────── */
.app-notify-form { margin-top: 1.5rem; max-width: 480px; }
.app-notify-label { font-size: 0.82rem; color: var(--silver); margin-bottom: 0.7rem; }
.app-notify-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.app-notify-input {
  flex: 1; min-width: 180px; background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.6rem 0.9rem; color: #fff; font-size: 0.85rem;
  font-family: var(--font-body), sans-serif;
}
.app-notify-input:focus { outline: none; border-color: var(--teal); }
.app-notify-btn {
  background: var(--teal); color: var(--navy); border: none; border-radius: 8px;
  padding: 0.6rem 1.2rem; font-weight: 700; font-size: 0.85rem; cursor: pointer;
  font-family: var(--font-body), sans-serif; white-space: nowrap;
}
.app-notify-btn:hover { opacity: 0.88; }
.app-notify-success { font-size: 0.82rem; color: var(--ok); margin-top: 0.5rem; }
.app-notify-error { font-size: 0.82rem; color: var(--danger); margin-top: 0.4rem; }
.app-notify-consent { font-size: 0.72rem; color: rgba(245,243,238,0.5); margin-top: 0.5rem; line-height: 1.5; }
