/* ================================================================
   Fonts — Aktiv Grotesk (files in assets/fonts/)
   ================================================================ */
@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-ThinItalic.ttf") format("truetype");
    font-weight: 100;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-Hairline.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-HairlineItalic.ttf") format("truetype");
    font-weight: 200;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-XBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-XBoldItalic.ttf") format("truetype");
    font-weight: 800;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "AktivGrotesk";
    src: url("../fonts/AktivGrotesk-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
    font-display: swap
}

/* Legacy aliases kept so existing markup keeps working */
@font-face {
    font-family: "Rubik_Bold";
    src: url("../fonts/AktivGrotesk-Bold.ttf") format("truetype")
}

@font-face {
    font-family: "Rubik_SemiBold";
    src: url("../fonts/AktivGrotesk-XBold.ttf") format("truetype")
}

@font-face {
    font-family: "Rubik_Medium";
    src: url("../fonts/AktivGrotesk-Medium.ttf") format("truetype")
}

@font-face {
    font-family: "Rubik_Regular_0";
    src: url("../fonts/AktivGrotesk-Regular.ttf") format("truetype")
}

@font-face {
    font-family: "Novitha_Script_Demo";
    src: url("../fonts/AktivGrotesk-Black.ttf") format("truetype")
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "AktivGrotesk", Arial, Helvetica, sans-serif;
    font-weight: 400
}

