/* 01 · Foundations */
:root {
    color-scheme: dark;
    --black: #040a10;
    --ink: #f3f7f9;
    --muted: #9aa9b2;
    --cyan: #00b4d8;
    --brand-cyan: #0eb4f6;
    --hair: rgba(206, 236, 246, .14);
    --ease: cubic-bezier(.22, 1, .36, 1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    background: var(--black);
    color: var(--ink);
    font-family: Poppins, Arial, sans-serif;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

button,
input {
    font: inherit
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

::selection {
    background: #00b4d84d;
    color: white
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #77e6fc;
    outline-offset: 6px
}

[hidden] {
    display: none !important
}

.skip {
    position: fixed;
    z-index: 100;
    top: 14px;
    left: 14px;
    background: white;
    color: #03090e;
    padding: 12px 18px;
    transform: translateY(-150%)
}

.skip:focus {
    transform: none
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

svg {
    display: block
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round
}

/* 02 · Ambient backdrop. Grain is a static SVG, never an animated layer. */
.hero {
    position: relative;
    min-height: 840px;
    height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 25%, #0c3646 0, #081723 40%, #03070a 80%)
}

.landscape {
    position: absolute;
    inset: -6% 0 -4%;
    background: url('../assets/cyan-canyon-4k.webp') center 48%/cover no-repeat;
    z-index: -3;
    transform: translate3d(0, var(--bg-y, 0px), 0) scale(1.035);
    will-change: transform
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, rgba(1, 6, 12, .24), rgba(1, 7, 12, .14) 35%, rgba(1, 7, 12, .35) 75%, #040a10), radial-gradient(ellipse at center, transparent 20%, rgba(0, 4, 8, .25) 80%)
}

.grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E")
}

/* Exact 3840 x 2160 enhanced wallpaper; lighter full-composition export on small screens. */
@media(max-width:760px) {
    .landscape {
        background-image: url('../assets/cyan-canyon-hd.webp')
    }
}

/* Live wallpaper stays registered to the original image and behind all content. */
.live-wallpaper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none
}

.wallpaper-toggle {
    display: block;
    margin: 10px 0 0 auto;
    padding: 5px 0;
    border: 0;
    border-bottom: 1px solid #a6dbea30;
    background: none;
    color: #a8c3cf;
    font-size: 8px;
    letter-spacing: .06em;
    line-height: 1.5;
    transition: color .3s
}

.wallpaper-toggle:hover {
    color: #d1f5ff
}

.wallpaper-toggle:disabled {
    opacity: .55;
    cursor: default
}

@media(prefers-reduced-motion:reduce) {
    .live-wallpaper {
        display: none
    }
}

/* 03 · Quiet, persistent navigation */
.nav {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 98px;
    padding: 0 clamp(24px, 4.5vw, 86px);
    transition: height .65s var(--ease), background .65s, backdrop-filter .65s;
    border-bottom: 1px solid transparent
}

.nav.scrolled {
    height: 76px;
    background: rgba(3, 10, 17, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: rgba(255, 255, 255, .06)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.055em
}

.brand .brand-symbol {
    width: 35px;
    height: 35px;
    color: var(--brand-cyan);
    transition: width .6s, height .6s
}

.nav.scrolled .brand .brand-symbol {
    width: 25px;
    height: 25px
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .04em;
    color: #ccd8df
}

.nav-right a {
    transition: color .3s
}

.nav-right a:hover {
    color: #76e4fc
}

.nav-action {
    padding: 11px 19px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 30px;
    background: rgba(255, 255, 255, .025);
    backdrop-filter: blur(10px)
}

.nav-right .nav-action:hover {
    color: white;
    border-color: rgba(0, 180, 216, .6);
    background: rgba(0, 180, 216, .09)
}

/* 04 · Hero and embossed brand mark */
.hero-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: 6px;
    padding: 0 24px;
    text-align: center;
    transform: translate3d(0, calc(-50% + var(--hero-y, 0px)), 0) scale(var(--hero-scale, 1));
    opacity: var(--hero-opacity, 1);
    will-change: transform, opacity;
    transform-origin: center
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin: 0 0 30px;
    font-size: clamp(12px, 1vw, 15px);
    line-height: 1.6;
    letter-spacing: .22em;
    font-weight: 400;
    color: #bed1da;
    text-transform: uppercase
}

.status-dot {
    width: 5px;
    height: 5px;
    background: #87e8ff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 180, 216, .7)
}

.glass-logo,
.logo-slot {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(112px, 11.5vw, 178px);
    height: clamp(112px, 11.5vw, 178px);
    margin: 0 auto 17px;
    perspective: 700px
}

.glass-logo:before {
    position: absolute;
    content: '';
    inset: 15%;
    border-radius: 50%;
    background: #00b4d824;
    filter: blur(32px)
}

.logo-tilt {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .9s var(--ease)
}

.glass-logo svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 10px 16px #001821) drop-shadow(0 0 20px #0acbea28);
    animation: float 10s ease-in-out infinite
}

.glass-logo.hover svg {
    animation-play-state: paused
}

/* Composite directly against the canyon, outside the text's isolated transform layer. */
.hero>.glass-logo {
    position: absolute;
    margin: 0;
    mix-blend-mode: normal;
    pointer-events: none;
    z-index: 1
}

.hero>.glass-logo:before {
    display: none
}

.hero-content {
    z-index: 2
}

.original-logo {
    background: none;
    border: 0;
    box-shadow: none;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 112%;
    height: 112%;
    transform: translate(-50%, -50%);
    pointer-events: none
}

.original-logo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

/* Actual alpha transparency needs no backdrop mask or blend mode. */
.brand-symbol {
    object-fit: contain;
    background: none
}

.supplied-logo {
    animation: float 10s ease-in-out infinite;
    filter: drop-shadow(0 0 12px #0acbea20)
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #ffffff26;
    border-radius: 50%;
    background: #06162266;
    color: #e7f8ff;
    backdrop-filter: blur(10px)
}

.nav-toggle .icon {
    width: 18px;
    height: 18px
}

@media(max-width:760px) {
    .nav-toggle {
        display: flex
    }

    .nav-right {
        display: none !important
    }

    .nav-right.is-open {
        display: flex !important;
        position: absolute;
        top: calc(100% - 5px);
        left: 23px;
        right: 23px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        border: 1px solid #c8efff26;
        border-radius: 16px;
        background: #071725f5;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 20px 50px #0005
    }

    .nav-right.is-open>a {
        display: block !important;
        padding: 14px 16px;
        font-size: 15px
    }

    .nav-right.is-open .nav-action {
        margin-top: 5px;
        text-align: center
    }
}


h1 {
    font-size: clamp(92px, 14vw, 216px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.065em;
    margin: 0;
    text-indent: 0;
    color: #f6fafc;
    text-shadow: 0 1px 30px rgba(0, 0, 0, .12)
}

.subtitle {
    font-size: clamp(15px, 1.3vw, 21px);
    font-weight: 400;
    letter-spacing: .32em;
    text-indent: .32em;
    line-height: 1.6;
    margin: 34px 0 37px;
    color: #e1eef3
}

.signup {
    max-width: 470px;
    margin: 0 auto
}

.email-shell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 62px;
    padding: 7px 8px 7px 22px;
    background: linear-gradient(120deg, rgba(213, 245, 255, .07), rgba(13, 40, 52, .1));
    border: 1px solid rgba(230, 248, 255, .27);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 40px rgba(0, 0, 0, .12);
    transition: border-color .3s, box-shadow .3s
}

.email-shell:focus-within {
    border-color: #78dfef80;
    box-shadow: 0 0 0 3px #00b4d80c
}

.email-shell .icon {
    width: 17px;
    height: 17px;
    color: #a9c1cc;
    flex-shrink: 0
}

.email-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    color: white;
    outline: 0;
    background: transparent;
    font-size: 12px;
    padding: 8px 4px
}

.email-shell input::placeholder {
    color: #b7c4cc
}

.email-shell input:focus-visible {
    outline: 0
}

.subscribe {
    flex-shrink: 0;
    min-height: 46px;
    border: 0;
    border-radius: 30px;
    padding: 0 26px;
    color: #061016;
    background: #f3f8fa;
    font-size: 11px;
    font-weight: 600;
    transition: background .4s, box-shadow .4s, transform .4s var(--ease)
}

.subscribe:hover {
    background: #54dbf3;
    box-shadow: 0 0 26px #00b4d844;
    transform: translateY(-1px)
}

.subscribe:active {
    transform: scale(.97)
}

.consent {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    max-width: 440px;
    margin: 15px auto 0;
    font-size: 9px;
    color: #b0c2cc;
    line-height: 1.6;
    letter-spacing: .015em
}

.consent input {
    width: 11px;
    height: 11px;
    margin: 2px 0 0;
    accent-color: #00b4d8;
    cursor: pointer;
    flex-shrink: 0
}

.text-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font: inherit
}

