:root {
    --navy: #071b30;
    --teal: #20d2c5;
    --ink: #12263b;
    --muted: #607589;
    --line: #d9e6ef;
    --pale: #f3f8fc
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--pale)
}

a {
    color: inherit
}

header {
    position: sticky;
    top: 0;
    background: #071b30;
    color: white;
    z-index: 2
}

nav,
.wrap {
    max-width: 1120px;
    margin: auto;
    padding-left: 24px;
    padding-right: 24px
}

nav {
    min-height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

nav a,
nav button {
    color: #e1f3fa;
    text-decoration: none;
    margin-left: 17px;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 14px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    font-weight: 800;
    margin-left: 0
}

.site-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.hero {
    background: radial-gradient(ellipse at 80% 20%, #124968, transparent 40%), linear-gradient(120deg, #071b30, #0a3446);
    color: white
}

.hero-grid {
    padding-top: 75px;
    padding-bottom: 75px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 35px;
    align-items: center
}

.eyebrow {
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 2px;
    color: #0a9e99
}

.hero .eyebrow {
    color: var(--teal)
}

h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 15px 0
}

em {
    font-style: normal;
    color: var(--teal)
}

.lead {
    max-width: 600px;
    color: #d0dfeb;
    font-size: 17px
}

.btn {
    display: inline-block;
    border: 0;
    border-radius: 9px;
    padding: 12px 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px
}

.primary {
    background: var(--teal);
    color: #06263b
}

.secondary {
    background: #edf4f8;
    color: var(--ink)
}

.full {
    width: 100%;
    margin-top: 9px
}

.orb {
    margin: auto;
    width: 280px;
    max-width: 80vw;
    aspect-ratio: 1;
    border: 1px solid #2b6a7d;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    background: radial-gradient(circle, #16475b, #082239);
    box-shadow: 0 0 80px #13c9c02b
}

.shield {
    width: 110px;
    height: 125px;
    clip-path: polygon(50% 0, 92% 15%, 87% 65%, 50% 100%, 13% 65%, 8% 15%);
    background: linear-gradient(145deg, var(--teal), #1784a8);
    display: grid;
    place-items: center;
    color: #05243b;
    font-size: 50px
}

.chip {
    position: absolute;
    bottom: 25px;
    left: -15px;
    background: #102f45;
    border: 1px solid #28566c;
    border-radius: 10px;
    padding: 10px;
    color: #dffcff;
    font-size: 13px
}

.section {
    padding-top: 60px;
    padding-bottom: 60px
}

.center {
    text-align: center;
    margin-bottom: 28px
}

.center h2,
h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -1px
}

.muted {
    color: var(--muted)
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.features article,
.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 23px;
    box-shadow: 0 12px 35px #173b5809
}

.features p {
    color: var(--muted);
    font-size: 14px
}

.signup {
    background: linear-gradient(#eaf4fa, #f6fafc);
    border-block: 1px solid #e2edf4
}


.signup-grid {
    padding-top: 65px;
    padding-bottom: 65px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}


.signup li {
    margin: 12px 0
}

.card h3 {
    margin: 0;
    font-size: 23px
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eff5f9;
    padding: 4px;
    border-radius: 9px;
    margin-bottom: 20px
}

.tabs button {
    border: 0;
    padding: 10px;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font-weight: 750;
    color: var(--muted)
}

.tabs button.active {
    background: white;
    color: var(--ink);
    box-shadow: 0 2px 8px #18364a14
}

.field {
    margin: 15px 0
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 6px
}

.field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbdbe7;
    border-radius: 8px;
    background: #fbfdff;
    font: inherit;
    font-size: 14px
}

.field input:focus {
    outline: 2px solid #20d2c555;
    border-color: #0da99e
}

.check {
    display: flex;
    gap: 9px;
    font-size: 12px;
    color: var(--muted);
    margin: 16px 0
}

.textbtn {
    display: block;
    margin: 17px auto 0;
    border: 0;
    background: none;
    color: #087b91;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px
}

.tiny {
    font-size: 11px;
    text-align: center;
    color: #73869a
}

.message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 9px;
    font-size: 13px;
    overflow-wrap: anywhere
}

