/* The public landing (templates/landing.html) — ReziDay's landing shape, Remi's tokens. */
.page-land { background: var(--canvas); }
.land { color: var(--ink); }
.land a:not(.btn) { color: var(--teal); font-weight: 600; text-decoration: none; }
.land a:not(.btn):hover { color: var(--teal-hover); }

/* ---- Hero ---- */
.land-hero { text-align: center; padding: clamp(56px, 9vw, 96px) 16px 0; max-width: 980px; margin: 0 auto; }
.land-h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(38px, 6.4vw, 78px);
           line-height: 1.04; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.land-h1 span { color: var(--teal); }
.land-lead { max-width: 560px; margin: 22px auto 0; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; color: var(--muted); }
.land-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* The visual: two formations on the felt, made of the game's own pieces (remi.css .piece). */
.land-table { position: relative; margin: 52px auto 0; max-width: 720px; padding: 44px 24px 52px;
              /* the «covor» theme of the table (remi.css .scene): the rug, its border stripes */
              background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(251,227,192,.10) 16px 18px),
                          repeating-linear-gradient(-45deg, transparent 0 16px, rgba(251,227,192,.10) 16px 18px), #C05336;
              box-shadow: inset 0 0 0 8px #FBE3C0, inset 0 0 0 14px #1E497B, inset 0 0 0 20px #FBE3C0;
              border-radius: 28px 28px 0 0;
              display: flex; flex-direction: column; align-items: center; gap: 22px; overflow: hidden; }
.land-row { display: flex; gap: 10px; }
.land-row--tilt { transform: rotate(-2deg); }
.land-piece { --pf: clamp(24px, 4.4vw, 38px); position: relative; display: block;
              width: calc(var(--pf) * 1.55); height: calc(var(--pf) * 2.05); }
.land-piece .piece { cursor: default; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45); }
.land-sticker { position: absolute; width: 74px; height: 74px; }
.land-sticker--a { left: 22px; bottom: 18px; transform: rotate(-8deg); }
.land-sticker--b { right: 24px; top: 20px; transform: rotate(7deg); }

/* ---- The three ways to play ---- */
.land-ways { background: var(--surface); border-top: 1px solid var(--border); padding: clamp(56px, 8vw, 88px) 16px; }
.land-cards { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.land-card { padding: 26px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s ease, box-shadow .15s ease; }
.land-card h2 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; margin: 10px 0 0; }
.land-card p { margin: 0; color: var(--muted); line-height: 1.55; }
@media (hover: hover) and (pointer: fine) { .land-card:hover { border-color: var(--teal-border); box-shadow: var(--shadow-pop); } }

/* ---- Closing band ---- */
.land-close { background: var(--teal); color: #fff; text-align: center; padding: clamp(64px, 9vw, 100px) 16px; }
.land-close h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 4.2vw, 52px);
                 line-height: 1.1; letter-spacing: -0.02em; margin: 0 auto; max-width: 720px; }
.land-close .btn { margin-top: 30px; }
.land-close p { margin: 18px 0 0; color: var(--teal-border); font-size: 14.5px; }
.land .land-close a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Scroll reveal: once, a short rise; nothing staged under Reduce Motion (landing.js) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .land [data-reveal] { opacity: 0; transform: translateY(10px);
                            transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
                            transition-delay: calc(var(--rv, 0) * 60ms); }
  .js .land [data-reveal="in"] { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .land-cards { grid-template-columns: 1fr; }
  .land-sticker { width: 52px; height: 52px; }
  .land-table { border-radius: 20px 20px 0 0; padding: 32px 12px 40px; }
}
