:root {
    color-scheme: dark;
    --ink: #eaf8f1;
    --muted: #a8c2b7;
    --surface: rgba(11, 38, 31, 0.72);
    --surface-strong: #0b261f;
    --line: rgba(199, 239, 220, 0.14);
    --green: #54dc91;
    --green-bright: #88efb3;
    --aqua: #57c9d8;
    --night: #061712;
    --night-soft: #0b2a22;
    --focus: #c0ffe0;
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--night);
}

body {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 18%, rgba(67, 183, 134, 0.19), transparent 30rem),
        radial-gradient(circle at 86% 72%, rgba(56, 162, 177, 0.17), transparent 28rem),
        linear-gradient(145deg, #061712 0%, #09251e 52%, #071b19 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    isolation: isolate;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

a {
    color: inherit;
}

.ambient {
    position: fixed;
    z-index: -2;
    width: 26rem;
    aspect-ratio: 1;
    border: 1px solid rgba(111, 229, 171, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.ambient::before,
.ambient::after {
    position: absolute;
    border: inherit;
    border-radius: inherit;
    content: "";
}

.ambient::before {
    inset: 16%;
}

.ambient::after {
    inset: 34%;
}

.ambient-one {
    top: -11rem;
    right: -7rem;
}

.ambient-two {
    bottom: -16rem;
    left: -8rem;
    width: 33rem;
}

.loader-shell {
    display: grid;
    place-items: center;
    width: 100%;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.loader-card {
    position: relative;
    width: min(100%, 31rem);
    padding: clamp(1.5rem, 5vw, 2.25rem);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 2rem;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.045), transparent 45%),
        var(--surface);
    box-shadow: var(--shadow);
    text-align: center;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.loader-card::before {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 246, 197, 0.55), transparent);
    content: "";
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(149, 239, 192, 0.2);
    border-radius: 0.95rem;
    background: linear-gradient(145deg, rgba(88, 222, 147, 0.17), rgba(56, 177, 188, 0.08));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
}

.brand-mark svg {
    width: 2.1rem;
    height: 2.1rem;
    overflow: visible;
    fill: none;
}

.mark-trail {
    stroke: var(--green-bright);
    stroke-linecap: round;
    stroke-width: 4;
}

.mark-leaf {
    fill: rgba(87, 201, 216, 0.24);
    stroke: var(--aqua);
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.mark-start {
    fill: var(--green-bright);
}

.mark-end {
    fill: var(--aqua);
}

.brand-name {
    font-size: 1.24rem;
    font-weight: 570;
    letter-spacing: -0.035em;
}

.brand-name strong {
    color: var(--green-bright);
    font-weight: 760;
}

.route-loader {
    position: relative;
    display: grid;
    width: 7.6rem;
    aspect-ratio: 1;
    margin: 2.4rem auto 1.85rem;
    place-items: center;
}

.route-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 30deg,
        transparent 0 18%,
        var(--aqua) 30%,
        var(--green-bright) 51%,
        transparent 65% 100%
    );
    box-shadow: 0 0 45px rgba(84, 220, 145, 0.13);
    animation: orbit 1.8s linear infinite;
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), black 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), black 0);
}

.route-orbit::after {
    position: absolute;
    top: 0.28rem;
    right: 1.55rem;
    width: 0.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 14px var(--green);
    content: "";
}

.route-core {
    display: grid;
    width: 5.75rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(162, 232, 197, 0.13);
    border-radius: 50%;
    background: rgba(8, 32, 26, 0.8);
    box-shadow: inset 0 0 35px rgba(82, 210, 148, 0.055);
}

.route-core svg {
    width: 3.5rem;
    fill: var(--green-bright);
}

.route-core path {
    fill: none;
    stroke: var(--green-bright);
    stroke-linecap: round;
    stroke-width: 3.5;
}

.message {
    max-width: 24rem;
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 0.62rem;
    color: var(--green-bright);
    font-size: 0.71rem;
    font-weight: 750;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(1.7rem, 7vw, 2.35rem);
    font-weight: 680;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.supporting-copy {
    margin: 0.85rem auto 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.62;
}

.progress-track {
    width: min(100%, 19rem);
    height: 3px;
    margin: 1.8rem auto 1.35rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(211, 247, 229, 0.1);
}

.progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--aqua));
    box-shadow: 0 0 12px rgba(84, 220, 145, 0.38);
    transform: scaleX(0);
    transform-origin: left;
    animation: load var(--redirect-delay, 4000ms) cubic-bezier(0.22, 0.65, 0.25, 1) forwards;
}

.continue-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #c4ddd1;
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.continue-link svg {
    width: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 180ms ease;
}

.continue-link:hover {
    border-color: rgba(154, 235, 194, 0.15);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-1px);
}

.continue-link:hover svg {
    transform: translateX(2px);
}

.continue-link:focus-visible,
.site-footer a:focus-visible,
.noscript-message a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

.noscript-message {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.noscript-message a {
    color: var(--ink);
}

.site-footer {
    padding: 0 1.5rem max(1.35rem, env(safe-area-inset-bottom));
    color: rgba(204, 228, 216, 0.67);
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.76rem;
    letter-spacing: 0.025em;
}

.site-footer a {
    color: #d8eee3;
    font-weight: 650;
    text-decoration-color: rgba(136, 239, 179, 0.38);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.site-footer a:hover {
    color: var(--green-bright);
    text-decoration-color: currentColor;
}

@keyframes orbit {
    to {
        transform: rotate(1turn);
    }
}

@keyframes load {
    to {
        transform: scaleX(1);
    }
}

@media (max-height: 690px) {
    .loader-shell {
        padding-block: 1rem;
    }

    .loader-card {
        padding-block: 1.25rem;
    }

    .route-loader {
        width: 6rem;
        margin-block: 1.35rem 1.1rem;
    }

    .route-core {
        width: 4.55rem;
    }

    .site-footer {
        padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
    }
}

@media (max-width: 430px) {
    .loader-shell {
        padding-inline: 1rem;
    }

    .loader-card {
        border-radius: 1.6rem;
    }

    .supporting-copy {
        max-width: 19rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .progress-bar {
        transform: scaleX(1);
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .loader-card {
        background: var(--surface-strong);
    }
}
