:root {
    color-scheme: dark;
    --felt: #075f2c;
    --felt-deep: #043c1d;
    --felt-light: #16844a;
    --ivory: #f6f1e5;
    --ink: #141812;
    --paper: #fffaf0;
    --red: #b7352f;
    --red-bright: #d4493f;
    --glass: rgba(220, 246, 226, 0.72);
    --line: rgba(255, 255, 255, 0.17);
    --muted: rgba(255, 255, 255, 0.7);
    --max-width: 1220px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
        "Helvetica Neue", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: white;
    background:
        radial-gradient(circle at 15% 4%, rgba(54, 163, 93, 0.32), transparent 28rem),
        radial-gradient(circle at 90% 18%, rgba(183, 53, 47, 0.13), transparent 30rem),
        var(--felt-deep);
    line-height: 1.55;
}

main,
footer {
    overflow-wrap: break-word;
}

a {
    color: inherit;
}

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

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 50%;
    display: flex;
    width: min(calc(100% - 48px), var(--max-width));
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    transform: translateX(-50%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 720;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 32px;
    height: 40px;
    place-items: center;
    color: var(--ink);
    border-radius: 7px;
    background: var(--ivory);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.92rem;
}

nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

nav a:hover {
    color: white;
}

.nav-download {
    padding: 9px 15px;
    color: var(--ink);
    border-radius: 999px;
    background: var(--ivory);
}

.hero {
    position: relative;
    display: grid;
    min-height: 800px;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
    overflow: hidden;
    padding: 130px max(24px, calc((100vw - var(--max-width)) / 2)) 90px;
    background:
        linear-gradient(135deg, rgba(4, 60, 29, 0.08), rgba(3, 38, 18, 0.68)),
        linear-gradient(120deg, var(--felt-light), var(--felt) 52%, #044a24);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.17;
    background-image:
        repeating-radial-gradient(circle at 0 0, transparent 0 6px, rgba(255,255,255,.12) 7px 8px);
    background-size: 22px 22px;
    mix-blend-mode: soft-light;
}

.hero-copy,
.hero-art {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 15px;
    color: #a9dfba;
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 650px;
    margin-bottom: 25px;
    font-size: clamp(3.3rem, 6vw, 6.8rem);
    line-height: 0.93;
    letter-spacing: -0.065em;
}

h1 span {
    color: #bde5c9;
}

.hero-summary {
    max-width: 590px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 35px;
}

.app-store-link {
    display: inline-flex;
    min-width: 190px;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 13px;
    background: #050505;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.31);
}

.app-store-link svg {
    width: 30px;
    fill: currentColor;
}

.app-store-link span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.app-store-link small {
    font-size: 0.7rem;
}

.app-store-link strong {
    margin-top: 2px;
    font-size: 1.28rem;
    font-weight: 550;
}

.platforms {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-art {
    min-width: 0;
}

.screen-frame {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    background: #052e18;
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.42),
        0 0 0 10px rgba(255, 255, 255, 0.055);
    transform: rotate(1.5deg);
}

.screen-frame img {
    width: 100%;
    aspect-ratio: 2.17 / 1;
    object-fit: cover;
}

.status-card {
    position: absolute;
    z-index: 2;
    top: -42px;
    left: -25px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    color: var(--ink);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 999px;
    background: var(--glass);
    box-shadow: 0 13px 30px rgba(0,0,0,.22);
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(18px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #efb63d;
    box-shadow: 0 0 0 4px rgba(239, 182, 61, .18);
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    width: 72px;
    aspect-ratio: 5 / 7;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    color: var(--ink);
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    background: var(--ivory);
    box-shadow: 0 18px 30px rgba(0,0,0,.32);
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
}

.large-suit {
    align-self: center;
    font-size: 2.3rem;
}

.floating-card-one {
    right: 8%;
    bottom: -52px;
    transform: rotate(8deg);
}

.floating-card-two {
    right: -36px;
    top: -50px;
    transform: rotate(12deg);
}

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

.introduction {
    max-width: 850px;
    margin: 0 auto;
    padding: 120px 24px 55px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.3rem, 4vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.introduction > p:last-child {
    max-width: 720px;
    margin-inline: auto;
    color: var(--muted);
    font-size: 1.15rem;
}

.feature-grid {
    display: grid;
    width: min(calc(100% - 48px), var(--max-width));
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 auto;
    padding-bottom: 120px;
}

.feature-card {
    min-height: 305px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 1px rgba(255,255,255,.07);
}

.feature-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 36px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    font-size: 1.5rem;
    font-weight: 800;
}

.feature-winnable .feature-icon {
    color: #b9edc7;
    background: rgba(52, 178, 91, .22);
}

.feature-unwinnable .feature-icon {
    color: #ffb1a9;
    background: rgba(190, 58, 48, .24);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.55rem;
}

.feature-card p {
    color: var(--muted);
}

.gameplay-section {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 70px;
    align-items: center;
    padding: 120px max(24px, calc((100vw - var(--max-width)) / 2));
    color: var(--ink);
    background: var(--ivory);
}

.gameplay-section .eyebrow,
.origin-card .eyebrow {
    color: var(--felt);
}

.gameplay-copy > p:not(.eyebrow) {
    color: rgba(20, 24, 18, .72);
    font-size: 1.08rem;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    content: "♣";
    color: var(--felt);
    font-weight: 800;
}

.gameplay-image {
    margin: 0;
}

.gameplay-image img {
    border: 1px solid rgba(0,0,0,.17);
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(44, 37, 24, .23);
}

.gameplay-image figcaption {
    margin-top: 15px;
    color: rgba(20, 24, 18, .58);
    font-size: 0.83rem;
    text-align: center;
}

.origin-story {
    padding: 120px 24px;
    background:
        radial-gradient(circle at 80% 10%, rgba(213, 70, 60, .2), transparent 30rem),
        var(--red);
}

.origin-card {
    display: grid;
    width: min(100%, 920px);
    grid-template-columns: auto 1fr;
    gap: 30px;
    margin: 0 auto;
    padding: clamp(34px, 6vw, 70px);
    color: var(--ink);
    border-radius: 34px;
    background: var(--paper);
    box-shadow: 0 28px 80px rgba(64, 12, 8, .3);
}

.quote-mark {
    color: var(--red);
    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: .78;
}

.origin-card h2 {
    max-width: 700px;
    font-size: clamp(2.4rem, 4.5vw, 4.7rem);
}

.origin-card p:not(.eyebrow) {
    max-width: 680px;
    color: rgba(20,24,18,.72);
    font-size: 1.08rem;
}

.download-section {
    padding: 120px 24px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 100%, rgba(48,154,86,.36), transparent 34rem),
        var(--felt-deep);
}

.download-suits {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 2rem;
}

.red-suit {
    color: #e65a50;
}

.download-section > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.1rem;
}

