@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
    --bg: #f6f7f9;
    --paper: #fff;
    --ink: #151820;
    --muted: #697384;
    --soft: #929aaa;
    --line: #e4e7ec;
    --accent: #566fdd;
    --accent-soft: #eef1ff;
    --dark: #202631;
    --max: 1180px;
    --shadow: 0 20px 60px rgba(22, 29, 42, .08);
    --r: 24px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.65
}

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

button,
input,
textarea {
    font: inherit
}

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: .25s
}

.header.scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 30px rgba(20, 25, 35, .05)
}

.nav {
    height: 78px;
    display: flex;
    align-items: center
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: Manrope;
    font-weight: 800;
    letter-spacing: .06em
}

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

.brand span {
    font-size: 15px
}

.navlinks {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 27px
}

.navlinks a {
    font-size: 13px;
    font-weight: 700;
    color: #596374;
    position: relative
}

.navlinks a.active,
.navlinks a:hover {
    color: var(--ink)
}

.navlinks a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent)
}

.navlinks .navbtn {
    background: var(--ink);
    color: #fff;
    padding: 10px 17px;
    border-radius: 999px
}

.navlinks .navbtn.active:after {
    display: none
}

.menubtn {
    display: none;
    margin-left: auto;
    border: 0;
    background: none;
    padding: 7px
}

.menubtn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 5px;
    border-radius: 2px
}

.hero {
    padding: 94px 0 82px;
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 70px;
    align-items: center
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em
}

.hero h1 {
    font: 800 clamp(48px, 6.2vw, 82px)/.99 Manrope;
    letter-spacing: -.065em;
    margin: 0 0 25px;
    max-width: 650px
}

.hero-copy {
    font-size: 18px;
    color: var(--muted);
    max-width: 575px;
    margin: 0 0 32px
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: .2s
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 25, 35, .08)
}

.btn.primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink)
}

.btn.accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent)
}

.hero-visual {
    position: relative
}

.visual-shell {
    padding: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    transform: rotate(1.1deg)
}

.visual-shell img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    border-radius: 22px
}

.badge {
    position: absolute;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(22, 29, 42, .11);
    padding: 12px 15px;
    font-size: 11px
}

.badge b {
    display: block;
    font-size: 12px
}

.badge small {
    color: var(--muted)
}

.badge.a {
    left: -25px;
    bottom: 42px
}

.badge.b {
    right: -17px;
    top: 38px
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 42px
}

.hero-fact {
    border-top: 1px solid var(--line);
    padding-top: 14px
}

.hero-fact b {
    display: block;
    font-size: 12px
}

.hero-fact span {
    font-size: 11px;
    color: var(--muted)
}

.section {
    padding: 104px 0
}

.section.white {
    background: #fff
}

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

.section-label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    margin-bottom: 12px
}

.section h2 {
    font: 800 clamp(34px, 4vw, 52px)/1.05 Manrope;
    letter-spacing: -.05em;
    margin: 0
}

.section-intro {
    color: var(--muted);
    max-width: 530px;
    margin: 10px 0 0
}

.feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 520px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 42px rgba(20, 25, 35, .05)
}

.feature-image {
    background: #dbe1eb
}

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

.feature-copy {
    padding: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #4d63c8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em
}

.feature h3 {
    font: 800 38px/1.1 Manrope;
    letter-spacing: -.04em;
    margin: 17px 0 12px
}

.feature-copy p {
    color: var(--muted);
    margin: 0 0 24px
}

.facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 8px 0 30px
}

.fact {
    border-top: 1px solid var(--line);
    padding-top: 9px
}

.fact span {
    display: block;
    color: var(--soft);
    font-size: 11px
}

.fact strong {
    font-size: 13px
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.story {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 34px;
    background: var(--bg)
}

.story.dark {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark)
}

.story h3 {
    font: 700 24px Manrope;
    margin: 0 0 10px
}

.story p {
    color: var(--muted);
    margin: 0
}

.story.dark p {
    color: #b9c1cf
}

.linkline {
    display: inline-flex;
    margin-top: 25px;
    font-size: 13px;
    font-weight: 800
}

.linkline span {
    margin-left: 8px;
    color: var(--accent)
}

.page-hero {
    padding: 92px 0 52px
}

.page-hero h1 {
    font: 800 clamp(44px, 5.8vw, 68px)/1.02 Manrope;
    letter-spacing: -.06em;
    margin: 0
}

.page-hero p {
    color: var(--muted);
    font-size: 17px;
    max-width: 650px;
    margin: 18px 0 0
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px
}

.game-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(20, 25, 35, .045)
}

.game-card img {
    width: 100%;
    aspect-ratio: 1.6;
    object-fit: cover
}

.game-content {
    padding: 28px
}

.game-content h2 {
    font: 800 28px Manrope;
    margin: 12px 0 9px;
    letter-spacing: -.03em
}

.game-content p {
    color: var(--muted);
    margin: 0
}

.empty {
    margin-top: 22px;
    border: 1px dashed #d4d9e2;
    border-radius: 22px;
    padding: 70px 25px;
    text-align: center;
    background: #fff
}

