:root {
    --bg: #f4f6fb;
    --bg-2: #eaeef7;
    --paper: #ffffff;
    --paper-2: #f7f9fd;
    --ink: #0b1220;
    --ink-soft: #47546b;
    --ink-muted: #8a93a6;
    --line: #e2e7f0;
    --line-2: #eef1f7;
    --blue: #1e40af;
    --blue-bright: #2563eb;
    --blue-soft: rgba(37, 99, 235, .09);
    --green: #0e9f6e;
    --green-soft: rgba(14, 159, 110, .1);
    --amber: #d97706;
    --amber-soft: rgba(217, 119, 6, .12);
    --red: #dc2626;
    --red-soft: rgba(220, 38, 38, .1);
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius: 20px;
    --shadow-sm: 0 1px 2px rgba(11, 18, 32, .04), 0 2px 8px rgba(11, 18, 32, .04);
    --shadow-md: 0 8px 24px rgba(11, 18, 32, .08), 0 2px 6px rgba(11, 18, 32, .04);
    --shadow-lg: 0 24px 60px rgba(11, 18, 32, .14), 0 6px 16px rgba(11, 18, 32, .06);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        radial-gradient(1000px 600px at 50% -15%, rgba(37, 99, 235, .12), transparent 60%),
        radial-gradient(800px 500px at 90% 110%, rgba(14, 159, 110, .08), transparent 60%),
        linear-gradient(180deg, #f4f6fb 0%, #eef1f8 100%);
    background-attachment: fixed, fixed, fixed;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============ TOP BAR ============ */
.top {
    width: 100%;
    background: linear-gradient(135deg, #0b1220 0%, #16233b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-top, 0px));
    position: relative;
    overflow: hidden;
}

.top::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green) 0%, var(--blue-bright) 50%, var(--amber) 100%);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #d8e2f5;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55%;
}

.badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(14, 159, 110, .28);
    flex-shrink: 0;
    animation: badgePulse 1.8s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .35
    }
}

.top h4 {
    margin: 0;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffd9a8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.top h4::before {
    content: "⏱";
    font-size: 13px;
}

/* ============ WRAP ============ */
.wrap {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 16px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============ CARD ============ */
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--blue-bright) 0%, var(--blue) 40%, var(--green) 100%);
    z-index: 2;
}

/* ============ PANELS ============ */
.panel {
    padding: 26px 22px 24px;
}

.txt-al-ce {
    text-align: center
}

.blu {
    color: var(--blue-bright);
    font-weight: 800
}

.red {
    color: var(--red)
}

.pos {
    color: var(--green);
    font-weight: 800
}

/* ============ HERO (start) ============ */
#start>h4:first-child {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-2);
}

h1 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: var(--ink);
    margin: 0 0 12px;
}

h1 .blu {
    color: var(--blue-bright);
    background: var(--blue-soft);
    padding: 0 4px;
    border-radius: 6px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

#start>h4.txt-al-ce {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 16px;
    letter-spacing: -.005em;
}

p {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 8px 0;
}

#start>p.txt-al-ce {
    text-align: left;
    background: var(--paper-2);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 18px;
}

#start>p strong {
    color: var(--ink);
    font-weight: 800
}

/* ============ CTA ============ */
.cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 16px;
    padding: 16px 22px;
    border: 0;
    border-radius: 14px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 15.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 12px 28px rgba(37, 99, 235, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .1s ease, box-shadow .2s ease, filter .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.cta:hover {
    filter: brightness(1.05);
    box-shadow: 0 14px 34px rgba(37, 99, 235, .42)
}

.cta:active {
    transform: translateY(1px) scale(.995)
}

.cta::after {
    content: "→";
    font-size: 18px;
    margin-left: 2px
}

/* ============ TRUST LIST ============ */
.importanttxt {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 18px;
}

.importanttxt p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    background: var(--paper-2);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.45;
    text-align: left;
}

.importanttxt p strong {
    color: var(--ink);
    font-weight: 800;
    font-size: 12.5px;
}

/* ============ TIMER ============ */
#start>h4.red.txt-al-ce {
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    background: linear-gradient(180deg, #fff7ed 0%, #fef3e2 100%);
    border: 1px solid rgba(217, 119, 6, .3);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0;
    letter-spacing: 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
}

.timer {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 900;
    color: var(--red);
    background: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(220, 38, 38, .25);
    letter-spacing: .04em;
    min-width: 62px;
    display: inline-block;
}

/* ============ LOADER ============ */
.loader {
    display: none;
    padding: 44px 22px;
    text-align: center;
}

.loader>div>div:first-child {
    margin-bottom: 18px
}

.loader strong {
    color: var(--ink);
    font-family: var(--display)
}

.loader .stagger {
    width: 100%;
    max-width: 300px;
    margin: 6px auto 0;
    padding: 8px 12px;
    background: var(--paper-2);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--ink-soft);
    text-align: left;
    opacity: 0;
}

.loader .stagger strong {
    color: var(--blue-bright);
    font-weight: 800
}

/* ============ FINAL ============ */
#final {
    display: none;
    padding: 44px 22px;
    text-align: center;
}

#final h1 {
    font-size: 20px;
    margin-bottom: 16px;
}

#final h1 .blu {
    display: inline-block;
    background: var(--green-soft);
    color: var(--green);
    padding: 0 6px;
    border-radius: 6px;
}

#final p {
    font-size: 13.5px;
    color: var(--ink-soft);
    background: var(--paper-2);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0;
}

.cnt {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 900;
    color: var(--blue-bright);
    display: inline-block;
    min-width: 22px;
    vertical-align: middle;
    background: var(--blue-soft);
    border-radius: 6px;
    padding: 1px 8px;
    margin: 0 2px;
}

/* ============ FOOTER ============ */
.site-footer {
    margin-top: 24px;
    padding: 16px 12px;
    text-align: center;
    font-size: 10px;
    line-height: 1.55;
    color: #9aa3b2;
    font-family: var(--sans);
}

.site-footer>div {
    max-width: 900px;
    margin: 0 auto;
}

/* ============ MOBILE ============ */
@media screen and (max-width: 1000px) {
    .wrap {
        padding: 14px 12px 20px
    }

    .panel {
        padding: 22px 18px 20px
    }

    h1 {
        font-size: 19px
    }

    #final h1 {
        font-size: 17px
    }

    .cta {
        font-size: 13.5px;
        padding: 14px 18px
    }

    .top h4 {
        font-size: 10px
    }

    .badge {
        font-size: 9.5px;
        padding: 5px 10px
    }

    p {
        font-size: 13px
    }
}

@media screen and (max-width: 400px) {
    .top h4::before {
        display: none
    }

    .top h4 {
        letter-spacing: .06em
    }
}