:root {
    --gp-blue: #004aad;
    --gp-green: #41b734;
    --gp-yellow: #f2dd28;
    --gp-red: #ef2d40;
    --gp-ink: #081523;
    --gp-panel: #0f2f57;
    --gp-white: #f6fbff;
}

* {
    box-sizing: border-box;
}

img {
    display: block;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Aptos", "Segoe UI", Tahoma, sans-serif;
    color: var(--gp-white);
    background:
        radial-gradient(circle at 20% 15%, rgba(239, 45, 64, 0.2), transparent 45%),
        radial-gradient(circle at 80% 25%, rgba(65, 183, 52, 0.24), transparent 46%),
        radial-gradient(circle at 50% 95%, rgba(0, 74, 173, 0.36), transparent 62%),
        linear-gradient(140deg, #1b385b 0%, #2f5f99 52%, #1b4777 100%);
    background-attachment: fixed;
    -webkit-text-size-adjust: 100%;
}

.page-shell {
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(1rem, 3.8vw, 3rem) clamp(0.9rem, 4vw, 1.5rem) clamp(1.5rem, 5vw, 3rem);
    display: grid;
    justify-items: center;
    align-content: start;
    gap: clamp(0.9rem, 2.5vw, 1.5rem);
}

.site-nav-wrap {
    width: min(920px, 100%);
    position: relative;
    z-index: 1200;
}

.site-nav {
    position: relative;
    z-index: 1201;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(140deg, rgba(9, 32, 66, 0.92), rgba(6, 56, 108, 0.8));
    backdrop-filter: blur(5px);
    min-height: 66px;
    padding: 0.7rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-mark {
    text-decoration: none;
    color: var(--gp-white);
    font-weight: 800;
    letter-spacing: 0.03em;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(3, 16, 33, 0.5);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav-links a {
    text-decoration: none;
    color: rgba(246, 251, 255, 0.93);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav-links a:hover {
    color: #071f3b;
    background: linear-gradient(100deg, var(--gp-green), #7ede6f);
}

.brand-header {
    width: min(920px, 100%);
    display: flex;
    justify-content: center;
    margin: -1.05rem 0 -1.1rem;
}

.home-shell {
    row-gap: clamp(0.45rem, 1.2vw, 0.85rem);
}

.home-shell .brand-header {
    margin: 0;
}

.brand-logo {
    width: min(671px, 92vw);
    max-width: 100%;

    filter: drop-shadow(0 16px 36px rgba(8, 27, 53, 0.55));
    animation: logoRise 0.9s ease-out both;
}

.hero-card {
    width: min(920px, 100%);
    border-radius: clamp(18px, 2.8vw, 26px);
    padding: clamp(1.5rem, 3vw, 2.75rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(6, 30, 60, 0.84), rgba(16, 66, 120, 0.76));
    backdrop-filter: blur(4px);
    box-shadow:
        0 22px 50px rgba(3, 8, 18, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    animation: cardReveal 0.95s ease-out both;
}

.content-card {
    width: min(920px, 100%);
    border-radius: clamp(18px, 2.8vw, 26px);
    padding: clamp(1.2rem, 3vw, 2.2rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(145deg, rgba(31, 73, 126, 0.8), rgba(56, 111, 179, 0.68));
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 46px rgba(3, 8, 18, 0.42);
}

.page-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.65rem, 4.6vw, 2.5rem);
    line-height: 1.15;
}

.page-subtitle {
    margin: 0.8rem 0 0;
    color: rgba(246, 251, 255, 0.92);
    line-height: 1.55;
}

.alert {
    margin: 1rem 0 0;
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    border: 1px solid transparent;
    font-weight: 600;
}

.alert.success {
    color: #dcffde;
    border-color: rgba(124, 240, 112, 0.45);
    background: rgba(65, 183, 52, 0.24);
}

.alert.error {
    color: #ffe2e2;
    border-color: rgba(255, 123, 123, 0.45);
    background: rgba(239, 45, 64, 0.24);
}

.helper-note {
    margin: 0.7rem 0 0;
    color: #ffef9d;
    font-size: 0.95rem;
}

.password-strength {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(246, 251, 255, 0.85);
}

.password-strength.weak {
    color: #ffb4b4;
}

.password-strength.medium {
    color: #ffe89a;
}

.password-strength.strong {
    color: #b8ffc0;
}

.auth-form {
    margin-top: 1.2rem;
    display: grid;
    gap: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    align-items: start;
}

.field-group {
    display: grid;
    gap: 0.38rem;
    align-content: start;
}

.field-group.full {
    grid-column: 1 / -1;
}

.field-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(246, 251, 255, 0.95);
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(3, 18, 36, 0.5);
    color: #ffffff;
    padding: 0.72rem 0.82rem;
    font: inherit;
    outline: none;
}

.field-group textarea {
    min-height: 110px;
    resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    border-color: var(--gp-yellow);
    box-shadow: 0 0 0 3px rgba(242, 221, 40, 0.18);
}

.human-check-panel {
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(1, 11, 24, 0.36);
    padding: 0.8rem;
    display: grid;
    gap: 0.6rem;
}

.recaptcha-wrap {
    display: flex;
    justify-content: flex-start;
}

.human-zone {
    min-height: 82px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(4, 44, 87, 0.8), rgba(10, 68, 126, 0.58));
    display: grid;
    place-items: center;
    text-align: center;
    padding: 0.8rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.93rem;
}

.status-pill {
    width: fit-content;
    border-radius: 999px;
    padding: 0.25rem 0.72rem;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(239, 45, 64, 0.25);
    color: #ffdfe3;
}

.status-pill.ready {
    background: rgba(65, 183, 52, 0.28);
    color: #dbffd7;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-row input[type="checkbox"] {
    accent-color: var(--gp-green);
    width: 18px;
    height: 18px;
}

.check-row label {
    font-size: 0.92rem;
}

.link-row {
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-row a,
.inline-link {
    color: #ffed6d;
    text-decoration: none;
    font-weight: 600;
}

.link-row a:hover,
.inline-link:hover {
    text-decoration: underline;
}

.button-row {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
}

.terms-check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.15rem;
}

.terms-check-row input[type="checkbox"] {
    accent-color: var(--gp-green);
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
}

.terms-check-row label {
    line-height: 1.45;
}

.legal-footer-main {
    margin-top: 1rem;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.9rem;
    display: flex;
    justify-content: center;
    z-index: 1800;
    pointer-events: none;
}

.legal-footer-card-shell {
    margin-top: 1rem;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.9rem;
    display: flex;
    justify-content: center;
    z-index: 1800;
    pointer-events: none;
}

.legal-footer {
    margin: 0;
    width: min(920px, 100%);
    padding: 0.85rem 1rem 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: rgba(235, 244, 255, 0.92);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: linear-gradient(145deg, rgba(7, 28, 55, 0.95), rgba(10, 52, 102, 0.9));
    box-shadow: 0 14px 36px rgba(2, 8, 19, 0.5);
    pointer-events: auto;
}

.legal-footer-card {
    margin: 0;
    width: min(920px, 100%);
    padding: 0.85rem 1rem 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: rgba(235, 244, 255, 0.92);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: linear-gradient(145deg, rgba(7, 28, 55, 0.95), rgba(10, 52, 102, 0.9));
    box-shadow: 0 14px 36px rgba(2, 8, 19, 0.5);
    pointer-events: auto;
}

.legal-footer a {
    color: #ffffff;
    text-underline-offset: 0.14rem;
}

.legal-footer-card a {
    color: #ffffff;
    text-underline-offset: 0.14rem;
}

.legal-footer a:hover {
    text-decoration: underline;
}

.legal-footer-card a:hover {
    text-decoration: underline;
}

.terms-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 11, 22, 0.62);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2500;
}

.terms-modal.is-open {
    display: flex;
}

.terms-modal-panel {
    width: min(700px, 100%);
    max-height: 85dvh;
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, rgba(20, 58, 102, 0.96), rgba(27, 78, 137, 0.92));
    box-shadow: 0 24px 48px rgba(2, 7, 15, 0.5);
}

