/* The site's door for a visitor (landing.html): the hand of real cards beside the words, what one does here,
   the sets on sale as /sets draws them. Tokens only; the cards keep their own colours, being what they are. */
.landing-page { max-width: 1120px; margin: 0 auto 80px; padding: 24px 24px 0; display: flex; flex-direction: column; gap: 64px; }

/* The hero: the words on one side, the hand on the other; on a narrow screen the hand comes under the words. */
.landing-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.landing-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.landing-kicker { display: inline-block; padding: 3px 10px; border: var(--border-width) solid var(--ink-border); border-radius: 999px; background: var(--pastel-yellow); font-size: .8rem; font-weight: 800; letter-spacing: .04em; }
.landing-hero h1 { display: flex; align-items: center; gap: 14px; margin: 0; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -.02em; line-height: 1; }
.landing-logo { width: 1em; height: 1em; flex: none; }
.landing-hero p { margin: 0; max-width: 34em; font-size: 1.15rem; line-height: 1.6; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.landing-actions .btn { padding: 10px 20px; font-size: 1.05rem; }

/* The hand: up to six cards spread as a hand is held, overlapping, each turned a little more than the last,
   fixed where they are. The set's card fans three pictures the same way (sets.css); here they are whole cards,
   effects and all, at a card's width. */
.landing-hand { position: relative; height: clamp(280px, 36vw, 380px); }
.landing-hand-card { position: absolute; left: 50%; bottom: 0; transform-origin: 50% 110%; transform: translateX(-50%) rotate(var(--hand-turn, 0deg)); z-index: var(--hand-place, 0); }
.landing-hand-card .trading-card { width: clamp(120px, 15vw, 170px); }
.landing-hand-card:nth-child(1) { --hand-turn: -20deg; --hand-place: 1; }
.landing-hand-card:nth-child(2) { --hand-turn: -12deg; --hand-place: 2; }
.landing-hand-card:nth-child(3) { --hand-turn: -4deg; --hand-place: 3; }
.landing-hand-card:nth-child(4) { --hand-turn: 4deg; --hand-place: 4; }
.landing-hand-card:nth-child(5) { --hand-turn: 12deg; --hand-place: 5; }
.landing-hand-card:nth-child(6) { --hand-turn: 20deg; --hand-place: 6; }
.landing-hand-card:hover { z-index: 7; }
.landing-hand-card .card-tilt-stage { padding: 0; }
/* The inspector's label under a card is for its page; the hand shows the cards alone, as a frame does (embed.css). */
.landing-hand-card .card-inspector-details { display: none; }

/* What one does here: three doors, the About page's points at the About page's size. */
.landing-points h2, .landing-sets h2 { margin: 0 0 18px; font-size: 1.6rem; }
.landing-point-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.landing-point { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: var(--border-width) solid var(--ink-border); border-radius: 14px; background: var(--white); box-shadow: 5px 5px 0 var(--ink-shadow); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.landing-point:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink-shadow); }
.landing-point:focus-visible { outline: 3px solid var(--accent-purple); outline-offset: 3px; }
.landing-point i { font-size: 1.8rem; }
.landing-point strong { font-size: 1.1rem; }
.landing-point span { color: var(--text-muted); line-height: 1.5; }

/* The sets on sale, as /sets draws them, with the way to the rest. */
.landing-sets-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.landing-sets-head h2 { margin: 0 0 18px; }
.landing-sets-head a { font-weight: 800; color: var(--accent-purple); }

.landing-foot { color: var(--text-muted); text-align: center; }
.landing-foot a { color: inherit; }

@media (max-width: 820px) {
    .landing-hero { grid-template-columns: minmax(0, 1fr); }
    .landing-hand { height: clamp(300px, 80vw, 360px); margin-top: 16px; }
    .landing-hand-card .trading-card { width: clamp(110px, 26vw, 150px); }
}