.form-status {
    font-size: 11px;
    line-height: 1.7;
    color: #abedfc;
    margin: 12px auto 0;
    max-width: 430px
}

.fine-note {
    font-size: 9px;
    color: #9fb3bf;
    margin: 13px 0 0;
    letter-spacing: .035em
}

.hero-bottom {
    position: absolute;
    bottom: 34px;
    left: clamp(24px, 4.5vw, 86px);
    right: clamp(24px, 4.5vw, 86px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #879fae;
    font-size: 9px;
    letter-spacing: .11em
}

.hero-bottom .coordinate {
    font-size: 9px;
    letter-spacing: .16em;
    color: #a4bac8
}

.scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 8px;
    letter-spacing: .28em;
    color: #a3b9c7
}

.scroll-cue .line {
    height: 28px;
    width: 1px;
    background: linear-gradient(180deg, #c8f4ff90, transparent)
}

.hero-bottom .edition {
    text-align: right;
    color: #8ea4b1;
    line-height: 1.8
}

/* Wordmark: Poppins and reference cyan in both hero and header. */
.wordmark {
    white-space: nowrap
}

.brand-x {
    color: var(--brand-cyan)
}

/* 05 · Slow reveals, generous editorial space */
.section {
    max-width: 1256px;
    margin: 0 auto;
    padding: 150px 56px
}

.eyebrow {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #76c5d9;
    margin: 0 0 36px;
    display: flex;
    align-items: center;
    gap: 16px
}

.eyebrow:before {
    content: '';
    width: 24px;
    height: 1px;
    background: #61bfd559
}

h2 {
    font-size: clamp(34px, 4.1vw, 60px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -.035em;
    margin: 0;
    color: #eff6f9
}

.dim {
    color: #72909f
}

.vision {
    padding-top: 164px;
    padding-bottom: 164px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 120px;
    align-items: center
}

.vision .body-copy {
    max-width: 330px;
    font-size: 13px;
    line-height: 2;
    color: #9aafbc;
    margin: 0 0 28px
}

.subtle-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    color: #d9e9ee;
    letter-spacing: .03em
}

.subtle-link .icon {
    width: 18px;
    height: 18px;
    transition: transform .4s var(--ease)
}

.subtle-link:hover .icon {
    transform: translateX(5px)
}

.line-rule {
    height: 1px;
    max-width: 1144px;
    margin: auto;
    background: linear-gradient(90deg, transparent, #769eac24, transparent)
}

.ecosystem {
    padding-top: 130px;
    padding-bottom: 144px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 60px
}

.section-heading .eyebrow {
    margin-bottom: 24px
}

.section-heading>p {
    max-width: 220px;
    font-size: 11px;
    color: #7993a3;
    line-height: 1.8;
    margin-bottom: 8px
}

.glass-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.glass-card {
    position: relative;
    padding: 42px 40px 38px;
    min-height: 328px;
    border: 1px solid var(--hair);
    background: linear-gradient(145deg, rgba(55, 119, 141, .07), rgba(7, 25, 37, .14));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color .6s, background .6s, transform .6s var(--ease)
}

.glass-card:before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d9fbff26, transparent)
}