:root {
    --brand-blue: #1b6cb3;
    --brand-navy: #0e3f77;
    --brand-ink: #111;
    --brand-grad: linear-gradient(90deg, #27276e 0%, #226ab4 26%, #0b8542 52%, #e95924 78%, #db1f26 100%);
}

body:has(.stage) {
    overflow: hidden;
    background: #eef4fa
}

.main_bg {
    position: relative
}

.main_bg .logo {
    position: absolute;
    right: 0;
    top: 0
}

.main_bg .logo img {
    max-width: 170px
}

.main_bg .title {
    padding-top: 35px;
    position: absolute;
    top: 0
}

.main_bg .title img {
    max-width: 600px;
    width: calc(90% + 00px)
}

.main_bg .title h1 {
    color: #f70c0c;
    font-family: "AktivGrotesk", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 68px;
    padding-left: 25px;
    margin-bottom: 5px;
    line-height: 52px;
    margin-top: 20px
}

.main_bg .title p {
    color: #000;
    font-size: 33px;
    padding-left: 25px;
    line-height: 38px
}

.main_bg .footer-text {
    position: absolute;
    z-index: 1;
    width: calc(100% - 350px);
    bottom: 50px;
    right: 0;
    left: 0;
    margin: auto
}

.main_bg .bottom-text {
    position: absolute;
    bottom: 20px;
    left: 10px;
    font-size: 8px;
    color: #fff;
    padding-right: 130px
}

.main_bg .bottom-text p {
    margin-bottom: 0
}

.main_bg .nav-btn {
    display: flex;
    gap: 8px;
    position: fixed;
    bottom: 15px;
    right: 15px
}

.main_bg .nav-btn a img {
    min-width: 30px
}

.main_bg .third_right {
    padding-top: 50px;
    position: relative
}

.main_bg .third_right .head-img {
    position: absolute;
    top: -26px;
    max-width: calc(100% - 150px);
    right: 0;
    left: 0;
    margin: auto
}

.main_bg .right-text {
    position: absolute;
    right: 9px;
    bottom: 81px;
    width: 12px
}

.main_bg .second-bg {
    background-image: url(../images/Page_2/bg_2.jpg);
    background-position: center;
    background-size: cover;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px
}

.main_bg .second-bg .top-title img {
    max-width: 500px;
    margin: -25px auto 0;
    display: block
}

.main_bg .second-bg .improve_section {
    display: flex;
    margin: 30px 0 15px 30px;
    justify-content: center;
    gap: 20px
}

.main_bg .second-bg .improve_section .box {
    border-radius: 3px;
    border: 2px dotted #fff;
    background: linear-gradient(#fff 0 0) padding-box, linear-gradient(to bottom, #d5005d, #007f87 100%) border-box;
    width: 250px
}
.main_bg .second-bg .improve_section .box.box-2 {
    background: linear-gradient(#fff 0 0) padding-box, linear-gradient(to bottom, #007f87, #d5005d 100%) border-box;
}

.main_bg .second-bg .improve_section .box .inner {
    background-image: linear-gradient(to right, #fff, #d2d4d5);
    height: 100%;
    padding: 0 15px
}

.main_bg .second-bg .improve_section .box .inner img {
    margin: auto;
    display: block;
    top: -19px;
    position: relative;
    max-width: 80px
}

.main_bg .second-bg .improve_section .box .inner h3 {
    font-family: "AktivGrotesk", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: center
}

.main_bg .second-bg .improve_section .box .inner p {
    font-size: 16px;
    line-height: 20px;
    text-align: center
}

.main_bg .second-bg .bottom-text {
    position: inherit;
    padding-left: 15px
}

@media(min-width: 480px)and (max-width: 1024px) {
    .main_bg .title {
        padding-top: 15px
    }

    .main_bg .title h1 {
        font-size: 40px;
        line-height: 20px
    }

    .main_bg .title p {
        font-size: 20px;
        padding-left: 25px;
        line-height: 25px
    }
}
@media(min-width: 0px)and (max-width: 1138px) {
    .main_bg .title p {
        font-size: 18px;
        padding-top: 5px;
        font-weight: 500;
    }
    .main_bg .title h1 {
        font-size: 35px;
    }
}

/* ================================================================
   Glow Forward Pledge — full-screen artwork stages
   Every page is a fixed ~16:10 artboard that scales to fill the
   viewport (100% view). Text + artwork use container-query units so
   they scale together; off-ratio viewports letterbox on a pale ground.
   ================================================================ */
.stage {
    --ar: 1.5997;
    position: absolute;
    inset: 0;
    margin: auto;
    /* Fallback for older browsers, then dynamic viewport units for mobile/tablet browser chrome. */
    width: min(100vw, calc(100vh * var(--ar)));
    height: min(100vh, calc(100vw / var(--ar)));
    width: min(100dvw, calc(100dvh * var(--ar)));
    height: min(100dvh, calc(100dvw / var(--ar)));
    overflow: hidden;
    container-type: size;
    font-family: "AktivGrotesk", Arial, Helvetica, sans-serif;
    color: var(--brand-ink);
}

.stage .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
}

.stage > :not(.bg) {
    position: absolute;
    z-index: 1;
}

/* shared gradient rule */
.gf-rule {
    display: block;
    height: .5cqh;
    min-height: 3px;
    border: 0;
    border-radius: 2px;
    background: var(--brand-grad);
}

/* clickable logo -> home */
.stage .logo-home {
    display: block;
    line-height: 0;
    cursor: pointer;
}

.stage .logo-home img {
    display: block;
    width: 100%;
}

/* shared "Back" button (pages 2 & 3) */
.stage .stage-back {
    left: 2.4%;
    bottom: 3%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: .5cqw;
    padding: .95cqh 1.7cqw .95cqh 1.25cqw;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    font-family: "AktivGrotesk", Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 1.75cqh;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 2px 12px rgba(14, 63, 119, .2);
}

.stage .stage-back svg {
    width: 1.7cqh;
    height: 1.7cqh;
}

.stage .stage-back:hover {
    background: var(--brand-blue);
    color: #fff;
}

/* page 2 has bottom cards, so the Back button sits in the open left gap */
.stage.pledge .stage-back {
    bottom: auto;
    top: 63%;
}

/* ================================================================
   Page 1 · Home  (assets/images/home.png)
   ================================================================ */
.stage.home .hp-logo-left {
    left: 3.1%;
    top: 3.8%;
    width: 20%;
    mix-blend-mode: multiply;
}

.stage.home .hp-logo-right {
    right: 2.3%;
    top: 2%;
    width: 13.5%;
    mix-blend-mode: multiply;
}

.stage.home .hp-center {
    left: 64%;
    top: 34%;
    width: 20%;
}

.stage.home .hp-heading {
    left: 5.3%;
    top: 19.5%;
    width: 52%;
}

.stage.home .hp-heading h1 {
    margin: 0;
    color: var(--brand-blue);
    font-weight: 800;
    font-size: 4.05cqh;
    line-height: 1.05;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.stage.home .hp-rule {
    margin-top: 1.4cqh;
    width: 15.5cqw;
}

.stage.home .hp-intro {
    left: 5.3%;
    top: 36.5%;
    width: 42%;
    margin: 0;
    font-size: 2.35cqh;
    line-height: 1.4;
}

.stage.home .hp-intro b {
    color: var(--brand-blue);
    font-weight: 700;
}

.stage.home .hp-stats {
    left: 5%;
    top: 47%;
    width: 46%;
    display: flex;
    flex-direction: column;
    gap: 2.4cqh;
}

.stage.home .hp-stat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3.2cqw;
}

/* short vertical divider between each icon and its text (per design) */
.stage.home .hp-stat::before {
    content: "";
    position: absolute;
    left: 4.9cqw;
    top: 12%;
    bottom: 12%;
    width: 2px;
    background: var(--brand-navy);
    z-index: 1;
}

.stage.home .hp-stat img {
    width: 3.7cqw;
    flex: none;
    position: relative;
    z-index: 1;
}

.stage.home .hp-stat h4 {
    margin: 0;
    color: var(--brand-blue);
    font-weight: 800;
    font-size: 2.7cqh;
    line-height: 1.12;
}

.stage.home .hp-stat h4 span {
    display: block;
    color: var(--brand-ink);
    font-weight: 400;
}

.stage.home .hp-tagline {
    left: 5.3%;
    top: 79.5%;
    width: 60%;
}

.stage.home .hp-tagline p {
    margin: 0;
    padding: 1.5cqh 0;
    color: var(--brand-blue);
    font-weight: 800;
    font-size: 3.5cqh;
    line-height: 1.15;
    border-top: .5cqh solid transparent;
    border-bottom: .5cqh solid transparent;
    border-image: var(--brand-grad) 1;
    width: 46cqw;
}

.stage.home .hp-next {
    right: 3%;
    bottom: 3%;
    width: 12%;
    display: block;
    line-height: 0;
}

.stage.home .hp-next img {
    width: 100%;
}

/* ================================================================
   Page 2 · Join the Pledge  (assets/images/second.png)
   ================================================================ */
.stage.pledge .pl-logo {
    left: 3%;
    top: 3.6%;
    width: 21%;
    mix-blend-mode: multiply;
}

.stage.pledge .pl-wordmark {
    left: 3.2%;
    top: 21%;
    width: 47%;
    mix-blend-mode: multiply;
}

.stage.pledge .pl-lead {
    left: 3.5%;
    top: 45%;
    width: 43%;
    margin: 0;
    font-size: 2.45cqh;
    line-height: 1.4;
}

.stage.pledge .pl-lead b {
    display: block;
    margin-top: .6cqh;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 2.75cqh;
}

.stage.pledge .pl-circle {
    left: 57.9%;
    top: 47.5%;
    width: 34%;
    transform: translateY(-50%);
    text-align: center;
    color: var(--brand-navy);
}

.stage.pledge .pl-join {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4cqw;
    font-size: 1.7cqh;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.stage.pledge .pl-join::before,
.stage.pledge .pl-join::after {
    content: "";
    width: 3.4cqw;
    height: 1px;
    background: currentColor;
}

.stage.pledge .pl-pledge-logo {
    display: block;
    width: 40%;
    margin: 1cqh auto .4cqh;
    mix-blend-mode: multiply;
}

.stage.pledge .pl-circle .gf-line {
    display: block;
    width: 60%;
    height: 2px;
    margin: .3cqh auto 1.4cqh;
    background: var(--brand-navy);
}

.stage.pledge .pl-sub {
    margin: 0;
    font-size: 2.1cqh;
    line-height: 1.45;
    color: var(--brand-ink);
}

.stage.pledge .pl-abr {
    margin: .5cqh 0 1.4cqh;
    font-size: 2.3cqh;
    font-weight: 800;
    color: var(--brand-blue);
}

.stage.pledge .pl-join-btn {
    display: block;
    width: 54%;
    margin: 0 auto;
    line-height: 0;
}

.stage.pledge .pl-join-btn img {
    width: 100%;
}

.stage.pledge .pl-cards {
    left: 2%;
    right: 2%;
    bottom: 2.6%;
    display: flex;
    gap: 1.3cqw;
}

.stage.pledge .pl-card {
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(20, 60, 110, .14);
    border-radius: 1.6cqh;
    padding: 2cqh .6cqw;
    display: flex;
}

.stage.pledge .pl-card.vision {
    flex: 0 0 60%;
}

.stage.pledge .pl-card.meta {
    flex: 1;
}

.stage.pledge .pl-col {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1cqw;
    padding: 0 1.1cqw;
}

.stage.pledge .pl-col + .pl-col {
    border-left: 1px solid rgba(20, 60, 110, .18);
}

.stage.pledge .pl-col img {
    width: 4.6cqh;
    flex: none;
}

.stage.pledge .pl-col h5 {
    margin: 0 0 .3cqh;
    font-size: 1.85cqh;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--brand-blue);
}

.stage.pledge .pl-col p {
    margin: 0;
    font-size: 1.62cqh;
    line-height: 1.25;
    color: #222;
}

.stage.pledge .pl-col.c-green h5 {
    color: #3a9e3a;
}

.stage.pledge .pl-col.c-orange h5 {
    color: #e8622a;
}

/* ================================================================
   Page 3 · Pledge form  (assets/images/third.png)
   ================================================================ */
.stage.form .fm-card {
    left: 49%;
    top: 5.5%;
    width: 49%;
    height: 89%;
    box-sizing: border-box;
    padding: 3.2cqh 3cqw;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(20, 60, 110, .14);
    border-radius: 2cqh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.stage.form .fm-logo {
    width: 42%;
    margin-bottom: 2.8cqh;
}

.stage.form .fm-heading {
    margin: 0 0 3cqh;
    text-align: center;
    font-size: 2.9cqh;
    font-weight: 800;
    line-height: 1.28;
    text-transform: uppercase;
    color: var(--brand-navy);
}

.stage.form .fm-heading b {
    color: var(--brand-blue);
}

.stage.form .fm-heading .gf-rule {
    width: 42%;
    margin: 1.4cqh auto 0;
}

.stage.form .fm-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2cqh 2cqw;
}

.stage.form .fm-field {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1cqw;
}

.stage.form .fm-field img {
    width: 2.6cqh;
    flex: none;
}

.stage.form .fm-field input {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #6aa9d8;
    border-radius: .8cqh;
    padding: 1.15cqh 1cqw;
    font: inherit;
    font-size: clamp(16px, 1.9cqh, 18px);
    color: #333;
    background: rgba(255, 255, 255, .9);
}

.stage.form .fm-field input::placeholder {
    color: #8b8b8b;
}

.stage.form .fm-field input:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 1px;
}

.stage.form .fm-consent {
    display: flex;
    gap: 1cqw;
    margin: 2.6cqh 0 0;
    font-size: clamp(12px, 1.35cqh, 14px);
    line-height: 1.4;
    color: #333;
    text-align: justify;
}

.stage.form .fm-consent input {
    width: clamp(22px, 2.2cqh, 26px);
    height: clamp(22px, 2.2cqh, 26px);
    flex: none;
    margin-top: .2cqh;
    accent-color: var(--brand-blue);
}

.stage.form .fm-pledge {
    margin: auto 0 0;
    padding-top: 2.4cqh;
    text-align: center;
    font-size: 2.3cqh;
    line-height: 1.4;
    color: var(--brand-ink);
}

.stage.form .fm-pledge b {
    display: block;
    color: var(--brand-blue);
    font-weight: 800;
}

.stage.form .fm-submit {
    margin-top: 2.4cqh;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    width: 26%;
    line-height: 0;
}

.stage.form .fm-submit img {
    width: 100%;
    display: block;
}

/* ---- form validation feedback ---- */
.stage.form .fm-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.stage.form .fm-error {
    flex-basis: 100%;
    margin: .35cqh 0 0 3.6cqw;
    color: #c0271c;
    font-size: 1.3cqh;
    line-height: 1.3;
}

.stage.form .fm-error-block {
    display: block;
    flex-basis: auto;
    margin: .6cqh 0 0;
}

.stage.form .fm-field.has-error input {
    border-color: #c0271c;
    background: #fff6f5;
}

.stage.form .fm-consent.has-error {
    color: #c0271c;
}

.stage.form .fm-form-message {
    width: 100%;
    box-sizing: border-box;
    margin: 1.6cqh 0 0;
    padding: 1cqh 1.4cqw;
    border-radius: .8cqh;
    font-size: 1.55cqh;
    font-weight: 700;
    text-align: center;
}

.stage.form .fm-form-message.is-error {
    background: #fde8e6;
    color: #b02318;
}

.stage.form .fm-form-message.is-ok {
    background: #e5f4ea;
    color: #1c7a3f;
}

.stage.form .fm-card.is-submitting .fm-submit {
    opacity: .6;
    pointer-events: none;
}

/* ================================================================
   Thank-you modal  (assets/images/model.png)
   ================================================================ */
.thanks-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3vh 3vw;
    background: rgba(206, 226, 242, .55);
    font-family: "AktivGrotesk", Arial, Helvetica, sans-serif;
}

.thanks-overlay[hidden] {
    display: none;
}

.thanks-card {
    position: relative;
    width: min(100%, calc(88vh * 1.6));
    aspect-ratio: 1.6 / 1;
    max-height: 100%;
    box-sizing: border-box;
    padding: 4cqh 8cqw;
    background: #fff;
    border: 1px solid rgba(20, 60, 110, .18);
    border-radius: 2cqh;
    box-shadow: 0 3cqh 8cqh rgba(20, 60, 110, .25);
    container-type: size;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thanks-close {
    position: absolute;
    top: 3.2cqh;
    right: 3.2cqw;
    width: 6cqh;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    line-height: 0;
}

.thanks-close img {
    width: 100%;
    display: block;
}

.thanks-card h2 {
    margin: 0;
    font-size: 9cqw;
    font-weight: 800;
    color: #1f7ac0;
}

.thanks-card h2 .gf-rule {
    width: 15cqw;
    margin: 2cqh auto 0;
}

.thanks-card .tk-line1 {
    margin: 5cqh 0 4cqh;
    font-size: 3.8cqw;
    color: var(--brand-ink);
}

.thanks-spectra {
    width: calc(100% + 18cqw);
    margin: 0 -9cqw 4cqh;
}

.thanks-card .tk-line2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6cqw;
    flex-wrap: wrap;
    margin: 0;
    font-size: 3.6cqw;
    color: var(--brand-ink);
}

.thanks-glow {
    height: 6.5cqw;
    width: auto;
}

/* ================================================================
   MOBILE / small screens — the fixed artboards reflow into a plain
   vertical, scrollable, block layout (no shrunken web view).
   ================================================================ */
@media (max-width: 900px) and (orientation: portrait),
       (max-height: 500px) and (orientation: landscape) {
    html:has(.stage),
    body:has(.stage) {
        overflow-x: hidden;
        background: #eef4fa;
    }

    body:has(.stage) {
        overflow-y: auto;
    }

    .stage {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: clip;
        container-type: normal;
        display: block;
        text-align: center;
        box-sizing: border-box;
        padding: 6vw 5vw 12vw;
        background: linear-gradient(180deg, #e9f3fb 0%, #ffffff 55%);
    }

    .stage .bg {
        display: none;
    }

    .stage * {
        box-sizing: border-box;
    }

    /* every artboard-positioned element becomes a normal centered block */
    .stage > :not(.bg),
    .stage .pl-circle,
    .stage .pl-circle > *,
    .stage .pl-cards,
    .stage .pl-card,
    .stage .pl-col {
        position: static !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .stage .pl-cards,
    .stage.form .fm-card {
        display: block !important;
    }

    .stage .hp-stat,
    .stage .pl-join,
    .stage .pl-col,
    .stage .fm-field,
    .stage .fm-consent {
        display: flex !important;
        align-items: center;
    }

    .stage .fm-consent {
        align-items: flex-start;
    }

    .stage > :not(.bg) + :not(.bg),
    .stage .pl-circle > * + * {
        margin-top: 5vw;
    }

    .stage img {
        max-width: 100%;
        height: auto;
    }

    .stage p,
    .stage h1,
    .stage h2,
    .stage h4,
    .stage h5 {
        overflow-wrap: break-word;
    }

    .gf-rule {
        height: 1vw;
        min-height: 3px;
    }

    /* ---------- Page 1 · Home ---------- */
    .stage.home .hp-logo-left {
        width: 62% !important;
    }

    .stage.home .hp-logo-right {
        width: 36% !important;
    }

    .stage.home .hp-center {
        width: 66% !important;
    }

    .stage.home .hp-heading h1 {
        font-size: 7vw;
        margin: 0;
    }

    .stage.home .hp-rule {
        width: 42% !important;
        margin: 3.5vw auto 0;
    }

    .stage.home .hp-intro {
        font-size: 4vw;
    }

    .stage.home .hp-stats::before,
    .stage.home .hp-stat::before {
        display: none;
    }

    .stage.home .hp-stat {
        display: flex;
        align-items: center;
        gap: 4vw;
        text-align: left;
    }

    .stage.home .hp-stat + .hp-stat {
        margin-top: 4.5vw;
    }

    .stage.home .hp-stat img {
        width: 13vw;
        flex: none;
    }

    .stage.home .hp-stat h4 {
        font-size: 4.6vw;
        margin: 0;
    }

    .stage.home .hp-stat h4 span {
        font-size: 3.9vw;
    }

    .stage.home .hp-tagline p {
        width: 100%;
        font-size: 6vw;
        padding: 3.5vw 0;
        border-width: 1vw 0;
    }

    .stage.home .hp-next {
        width: 48% !important;
    }

    /* ---------- Page 2 · Join the Pledge ---------- */
    .stage.pledge .pl-logo {
        width: 62% !important;
    }

    .stage.pledge .pl-wordmark {
        width: 88% !important;
    }

    .stage.pledge .pl-lead {
        font-size: 4vw;
    }

    .stage.pledge .pl-lead b {
        font-size: 4.4vw;
        display: block;
        margin-top: 1.5vw;
    }

    .stage.pledge .pl-circle {
        color: var(--brand-navy);
    }

    .stage.pledge .pl-join {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3.4vw;
        gap: 3vw;
    }

    .stage.pledge .pl-join::before,
    .stage.pledge .pl-join::after {
        width: 12vw;
    }

    .stage.pledge .pl-pledge-logo {
        width: 58% !important;
        margin: 3vw auto 2vw;
    }

    .stage.pledge .pl-circle .gf-line {
        width: 54% !important;
        height: 2px;
        margin: 2vw auto 4vw;
    }

    .stage.pledge .pl-sub {
        font-size: 4vw;
    }

    .stage.pledge .pl-abr {
        font-size: 4.4vw;
        margin: 2vw 0 4vw;
    }

    .stage.pledge .pl-join-btn {
        width: 66% !important;
    }

    .stage.pledge .pl-card + .pl-card {
        margin-top: 4vw;
    }

    .stage.pledge .pl-card {
        padding: 4vw 5vw;
        border-radius: 3vw;
    }

    .stage.pledge .pl-col {
        display: flex;
        align-items: center;
        gap: 3.5vw;
        text-align: left;
        padding: 3.5vw 0;
    }

    .stage.pledge .pl-col > div {
        flex: 1;
        min-width: 0;
    }

    .stage.pledge .pl-col + .pl-col {
        border-left: 0;
        border-top: 1px solid rgba(20, 60, 110, .18);
    }

    .stage.pledge .pl-col img {
        width: 13vw;
        flex: none;
    }

    .stage.pledge .pl-col h5 {
        font-size: 4.3vw;
        margin: 0 0 1vw;
    }

    .stage.pledge .pl-col p {
        font-size: 3.7vw;
        margin: 0;
    }

    /* ---------- Page 3 · Pledge form ---------- */
    .stage.form {
        padding: 0;
        background: none;
    }

    .stage.form .fm-card {
        min-height: 100vh;
        padding: 9vw 6vw 14vw;
        border: 0;
        border-radius: 0;
        background: linear-gradient(180deg, #e9f3fb 0%, #ffffff 42%);
        overflow: visible;
    }

    .stage.form .fm-logo {
        width: 62%;
        margin: 0 auto 7vw;
    }

    .stage.form .fm-heading {
        font-size: 6vw;
        margin: 0 auto 7vw;
    }

    .stage.form .fm-heading .gf-rule {
        width: 46%;
        margin: 4vw auto 0;
    }

    .stage.form .fm-grid {
        display: block;
    }

    .stage.form .fm-field {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 3vw;
    }

    .stage.form .fm-field + .fm-field {
        margin-top: 4vw;
    }

    .stage.form .fm-error {
        margin-left: 9.5vw;
        font-size: 3vw;
    }

    .stage.form .fm-error-block {
        margin-left: 0;
    }

    .stage.form .fm-form-message {
        margin-top: 5vw;
        padding: 2.4vw 3vw;
        border-radius: 2vw;
        font-size: 3.4vw;
    }

    .stage.form .fm-field img {
        width: 6.5vw;
        flex: none;
    }

    .stage.form .fm-field input {
        font-size: 4.2vw;
        padding: 3.4vw 3vw;
        border-radius: 2vw;
    }

    .stage.form .fm-consent {
        display: flex;
        gap: 3vw;
        margin-top: 6vw;
        font-size: 3.3vw;
        text-align: left;
    }

    .stage.form .fm-consent input {
        width: 5.5vw;
        height: 5.5vw;
        flex: none;
    }

    .stage.form .fm-pledge {
        margin: 9vw auto 0;
        font-size: 4.7vw;
    }

    .stage.form .fm-submit {
        width: 52%;
        margin: 7vw auto 0;
    }

    /* ---------- Thank-you modal ---------- */
    .thanks-overlay {
        padding: 4vw;
    }

    .thanks-card {
        width: 94%;
        aspect-ratio: auto;
        max-height: 92vh;
        padding: 12vw 6vw;
        border-radius: 4vw;
        container-type: normal;
        overflow-y: auto;
    }

    .thanks-close {
        width: 9vw;
        top: 3.5vw;
        right: 3.5vw;
    }

    .thanks-card h2 {
        font-size: 13vw;
    }

    .thanks-card h2 .gf-rule {
        width: 32vw;
        margin: 3vw auto 0;
    }

    .thanks-card .tk-line1 {
        margin: 7vw 0 6vw;
        font-size: 5.2vw;
    }

    .thanks-spectra {
        width: calc(100% + 12vw);
        margin: 0 -6vw 7vw;
    }

    .thanks-card .tk-line2 {
        gap: 3vw;
        font-size: 5vw;
    }

    .thanks-glow {
        height: 9vw;
    }

    /* ---------- Back button (floats while scrolling) ---------- */
    .stage .stage-back {
        position: fixed !important;
        left: 3vw !important;
        right: auto !important;
        top: auto !important;
        bottom: 3vw !important;
        z-index: 200;
        display: inline-flex !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        gap: 1.6vw;
        padding: 2.4vw 4.5vw 2.4vw 3.5vw;
        font-size: 3.4vw;
    }

    .stage .stage-back svg {
        width: 3.4vw;
        height: 3.4vw;
    }
}


/* ================================================================
   Responsive hardening — Samsung Galaxy Tab A9+ + mobile phones
   - 16:10 landscape tablets keep the approved artwork composition.
   - Portrait tablets/phones use the reflow rules above.
   - Short landscape phone viewports reflow instead of rendering a
     tiny letterboxed desktop artboard.
   ================================================================ */

/* Respect notches / gesture areas on reflowed devices. */
@media (max-width: 900px) and (orientation: portrait),
       (max-height: 500px) and (orientation: landscape) {
    .stage {
        padding-left: max(5vw, env(safe-area-inset-left));
        padding-right: max(5vw, env(safe-area-inset-right));
        padding-bottom: max(12vw, calc(env(safe-area-inset-bottom) + 3rem));
    }

    .stage.form {
        padding: 0;
    }

    .stage.form .fm-card {
        padding-left: max(6vw, env(safe-area-inset-left));
        padding-right: max(6vw, env(safe-area-inset-right));
        padding-bottom: max(14vw, calc(env(safe-area-inset-bottom) + 4rem));
    }

    /* 16px minimum prevents focus-zoom on iPhone and keeps fields comfortably tappable. */
    .stage.form .fm-field input {
        min-height: 44px;
        font-size: clamp(16px, 4.2vw, 20px);
    }

    .stage.form .fm-consent {
        font-size: clamp(13px, 3.3vw, 16px);
    }

    .stage.form .fm-consent input {
        min-width: 22px;
        min-height: 22px;
    }

    .stage .stage-back {
        min-height: 44px;
    }
}

/* Portrait tablets (including an A9+ rotated vertically): retain the
   mobile flow, but cap typography so it does not become oversized. */
@media (min-width: 600px) and (max-width: 900px) and (orientation: portrait) {
    .stage {
        padding-top: 42px;
        padding-left: max(7vw, env(safe-area-inset-left));
        padding-right: max(7vw, env(safe-area-inset-right));
        padding-bottom: max(90px, calc(env(safe-area-inset-bottom) + 70px));
    }

    .stage.home .hp-logo-left,
    .stage.pledge .pl-logo {
        width: min(52%, 360px) !important;
    }

    .stage.home .hp-logo-right {
        width: min(28%, 210px) !important;
    }

    .stage.home .hp-center {
        width: min(56%, 390px) !important;
    }

    .stage.home .hp-heading h1 {
        font-size: clamp(38px, 6vw, 50px);
    }

    .stage.home .hp-intro,
    .stage.pledge .pl-lead,
    .stage.pledge .pl-sub {
        font-size: clamp(19px, 2.8vw, 23px);
    }

    .stage.home .hp-stat h4,
    .stage.pledge .pl-abr {
        font-size: clamp(23px, 3.5vw, 29px);
    }

    .stage.home .hp-stat h4 span,
    .stage.pledge .pl-col p {
        font-size: clamp(18px, 2.7vw, 22px);
    }

    .stage.home .hp-stat img,
    .stage.pledge .pl-col img {
        width: 84px;
    }

    .stage.home .hp-tagline p {
        font-size: clamp(32px, 5vw, 42px);
    }

    .stage.home .hp-next,
    .stage.pledge .pl-join-btn {
        width: min(42%, 300px) !important;
    }

    .stage.pledge .pl-wordmark {
        width: min(78%, 560px) !important;
    }

    .stage.pledge .pl-lead b,
    .stage.pledge .pl-col h5 {
        font-size: clamp(21px, 3.2vw, 27px);
    }

    .stage.pledge .pl-pledge-logo {
        width: min(48%, 340px) !important;
    }

    .stage.pledge .pl-card {
        padding: 28px 34px;
        border-radius: 22px;
    }

    .stage.form .fm-card {
        padding-top: 56px;
        padding-left: max(9vw, env(safe-area-inset-left));
        padding-right: max(9vw, env(safe-area-inset-right));
    }

    .stage.form .fm-logo {
        width: min(50%, 330px);
        margin-bottom: 38px;
    }

    .stage.form .fm-heading {
        font-size: clamp(34px, 5vw, 44px);
        margin-bottom: 42px;
    }

    .stage.form .fm-field input {
        padding: 18px 20px;
    }

    .stage.form .fm-consent {
        font-size: clamp(15px, 2.1vw, 18px);
    }

    .stage.form .fm-pledge {
        font-size: clamp(24px, 3.5vw, 30px);
    }

    .stage.form .fm-submit {
        width: min(42%, 290px);
    }
}

/* Narrow portrait phones: use readable minimums without changing the
   approved visual hierarchy. */
@media (max-width: 599px) and (orientation: portrait) {
    .stage.home .hp-heading h1 {
        font-size: clamp(28px, 7vw, 38px);
    }

    .stage.home .hp-intro,
    .stage.pledge .pl-lead,
    .stage.pledge .pl-sub {
        font-size: clamp(16px, 4vw, 19px);
    }

    .stage.home .hp-stat h4,
    .stage.pledge .pl-abr,
    .stage.pledge .pl-lead b {
        font-size: clamp(18px, 4.6vw, 22px);
    }

    .stage.home .hp-stat h4 span,
    .stage.pledge .pl-col p {
        font-size: clamp(15px, 3.9vw, 18px);
    }

    .stage.home .hp-tagline p {
        font-size: clamp(24px, 6vw, 30px);
    }

    .stage.pledge .pl-col h5 {
        font-size: clamp(18px, 4.3vw, 21px);
    }

    .stage.form .fm-heading {
        font-size: clamp(26px, 6vw, 34px);
    }

    .stage.form .fm-error {
        font-size: clamp(12px, 3vw, 14px);
    }

    .stage.form .fm-form-message {
        font-size: clamp(14px, 3.4vw, 17px);
    }

    .stage.form .fm-pledge {
        font-size: clamp(19px, 4.7vw, 24px);
    }

    .stage .stage-back {
        font-size: clamp(13px, 3.4vw, 16px);
    }
}

/* Landscape phones are too short for the 16:10 artboard controls to
   remain comfortably readable/tappable, so use a compact scroll flow. */
@media (max-height: 500px) and (orientation: landscape) {
    .stage {
        padding-top: 24px;
        padding-left: max(34px, env(safe-area-inset-left));
        padding-right: max(34px, env(safe-area-inset-right));
        padding-bottom: max(72px, calc(env(safe-area-inset-bottom) + 56px));
    }

    .stage > :not(.bg),
    .stage .pl-circle,
    .stage .pl-cards,
    .stage .pl-card {
        max-width: 760px !important;
    }

    .stage.home .hp-logo-left,
    .stage.pledge .pl-logo {
        width: min(42%, 300px) !important;
    }

    .stage.home .hp-logo-right {
        width: min(22%, 150px) !important;
    }

    .stage.home .hp-center {
        width: min(44%, 320px) !important;
    }

    .stage.home .hp-heading h1 {
        font-size: clamp(30px, 4vw, 38px);
    }

    .stage.home .hp-intro,
    .stage.pledge .pl-lead,
    .stage.pledge .pl-sub {
        font-size: clamp(17px, 2.2vw, 21px);
    }

    .stage.home .hp-stat img,
    .stage.pledge .pl-col img {
        width: 64px;
    }

    .stage.home .hp-stat h4,
    .stage.pledge .pl-abr,
    .stage.pledge .pl-col h5 {
        font-size: clamp(19px, 2.5vw, 24px);
    }

    .stage.home .hp-stat h4 span,
    .stage.pledge .pl-col p {
        font-size: clamp(15px, 2vw, 18px);
    }

    .stage.home .hp-tagline p {
        font-size: clamp(26px, 3.2vw, 32px);
    }

    .stage.home .hp-next,
    .stage.pledge .pl-join-btn {
        width: min(36%, 260px) !important;
    }

    .stage.pledge .pl-wordmark {
        width: min(70%, 520px) !important;
    }

    .stage.pledge .pl-pledge-logo {
        width: min(46%, 310px) !important;
    }

    .stage.form .fm-card {
        min-height: auto;
        padding-top: 34px;
        padding-left: max(60px, env(safe-area-inset-left));
        padding-right: max(60px, env(safe-area-inset-right));
    }

    .stage.form .fm-logo {
        width: min(38%, 280px);
        margin-bottom: 28px;
    }

    .stage.form .fm-heading {
        font-size: clamp(28px, 3.6vw, 36px);
        margin-bottom: 30px;
    }

    .stage.form .fm-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
    }

    .stage.form .fm-field + .fm-field {
        margin-top: 0;
    }

    .stage.form .fm-field input {
        padding: 13px 14px;
        font-size: 16px;
    }

    .stage.form .fm-consent {
        margin-top: 28px;
        font-size: 14px;
    }

    .stage.form .fm-pledge {
        margin-top: 34px;
        font-size: clamp(20px, 2.6vw, 26px);
    }

    .stage.form .fm-submit {
        width: min(34%, 240px);
        margin-top: 28px;
    }
}

/* Keep the Back control out of the content band on short landscape phones. */
@media (max-height: 500px) and (orientation: landscape) {
    .stage .stage-back {
        top: max(14px, env(safe-area-inset-top)) !important;
        bottom: auto !important;
    }
}
