:root {
    --navy: #0e1b2d;
    --navy2: #162944;
    --coral: #ff7a66;
    --mint: #79d7c2;
    --cream: #fff7ef;
    --paper: #f5f8fb;
    --text: #172033;
    --muted: #627087;
    --line: #dce5ee
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.65
}

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

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

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    margin: 0 0 15px
}

h1 {
    font-size: 56px
}

h2 {
    font-size: 38px
}

h3 {
    font-size: 22px
}

p {
    color: var(--muted);
    margin: 0 0 18px
}

.container {
    width: min(1160px, calc(100% - 36px));
    margin: auto
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--navy)
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    font: 800 27px 'Outfit';
    color: white
}
.brand img{
    width: 210px;
    height: auto;
}
.brand span {
    color: var(--coral)
}

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

.navbtn {
    background: var(--coral);
    color: var(--navy);
    padding: 11px 17px;
    border-radius: 12px
}

.menu {
    display: none
}

.hero {
    background: var(--navy);
    padding: 72px 0 82px
}

.hero-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: center
}

.hero h1 {
    color: white
}

.hero p {
    color: #c8d3df;
    font-size: 18px
}

.eyebrow {
    display: inline-block;
    color: #e85d4d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px
}

.actions {
    display: flex;
    gap: 13px;
    margin: 28px 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 23px;
    border: 0;
    border-radius: 13px;
    font-weight: 800;
    cursor: pointer
}

.primary {
    background: var(--coral);
    color: var(--navy)
}

.outline {
    border: 1px solid #7d8da1;
    color: white
}

.trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #d9e3ec;
    font-size: 13px
}

.trust span:before {
    content: '✓';
    color: var(--mint);
    margin-right: 7px
}

.hero-img {
    position: relative
}

.hero-img img {
    border-radius: 28px;
    box-shadow: 0 25px 70px #0006
}

.hero-img b {
    position: absolute;
    left: -18px;
    bottom: -22px;
    background: var(--cream);
    padding: 16px 21px;
    border-radius: 15px;
    color: var(--navy)
}

.section {
    padding: 86px 0
}

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

.white {
    background: white
}

.heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px
}

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

.features article,
.games article,
.reads article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 21px;
    overflow: hidden;
    box-shadow: 0 12px 32px #0e1b2d12
}

.features article {
    padding: 27px
}

.features i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--mint);
    font-style: normal;
    font-weight: 800;
    margin-bottom: 17px
}

.games img,
.reads img {
    width: 100%;
    height: 215px;
    object-fit: cover
}

.games article>div,
.reads article>div {
    padding: 22px
}

.games small,
.reads small {
    color: #e85d4d;
    font-weight: 800;
    letter-spacing: .08em
}

.games button {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: var(--navy);
    color: white;
    padding: 13px;
    font-weight: 800;
    cursor: pointer
}

.how {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 55px;
    align-items: center
}

.how>img {
    border-radius: 27px;
    box-shadow: 0 18px 45px #0e1b2d20
}

.steps {
    display: grid;
    gap: 15px
}

.steps article {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--paper);
    border-radius: 17px
}

.steps b {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--coral)
}

.strip {
    text-align: center;
    background: var(--mint);
    padding: 15px;
    font-weight: 800
}

.reads a {
    color: #e85d4d;
    font-weight: 800
}

.cta {
    background: var(--coral);
    padding: 55px 0
}

.cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.cta h2,
.cta p {
    color: var(--navy)
}

.light {
    background: var(--cream);
    color: var(--navy)
}

footer {
    background: var(--navy);
    color: white;
    padding: 58px 0 20px
}

.foot {
    display: grid;
    grid-template-columns: 1.4fr .7fr .9fr;
    gap: 50px
}

.foot>div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #cbd5e1
}

.foot p {
    color: #aebdcd
}

.copy {
    border-top: 1px solid #ffffff1c;
    margin-top: 36px;
    padding-top: 18px;
    color: #9eb0c4;
    font-size: 13px
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 18px
}

.modal.open {
    display: flex
}

.backdrop {
    position: absolute;
    inset: 0;
    background: #02060dcc
}

.dialog {
    position: relative;
    width: min(620px, 100%);
    background: white;
    border-radius: 23px;
    padding: 30px;
    z-index: 1
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    background: none;
    font-size: 30px
}

.stage {
    min-height: 250px;
    background: var(--paper);
    border-radius: 18px;
    padding: 20px;
    display: grid;
    place-items: center
}

#status {
    text-align: center;
    font-weight: 800;
    min-height: 30px;
    margin: 15px
}

.wheel {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 10px solid var(--navy);
    background: conic-gradient(var(--coral) 0 45deg, var(--mint) 45deg 90deg, #f6c453 90deg 135deg, #8fa9ff 135deg 180deg, var(--coral) 180deg 225deg, var(--mint) 225deg 270deg, #f6c453 270deg 315deg, #8fa9ff 315deg);
    transition: transform 1s
}

.pairboard {
    display: grid;
    grid-template-columns: repeat(4, 62px);
    gap: 9px
}

.paircard {
    height: 62px;
    border: 0;
    border-radius: 11px;
    background: var(--navy);
    color: transparent;
    font-size: 28px
}

.paircard.show,
.paircard.done {
    background: var(--coral);
    color: white
}

.choices {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.choices button {
    border: 0;
    border-radius: 12px;
    background: var(--navy);
    color: white;
    padding: 14px 22px;
    font-weight: 800
}

.big {
    font: 800 88px 'Outfit';
    color: var(--coral)
}

@media(max-width:900px) {

    .hero-grid,
    .how {
        grid-template-columns: 1fr
    }

    .features,
    .games,
    .reads {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .foot>div:first-child {
        grid-column: 1/-1
    }
}

@media(max-width:700px) {
    h1 {
        font-size: 32px
    }

    h2 {
        font-size: 30px
    }

    .section {
        padding: 62px 0
    }

    .menu {
        display: block;
        background: none;
        color: white;
        border: 1px solid #77879a;
        border-radius: 10px;
        padding: 8px 12px
    }

    nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 18px;
        right: 18px;
        flex-direction: column;
        align-items: stretch;
        background: var(--navy2);
        padding: 18px;
        border-radius: 15px
    }

    nav.open {
        display: flex
    }

    .features,
    .games,
    .reads,
    .foot {
        grid-template-columns: 1fr
    }

    .cta .container {
        align-items: flex-start;
        flex-direction: column
    }

    .hero-img b {
        left: 12px
    }

    .actions .btn {
        width: 100%
    }

    .actions {
        flex-direction: column
    }
}