:root {
    --ink: #0d2034;
    --ink-2: #24384c;
    --muted: #667789;
    --line: #dfe7ed;
    --soft: #f5f9fc;
    --blue: #0878db;
    --blue-dark: #065a9e;
    --teal: #087d82;
    --navy: #061c31;
    --white: #fff;
    --orange: #d78b24;
    --shadow: 0 24px 70px rgba(10, 34, 57, .14);
    --radius: 26px;
    --max: 1360px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
}

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

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

button {
    font: inherit
}

.wrap {
    width: min(var(--max), calc(100% - 48px));
    margin-inline: auto
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13, 32, 52, .08);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.02em;
}

.brand-symbol {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: linear-gradient(145deg, #d78b24, #8d651b);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.brand-symbol:before,
.brand-symbol:after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    height: 4px;
    background: #fff;
    border-radius: 999px;
    opacity: .9;
}

.brand-symbol:before {
    top: 13px;
    transform: skewX(-18deg)
}

.brand-symbol:after {
    top: 22px;
    transform: skewX(18deg)
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 700;
    color: #405467
}

.nav a:hover {
    color: var(--blue)
}

.nav-cta {
    color: #fff !important;
    background: var(--blue);
    padding: 10px 17px;
    border-radius: 999px;
}

.lang-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: #405467;
    padding: 9px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 7px;
}

.lang-btn:hover {
    border-color: #9fc6df
}

/* Hero */
.hero {
    background:
        radial-gradient(circle at 74% 20%, rgba(61, 166, 229, .14), transparent 31%),
        linear-gradient(135deg, #fff, #f2f9fd 52%, #fff);
    overflow: hidden;
}

.hero-grid {
    min-height: 760px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 80px;
    align-items: center;
    padding: 78px 0;
}

.eyebrow {
    color: #0879a2;
    font-size: 20px;
    font-weight: 850;
    letter-spacing: .18em;
    margin-bottom: 17px;
    display: inline-block;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -.045em;
    color: var(--ink);
    line-height: 1.02
}

h1 {
    font-size: clamp(60px, 7vw, 105px)
}

h2 {
    font-size: clamp(42px, 5vw, 72px)
}

h3 {
    font-size: 24px
}

.hero-copy p {
    max-width: 650px;
    font-size: 20px;
    color: var(--muted);
    margin: 26px 0 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid transparent;
}

.button-primary {
    background: var(--blue);
    color: #fff
}

.button-secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line)
}

.hero-note {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero-note span {
    padding: 8px 12px;
    border: 1px solid #d7e5ed;
    background: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #50687b;
}

.product-collage {
    position: relative;
    min-height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone {
    position: relative;
    width: min(410px, 82%);
    background: #0a0d10;
    border: 6px solid #0a0d10;
    border-radius: 45px;
    padding: 5px;
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 3;
}

.phone:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 31%;
    height: 23px;
    background: #050607;
    border-radius: 999px;
    z-index: 5;
}

.phone img {
    width: 100%;
    border-radius: 35px
}

.mini-phone {
    position: absolute;
    width: 180px;
    background: #0a0d10;
    border: 4px solid #0a0d10;
    padding: 4px;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(10, 34, 57, .16);
    overflow: hidden;
}

.mini-phone img {
    border-radius: 20px
}

.mini-plan {
    right: 0;
    top: 50px;
    transform: rotate(5deg)
}

.mini-free {
    left: 8px;
    bottom: 25px;
    transform: rotate(-5deg)
}

.hero-orbit {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    border: 1px solid rgba(8, 120, 219, .12);
    z-index: 1;
}

.hero-orbit:before,
.hero-orbit:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(8, 120, 219, .10)
}

.hero-orbit:before {
    inset: 40px
}

.hero-orbit:after {
    inset: 88px
}

/* Shared sections */
section {
    position: relative
}

.section {
    padding: 105px 0
}

.section-head {
    max-width: 820px;
    margin-bottom: 48px
}

.section-head p {
    font-size: 18px;
    color: var(--muted);
    margin: 18px 0 0
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 84px;
    align-items: center
}

.text p {
    font-size: 17px;
    color: var(--muted);
    margin: 20px 0 0
}

.soft {
    background: var(--soft)
}

/* Company positioning */
.company-story {
    padding: 78px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: start;
}

.story-copy {
    font-size: 17px;
    color: var(--muted);
    margin: 20px 0 0
}

.story-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.story-points article {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    background: #fff;
}

.story-points b {
    display: block;
    font-size: 16px;
    margin-bottom: 7px
}

.story-points span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55
}