.terms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.terms-modal-header h2 {
    margin: 0;
    font-size: 1.15rem;
}

.terms-close-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(1, 16, 36, 0.45);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font: inherit;
}

.terms-modal-body {
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.terms-modal-body p {
    margin: 0;
    line-height: 1.55;
}

.terms-modal-body h3 {
    margin: 0.3rem 0 0;
    font-size: 1rem;
    line-height: 1.35;
}

.terms-modal-body ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.terms-modal-body li {
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

.submit-btn {
    border: 0;
    border-radius: 999px;
    min-height: 46px;
    padding: 0.72rem 1.35rem;
    font: inherit;
    font-weight: 700;
    color: #07213f;
    cursor: pointer;
    background: linear-gradient(100deg, var(--gp-yellow), #fff596);
    box-shadow: 0 10px 24px rgba(242, 221, 40, 0.35);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    box-shadow: none;
}

.note-list {
    margin: 1rem 0 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.5rem;
}

.legal-links-card {
    margin: 1rem auto 0;
    width: min(920px, calc(100% - 2rem));
    padding: clamp(0.35rem, 0.8vw, 0.6rem) clamp(0.7rem, 1.6vw, 1rem);
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(10, 35, 69, 0.94), rgba(17, 68, 124, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 40px rgba(3, 8, 18, 0.45);
    animation: cardReveal 0.75s ease-out both;
}

.legal-links-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.legal-links-row a,
.legal-links-row a:link,
.legal-links-row a:visited,
.legal-links-row a:hover,
.legal-links-row a:active {
    color: #ffffff;
    text-decoration: none;
    text-underline-offset: 0.14rem;
}

.legal-links-row a:hover {
    text-decoration: underline;
}

.contact-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.info-block {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 0.9rem;
    background: rgba(2, 20, 41, 0.4);
}

.info-block h3 {
    margin: 0;
    font-size: 1rem;
}

.info-block p {
    margin: 0.55rem 0 0;
    line-height: 1.5;
    color: rgba(246, 251, 255, 0.94);
}

.support-faq {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(2, 20, 41, 0.42);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.9rem 1rem;
    font-weight: 700;
    color: #ffffff;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.8rem 1rem 0.95rem;
    display: grid;
    gap: 0.45rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.5;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: clamp(0.08em, 0.28vw, 0.17em);
    font-size: clamp(0.68rem, 2vw, 0.78rem);
    color: var(--gp-yellow);
}

h1 {
    margin: 0.5rem 0 0;
    font-size: clamp(1.85rem, 6vw, 3.4rem);
    line-height: 1.08;
    color: #ffffff;
}

.intro {
    margin: 1rem 0 0;
    max-width: 64ch;
    font-size: clamp(0.97rem, 2.35vw, 1.2rem);
    line-height: 1.62;
    color: rgba(246, 251, 255, 0.93);
}

.cta-row {
    margin-top: 1.6rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    min-height: 46px;
    padding: 0.72rem 1.3rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.cta.primary {
    color: #07213f;
    background: linear-gradient(100deg, var(--gp-yellow), #fff596);
    box-shadow: 0 10px 24px rgba(242, 221, 40, 0.35);
}

.cta.secondary {
    color: #f5fbff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.16);
}

.cta:hover {
    transform: translateY(-2px);
}

.cta.primary:hover {
    box-shadow: 0 14px 28px rgba(242, 221, 40, 0.45);
}

.cta.secondary:hover {
    background: rgba(239, 45, 64, 0.2);
}

@media (hover: none) {
    .cta:hover {
        transform: none;
    }
}

@keyframes logoRise {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .page-shell {
        justify-items: center;
        align-content: start;
    }

    .site-nav {
        min-height: 60px;
    }

    .menu-button {
        display: inline-flex;
    }

    .site-nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: linear-gradient(160deg, rgba(8, 31, 64, 0.98), rgba(7, 48, 94, 0.96));
        padding: 0.55rem;
        box-shadow: 0 16px 28px rgba(4, 11, 24, 0.45);
        z-index: 1300;
    }

    .site-nav-links a {
        border-radius: 11px;
        padding: 0.7rem 0.8rem;
    }

    .menu-toggle:checked ~ .site-nav-links {
        display: flex;
    }

    .menu-toggle:checked + .menu-button span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle:checked + .menu-button span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked + .menu-button span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .brand-logo {
        width: min(577px, 94vw);
    }

    .brand-header {
        margin: -0.85rem 0 -0.9rem;
    }

    .home-shell {
        row-gap: clamp(0.35rem, 2vw, 0.65rem);
    }

    .home-shell .brand-header {
        margin: 0;
    }

    .hero-card {
        width: 100%;
    }

    .cta-row {
        flex-direction: column;
    }

    .cta {
        width: 100%;
    }

    .form-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .button-row {
        width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .hero-card {
        padding: 2.8rem 3rem;
    }
}

@media (max-width: 900px) {
    body {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