.glass-card:hover {
    border-color: #8acade3d;
    background: linear-gradient(145deg, rgba(55, 119, 141, .105), rgba(7, 25, 37, .18));
    transform: translateY(-5px)
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 54px
}

.card-top .icon {
    width: 26px;
    height: 26px;
    color: #7dccdf;
    stroke-width: 1.15
}

.card-tag {
    font-size: 8px;
    letter-spacing: .23em;
    color: #7f98a5;
    text-transform: uppercase
}

.glass-card h3 {
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -.03em;
    margin: 0 0 17px
}

.glass-card p {
    max-width: 355px;
    font-size: 12px;
    line-height: 1.9;
    color: #92a9b7;
    margin: 0
}

.card-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 29px;
    color: #9bb2c0;
    font-size: 9px
}

.card-bottom span+span:before {
    content: '·';
    padding-right: 12px;
    color: #517381
}

/* 06 · Finale and footer */
.invitation {
    position: relative;
    text-align: center;
    padding: 154px 24px 160px;
    overflow: hidden
}

.invitation:before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 25%;
    right: 25%;
    bottom: -130px;
    height: 350px;
    background: radial-gradient(ellipse, #07485a24, transparent 70%);
    filter: blur(25px)
}

.invitation .eyebrow {
    justify-content: center;
    margin-bottom: 26px
}