/* Active Log */
.active-intro {
    background: linear-gradient(180deg, #f1faff, #fff)
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.module-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
}

.module-card strong {
    display: block;
    font-size: 16px;
    color: #12385a;
    margin-bottom: 6px
}

.module-card span {
    font-size: 13px;
    color: var(--muted)
}

.dark-section {
    background: radial-gradient(circle at 80% 10%, #0d5d88 0, #083e62 29%, #06283f 59%, #041a2a 100%);
    color: #fff;
}

.dark-section h2,
.dark-section h3 {
    color: #fff
}

.dark-section p {
    color: #c3dcec
}

.dark-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.dark-tools span {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    color: #e7f5fd;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* Games */
.games-section {
    background: #fff
}

.games-intro {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 42px;
}

.games-intro p {
    color: var(--muted);
    font-size: 17px;
    margin: 0
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.game-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(10, 34, 57, .06);
}

.game-image {
    aspect-ratio: 2.05/1;
    background: #f7fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.game-body {
    padding: 20px
}

.game-body h3 {
    font-size: 21px
}

.game-body p {
    font-size: 13px;
    color: var(--muted);
    margin: 9px 0 0
}

.game-tag {
    display: inline-block;
    margin-top: 14px;
    font-size: 11px;
    font-weight: 800;
    color: #31708e;
    background: #eef8fc;
    border-radius: 999px;
    padding: 7px 10px;
}

/* About */
.about-panel {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    padding: 34px;
}

.about-panel p {
    color: var(--muted);
    font-size: 16px
}

.about-highlight {
    margin-top: 24px;
    padding: 18px 20px;
    border-left: 4px solid var(--blue);
    background: #f3f9fd;
    border-radius: 0 14px 14px 0;
    color: #36566d;
    font-weight: 700;
}

/* CTA/footer */
.cta {
    background: linear-gradient(135deg, #087fc0, #065783 60%, #04324e);
    color: #fff;
    text-align: center;
    padding: 105px 0;
}

.cta h2 {
    color: #fff
}

.cta p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #d2ebf7;
    font-size: 18px
}

.cta .hero-actions {
    justify-content: center
}

.cta .button-primary {
    background: #fff;
    color: #083f62
}

.cta .button-secondary {
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
    background: transparent
}

footer {
    background: #06111d;
    color: #91a3b3;
    padding: 42px 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 40px;
    align-items: start;
    font-size: 13px;
}

.footer-grid strong {
    color: #fff
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    text-align: right
}

.footer-contact b {
    color: #fff
}

@media(max-width:1000px) {

    .hero-grid,
    .two-col,
    .story-grid,
    .games-intro {
        grid-template-columns: 1fr
    }

    .product-collage {
        min-height: 560px
    }

    .story-points {
        grid-template-columns: 1fr 1fr 1fr
    }

    .games-grid {
        grid-template-columns: 1fr 1fr
    }

    .nav a:not(.nav-cta) {
        display: none
    }
}

@media(max-width:680px) {
    .wrap {
        width: min(100% - 28px, var(--max))
    }

    .header-inner {
        min-height: 68px
    }

    .nav {
        gap: 9px
    }

    .brand {
        font-size: 17px
    }

    .hero-grid {
        padding: 56px 0;
        gap: 35px;
        min-height: auto
    }

    h1 {
        font-size: 56px
    }

    h2 {
        font-size: 43px
    }

    .hero-copy {
        text-align: center
    }

    .hero-copy p {
        font-size: 17px
    }

    .hero-actions,
    .hero-note {
        justify-content: center
    }

    .product-collage {
        min-height: 520px
    }

    .phone {
        width: min(350px, 82%)
    }

    .mini-phone {
        width: 135px
    }

    .mini-plan {
        right: 0
    }

    .mini-free {
        left: 0
    }

    .hero-orbit {
        width: 430px;
        height: 430px
    }

    .section {
        padding: 76px 0
    }

    .story-points,
    .module-grid,
    .games-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-links {
        flex-wrap: wrap
    }
}

.compact-product {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 64px;
    align-items: center;
}

.compact-product-copy p {
    max-width: 720px;
    font-size: 17px;
    color: var(--muted);
    margin: 20px 0 0;
}

.product-tagline {
    margin-top: 14px;
    color: #0878a9
}

.product-actions {
    margin-top: 24px
}

.games-actions {
    justify-content: center;
    margin-top: 34px
}

.cta-eyebrow {
    color: #a9e3ff
}

.footer-tagline {
    margin-top: 6px
}

.compact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.compact-tags span {
    padding: 8px 12px;
    border: 1px solid #d6e5ed;
    background: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #31556d;
}

.compact-product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 390px;
}

.compact-phone {
    width: min(290px, 78vw);
    background: #0a0d10;
    border: 5px solid #0a0d10;
    border-radius: 36px;
    padding: 4px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.compact-phone:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 9px;
    transform: translateX(-50%);
    width: 31%;
    height: 20px;
    background: #050607;
    border-radius: 999px;
    z-index: 3;
}

.compact-phone img {
    width: 100%;
    border-radius: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 800
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 12px;
    --background: linear-gradient(145deg, #ff743a, #168edc);
    color: #fff;
    font-size: 12px;
    transform: skew(-7deg)
}

@media(max-width:1000px) {
    .compact-product {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .compact-product-copy {
        text-align: center
    }

    .compact-product-copy p {
        margin-left: auto;
        margin-right: auto
    }

    .compact-tags,
    .compact-product-copy .hero-actions {
        justify-content: center
    }

    .compact-product-visual {
        min-height: auto
    }
}