.empty h2 {
    font: 700 24px Manrope;
    margin: 0 0 8px
}

.empty p {
    color: var(--muted);
    margin: 0
}

.about-intro {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start
}

.about-big {
    font: 700 clamp(25px, 3vw, 38px)/1.25 Manrope;
    letter-spacing: -.035em;
    margin: 0
}

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

.philosophy {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.ph {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 21px;
    padding: 27px;
    min-height: 205px
}

.ph .n {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800
}

.ph h3 {
    font: 800 18px Manrope;
    margin: 24px 0 8px
}

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

.contact {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 70px
}

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

.contact-card small {
    color: var(--soft);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em
}

.contact-card strong {
    display: block;
    margin-top: 4px
}

.form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 25px;
    padding: 32px
}

.field {
    margin-bottom: 17px
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 7px
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #dce0e7;
    border-radius: 10px;
    padding: 12px 13px;
    outline: none;
    background: #fff;
    transition: .2s
}

.field input:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(86, 111, 221, .11)
}

.field textarea {
    min-height: 145px;
    resize: vertical
}

.err {
    display: none;
    color: #a33b3b;
    font-size: 11px;
    margin-top: 4px
}

.success {
    display: none;
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #edf7ef;
    color: #356740;
    font-size: 12px
}

.form-note {
    font-size: 11px;
    color: var(--muted);
    margin: 12px 0 0
}

.legal {
    padding: 70px 0 105px
}

.legal-main {
    max-width: 850px
}

.legal h1 {
    font: 800 clamp(42px, 5vw, 60px)/1.05 Manrope;
    letter-spacing: -.055em;
    margin: 0
}

.legal-updated {
    font-size: 12px;
    color: var(--soft);
    margin: 15px 0 45px
}

.legal section {
    margin: 36px 0
}

.legal h2 {
    font: 800 21px Manrope;
    margin: 0 0 9px
}

.legal p,
.legal li {
    color: #596476;
    font-size: 14px
}

.legal ul {
    padding-left: 22px
}

.notice {
    border: 1px solid #eadbb4;
    background: #fff9e9;
    color: #67572f;
    border-radius: 14px;
    padding: 16px;
    font-size: 12px
}

.footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 62px 0 24px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 45px
}

.footer-brand {
    font: 800 15px Manrope;
    letter-spacing: .06em
}

.footer-copy {
    font-size: 13px;
    color: var(--muted);
    max-width: 280px
}

.footer h4 {
    font-size: 10px;
    letter-spacing: .15em;
    color: var(--soft);
    margin: 0 0 14px
}

.footer a {
    display: block;
    font-size: 12px;
    color: #5b6575;
    margin: 8px 0
}

.footer a:hover {
    color: var(--ink)
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 42px;
    padding-top: 19px;
    display: flex;
    justify-content: space-between;
    color: #8b94a1;
    font-size: 11px
}

.top {
    position: fixed;
    right: 19px;
    bottom: 19px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 25, 35, .12);
    display: none;
    z-index: 60;
    cursor: pointer
}

.top.show {
    display: block
}

.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .5s ease, transform .5s ease
}

.reveal.show {
    opacity: 1;
    transform: none
}

@media(max-width:950px) {

    .hero-grid,
    .feature,
    .contact,
    .about-intro {
        grid-template-columns: 1fr
    }

    .hero-grid {
        gap: 48px
    }

    .feature-copy {
        padding: 40px
    }

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

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

    .hero {
        padding-top: 68px
    }
}

@media(max-width:700px) {
    .container {
        width: calc(100% - 28px)
    }

    .nav {
        height: 68px
    }

    .menubtn {
        display: block
    }

    .navlinks {
        position: absolute;
        top: 68px;
        left: 14px;
        right: 14px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .2s
    }

    .navlinks.open {
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .navlinks a {
        padding: 12px;
        border-radius: 9px
    }

    .navlinks a.active:after {
        display: none
    }

    .navlinks .navbtn {
        margin-top: 3px;
        text-align: center
    }

    .hero {
        padding: 52px 0 60px
    }

    .hero h1 {
        font-size: clamp(43px, 13vw, 61px)
    }

    .hero-copy {
        font-size: 16px
    }

    .hero-facts {
        grid-template-columns: 1fr
    }

    .badge.a {
        left: 8px
    }

    .badge.b {
        right: 8px
    }

    .section {
        padding: 72px 0
    }

    .section-head {
        display: block
    }

    .feature-image {
        min-height: 250px
    }

    .feature-copy {
        padding: 28px
    }

    .feature h3 {
        font-size: 31px
    }

    .story-grid,
    .grid2 {
        grid-template-columns: 1fr
    }

    .about-intro {
        gap: 30px
    }

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

    .page-hero {
        padding: 60px 0 38px
    }

    .contact {
        gap: 30px
    }

    .form {
        padding: 22px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .footer-bottom {
        display: block
    }

    .footer-bottom span {
        display: block;
        margin-top: 7px
    }

    .legal {
        padding: 55px 0 75px
    }

    .legal-updated {
        margin-bottom: 32px
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .navlinks,
    .btn,
    .header {
        transition: none
    }
}