/* Word Slip promotional page. Matches the app's retro colour-block style:
   cream and charcoal grounds, colour blocks with dark ink, condensed
   uppercase headings and monospaced small print. */
.ws-page {
    --ink: #1C1C1E;
    --ink-soft: #4A4740;
    --cream: #EFEADF;
    --night: #151516;
    --night-card: #252527;
    --night-text: #B9B5AD;
    --coral: #F26B5B;
    --mustard: #F4C25B;
    --periwinkle: #8583F3;
    --mint: #9EE4DC;
    --sage: #BCCDBE;
    --pink: #F4A5C8;
    --orange: #F59A52;
    --sky: #86C9EF;
    --leaf: #95CF8C;
    --lilac: #C7B5F7;
    --lime: #D2E77A;
    --sand: #EBCB9B;
    --ice: #C4DCEC;
    background: var(--cream);
}

.ws-page main {
    color: var(--ink);
}

/* The site's global section style is for narrow pages; these bands are full width.
   :where() keeps this reset weak, so each band's own padding still applies. */
:where(.ws-page) section {
    max-width: none;
    padding: 0;
}

.ws-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.ws-display {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.005em;
}

.ws-mono {
    font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

.ws-eyebrow {
    font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* "Coming soon" stands in for the App Store badge until launch */
.ws-soon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--mustard);
    color: var(--ink);
    border: 3px solid var(--ink);
    border-radius: 999px;
    padding: 12px 24px 12px 14px;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 1;
}

.ws-soon .ws-soon-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--mustard);
    display: grid;
    place-items: center;
    font-size: 15px;
}

/* Phone frame around raw app screens */
.ws-phone {
    width: 100%;
    max-width: 290px;
    border-radius: 46px;
    background: #000;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(28, 28, 30, 0.28);
}

.ws-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 37px;
}

/* Hero */
.ws-hero {
    background: var(--night);
    color: var(--cream);
    padding: 96px 0 0;
    overflow: hidden;
}

.ws-hero .ws-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 40px;
    align-items: end;
}

.ws-hero-copy {
    padding-bottom: 96px;
}

.ws-app-id {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.ws-app-id img {
    width: 64px;
    height: 64px;
    border-radius: 15px;
}

.ws-app-id .ws-app-name {
    font-weight: 600;
    font-size: 17px;
}

.ws-hero h1 {
    font-size: clamp(56px, 7.4vw, 104px);
    margin-bottom: 24px;
}

.ws-hero h1 .ws-hl {
    color: var(--mustard);
}

.ws-hero .ws-lead {
    font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 17px;
    line-height: 1.6;
    color: var(--night-text);
    max-width: 30em;
    margin-bottom: 32px;
}

.ws-hero .ws-small {
    margin-top: 16px;
    font-size: 13px;
    color: var(--night-text);
}

.ws-hero-visual {
    display: flex;
    justify-content: center;
}

.ws-hero-visual .ws-phone {
    margin-bottom: -120px;
    box-shadow: 0 0 0 3px #3A3A3D, 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Section headings */
.ws-section-title {
    font-size: clamp(48px, 7vw, 80px);
    margin-bottom: 16px;
}

.ws-section-intro {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 34em;
    margin-bottom: 56px;
}

/* How to play */
.ws-how {
    padding: 200px 0 40px;
}

.ws-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    border-radius: 40px;
    padding: 56px;
    margin-bottom: 28px;
    overflow: hidden;
}

.ws-step:nth-child(even) .ws-step-copy {
    order: 2;
}

.ws-step-number {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.7;
}

.ws-step h3 {
    font-size: clamp(44px, 5.5vw, 68px);
    margin-bottom: 18px;
}

.ws-step p {
    font-size: 16px;
    line-height: 1.65;
    max-width: 26em;
}

.ws-step .ws-phone {
    justify-self: center;
    max-width: 270px;
}

.ws-step.coral { background: var(--coral); }
.ws-step.periwinkle { background: var(--periwinkle); }
.ws-step.mustard { background: var(--mustard); }

/* Points table inside the Score step */
.ws-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.ws-points span {
    background: var(--ink);
    color: var(--mustard);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
}

/* Decks */
.ws-decks {
    padding: 80px 0 40px;
}

.ws-deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.ws-deck {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
}

.ws-deck img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-deck h3 {
    position: relative;
    font-size: 26px;
    padding: 18px 18px 0;
    max-width: 70%;
}

.ws-deck .ws-deck-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* App Store gallery */
.ws-gallery {
    padding: 80px 0;
}

.ws-gallery-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    padding: 8px 24px 24px;
    max-width: 1080px;
    margin: 0 auto;
}

/* On wider screens all six fit side by side; on phones the row scrolls sideways */
@media (min-width: 861px) {
    .ws-gallery-strip {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px;
        overflow: visible;
    }

    .ws-gallery-strip img {
        width: 100% !important;
    }
}

.ws-gallery-strip img {
    flex: 0 0 auto;
    width: 64vw;
    max-width: 260px;
    height: auto;
    border-radius: 24px;
    scroll-snap-align: start;
    box-shadow: 0 14px 30px rgba(28, 28, 30, 0.14);
}

/* Same room, no fuss */
.ws-room {
    background: var(--night);
    color: var(--cream);
    padding: 110px 0;
}

.ws-room .ws-eyebrow {
    color: var(--night-text);
}

.ws-room h2 {
    font-size: clamp(52px, 8vw, 96px);
    margin: 14px 0 48px;
}

.ws-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.ws-room-item {
    background: var(--night-card);
    border-radius: 28px;
    padding: 28px;
}

.ws-room-item h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.ws-room-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--night-text);
}

.ws-room-item .ws-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    margin-bottom: 18px;
}

/* Final call to action */
.ws-cta {
    padding: 80px 0 40px;
}

.ws-cta-card {
    background: var(--mint);
    border-radius: 44px;
    padding: 56px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.ws-cta-card img.ws-cta-mascot {
    width: 220px;
    height: auto;
}

.ws-cta-card h2 {
    font-size: clamp(52px, 7vw, 88px);
    margin-bottom: 16px;
}

.ws-cta-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 28px;
    max-width: 30em;
}

.ws-page footer {
    margin-top: 60px;
}

@media (max-width: 860px) {
    .ws-hero .ws-inner,
    .ws-step,
    .ws-cta-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .ws-hero {
        padding-top: 72px;
    }

    .ws-hero-copy {
        padding-bottom: 24px;
    }

    .ws-step {
        padding: 36px 28px;
    }

    .ws-step:nth-child(even) .ws-step-copy {
        order: 0;
    }

    .ws-cta-card {
        padding: 36px 28px;
    }

    .ws-cta-card img.ws-cta-mascot {
        width: 160px;
    }
}

@media (max-width: 560px) {
    .ws-soon {
        font-size: 19px;
        padding: 10px 18px 10px 10px;
    }

    .ws-deck h3 {
        font-size: 21px;
        padding: 14px 14px 0;
    }

    .ws-deck .ws-deck-tag {
        left: 12px;
        bottom: 12px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .ws-gallery-strip {
        scroll-behavior: smooth;
    }
}
