html {
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 10px;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --page-bg: #07111d;
    --surface-1: #0d1726;
    --surface-2: #101d30;
    --surface-3: #18263b;
    --text-main: #f4f7fb;
    --text-muted: #afc0d6;
    --accent-cyan: #67d4ff;
    --accent-coral: #ff7b57;
    --accent-gold: #ffcc7a;
    --accent-mint: #7de2b8;
    --border-soft: rgba(255, 255, 255, 0.12);
    --shadow-panel: 0 28px 70px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 400px) {
    html {
        font-size: 9.411764705882353px;
    }
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(103, 212, 255, 0.06) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 72%, rgba(125, 226, 184, 0.05) 0 2px, transparent 3px),
        radial-gradient(circle at top left, rgba(103, 212, 255, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 123, 87, 0.14), transparent 24%),
        linear-gradient(180deg, #07111d 0%, #0b1626 45%, #0a1320 100%),
        linear-gradient(rgba(103, 212, 255, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 212, 255, 0.018) 1px, transparent 1px);
    background-size:
        220px 220px,
        260px 260px,
        auto,
        auto,
        auto,
        48px 48px,
        48px 48px;
    background-position:
        0 0,
        120px 140px,
        top left,
        top right,
        center top,
        center top,
        center top;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 2rem;
    font-style: normal;
    font-weight: normal;
    line-height: 1.5;
}

article,
aside,
footer,
header,
nav,
section {
    display: block;
}

img,
svg {
    display: block;
    max-width: 100%;
}

svg:not(:root) {
    overflow: hidden;
}

a {
    color: var(--accent-cyan);
    line-height: inherit;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover,
a:focus,
a:active {
    color: #9ce7ff;
    outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 17, 30, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.site-nav__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    padding: .95rem 2rem;
}

.site-nav__brand {
    display: inline-flex;
    align-items: center;
    height: 4.4rem;
    flex-shrink: 0;
    justify-self: start;
    line-height: 0;
}

.site-nav__brand img {
    width: auto;
    height: 8rem;
    transform: translateY(8px);
}

.site-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    flex: 1;
    min-width: 0;
}

.site-nav__links a {
    font-family: var(--font-sans);
    font-size: 1.34rem;
    letter-spacing: .14rem;
    text-transform: uppercase;
    color: rgba(244, 247, 251, 0.84);
    white-space: nowrap;
}

.site-nav__login {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    flex-shrink: 0;
    justify-self: end;
    padding: .9rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1.24rem;
    letter-spacing: .1rem;
    text-transform: uppercase;
}

.inline-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    flex: 0 0 auto;
    vertical-align: -0.125em;
}

.inline-icon--login {
    width: 1.05em;
    height: 1.05em;
}

.s-home {
    min-height: 100vh;
    height: auto;
    display: block;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.s-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/hero-thermal-sim-bg.svg");
    background-position: center 42%;
    background-repeat: no-repeat;
    background-size: 142% auto;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.s-home .overlay,
.s-home .shadow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.s-home .overlay {
    opacity: 1;
    background:
        radial-gradient(circle at center, rgba(7, 17, 29, 0.01), rgba(7, 17, 29, 0.34) 58%),
        linear-gradient(135deg, rgba(6, 12, 22, 0.05), rgba(6, 12, 22, 0.28)),
        radial-gradient(circle at 20% 25%, rgba(103, 212, 255, 0.12), transparent 30%);
}

.s-home .shadow-overlay {
    opacity: 1;
    background:
        radial-gradient(circle at 75% 30%, rgba(255, 123, 87, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(7, 17, 29, 0.04) 0%, rgba(7, 17, 29, 0.54) 100%);
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 100vh;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.home-grid {
    display: block;
    width: min(110rem, calc(100% - 6rem));
    margin: 0 auto;
    min-height: auto;
    padding-top: 0;
}

.home-copy,
.home-content__main {
    position: relative;
    z-index: 2;
}

.home-copy {
    max-width: none;
    width: 100%;
    text-align: center;
}

.home-content h1 {
    margin: 0 0 2rem;
    max-width: none;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: clamp(4.8rem, 6vw, 7.2rem);
    line-height: 1.05;
    letter-spacing: -.14rem;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

.home-lead {
    max-width: 88rem;
    margin: 0 auto;
    font-size: 2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.home-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
    max-width: 88rem;
    margin: 3.6rem auto 0;
}

.home-proof__item {
    position: relative;
    padding: 2.6rem 2.8rem 2.4rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(15, 27, 43, 0.92), rgba(8, 15, 25, 0.96)),
        radial-gradient(circle at top right, rgba(103, 212, 255, 0.08), transparent 38%);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.home-proof__item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), rgba(125, 226, 184, 0.35));
}

.home-proof__item strong {
    display: block;
    margin-bottom: .8rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1.5rem;
    letter-spacing: .04rem;
}

.home-proof__item span {
    display: block;
    color: var(--text-muted);
    font-size: 1.45rem;
    line-height: 1.7;
}

.home-content__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
    padding-top: 3.2rem;
}

