* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #08100f;
    color: #f1f5f0;
    font: 16px/1.55 "Helvetica Neue", Arial, sans-serif
}

header, main, footer {
    max-width: 1536px;
    margin: auto
}

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

header, footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6vw;
    border-bottom: 1px solid #ffffff24
}

header {
    position: relative;
    z-index: 1
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.075em
}

.brand img {
    width: 34px;
    border-radius: 9px
}

nav {
    display: flex;
    gap: 32px
}

nav a, .textlink {
    color: #c1cec8;
    font-size: 15px
}

.navcta {
    border: 1px solid #627269;
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600
}

.navcta span {
    margin-left: 12px
}

.hero {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 45vw, 690px);
    padding: 5% 6%;
    background: #07100f
}

.heroArt {
    position: absolute;
    inset: -7% -3% -5% 35%;
    z-index: -1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 15%)
}

.heroArt img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.heroCopy {
    width: 46%;
    max-width: 620px
}

.tag, .label, .artlabel, .console small, .tech b, .release small {
    font: 600 12px/1.5 ui-monospace, monospace;
    letter-spacing: .13em
}

.tag {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9cf6d5
}

.tag i {
    width: 28px;
    height: 2px;
    background: #00e5a0
}

h1, h2, h3, p {
    margin: 0
}

h1, h2 {
    letter-spacing: -.078em;
    font-weight: 560
}

h1 {
    font-size: clamp(80px, 8.3vw, 134px);
    line-height: .92;
    margin: 25px 0
}

h1 em {
    font: italic 1.08em/.86 Georgia, serif;
    color: #70f2b9;
    letter-spacing: -.08em
}

.heroCopy p, .intro p, article p {
    max-width: 380px;
    color: #fff;
    font-size: 17px
}

.primary {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 13px 20px;
    border-radius: 9px;
    background: #90ffbd;
    color: #072517;
    font-weight: 750;
    margin-top: 24px
}

.textlink {
    display: inline-block;
    margin: 14px 0 0 18px;
    text-decoration: underline;
    text-underline-offset: 5px
}

.artlabel {
    position: absolute;
    right: 5%;
    bottom: 5%;
    color: #93a99e
}

.experience, #technology, #download {
    padding: clamp(42px, 6vw, 96px) 6%
}

.experience {
    background: #eaf0e8;
    color: #13271e;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6%
}

.intro p {
    color: #45584c
}

.label {
    color: #387052;
    margin-bottom: 16px
}

h2 {
    font-size: clamp(41px, 4.7vw, 76px);
    line-height: 1.02;
    margin: 12px 0 20px
}

.switch {
    display: inline-flex;
    border: 1px solid #9bb1a3;
    border-radius: 30px;
    padding: 3px;
    margin-top: 18px
}

.switch button {
    border: 0;
    border-radius: 24px;
    background: none;
    padding: 9px 18px;
    font: inherit;
    color: #1c3828;
    cursor: pointer
}

.switch button[aria-pressed=true] {
    color: white;
    background: #173c2d
}

.console {
    padding: clamp(16px, 3vw, 40px);
    background: #101c19;
    color: #ecf6ed;
    border: 1px solid #40594b;
    border-radius: 19px;
    box-shadow: 0 18px 50px #11281a24
}

.consolehead, .route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.consolehead strong {
    font-size: 22px
}

.console small {
    color: #9aafa2;
    font-size: 11px
}

.console p {
    color: #acbeb3;
    margin: 12px 0
}

.route {
    width: 100%;
    background: none;
    color: #d5e2d9;
    border: 0;
    border-top: 1px solid #34463c;
    font: inherit;
    padding: 14px 4px;
    text-align: left
}

.route.active {
    color: #86ffb8
}

.route:enabled {
    cursor: pointer
}

.route b {
    margin-left: auto
}

.console>small {
    display: block;
    margin-top: 12px
}

#technology {
    background: #101917
}

#technology .label {
    color: #8ae6b2
}

.tech {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 38px
}

.tech article {
    border-top: 1px solid #52645a;
    padding-top: 16px
}

.tech b {
    color: #89ddb1
}

.tech h3 {
    font-size: 24px;
    letter-spacing: -.045em;
    margin: 14px 0 6px
}

#download {
    background: #a0fac2;
    color: #092c1c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.release {
    border-left: 1px solid #57966f;
    padding-left: 26px;
    max-width: 480px
}

.release small {
    display: block;
    overflow-wrap: anywhere
}

.release .primary {
    background: #102c1b;
    color: #fff
}

footer {
    font-size: 14px;
    color: #a8bab0
}

a:hover {
    text-decoration: underline
}

button:focus-visible, a:focus-visible {
    outline: 3px solid #779cff;
    outline-offset: 4px
}

