:root {
    --red: #E31B23;
    --ink: #121212;
    --paper: #fffaf5;
    --muted: #645d5d
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

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

a {
    color: inherit
}

.shell {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: .12em
}

.brand-card {
    display: grid;
    place-items: center;
    width: 38px;
    height: 48px;
    border-radius: 7px;
    color: white;
    background: var(--red);
    box-shadow: 0 7px 18px #e31b2340;
    transform: rotate(-4deg)
}

nav {
    display: flex;
    gap: 28px
}

nav a,
footer a {
    text-decoration: none;
    font-weight: 650
}

nav a:hover,
footer a:hover {
    color: var(--red)
}

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
    padding-block: 70px 110px
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--red);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .18em
}

h1 {
    margin: 0;
    font-size: clamp(3.5rem, 7vw, 6.7rem);
    line-height: .92;
    letter-spacing: -.065em
}

h1 span {
    color: var(--red)
}

.lead {
    max-width: 630px;
    margin: 28px 0 32px;
    font-size: 1.15rem;
    color: var(--muted)
}

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

.button {
    padding: 13px 21px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800
}

.primary {
    background: var(--red);
    color: white;
    box-shadow: 0 10px 24px #e31b2338
}

.secondary {
    border: 1px solid #d9cfca;
    background: white
}

.card-scene {
    min-height: 430px;
    position: relative;
    display: grid;
    place-items: center
}

.playing-card {
    position: absolute;
    width: 190px;
    height: 275px;
    border-radius: 18px;
    padding: 20px;
    background: white;
    border: 1px solid #e9ded8;
    box-shadow: 0 30px 65px #27131325;
    font-family: Georgia, serif
}

.playing-card b {
    display: block;
    font-size: 2.7rem;
    line-height: 1
}

.playing-card span {
    display: grid;
    height: 175px;
    place-items: center;
    font-size: 6rem
}

.red {
    color: var(--red)
}

.black {
    color: #171313
}

.card-main {
    z-index: 2;
    transform: rotate(3deg) translateY(-8px)
}

.card-left {
    transform: rotate(-18deg) translate(-105px, 25px)
}

.card-right {
    transform: rotate(18deg) translate(105px, 28px)
}

.burst {
    z-index: 3;
    position: absolute;
    right: -5px;
    top: 35px;
    padding: 12px 18px;
    color: white;
    background: var(--red);
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 950;
    transform: rotate(9deg);
    box-shadow: 0 8px 20px #e31b2345
}

.feature-band {
    color: white;
    background: #151111
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.features article {
    padding: 55px 42px;
    border-left: 1px solid #ffffff17
}

.features article:last-child {
    border-right: 1px solid #ffffff17
}

.features span {
    color: var(--red);
    font-weight: 900
}

.features h2 {
    margin: 8px 0;
    font-size: 1.35rem
}

.features p {
    margin: 0;
    color: #c9c1c1
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding-block: 100px
}

.about h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.04em
}

.about>p {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.08rem
}

footer {
    border-top: 1px solid #e6dbd5
}

.footer-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: .9rem
}

.footer-inner div {
    display: flex;
    gap: 22px
}

.legal {
    max-width: 820px;
    padding-block: 65px 100px
}

.legal h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem)
}

.legal .updated {
    color: var(--muted);
    margin: 16px 0 45px
}

.legal h2 {
    margin: 35px 0 8px;
    font-size: 1.35rem
}

.legal p,
.legal li {
    color: #403a3a
}

.legal li+li {
    margin-top: 8px
}

@media(max-width:760px) {
    .nav {
        height: 70px
    }

    .nav nav a:first-child {
        display: none
    }

    nav {
        gap: 16px;
        font-size: .85rem
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-block: 60px 75px
    }

    .card-scene {
        min-height: 350px;
        transform: scale(.8);
        margin: -20px
    }

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

    .features article,
    .features article:last-child {
        border: 0;
        border-bottom: 1px solid #ffffff17;
        padding: 35px 20px
    }

    .about {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-block: 70px
    }

    .footer-inner {
        padding-block: 25px;
        gap: 18px;
        align-items: flex-start;
        flex-direction: column
    }

    .footer-inner div {
        flex-wrap: wrap
    }

    h1 {
        font-size: clamp(3rem, 16vw, 5rem)
    }
}