.text-download {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    padding: 14px 22px;
    color: var(--ink);
    border-radius: 999px;
    background: var(--ivory);
    font-weight: 750;
    text-decoration: none;
}

footer {
    display: grid;
    width: min(calc(100% - 48px), var(--max-width));
    grid-template-columns: 1fr auto;
    gap: 18px 30px;
    align-items: center;
    margin: 0 auto;
    padding: 42px 0;
    color: rgba(255,255,255,.55);
    font-size: .78rem;
}

footer p {
    margin: 0;
}

footer p a {
    color: rgba(255,255,255,.82);
}

.footer-brand {
    color: white;
}

.legal {
    grid-column: 1 / -1;
}

.privacy-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 4%, rgba(54, 163, 93, 0.32), transparent 28rem),
        radial-gradient(circle at 90% 35%, rgba(183, 53, 47, 0.14), transparent 32rem),
        var(--felt-deep);
}

.privacy-header {
    position: absolute;
}

.privacy-main {
    padding: 130px 24px 80px;
}

.privacy-card {
    width: min(100%, 820px);
    margin: 0 auto;
    padding: clamp(32px, 7vw, 72px);
    color: var(--ink);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 34px;
    background: var(--paper);
    box-shadow: 0 35px 90px rgba(0,0,0,.32);
}

.privacy-card h1 {
    margin-bottom: 8px;
    font-size: clamp(3rem, 8vw, 5.6rem);
}

.privacy-card h2 {
    margin-bottom: 10px;
    font-size: 1.45rem;
    letter-spacing: -0.025em;
}

.privacy-card section {
    padding-top: 25px;
    border-top: 1px solid rgba(20,24,18,.13);
}