.btn,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    display: inline-block;
    height: 5.4rem;
    line-height: calc(5.4rem - .4rem);
    padding: 0 3rem;
    border: .2rem solid #c5c5c5;
    background-color: #c5c5c5;
    color: #000;
    font-family: var(--font-sans);
    font-size: 1.2rem;
    letter-spacing: .3rem;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-content__buttons .btn {
    width: auto;
    min-width: 220px;
    margin: 0;
    border-radius: 8px;
}

.home-content__buttons .btn.btn--primary {
    background: linear-gradient(135deg, var(--accent-coral), #ffab6f);
    border-color: transparent;
    color: #09111c;
}

.home-content__buttons .btn.btn--stroke {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text-main);
}

.home-content__scroll {
    position: absolute;
    right: 9.5rem;
    bottom: 8.4rem;
}

.home-content__scroll a {
    position: relative;
    display: inline-block;
    padding-left: 2.5rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 3rem;
    letter-spacing: .3rem;
    text-transform: uppercase;
}

.home-content__scroll a::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-bottom: 2px solid var(--accent-coral);
    border-right: 2px solid var(--accent-coral);
    transform: rotate(45deg);
}

.home-content__line {
    display: block;
    position: absolute;
    right: 7.2rem;
    bottom: 0;
    width: 2px;
    height: 10.2rem;
    background: linear-gradient(180deg, var(--accent-coral), var(--accent-cyan));
}

html.cl-preload .home-content__main,
html.cl-loaded .home-content__main {
    opacity: 1;
    animation: none;
}

@media only screen and (min-width: 1600px) {
    .site-nav__links a,
    .site-nav__login {
        font-size: 1.42rem;
    }

    .home-content h1 {
        font-size: clamp(5.6rem, 5.2vw, 8rem);
    }

    .home-lead {
        font-size: 2.15rem;
    }

    .home-proof__item strong {
        font-size: 1.65rem;
    }

    .home-proof__item span {
        font-size: 1.62rem;
    }
}

@media only screen and (max-width: 1000px) {
    .site-nav__inner {
        flex-wrap: wrap;
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .site-nav__links {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        flex-wrap: wrap;
        gap: 1.4rem 1.8rem;
    }

    .home-proof {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 800px) {
    .site-nav__inner {
        padding: .9rem 1.6rem;
    }

    .home-content {
        padding-bottom: 10rem;
    }

    .home-grid {
        width: min(100%, calc(100% - 4rem));
    }

    .home-content h1 {
        font-size: 4.8rem;
    }

    .home-lead {
        font-size: 1.8rem;
    }

    .home-content__scroll {
        right: 6rem;
        bottom: 5rem;
    }

    .home-content__line {
        right: 3.8rem;
        height: 7rem;
    }

    .s-home::before {
        background-position: 58% center;
        background-size: cover;
        opacity: 0.9;
    }
}

@media only screen and (max-width: 600px) {
    .site-nav__inner {
        gap: 1.2rem;
        grid-template-columns: auto auto;
        padding: .85rem 1.2rem;
    }

    .site-nav__brand img {
        height: 3.8rem;
        transform: none;
    }

    .site-nav__links {
        gap: 1rem 1.2rem;
    }

    .site-nav__links a,
    .site-nav__login {
        font-size: 1.14rem;
    }

    .home-content h1 {
        font-size: 4rem;
    }

    .home-content__buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .home-content__scroll,
    .home-content__line {
        display: none;
    }

    .home-grid {
        width: min(100%, calc(100% - 3rem));
    }

    .home-proof__item {
        padding: 2.2rem 2.2rem 2.1rem;
    }
}
