/* The /go page (Oct 27 2026): the card that was tapped, as a page of the
   site — the airport pages' grammar (airports.css) on the marketing layout.
   Tokens from css/tokens.css only. --tint is the card's own colour. */

.go-hero {
    margin-top: calc(-1 * var(--space-8));
    padding: var(--space-8) 0 var(--space-6);
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

/* The store sky (Nov 21 2026 — founder: "make sure the go pages match the
   new style"): the hero carries .store-sky, so the page wears the App
   Store set's violet, rose light and contour lines (app.css), as the home
   page does. It replaced the paywall's ink and orchid band (Nov 6). */

.go-hero { overflow-x: clip; }

/* The dotted path runs behind the phone, clear of the words above it. */
.go-hero .store-path {
    top: 26rem;
    height: 10rem;
    opacity: 0.7;
}

.go-hero__inner { position: relative; max-width: 34rem; }

.go-eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    /* The store set's peach (Nov 21 2026). */
    color: #FFB38A;
    margin: 0 0 var(--space-2);
}

.go-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}

.go-title span { display: block; }

.go-sub {
    margin: var(--space-3) 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: var(--text-base);
    text-wrap: balance;
}

.go-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.go-badge img {
    display: block;
    height: clamp(44px, 13.5vw, 54px);
    width: auto;
}

.go-badge:focus-visible {
    outline: 2px solid var(--color-action);
    outline-offset: 3px;
    border-radius: 10px;
}

.go-free {
    margin: var(--space-3) auto 0;
    max-width: 24rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    text-wrap: balance;
}

/* A card's own small print (the fleet finishes are Pro), under the free line. */
.go-note {
    margin: var(--space-1) auto 0;
    max-width: 24rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-wrap: balance;
}

/* As big as the hero allows (founder, Oct 27 2026: "as big as possible
   without ruining the balance"): the full column on a phone, capped on a
   desktop so the badges and the review keep their share. */
.go-phone {
    position: relative;
    margin: var(--space-4) auto 0;
    width: min(100%, 440px);
}

.go-phone img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 82%, transparent);
            mask-image: linear-gradient(transparent, #000 8%, #000 82%, transparent);
}

.go-review {
    margin: var(--space-4) auto 0;
    max-width: 30rem;
}

.go-review blockquote {
    margin: 0;
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-wrap: balance;
}

.go-review figcaption {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
}

.go-more {
    padding: var(--space-6) 0 var(--space-8);
    color: #FFFFFF;
}

.go-more__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-xl);
    margin: 0 0 var(--space-3);
}

.go-strip {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--space-4));
    padding: 0 var(--space-4) var(--space-2);
    scrollbar-width: none;
}

.go-strip::-webkit-scrollbar { display: none; }

.go-strip figure {
    flex: none;
    width: 46%;
    max-width: 200px;
    margin: 0;
    scroll-snap-align: start;
}

/* The strip's pictures are .store-shot (app.css): each carries its own
   headline, so there is no caption under it. */
.go-strip .store-shot {
    box-shadow: 0 16px 32px rgba(8, 4, 20, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.go-doors {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.go-door {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--color-card);
    border: 1px solid var(--color-border-strong);
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
}

.go-door:hover { background: var(--color-card-quiet); }

.go-door:focus-visible {
    outline: 2px solid var(--color-action);
    outline-offset: 3px;
}

@media (min-width: 720px) {
    .go-strip figure { max-width: 220px; }
}

/* The holiday sky (Nov 23 2026 — founder, on the holiday card: "a holiday
   theme not just words but colors", then "Midnight, build it"). The app's
   own night, a green glow low on the left and a cranberry one low on the
   right, a string of lights hung along the top of the hero and snow
   falling through it, as the link card draws them
   (marketing/link-cards/holidays/build.py makes both pictures). The
   eyebrow turns pine and the warm words turn gold into red. Only a card
   whose Sky is "holiday" wears it; the rest keep the store sky. */
body:has(.holiday-sky) .marketing > .app-sky {
    filter: none;
    height: min(1400px, 160vh);
    background:
        radial-gradient(60% 45% at 100% 62%, rgba(196, 36, 72, 0.55) 0%, rgba(196, 36, 72, 0) 70%),
        radial-gradient(60% 45% at 0% 70%, rgba(22, 120, 84, 0.45) 0%, rgba(22, 120, 84, 0) 70%),
        linear-gradient(180deg, #060918 0%, #0C1030 55%, #1A0F2E 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%);
}

body:has(.holiday-sky) .marketing > .app-sky::after {
    display: none;
}

.holiday-sky {
    position: relative;
    color: #FFFFFF;
}

.go-hero.holiday-sky { padding-top: calc(var(--space-8) + 24px); }

.holiday-lights {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 54px;
    background: url("/img/holiday/lights.svg") repeat-x -24px 0 / 180px 54px;
    pointer-events: none;
}

.holiday-snow {
    position: absolute;
    inset: 0;
    background: url("/img/holiday/snow.svg") repeat 0 0 / 420px 420px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
    pointer-events: none;
}

.holiday-sky .go-eyebrow { color: #8FE3B8; }

.holiday-sky .store-warm {
    background: linear-gradient(90deg, #FFE39A 0%, #FFB547 45%, #FF5468 100%);
    -webkit-background-clip: text;
            background-clip: text;
}