.message.success,
.success {
    background: #eafaf4;
    border: 1px solid #a5e3d0;
    color: #075f49;
    padding: 13px;
    border-radius: 9px
}

.message.error {
    background: #fff2f0;
    border: 1px solid #efb9b2;
    color: #8c2f25
}

.success p {
    font-weight: 800;
    margin: 5px 0
}

.success small {
    display: block
}

.green {
    color: #087d5b
}

.hidden {
    display: none !important
}

.faq {
    max-width: 900px
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 17px 0
}

.faq summary {
    font-weight: 800;
    cursor: pointer
}

.faq details p {
    color: var(--muted);
    font-size: 14px
}

footer {
    background: var(--navy);
    color: #c6d6e3
}

.foot {
    padding-top: 25px;
    padding-bottom: 25px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

@media(max-width:760px) {

    .hero-grid,
    .signup-grid {
        grid-template-columns: 1fr
    }

    .hero-grid {
        padding-top: 48px
    }

    .orb {
        width: 220px
    }

    .features {
        grid-template-columns: 1fr
    }

    .section {
        padding-top: 45px;
        padding-bottom: 45px
    }

    nav,
    .wrap {
        padding-left: 17px;
        padding-right: 17px
    }

    .signup-grid {
        padding-top: 45px;
        padding-bottom: 45px
    }
}

/* Separate payment proof page */
.payment-main {
    min-height: calc(100vh - 130px);
    padding: 48px 0 64px;
    background: linear-gradient(135deg, #f3f8fc, #eaf5f8)
}

.payment-layout {
    max-width: 780px;
    margin: 0 auto
}

.payment-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: clamp(20px, 4vw, 34px);
    box-shadow: 0 12px 35px #173b5809
}

.payment-card h1 {
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -1px;
    line-height: 1.12;
    color: var(--ink);
    margin: 10px 0 14px
}

.payment-note {
    border: 1px solid #b9dfe6;
    background: #f0fbfc;
    padding: 15px;
    border-radius: 10px;
    margin: 18px 0;
    color: #21465a
}

.upload-box {
    border: 2px dashed #b7ccd9;
    border-radius: 12px;
    padding: 22px;
    background: #f9fcfe
}

.upload-box input {
    display: block;
    width: 100%;
    margin-top: 10px;
    font: inherit
}

.file-hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px
}

.payment-status {
    margin-top: 16px;
    padding: 13px;
    border-radius: 9px;
    font-size: 14px;
    overflow-wrap: anywhere
}

.payment-status.error {
    background: #fff2f0;
    border: 1px solid #efb9b2;
    color: #8c2f25
}

.payment-status.success {
    background: #eafaf4;
    border: 1px solid #a5e3d0;
    color: #075f49
}

.payment-status.hidden {
    display: none
}

/* Payment QR Code Card */
.payment-qr-card {
    text-align: center;
    align-self: start;
}

.qr-box {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    padding: 16px;
    margin: 20px auto;
    max-width: 280px;
}

.payment-qr {
    display: block;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0 auto;
}

.payment-qr-card .tiny {
    color: var(--muted);
    margin-bottom: 18px;
}

.payment-qr-card .payment-continue {
    display: block;
}

@media (max-width: 760px) {
    .qr-box {
        max-width: 240px;
    }
}


/* Keep the login dialog on the right */
@media (min-width: 761px) {
    #authCard {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }

    /* Keep the payment QR in the right column too */
    #paymentQrCard {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }
}

/* Mobile layout */
@media (max-width: 760px) {
    .signup-grid {
        grid-template-columns: 1fr;
    }

    #authCard,
    #paymentQrCard {
        grid-column: 1;
        grid-row: auto;
    }
}