html,
      body {
        height: 100%;
      }

      body {
        margin: 0;
        overflow: hidden;
      }

      body:has(.qg-static-shell),
      #root:has(.qg-static-shell) {
        height: auto;
        min-height: 100%;
        overflow: auto;
      }

      #root {
        display: flex;
        height: 100%;
        flex: 1;
      }

      /* The production export adds qg-returning-member in <head> before the
         landing markup is parsed. It is only a first-paint hint: Firebase still
         decides whether the visitor is signed in. Keeping the SEO shell hidden
         here prevents returning members from seeing a logged-out page flash. */
      html.qg-returning-member,
      html.qg-returning-member body,
      html.qg-returning-member #root {
        background: #f6fbfa;
      }

      html.qg-returning-member .qg-static-shell {
        visibility: hidden;
        pointer-events: none;
      }

      /* React replaces the prerendered shell for every interactive route.
         Keep the static SEO tree from sharing a page with a taller form even
         if a browser retains those initial nodes during the concurrent mount. */
      html.qg-app-mounted .qg-static-shell,
      html.qg-app-mounted .qg-static-safety,
      html.qg-app-mounted .qg-static-final,
      html.qg-app-mounted .qg-static-footer {
        display: none !important;
      }

      .qg-static-shell {
        box-sizing: border-box;
        width: 100%;
        min-height: 100vh;
        padding: 24px clamp(20px, 5vw, 72px) 48px;
        background: linear-gradient(145deg, #fafff5 0%, #ffffff 48%, #eef8ff 100%);
        color: #142033;
        font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }

      .qg-static-nav,
      .qg-static-links,
      .qg-static-actions {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
      }

      .qg-static-nav {
        position: relative;
        justify-content: space-between;
        max-width: 1120px;
        margin: 0 auto;
        flex-wrap: nowrap;
      }

      .qg-static-nav a,
      .qg-static-shell a {
        color: #365e0c;
        font-weight: 700;
        text-decoration: none;
      }

      .qg-static-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #142033 !important;
        font-size: 20px;
        font-weight: 850 !important;
      }

      .qg-static-brand img {
        width: 40px;
        height: 40px;
        border-radius: 12px;
      }

      .qg-static-nav-login {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0 17px;
        border: 1px solid rgba(124,252,0,0.24);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
      }

      .qg-static-hero {
        display: grid;
        grid-template-columns: minmax(0, 1.02fr) minmax(330px, .82fr);
        align-items: center;
        gap: clamp(28px, 5vw, 64px);
        max-width: 1120px;
        min-height: 0;
        margin: 0 auto;
        padding: 48px 0 42px;
        text-align: left;
      }

      .qg-static-hero-copy {
        min-width: 0;
      }

      .qg-static-eyebrow {
        display: inline-block;
        max-width: 100%;
        box-sizing: border-box;
        padding: 7px 13px;
        border-radius: 999px;
        background: #efffdf;
        color: #365e0c;
        font-size: 13px;
        font-weight: 800;
      }

      .qg-static-hero h1 {
        max-width: 760px;
        margin: 20px 0 18px;
        font-size: clamp(42px, 7vw, 74px);
        line-height: 1.02;
        letter-spacing: -0.045em;
      }

      .qg-static-hero p {
        max-width: 680px;
        margin: 0;
        color: #526176;
        font-size: clamp(17px, 2.2vw, 21px);
        line-height: 1.65;
      }

      .qg-static-actions {
        justify-content: flex-start;
        margin-top: 30px;
      }

      .qg-static-primary,
      .qg-static-secondary {
        padding: 14px 22px;
        border-radius: 999px;
      }

      .qg-static-primary {
        background: #7cfc00;
        color: #152008 !important;
      }

      .qg-static-secondary {
        border: 1px solid #d2e8bd;
        background: rgba(255, 255, 255, 0.8);
      }

      .qg-static-assurances {
        display: flex;
        align-items: center;
        gap: 8px 16px;
        flex-wrap: wrap;
        margin-top: 17px;
        color: #607084;
        font-size: 12.5px;
        font-weight: 700;
      }

      .qg-static-menu {
        display: none;
        position: relative;
      }

      .qg-static-menu summary {
        display: flex;
        min-height: 42px;
        align-items: center;
        padding: 0 14px;
        border: 1px solid rgba(124,252,0,0.24);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.8);
        color: #365e0c;
        cursor: pointer;
        font-size: 14px;
        font-weight: 800;
        list-style: none;
      }

      .qg-static-menu-panel {
        position: absolute;
        z-index: 5;
        top: 48px;
        right: 0;
        display: flex;
        width: 174px;
        flex-direction: column;
        gap: 2px;
        padding: 8px;
        border: 1px solid #dfe8d7;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 18px 44px rgba(20, 65, 78, 0.16);
      }

      .qg-static-menu-panel a {
        padding: 11px 12px;
        border-radius: 10px;
        color: #142033;
        font-size: 14px;
      }

      .qg-static-trust-strip {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1px;
        box-sizing: border-box;
        max-width: 1040px;
        margin: -10px auto 56px;
        padding: 16px 20px;
        border: 1px solid rgba(124,252,0,0.16);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 18px 48px rgba(20, 65, 78, 0.08);
      }

      .qg-static-trust-metric {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 9px 12px;
        text-align: center;
      }

      .qg-static-trust-metric strong {
        color: #365e0c;
        font-size: clamp(19px, 2.6vw, 27px);
        font-variant-numeric: tabular-nums;
        font-weight: 900;
        line-height: 1.1;
      }

      .qg-static-trust-metric span {
        color: #607084;
        font-size: 11px;
        font-weight: 750;
        line-height: 1.35;
      }

      .qg-static-proof {
        box-sizing: border-box;
        max-width: 1120px;
        margin: 0 auto 56px;
        padding: 22px;
        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.68);
        box-shadow: 0 22px 54px rgba(20, 65, 78, 0.1);
      }

      .qg-static-proof-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 16px;
        color: #142033;
        font-size: clamp(17px, 2vw, 22px);
      }

      .qg-static-chips {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
      }

      .qg-static-chip {
        padding: 7px 10px;
        border: 1px solid #e0e8d8;
        border-radius: 999px;
        background: #f7fbfa;
        color: #365e0c;
        font-size: 11px;
        font-weight: 800;
      }

      .qg-static-quest-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
      }

      .qg-static-quest-card {
        min-width: 0;
        overflow: hidden;
        border: 1px solid #e2e9dc;
        border-radius: 18px;
        background: #ffffff;
      }

      .qg-static-quest-card img {
        display: block;
        width: 100%;
        height: 112px;
        object-fit: cover;
        background: #ecefe9;
      }

      .qg-static-quest-body {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 11px 12px 13px;
      }

      .qg-static-quest-meta {
        color: #365e0c;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }

      .qg-static-quest-title {
        color: #142033;
        font-size: 14px;
        line-height: 1.35;
      }

      .qg-static-how {
        box-sizing: border-box;
        max-width: 1120px;
        margin: 0 auto 64px;
      }

.qg-static-section-header {
        display: flex;
        max-width: 720px;
        flex-direction: column;
        align-items: center;
        margin: 0 auto 28px;
        text-align: center;
      }

      .qg-static-section-eyebrow,
      .qg-static-safety-eyebrow,
      .qg-static-final-eyebrow {
        color: #365e0c;
        font-size: 10.5px;
        font-weight: 900;
        letter-spacing: 0.13em;
      }

      .qg-static-section-header h2 {
        margin: 9px 0 0;
        color: #142033;
        font-size: clamp(30px, 5vw, 48px);
        letter-spacing: -0.035em;
        line-height: 1.08;
        text-wrap: balance;
      }

      .qg-static-section-header p {
        margin: 14px 0 0;
        color: #607084;
        font-size: 16px;
        line-height: 1.65;
        text-wrap: pretty;
      }

      .qg-static-how-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 14px;
      }

      .qg-static-step {
        display: flex;
        min-width: 0;
        min-height: 248px;
        flex-direction: column;
        padding: 22px;
        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 18px 46px rgba(20, 65, 78, 0.08);
      }

      .qg-static-step--featured {
        border-color: rgba(124,252,0,0.3);
        background: linear-gradient(145deg, #d9ffb5 0%, #7cfc00 100%);
        box-shadow: 0 22px 52px rgba(124,252,0,0.22);
        color: #152008;
        transform: translateY(-8px);
      }

      .qg-static-step-number {
        display: inline-flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(124,252,0,0.1);
        color: #365e0c;
        font-size: 12px;
        font-variant-numeric: tabular-nums;
        font-weight: 900;
      }

      .qg-static-step--featured .qg-static-step-number {
        background: rgba(255, 255, 255, 0.16);
        color: #152008;
      }

      .qg-static-step h3 {
        margin: 20px 0 0;
        color: #142033;
        font-size: 21px;
        line-height: 1.25;
      }

      .qg-static-step p {
        margin: 10px 0 0;
        color: #607084;
        font-size: 14px;
        line-height: 1.65;
      }

      .qg-static-step--featured h3 {
        color: #152008;
      }

      .qg-static-step--featured p {
        color: #152008;
      }

      .qg-static-step-meta {
        margin-top: auto;
        padding-top: 18px;
        color: #365e0c;
        font-size: 10.5px;
        font-weight: 850;
        letter-spacing: 0.025em;
        line-height: 1.45;
      }

      .qg-static-step--featured .qg-static-step-meta {
        color: #152008;
      }

      .qg-static-safety {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        gap: clamp(28px, 5vw, 58px);
        box-sizing: border-box;
        max-width: 1120px;
        margin: 0 auto 64px;
        padding: clamp(26px, 5vw, 48px);
        border-radius: 32px;
        background: linear-gradient(145deg, #203110 0%, #192d0d 58%, #365e0c 100%);
        box-shadow: 0 28px 70px rgba(54,94,12,0.22);
        color: #ffffff;
      }

      .qg-static-safety-copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
      }

      .qg-static-safety-eyebrow {
        color: #7cfc00;
      }

      .qg-static-safety h2 {
        margin: 10px 0 0;
        color: #ffffff;
        font-size: clamp(29px, 4.4vw, 45px);
        letter-spacing: -0.035em;
        line-height: 1.08;
        text-wrap: balance;
      }

      .qg-static-safety-copy > p {
        margin: 16px 0 0;
        color: rgba(255, 255, 255, 0.72);
        font-size: 15px;
        line-height: 1.7;
        text-wrap: pretty;
      }

      .qg-static-safety-link {
        display: inline-flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        margin-top: 22px;
        padding: 0 17px;
        border: 1px solid rgba(124,252,0,0.28);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff !important;
        font-size: 13px;
        font-weight: 850;
      }

      .qg-static-safety-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        min-width: 0;
      }

      .qg-static-safety-card {
        display: flex;
        min-width: 0;
        min-height: 124px;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
        padding: 17px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 19px;
        background: rgba(255, 255, 255, 0.075);
      }

      .qg-static-safety-card strong {
        color: #ffffff;
        font-size: 14.5px;
        line-height: 1.35;
      }

      .qg-static-safety-card span {
        color: rgba(255, 255, 255, 0.66);
        font-size: 12.5px;
        line-height: 1.55;
      }

      .qg-static-final {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 26px;
        box-sizing: border-box;
        max-width: 1040px;
        margin: 0 auto 58px;
        padding: clamp(24px, 4vw, 38px);
        border: 1px solid rgba(124,252,0,0.22);
        border-radius: 30px;
        background: radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.16), transparent 38%), linear-gradient(145deg, rgba(243,255,232,0.94), rgba(255, 255, 255, 0.88));
        box-shadow: 0 24px 58px rgba(20, 65, 78, 0.11);
      }

      .qg-static-final-copy {
        min-width: 0;
        max-width: 620px;
      }

      .qg-static-final h2 {
        margin: 8px 0 0;
        color: #142033;
        font-size: clamp(25px, 4vw, 38px);
        letter-spacing: -0.025em;
        line-height: 1.12;
        text-wrap: balance;
      }

      .qg-static-final p {
        margin: 11px 0 0;
        color: #607084;
        font-size: 14px;
        line-height: 1.6;
      }

      .qg-static-final-actions {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
      }

      .qg-static-final-actions a {
        display: inline-flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 850;
        white-space: nowrap;
      }

      .qg-static-final-primary {
        background: #7cfc00;
        box-shadow: 0 14px 32px rgba(124,252,0,0.22);
        color: #152008 !important;
      }

      .qg-static-final-secondary {
        border: 1px solid #d6e7c5;
        background: rgba(255, 255, 255, 0.72);
      }

      .qg-static-footer {
        max-width: 1040px;
        margin: 0 auto;
        padding-top: 26px;
        border-top: 1px solid #dce9ef;
      }

      @media (max-width: 820px) {
        .qg-static-hero {
          grid-template-columns: 1fr;
          padding-top: 34px;
          text-align: center;
        }

        .qg-static-hero h1,
        .qg-static-hero p {
          margin-right: auto;
          margin-left: auto;
        }

        .qg-static-actions {
          justify-content: center;
        }

        .qg-static-assurances {
          justify-content: center;
        }

.qg-static-hero-visual {
          width: auto;
          margin: 0;
        }

        .qg-static-safety {
          grid-template-columns: minmax(0, 1fr);
        }

        .qg-static-final {
          align-items: stretch;
          flex-direction: column;
        }

        .qg-static-final-actions {
          width: 100%;
          flex-direction: row;
        }

        .qg-static-final-actions a {
          flex: 1 1 0;
        }
      }

      @media (max-width: 620px) {

        .qg-static-nav > .qg-static-links {
          display: none;
        }

        .qg-static-menu {
          display: block;
        }

        .qg-static-hero {
          gap: 28px;
          padding: 28px 0 36px;
        }

        .qg-static-quest-cards {
          grid-template-columns: 1fr;
        }

        .qg-static-eyebrow {
          white-space: normal;
        }

        .qg-static-trust-strip {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .qg-static-how-grid {
          grid-template-columns: minmax(0, 1fr);
        }

        .qg-static-step {
          min-height: 0;
          transform: none;
        }

        .qg-static-safety-grid {
          grid-template-columns: minmax(0, 1fr);
        }

        .qg-static-final-actions {
          flex-direction: column;
        }

        .qg-static-links {
          gap: 12px;
          font-size: 14px;
        }

      }

      @media (max-width: 620px) {
        .qg-static-hero { padding: 22px 0 28px; gap: 22px; }
        .qg-static-hero h1 { margin-top: 12px; font-size: clamp(32px, 9vw, 44px); }
        .qg-static-hero-copy > p { margin-top: 12px; font-size: 16px; line-height: 1.5; }
        .qg-static-actions { margin-top: 20px; gap: 4px; }
        .qg-static-actions > a:last-child { min-height: 40px; background: transparent; box-shadow: none; border-color: transparent; }
        .qg-static-assurances { margin-top: 8px; gap: 4px 12px; font-size: 11px; }
        .qg-static-assurances > span:nth-child(2) { display: none; }
        .qg-static-eyebrow { font-size: 11px; padding: 5px 10px; }
      }