[hidden] {
    display: none !important
}

@media(max-width:760px) {
    header {
        padding: 15px 5%
    }

    nav {
        display: none
    }

    .hero {
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 42px 5% 20px;
        align-items: stretch
    }

    .heroCopy {
        width: 100%
    }

    h1 {
        font-size: 84px
    }

    .heroArt {
        position: relative;
        inset: auto;
        order: 2;
        height: 320px;
        margin: -8px -5% 0;
        mask-image: none
    }

    .artlabel {
        bottom: 12px;
        font-size: 10px
    }

    .experience, .tech {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .consolehead {
        flex-wrap: wrap
    }

    #download {
        display: block
    }

    .release {
        border: 0;
        padding: 0;
        margin-top: 20px
    }

    footer span {
        display: none
    }
}

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

.hero {
    min-height: 640px;
    background: radial-gradient(ellipse at 75% 50%, #12484188, transparent 42%), #080e18
}

.heroCopy {
    width: 51%
}

.hero h1 {
    font-size: clamp(66px, 6.3vw, 108px)
}

.stage {
    position: absolute;
    right: 1%;
    top: 4%;
    width: 46%;
    height: 92%;
    isolation: isolate
}

/* .stage:before {
    content: '';
    position: absolute;
    inset: 12% 6%;
    border: 1px solid #00e5a044;
    border-radius: 50%;
    transform: rotate(-25deg);
    box-shadow: 0 0 0 32px #00e5a009, 0 0 0 66px #00e5a006
} */

.screen, .viewer img {
    display: block;
    border-radius: 23px;
    border: 4px solid #465b61;
    box-shadow: 0 24px 50px #0008
}

.screen {
    position: absolute;
    width: auto;
    height: 82%;
    top: 9%
}

.front {
    left: 12%;
    transform: rotate(-7deg)
}

.rear {
    right: 10%;
    top: 15%;
    height: 73%;
    transform: rotate(10deg);
    filter: brightness(.82)
}

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
    padding: 70px 7%;
    background: #e8f2eb;
    color: #122c24
}

.viewer {
    display: grid;
    place-items: center;
    padding: 26px;
    background: radial-gradient(ellipse at center, #427969, #152924 68%);
    border-radius: 24px
}

.viewer img {
    height: 420px;
    max-width: 100%;
    object-fit: contain
}

.tour p, #network p {
    max-width: 540px;
    font-size: 18px
}

.tour h3 {
    font-size: 24px;
    margin: 24px 0 7px
}

.modes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.modes button {
    background: transparent;
    border: 1px solid #9eb3a6;
    border-radius: 30px;
    padding: 9px 15px;
    color: #163b2a;
    cursor: pointer;
    font: inherit
}

.modes button[aria-pressed=true] {
    background: #153d30;
    color: white
}

#network {
    padding: 6% 7%;
    background: linear-gradient(120deg, #0d1622, #0b2924)
}

#network .label {
    color: #82ecc7
}

#network p {
    color: #c0d1c8
}

@media(max-width:760px) {
    .hero {
        min-height: auto
    }

    .heroCopy {
        width: 100%
    }

    .hero h1 {
        font-size: clamp(53px, 11vw, 76px)
    }

    .stage {
        position: relative;
        inset: auto;
        width: min(100%, 470px);
        height: 380px;
        margin: auto
    }

    .screen {
        height: 90%;
        top: 3%
    }

    .rear {
        height: 78%;
        top: 12%
    }

    .showcase {
        grid-template-columns: 1fr;
        padding: 36px 5%;
        gap: 24px
    }

    .tour {
        grid-row: 1
    }

    .viewer img {
        height: 360px
    }

    #network {
        padding: 42px 5%
    }
}

/* Preserve pixel clarity by placing the native screenshots on a flat plane. */
.hero {
    min-height: 670px;
    background: radial-gradient(ellipse at 77% 45%, #12484186, transparent 52%), #080e18;
}

.stage {
    right: 3%;
    width: 44%;
}

.screen {
    transform: none;
    border-radius: 23px;
    border: 2px solid #55736c;
}

.front {
    left: 7%;
    top: 5%;
    height: 88%;
}

.rear {
    right: 5%;
    top: 13%;
    height: 74%;
    filter: none;
}

.showcase {
    background: #0f191d;
    color: #f1f5f0;
    border-block: 1px solid #243933;
}

.showcase .label {
    color: #80d6b0;
}

.tour p {
    color: #b4c9c1;
}

.modes button {
    color: #c6ded2;
    border-color: #526d61;
}

.modes button[aria-pressed=true] {
    color: #08261b;
    background: #fff;
    border-color: #fff;
}

.viewer {
    position: relative;
    background: radial-gradient(ellipse at 50% 30%, #1e453d, #0b151b 74%);
    border: 1px solid #385148;
    padding: 24px 14px 44px;
}

.viewer button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    max-width: 100%;
}

.viewer img {
    width: auto;
    height: auto;
    max-height: 550px;
    max-width: 100%;
    border: 1px solid #52746a;
}

.zoom-label {
    position: absolute;
    bottom: 14px;
    color: #b4c9c1;
    font-size: 13px;
}

#download {
    margin: clamp(32px, 7vw, 90px) 6%;
    padding: clamp(24px, 5vw, 64px);
    background: radial-gradient(ellipse at 100% 0%, #1c4238, transparent 56%), #101b1d;
    color: #f1faf5;
    border: 1px solid #38584d;
    border-radius: 24px;
}

#download .label {
    color: #93e1b9;
}