.invitation .eyebrow:before {
    display: none
}

.invitation h2 {
    font-size: clamp(36px, 4.7vw, 68px);
    font-weight: 400;
    line-height: 1.2
}

.invitation p {
    max-width: 360px;
    margin: 25px auto 36px;
    font-size: 12px;
    line-height: 1.9;
    color: #8ca5b4
}

.invitation>a {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 15px 26px;
    border: 1px solid #8eacba35;
    border-radius: 40px;
    background: #ffffff04;
    font-size: 11px;
    transition: border-color .4s, background .4s
}

.invitation>a:hover {
    border-color: #72d1e563;
    background: #00b4d811
}

.invitation .icon {
    width: 15px;
    height: 15px
}

.location {
    font-size: 9px;
    letter-spacing: .2em;
    color: #628493;
    margin-top: 45px
}

footer {
    max-width: calc(100% - 112px);
    margin: 0 auto;
    min-height: 104px;
    padding: 28px 0;
    border-top: 1px solid #9bbec71c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-size: 9px;
    color: #718995;
    letter-spacing: .02em
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px
}

.footer-links>span {
    width: 1px;
    height: 10px;
    background: #9bbec738
}

.footer-links button {
    color: inherit
}

.socials {
    display: flex;
    align-items: center;
    gap: 21px
}

.socials a {
    color: #98adb8;
    transition: color .4s, filter .4s
}

.socials a:hover {
    color: #8ce7fa;
    filter: drop-shadow(0 0 6px #00b4d8aa)
}

.socials .icon {
    width: 15px;
    height: 15px
}

.footer-copy {
    color: #5e7988
}

.back-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 19;
    border: 1px solid #ffffff24;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0a1a2580;
    backdrop-filter: blur(10px);
    color: #c6e3ed
}

.back-top .icon {
    width: 15px;
    height: 15px
}

/* 07 · Motion and accessible dialogs */
.entrance {
    animation: arrive 1.2s cubic-bezier(.25, .65, .3, 1) both
}

.hero-meta {
    animation-delay: .08s
}

.glass-logo {
    animation-delay: .2s
}

h1.entrance {
    animation-delay: .32s
}

.subtitle {
    animation-delay: .48s
}

.signup {
    animation-delay: .62s
}

.hero-bottom {
    animation-delay: .95s
}

.js-reveals .reveal {
    opacity: 0;
    translate: 0 28px;
    transition: opacity 1.25s var(--ease), translate 1.25s var(--ease);
    transition-delay: var(--delay, 0ms)
}

.js-reveals .reveal.visible {
    opacity: 1;
    translate: 0 0
}

@keyframes arrive {
    from {
        opacity: 0;
        translate: 0 18px;
        scale: .95
    }

    to {
        opacity: 1;
        translate: 0 0;
        scale: 1
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateY(-5deg) rotateX(3deg)
    }

    50% {
        transform: translateY(-9px) rotateY(5deg) rotateX(-3deg)
    }
}