.privacy-card section + section {
    margin-top: 25px;
}

.privacy-card section p {
    margin-bottom: 0;
    color: rgba(20,24,18,.73);
}

.privacy-card a {
    color: var(--felt);
    font-weight: 700;
}

.privacy-updated {
    margin-bottom: 36px;
    color: rgba(20,24,18,.5);
    font-size: .9rem;
}

.privacy-lede {
    margin-bottom: 36px;
    font-size: clamp(1.25rem, 2.3vw, 1.6rem);
    font-weight: 620;
    line-height: 1.4;
}

@media (max-width: 1080px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 150px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-art {
        width: min(100%, 820px);
        margin: 35px 0 35px;
    }

    .gameplay-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 940px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .feature-icon {
        margin-bottom: 24px;
    }
}

@media (max-width: 650px) {
    .site-header {
        width: min(calc(100% - 32px), var(--max-width));
        padding-top: 18px;
    }

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

    .hero {
        gap: 32px;
        padding: 126px 18px 64px;
    }

    h1 {
        font-size: clamp(2.85rem, 14vw, 4.8rem);
        line-height: .96;
        letter-spacing: -.055em;
    }

    h2 {
        font-size: clamp(2rem, 10.5vw, 3.15rem);
        line-height: 1.03;
        letter-spacing: -.045em;
    }

    .hero-summary {
        font-size: 1.05rem;
    }

    .hero-actions {
        gap: 14px;
        margin-top: 28px;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-art {
        margin: 28px 0 12px;
    }

    .screen-frame {
        border-radius: 15px;
        box-shadow:
            0 24px 55px rgba(0, 0, 0, 0.38),
            0 0 0 6px rgba(255, 255, 255, 0.05);
    }

    .floating-card {
        display: none;
    }

    .status-card {
        top: -28px;
        left: 8px;
        padding: 8px 13px;
        font-size: .8rem;
    }

    .introduction {
        padding: 82px 18px 42px;
        text-align: left;
    }

    .introduction > p:last-child {
        font-size: 1.05rem;
    }

    .feature-grid {
        width: calc(100% - 36px);
        gap: 14px;
        padding-bottom: 82px;
    }

    .feature-card {
        padding: 26px;
        border-radius: 22px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }

    .gameplay-section {
        gap: 38px;
        padding-block: 78px;
        padding-inline: 18px;
    }

    .gameplay-copy > p:not(.eyebrow),
    .origin-card p:not(.eyebrow) {
        font-size: 1rem;
    }

    .check-list {
        gap: 14px;
        margin-top: 24px;
    }

    .gameplay-image img {
        border-radius: 14px;
        box-shadow: 0 20px 45px rgba(44, 37, 24, .2);
    }

    .origin-story,
    .download-section {
        padding: 78px 18px;
    }

    .origin-card {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 28px;
        border-radius: 24px;
    }

    .quote-mark {
        height: 38px;
        font-size: 5rem;
    }

    .origin-card h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .download-suits {
        margin-bottom: 24px;
        font-size: 1.7rem;
    }

    footer {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        padding-block: 36px;
    }

    .privacy-main {
        padding: 116px 16px 64px;
    }

    .privacy-card {
        padding: 28px;
        border-radius: 24px;
    }

    .privacy-card h1 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .legal {
        grid-column: auto;
    }
}

@media (max-width: 420px) {
    .site-header {
        justify-content: center;
    }

    .site-header nav {
        display: none;
    }

    .privacy-header {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 112px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13.5vw, 3.55rem);
    }

    .eyebrow {
        margin-bottom: 12px;
        font-size: .7rem;
        letter-spacing: .12em;
    }

    .feature-card,
    .origin-card,
    .privacy-card {
        padding: 22px;
    }

    .gameplay-image figcaption {
        text-align: left;
    }
}

@media (max-width: 340px) {
    .brand {
        font-size: .95rem;
    }

    .brand-mark {
        width: 29px;
        height: 36px;
    }

    .hero,
    .gameplay-section,
    .origin-story,
    .download-section {
        padding-inline: 14px;
    }

    .feature-grid {
        width: calc(100% - 28px);
    }

    .app-store-link {
        min-width: 0;
        width: 100%;
    }
}

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

    .app-store-link {
        transition: none;
    }
}