#download p {
    color: #c1d1c8;
}

.release {
    width: min(320px, 100%);
    border: 1px solid #45665b;
    border-radius: 16px;
    padding: 18px;
    background: #0a1518;
}

.release-app {
    display: flex;
    gap: 12px;
    align-items: center;
}

.release-app img {
    border-radius: 12px;
}

.release-app strong, .release-app span {
    display: block;
}

.release-app span {
    font-size: .9rem;
    color: #b4c7bd;
}

.release .apk-download {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
    background: #90ffbd;
    color: #092619;
}

.release .apk-download[aria-disabled=true] {
    background: #263a35;
    color: #c6d9cf;
    cursor: default;
    text-decoration: none;
}

.download-icon {
    width: 17px;
    height: 16px;
    border-bottom: 2px solid;
    position: relative;
}

.download-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    height: 10px;
    border-left: 2px solid;
}

.download-icon i {
    position: absolute;
    top: 3px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(45deg);
}

#screenshot-dialog {
    padding: 0;
    max-width: min(740px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    background: #0c1419;
    color: #e8f4ed;
    border: 1px solid #526d61;
    border-radius: 15px;
}

#screenshot-dialog::backdrop {
    background: #010709df;
}

.dialog-toolbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 15px;
    background: #101e20;
}

.dialog-toolbar button {
    color: inherit;
    background: #263b36;
    border: 0;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font: inherit;
}

#expanded-screen {
    width: 100%;
    height: auto;
    display: block;
}

@media(max-width:760px) {
    .hero {
        min-height: 0;
    }

    .stage {
        right: auto;
        margin-top: 22px;
        height: 390px;
        width: min(100%, 420px);
    }

    .front {
        left: 6%;
        height: 91%;
    }

    .rear {
        right: 6%;
        height: 78%;
    }

    .viewer img {
        max-height: 490px;
    }

    #download {
        margin-inline: 5%;
    }
}

#download {
    display: block;
}

.download-heading {
    margin-bottom: clamp(22px, 4vw, 38px);
}

.download-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.install-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(15px, 2.1vw, 24px);
    background: #0d191b;
    border: 1px solid #345449;
    border-radius: 16px;
}

.install-direct {
    border-color: #548574;
}

.install-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: #9af5c4;
    background: #17322c;
    border: 1px solid #335b4c;
    border-radius: 10px;
}

.play-icon {
    width: 16px;
    height: 19px;
    background: linear-gradient(134deg, #55df94 0 38%, #53c7ef 38% 57%, #ffc965 57% 74%, #ff8492 74%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.uptodown-icon span {
    width: 16px;
    height: 16px;
    border: 2px solid #8bdcff;
    border-radius: 4px;
    transform: rotate(45deg);
    position: relative;
}

.uptodown-icon span:after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #8bdcff;
    border-radius: 1px;
}

.install-card h3 {
    font-size: 1.22rem;
    margin-bottom: 5px;
}

.install-card p {
    flex: 1;
    font-size: .95rem;
    margin-bottom: 18px;
}

.install-card .primary, .install-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    margin: 0;
    border-radius: 9px;
    font-size: .94rem;
    font-weight: 700;
    text-align: center;
}

.install-card .primary[aria-disabled=true] {
    background: #263a35;
    color: #c6d9cf;
    text-decoration: none;
    cursor: default;
}

.install-link {
    border: 1px solid #537568;
    color: #e1f3e9;
    background: #142622;
}

.install-link:hover {
    border-color: #9af5c4;
}

.install-card small {
    font-size: .82rem;
    color: #b2c8bc;
    overflow-wrap: anywhere;
}

.install-card small:not(:empty) {
    margin-top: 8px;
}

.footer-contact {
    display: flex;
    gap: .35rem 1rem;
    flex-wrap: wrap;
}

.footer-contact a {
    color: #a0f1c4;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 760px) {
    .download-options {
        grid-template-columns: 1fr;
    }

    footer {
        flex-wrap: wrap;
        gap: 16px;
    }
}