dialog {
    color: #d9e9ef;
    background: linear-gradient(140deg, #10232df5, #060e17fa);
    border: 1px solid #bbecff2e;
    border-radius: 12px;
    padding: 38px;
    max-width: 480px;
    width: calc(100% - 40px);
    box-shadow: 0 30px 90px #0009;
    backdrop-filter: blur(20px)
}

dialog::backdrop {
    background: #000b;
    backdrop-filter: blur(5px)
}

dialog h2 {
    font-size: 29px;
    margin-right: 25px
}

dialog p {
    font-size: 12px;
    line-height: 1.9;
    color: #acbec8
}

dialog a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.close-dialog {
    position: absolute;
    right: 15px;
    top: 15px;
    border: 0;
    background: none;
    color: #b2c8d3;
    font-size: 24px;
    width: 32px;
    height: 32px
}

.dialog-note {
    padding-top: 14px;
    border-top: 1px solid #ffffff14
}

/* 08 · Responsive composition */
@media(min-width:1700px) {
    .hero-content {
        margin-top: 12px
    }

    .hero-meta {
        margin-bottom: 40px
    }

    .subtitle {
        margin-top: 40px;
        margin-bottom: 42px
    }
}

@media(max-width:900px) {
    .nav {
        height: 82px;
        padding-inline: 28px
    }

    .nav-right {
        gap: 25px
    }

    .hero {
        min-height: 810px
    }

    .hero-content {
        margin-top: 16px
    }

    .glass-logo,
    .logo-slot {
        width: 130px;
        height: 130px
    }

    h1 {
        font-size: clamp(110px, 18vw, 165px)
    }

    .section {
        padding: 110px 36px
    }

    .vision {
        gap: 55px
    }

    .section-heading>p {
        max-width: 190px
    }

    .glass-card {
        padding: 30px;
        min-height: 324px
    }

    .card-top {
        margin-bottom: 45px
    }

    .glass-card h3 {
        font-size: 23px
    }

    .invitation {
        padding: 130px 24px
    }

    footer {
        max-width: calc(100% - 72px);
        flex-wrap: wrap;
        gap: 24px
    }

    .footer-copy {
        margin-left: auto
    }
}

@media(max-width:600px) {
    .nav {
        height: 76px;
        padding: 0 23px
    }

    .brand {
        font-size: 23px;
        gap: 8px
    }

    .brand .brand-symbol {
        width: 30px;
        height: 30px
    }

    .nav-right {
        gap: 17px;
        font-size: 10px
    }

    .nav-action {
        padding: 10px 15px
    }

    .hero {
        height: 100svh;
        min-height: 740px;
        max-height: 1050px
    }

    .landscape {
        background-position: 50% 48%;
        inset: -3% -36%;
        opacity: .85
    }

    .hero-content {
        padding-inline: 25px;
        margin-top: 3px
    }

    .hero-meta {
        font-size: 11px;
        letter-spacing: .16em;
        margin-bottom: 27px
    }

    .glass-logo,
    .logo-slot {
        width: 124px;
        height: 124px;
        margin-bottom: 22px
    }

    h1 {
        font-size: clamp(88px, 24vw, 146px);
        letter-spacing: -.065em
    }

    .subtitle {
        font-size: 12px;
        letter-spacing: .22em;
        text-indent: .22em;
        margin: 29px 0 35px
    }

    .email-shell {
        min-height: 58px;
        padding: 5px 6px 5px 16px;
        gap: 6px
    }

    .subscribe {
        min-height: 46px;
        padding: 0 20px;
        font-size: 10px
    }

    .email-shell input {
        font-size: 11px
    }

    .email-shell .icon {
        width: 15px
    }

    .consent {
        font-size: 8px;
        max-width: 340px
    }

    .fine-note {
        font-size: 8px
    }

    .hero-bottom {
        left: 23px;
        right: 23px;
        bottom: 24px;
        font-size: 7px
    }

    .hero-bottom .coordinate {
        font-size: 7px;
        letter-spacing: .08em
    }

    .hero-bottom .edition {
        font-size: 7px
    }

    .scroll-cue {
        font-size: 7px;
        gap: 11px;
        letter-spacing: .2em
    }

    .scroll-cue .line {
        height: 24px
    }

    .section {
        padding: 90px 25px
    }

    .vision {
        display: block
    }

    .vision h2 {
        font-size: 40px
    }

    .vision .body-copy {
        margin: 32px 0 23px;
        max-width: 100%;
        font-size: 12px
    }

    .eyebrow {
        font-size: 8px;
        margin-bottom: 27px
    }

    .section-heading {
        display: block;
        margin-bottom: 35px
    }

    .section-heading h2 {
        font-size: 35px
    }

    .section-heading>p {
        max-width: 300px;
        margin: 20px 0 0
    }

    .glass-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .glass-card {
        padding: 30px 28px;
        min-height: 292px
    }

    .card-top {
        margin-bottom: 39px
    }

    .card-tag {
        font-size: 7px
    }

    .glass-card h3 {
        font-size: 25px
    }

    .glass-card p {
        font-size: 12px
    }

    .card-bottom {
        margin-top: 24px
    }

    .invitation {
        padding: 100px 25px 105px
    }

    .invitation h2 {
        font-size: 39px
    }

    .invitation p {
        font-size: 11px
    }

    .location {
        font-size: 8px;
        margin-top: 36px
    }

    footer {
        max-width: calc(100% - 50px);
        padding: 30px 0;
        gap: 26px;
        font-size: 8px
    }

    .footer-links {
        gap: 14px
    }

    .socials {
        margin-left: auto;
        gap: 17px
    }

    .footer-copy {
        width: 100%;
        margin: 0;
        line-height: 1.9
    }

    .back-top {
        right: 17px;
        bottom: 17px;
        width: 36px;
        height: 36px
    }

    dialog {
        padding: 30px
    }
}

@media(max-width:360px) {
    .hero {
        min-height: 720px
    }

    .hero-content {
        padding-inline: 18px
    }

    .email-shell {
        padding-left: 11px
    }

    .subscribe {
        padding-inline: 16px
    }

    .nav {
        padding-inline: 18px
    }

    .nav-right {
        gap: 12px
    }

    .vision h2 {
        font-size: 36px
    }
}

@supports not(backdrop-filter:blur(10px)) {
    .email-shell {
        background: #11242eeb
    }

    .glass-card {
        background: #0b1924
    }

    .nav.scrolled {
        background: #061019f5
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }

    .landscape {
        transform: none
    }

    .hero-content {
        transform: translateY(-50%);
        opacity: 1
    }

    .logo-tilt {
        transform: none
    }

    .js-reveals .reveal {
        opacity: 1;
        translate: none
    }

    .glass-card:hover {
        transform: none
    }
}

/* Two distinct destinations: patient app below the hero; provider journey in the header. */
.app-downloads {
    margin: 0 auto 24px;
    max-width: 470px;
    animation-delay: .58s
}

.store-row {
    display: flex;
    justify-content: center;
    gap: 12px
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    min-height: 64px;
    padding: 11px 19px;
    text-align: left;
    border: 1px solid #ceeefb35;
    border-radius: 13px;
    background: linear-gradient(135deg, #d9f4ff10, #08243266);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color .4s, background .4s, transform .4s var(--ease)
}

.store-badge:hover {
    border-color: #6de7fa80;
    background: #0e3d5080;
    transform: translateY(-2px)
}

.store-badge:active {
    transform: scale(.98)
}

.store-badge svg {
    width: 27px;
    height: 30px;
    flex-shrink: 0
}

.store-badge small {
    display: block;
    color: #abc5d1;
    font-size: 8px;
    letter-spacing: .08em;
    line-height: 1.6
}

.store-badge strong {
    display: block;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.3;
    color: #f7fbff
}

.app-availability {
    margin: 11px 0 0;
    font-size: 10px;
    color: #adc7d4;
    letter-spacing: .025em
}

.hero {
    min-height: 940px
}

.subtitle {
    margin-bottom: 25px
}

.signup {
    max-width: 440px
}

.hero-meta {
    letter-spacing: .2em
}

.app-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px
}

.app-dialog-actions a {
    padding: 12px 18px;
    border: 1px solid #a2e5f840;
    border-radius: 30px;
    text-decoration: none;
    color: #e2f8ff;
    font-size: 12px
}

@media(max-width:600px) {
    .hero {
        min-height: 860px;
        max-height: none
    }

    .app-downloads {
        max-width: 355px;
        margin-bottom: 22px
    }

    .store-row {
        gap: 10px
    }

    .store-badge {
        min-width: 0;
        flex: 1;
        justify-content: center;
        gap: 9px;
        min-height: 59px;
        padding: 10px 11px
    }

    .store-badge svg {
        width: 23px;
        height: 26px
    }

    .store-badge strong {
        font-size: 14px
    }

    .store-badge small {
        font-size: 6.5px
    }

    .app-availability {
        font-size: 9px
    }

    .subtitle {
        margin-bottom: 23px
    }

    .nav-action {
        font-size: 13px
    }
}

@media(max-width:360px) {
    .store-badge {
        padding: 10px 8px;
        gap: 7px
    }

    .store-badge strong {
        font-size: 13px
    }

    .hero-meta {
        font-size: 10px
    }
}

/* =========================================================
   Responsive safeguards — CuraX User homepage
   ========================================================= */
html, body { max-width: 100%; }
.hero-content, .glass-grid, .glass-card, .app-downloads { min-width: 0; }
@media (max-width: 760px) {
    .hero { height: auto; min-height: max(740px, 100svh); max-height: none; }
    .hero-content { width: 100%; max-width: 100%; padding-inline: 16px; }
    .glass-grid { grid-template-columns: minmax(0, 1fr); }
    .store-row { max-width: 100%; }
}
@media (max-width: 420px) {
    .nav { padding-inline: 16px; }
    .hero-content { padding-inline: 12px; }
    .store-row { gap: 8px; }
    .store-badge { min-width: 0; padding-inline: 8px; }
    .store-badge strong { font-size: 12px; }
}


/* =========================================================
   Hide Vertical Scrollbar
   Keep Page Scrolling Functional
   ========================================================= */

html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Legacy Edge / IE */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
    width: 0;
}

body {
    overflow-x: clip;
}

