:root {
        --bg: #0d2250;
        --panel: #142f63;
        --panel-soft: #1c3975;
        --line: rgba(189, 240, 131, 0.12);
        --text: #eff7ea;
        --muted: rgba(239, 247, 234, 0.62);
        --accent: #d5ff58;
        --accent-soft: rgba(213, 255, 88, 0.16);
        --radius-shell: 36px;
        --radius-pill: 999px;
      }

      * {
        box-sizing: border-box;
      }

      html {
        height: auto;
        overflow: hidden;
      }

      body {
        margin: 0;
        height: auto;
        overflow: hidden;
        font-family: Arial, Helvetica, sans-serif;
        color: var(--text);
        background: linear-gradient(90deg, #0d2250 0%, #142f63 56%, #1d3f86 100%);
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      .page {
        width: min(100%, 1440px);
        margin: 0 auto;
        padding: 0 0 40px;
      }

      .shell {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
      }

      .shell-head {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 16px;
        padding: 24px 24px 14px;
      }

      .shell-head__spacer {
        /* keeps switches centered when CTA group is present */
      }

      .shell-cta {
        justify-self: end;
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .shell-cta__btn {
        display: inline-flex;
        align-items: center;
        padding: 12px 18px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.01em;
        text-decoration: none;
        white-space: nowrap;
        transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
      }

      .shell-cta__btn--primary {
        background: linear-gradient(135deg, #caff22 0%, #b9f84c 100%);
        color: #07100a;
        box-shadow: 0 10px 22px rgba(150, 201, 53, 0.22);
      }

      .shell-cta__btn--secondary {
        background: rgba(255, 255, 255, 0.92);
        color: #07100a;
      }

      .shell-cta__btn:hover {
        transform: translateY(-1px);
      }

      @media (max-width: 1100px) {
        .shell-head {
          grid-template-columns: 1fr;
          justify-items: center;
        }
        .shell-head__spacer {
          display: none;
        }
        .shell-cta {
          justify-self: center;
        }
      }

      .switches {
        display: inline-grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        min-width: min(100%, 440px);
        padding: 5px;
        border: 1px solid rgba(189, 240, 131, 0.12);
        border-radius: 999px;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
          #102b5d;
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.03),
          inset 0 -1px 0 rgba(0, 0, 0, 0.22);
      }

      .switch-btn {
        min-height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 0 18px;
        border: 1px solid transparent;
        border-radius: var(--radius-pill);
        background: transparent;
        color: rgba(239, 247, 234, 0.44);
        cursor: pointer;
        transition:
          transform 0.18s ease,
          border-color 0.18s ease,
          background 0.18s ease,
          color 0.18s ease,
          box-shadow 0.18s ease;
      }

      .switch-btn:hover,
      .switch-btn:focus-visible {
        transform: translateY(-1px);
        color: rgba(239, 247, 234, 0.82);
      }

      .switch-btn.is-active {
        background:
          linear-gradient(135deg, rgba(202, 255, 74, 0.14), rgba(255, 255, 255, 0.02)),
          linear-gradient(180deg, #29442d 0%, #19311d 100%);
        color: #f8fff2;
        border-color: rgba(202, 255, 74, 0.26);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.04),
          0 10px 22px rgba(0, 0, 0, 0.22);
      }

      .switch-btn span {
        font-size: 15px;
        font-weight: 900;
        white-space: nowrap;
      }

      .switch-btn i {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        color: rgba(239, 247, 234, 0.8);
        font-style: normal;
        font-size: 17px;
        line-height: 1;
        transition:
          background 0.18s ease,
          color 0.18s ease,
          transform 0.18s ease,
          opacity 0.18s ease;
      }

      .switch-btn.is-active i {
        background:
          radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12) 34%, transparent 35%),
          linear-gradient(135deg, #d9ff67 0%, #b5eb52 100%);
        color: #131313;
        box-shadow:
          0 0 0 3px rgba(202, 255, 74, 0.12),
          0 8px 18px rgba(150, 201, 53, 0.22);
        transform: translateX(1px);
      }

      .switch-btn:not(.is-active) i {
        opacity: 0.58;
      }

      .viewer {
        position: relative;
        background: transparent;
      }

      .embed {
        display: none;
        width: 100%;
        height: 780px; /* initial fallback — JS adjusts to content height */
        border: 0;
        background: transparent;
        border-radius: 0;
      }

      .embed.is-active {
        display: block;
      }

      @media (max-width: 1100px) {
        .shell-head {
          justify-content: center;
        }

        .embed {
          height: 720px;
        }
      }

      @media (max-width: 760px) {
        .page {
          padding: 16px 12px 24px;
        }

        .shell-head {
          padding: 18px 18px 16px;
        }

        .switches {
          width: 100%;
        }

        .switch-btn {
          width: 100%;
        }

        .embed {
          height: 640px;
        }
      }

      .switches {
        border-color: rgba(202, 255, 34, 0.24);
        background: rgba(13, 34, 80, 0.58);
      }

      .switch-btn {
        color: rgba(244, 255, 240, 0.62);
      }

      .switch-btn.is-active {
        background: linear-gradient(180deg, #3149f4 0%, #2237df 100%);
        border-color: rgba(202, 255, 34, 0.42);
        color: #ffffff;
      }

      .switch-btn.is-active i {
        background: linear-gradient(135deg, #caff22 0%, #bdf84c 100%);
        color: #07100a;
      }

      .switch-btn:not(.is-active) i {
        background: rgba(244, 255, 240, 0.08);
        color: rgba(244, 255, 240, 0.72);
      }
