/* GamesGarden site pages: hub, games, plant, pass, about, terms and the game guides.
   Uses only design/garden.css tokens (no new colours or fonts). No percentage units in this file.
   lp-* classes came from the first drafts of /plant/ and /pass/; site-*, hub-*, tile-* and guide-* were added for launch. */

/* ---------- top banner (coming at launch / draft) ---------- */
.lp-draft { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 8px 16px; background: var(--gg-butter-100); border-bottom: var(--gg-border); font-size: var(--gg-text-sm); font-weight: 700; text-align: center; }
.lp-draft .gg-pill { min-height: 26px; }
.lp-back { white-space: nowrap; }
.lp-back svg { width: 18px; height: 18px; }
@media (max-width: 400px) { .lp-back span { display: none; } .lp-back { width: 44px; padding: 0; } }

/* ---------- hero ---------- */
.lp-hero { display: grid; gap: 22px; padding: 32px 0 28px; }
.lp-hero h1 { max-width: 12ch; }
.lp-hero .gg-lede { margin-top: 14px; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lp-hero__art { position: relative; display: grid; }
.lp-hero__art svg { justify-self: stretch; width: auto; height: auto; }
@media (max-width: 899px) { .lp-hero__art { max-width: 420px; } }
@media (min-width: 900px) {
  .lp-hero { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 64px 0 48px; gap: 40px; }
}

/* ---------- sections ---------- */
.lp-sec { padding: 28px 0; display: grid; gap: 18px; }
.lp-sec > header { display: grid; gap: 8px; }
.lp-sec h2 { font-size: var(--gg-text-2xl); }
.lp-sec > header p { color: var(--gg-ink-2); max-width: 52ch; }
@media (min-width: 900px) { .lp-sec { padding: 40px 0; gap: 24px; } }

/* steps */
.lp-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 640px) { .lp-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .lp-steps { grid-template-columns: repeat(4, 1fr); } }
.lp-step { counter-increment: step; display: grid; gap: 8px; align-content: start; background: var(--gg-paper); border: var(--gg-border); border-radius: var(--gg-r-lg); box-shadow: var(--gg-shadow-lg); padding: 20px; }
.lp-step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--gg-r-pill);
  background: var(--gg-lime); border: var(--gg-border); box-shadow: var(--gg-shadow-sm);
  font-family: var(--gg-font-display); font-weight: 800; font-size: var(--gg-text-lg);
}
.lp-step:nth-child(2)::before { background: var(--gg-butter); }
.lp-step:nth-child(3)::before { background: var(--gg-lavender-100); }
.lp-step:nth-child(4)::before { background: var(--gg-pink-100); }
.lp-step h3 { font-weight: 800; }
.lp-step p { color: var(--gg-ink-2); font-size: var(--gg-text-md); line-height: 1.45; }

/* cards in a grid */
.lp-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .lp-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .lp-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .lp-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.lp-card { display: grid; gap: 8px; align-content: start; background: var(--gg-paper); border: var(--gg-border); border-radius: var(--gg-r-lg); box-shadow: var(--gg-shadow-lg); padding: 20px; }
.lp-card h3 { font-weight: 800; }
.lp-card p, .lp-card li { color: var(--gg-ink-2); line-height: 1.5; }
.lp-card ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.lp-card--lime { background: var(--gg-lime-100); }
.lp-card--butter { background: var(--gg-butter-100); }
.lp-card--lav { background: var(--gg-lavender-100); }
.lp-card--sand { background: var(--gg-sand); }
.lp-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--gg-r-pill); background: var(--gg-paper); border: var(--gg-border); box-shadow: var(--gg-shadow-sm); }
.lp-icon svg { width: 28px; height: 28px; }

/* story cards: it already happened */
.lp-story { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.lp-story__art { width: 76px; height: 76px; border-radius: var(--gg-r-md); border: var(--gg-border); overflow: hidden; box-shadow: var(--gg-shadow-sm); }
.lp-story__art svg { width: 72px; height: 72px; }
.lp-story .lp-planted { margin-top: 4px; }
.lp-planted { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 30px; padding: 4px 12px; border: var(--gg-border); border-radius: var(--gg-r-pill); background: var(--gg-paper); font-weight: 700; font-size: var(--gg-text-xs); }
.lp-planted svg { width: 16px; height: 16px; }
.lp-story a { font-weight: 700; }

/* callout */
.lp-callout { display: grid; gap: 10px; background: var(--gg-green-100); border: var(--gg-border); border-radius: var(--gg-r-xl); box-shadow: var(--gg-shadow-lg); padding: 22px; }
.lp-callout h2 { font-size: var(--gg-text-2xl); }
.lp-callout p { color: var(--gg-ink-2); max-width: 60ch; }

/* ---------- form preview ---------- */
.lp-form { display: grid; gap: 16px; background: var(--gg-paper); border: var(--gg-border); border-radius: var(--gg-r-xl); box-shadow: var(--gg-shadow-lg); padding: 22px 18px; }
.lp-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .lp-form { padding: 32px; } .lp-form fieldset { grid-template-columns: 1fr 1fr; gap: 18px 22px; } .lp-field--wide, .lp-form__foot, .lp-check { grid-column: 1 / -1; } }
.lp-field { display: grid; gap: 6px; align-content: start; }
.lp-field label { font-weight: 700; font-size: var(--gg-text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--gg-ink-3); }
.lp-field small { color: var(--gg-ink-3); font-size: var(--gg-text-sm); }
.lp-input {
  width: auto; justify-self: stretch; min-width: 0; min-height: 54px; padding: 12px 16px; border: var(--gg-border); border-radius: var(--gg-r-md);
  background: var(--gg-cream); color: var(--gg-ink); font: 600 var(--gg-text-md) / 1.35 var(--gg-font-body);
  box-shadow: inset 0 2px 0 var(--gg-line); outline: none; resize: none;
}
textarea.lp-input { min-height: 116px; }
.lp-input::placeholder { color: var(--gg-ink-3); opacity: 1; -webkit-text-fill-color: var(--gg-ink-3); }
.lp-input:disabled { opacity: 1; cursor: not-allowed; color: var(--gg-ink-3); -webkit-text-fill-color: var(--gg-ink-3); }
.lp-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: var(--gg-text-sm); color: var(--gg-ink-2); line-height: 1.45; }
.lp-check input { flex: none; appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border: var(--gg-border); border-radius: 8px; background: var(--gg-cream); box-shadow: inset 0 2px 0 var(--gg-line); }
.lp-check input:disabled { opacity: 1; cursor: not-allowed; }
.lp-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.lp-form__foot .gg-btn { flex: 1 1 auto; }
@media (min-width: 640px) { .lp-form__foot .gg-btn { flex: 0 0 auto; } }
.lp-note { display: inline-flex; align-items: center; gap: 8px; color: var(--gg-ink-3); font-size: var(--gg-text-sm); font-weight: 700; }
.lp-note svg { width: 18px; height: 18px; flex: none; }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; gap: 12px; max-width: 760px; }
.lp-faq details { background: var(--gg-paper); border: var(--gg-border); border-radius: var(--gg-r-md); box-shadow: var(--gg-shadow); }
.lp-faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 18px; cursor: pointer;
  font-family: var(--gg-font-display); font-weight: 600; font-size: var(--gg-text-lg); letter-spacing: -.01em; line-height: 1.2;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: var(--gg-r-pill); border: var(--gg-border); background: var(--gg-butter)
    no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform var(--gg-dur-md) var(--gg-ease-spring);
}
.lp-faq details[open] summary::after { transform: rotate(180deg); }
.lp-faq details > div { padding: 0 18px 16px; color: var(--gg-ink-2); line-height: 1.55; display: grid; gap: 8px; }

/* ---------- pass: compare + price ---------- */
.lp-compare { display: grid; gap: 16px; }
@media (min-width: 760px) { .lp-compare { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.lp-plan { display: grid; gap: 14px; align-content: start; background: var(--gg-paper); border: var(--gg-border); border-radius: var(--gg-r-xl); box-shadow: var(--gg-shadow-lg); padding: 22px; }
.lp-plan--pass { background: var(--gg-lime-100); box-shadow: var(--gg-shadow-xl); }
.lp-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-plan h3 { font-size: var(--gg-text-2xl); font-weight: 800; }
.lp-plan__price { font-family: var(--gg-font-display); font-weight: 800; font-size: var(--gg-text-xl); letter-spacing: -.02em; }
.lp-plan__price small { display: block; font-family: var(--gg-font-body); font-weight: 600; font-size: var(--gg-text-sm); color: var(--gg-ink-3); letter-spacing: 0; }
.lp-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; line-height: 1.4; color: var(--gg-ink-2); }
.lp-ticks li::before {
  content: ""; width: 26px; height: 26px; border-radius: var(--gg-r-pill); border: var(--gg-border); background: var(--gg-lime)
    no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.6 2.6L11 4.5' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.lp-ticks li.is-ad::before { background-color: var(--gg-sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='2' fill='%23111'/%3E%3C/svg%3E"); }
.lp-ticks b { color: var(--gg-ink); }
.lp-plan .gg-btn { justify-self: stretch; }

.lp-never { display: grid; gap: 12px; background: var(--gg-ink); color: var(--gg-cream); border: var(--gg-border); border-radius: var(--gg-r-xl); box-shadow: 5px 5px 0 var(--gg-green-600); padding: 22px; }
.lp-never h2 { font-size: var(--gg-text-2xl); }
.lp-never ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-never li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; line-height: 1.4; }
.lp-never li::before {
  content: ""; width: 26px; height: 26px; border-radius: var(--gg-r-pill); border: 2px solid var(--gg-cream); background: var(--gg-pink)
    no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (min-width: 900px) { .lp-never ul { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }

/* ---------- footer ---------- */
.lp-foot { padding: 28px 0 56px; color: var(--gg-ink-3); font-size: var(--gg-text-sm); text-align: center; }
.lp-foot a { font-weight: 700; }

/* gentle entrance, matches the hub tiles */
.lp-rise { animation: gg-rise var(--gg-dur-lg) var(--gg-ease-out) both; animation-delay: calc(var(--d, 0) * 70ms * var(--gg-time)); }

/* a disabled 'coming at launch' button should still read clearly */
.lp-soon.gg-btn:disabled { opacity: 1; background: var(--gg-lime-100); color: var(--gg-ink-3); border-style: dashed; box-shadow: none; }

/* =====================================================================
   Launch additions (2026-10-29)
   ===================================================================== */

/* ---------- labels for anything not live yet ---------- */
.site-soon {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 10px;
  border: 2px dashed var(--gg-ink); border-radius: var(--gg-r-pill); background: var(--gg-butter-100);
  font-weight: 700; font-size: var(--gg-text-xs); line-height: 1; white-space: nowrap; color: var(--gg-ink);
}
.site-soon::before { content: ""; width: 8px; height: 8px; border-radius: var(--gg-r-pill); background: var(--gg-butter); border: 2px solid var(--gg-ink); flex: none; }
.site-small { color: var(--gg-ink-3); font-size: var(--gg-text-sm); font-weight: 700; line-height: 1.45; max-width: 52ch; }
.site-earn { display: grid; gap: 4px; }
.site-earn b { font-family: var(--gg-font-display); font-weight: 800; font-size: var(--gg-text-lg); letter-spacing: -.01em; }

/* ---------- hero ---------- */
.hub-hero__cta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 12px; margin-top: 24px; }
.hub-hero__cta .gg-btn { min-width: 168px; }
.hub-cta-soon { display: grid; justify-items: center; gap: 8px; }
.hub-hero .site-small { margin-top: 12px; }
.hub-hero .gg-lede b { color: var(--gg-ink); }
.lp-hero__art--hub { display: none; }
@media (min-width: 900px) { .lp-hero__art--hub { display: grid; } }
.lp-hero h1.hub-h1 { max-width: 13ch; }

/* ---------- section heads ---------- */
.site-head-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-more { display: flex; justify-content: center; padding: 8px 0 4px; }
.lp-sec > header .gg-eyebrow { margin: 0; }

/* ---------- story cards (planted by players) ---------- */
.lp-story .gg-btn { justify-self: start; margin-top: 8px; }
.tag-planted {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px 4px 8px;
  border: var(--gg-border); border-radius: var(--gg-r-pill); background: var(--gg-lime);
  font-weight: 700; font-size: var(--gg-text-xs); line-height: 1; white-space: nowrap; box-shadow: var(--gg-shadow-sm);
}
.tag-planted svg { width: 16px; height: 16px; flex: none; }

/* ---------- the games shelf ---------- */
.shelf-head { display: grid; gap: 4px; padding-top: 8px; }
.shelf-head h3 { font-size: var(--gg-text-xl); font-weight: 800; }
.shelf { display: grid; gap: 22px; }
@media (min-width: 640px) {
  .shelf { grid-template-columns: 1fr 1fr; }
  .shelf > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .shelf--new { grid-template-columns: repeat(6, 1fr); }
  .shelf--new > * { grid-column: span 2; }
  .shelf--new > :nth-child(-n+2) { grid-column: span 3; }
  .shelf--new > :last-child:nth-child(odd) { grid-column: span 2; }
  .shelf--classic { grid-template-columns: repeat(3, 1fr); }
  .shelf--classic > :last-child:nth-child(odd) { grid-column: auto; }
}
.tile {
  position: relative; display: flex; flex-direction: column; background: var(--gg-paper);
  border: var(--gg-border); border-radius: var(--gg-r-xl); box-shadow: var(--gg-shadow-lg); padding: 10px;
  transition: transform var(--gg-dur-md) var(--gg-ease-spring), box-shadow var(--gg-dur-md) var(--gg-ease-spring);
  animation: gg-rise var(--gg-dur-lg) var(--gg-ease-out) both; animation-delay: calc(var(--d, 0) * 70ms * var(--gg-time));
}
.tile:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--gg-ink); transition-duration: var(--gg-dur-xs); }
@media (hover: hover) { .tile:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--gg-ink); } }
.tile__art { position: relative; height: 168px; padding: 0; display: grid; place-items: center; overflow: hidden; border-radius: 24px; box-shadow: inset 0 2px 0 rgba(255,255,255,.12), inset 0 -24px 48px -24px rgba(0,0,0,.25); container-type: size; }
.tile__art--svg { background: var(--gg-cream); }
.tile__art--svg svg { display: block; width: 100cqw; height: 100cqh; max-width: none; }
@media (min-width: 1000px) { .tile__art { height: 188px; } .shelf--new > :nth-child(-n+2) .tile__art { height: 212px; } }
.tile__tags { position: absolute; top: 20px; left: 20px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.tile__body { display: grid; gap: 6px; padding: 16px 10px 8px; }
.tile h4, .tile h3 { font-size: var(--gg-text-2xl); font-weight: 800; letter-spacing: -.02em; }
.tile__body p { color: var(--gg-ink-2); font-size: var(--gg-text-md); line-height: 1.45; }
.tile__foot { display: grid; gap: 10px; padding: 4px 10px 10px; margin-top: auto; }
.tile__meta { font-size: var(--gg-text-sm); font-weight: 700; color: var(--gg-ink-3); }
.tile__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile .gg-btn { position: relative; z-index: 1; pointer-events: none; }
.tile .tile__guide { z-index: 2; pointer-events: auto; }
.tile__link .gg-btn { min-width: 112px; }

/* tile art drawn in code (kept from the first hub) */
.art-fan { display: flex; align-items: flex-end; justify-content: center; --gg-card-w: 62px; }
.art-fan .gg-card { margin-left: -22px; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); transform-origin: center 113px; transition: transform var(--gg-dur-lg) var(--gg-ease-spring); }
.art-fan .gg-card:first-child { margin-left: 0; }
@media (hover: hover) { .tile:hover .art-fan .gg-card { transform: translateY(calc(var(--y, 0px) - 6px)) rotate(calc(var(--r, 0deg) * 1.5)); } }
.art-crib { display: grid; gap: 14px; justify-items: center; }
.pegboard { display: flex; gap: 10px; align-items: center; padding: 8px 14px; background: var(--gg-sand); border: 2px solid var(--gg-ink); border-radius: var(--gg-r-pill); box-shadow: 2px 2px 0 var(--gg-green-950); }
.pegboard i { width: 7px; height: 7px; border-radius: var(--gg-r-pill); background: rgba(17,17,17,.55); }
.pegboard i.peg { width: 12px; height: 12px; border: 2px solid var(--gg-ink); background: var(--gg-lime); transform: translateY(-1px); }
.pegboard i.peg.b { background: var(--gg-butter); }
.art-gin { display: flex; gap: 16px; align-items: flex-end; }
.art-gin .meld { display: flex; --gg-card-w: 58px; }
.art-gin .meld .gg-card + .gg-card { margin-left: -24px; }
.art-gin .meld .gg-card { transition: transform var(--gg-dur-lg) var(--gg-ease-spring); }
@media (hover: hover) { .tile:hover .art-gin .meld:last-child .gg-card { transform: translateY(-6px); } }
.art-board { width: 148px; --cells: 4; transform: rotate(-4deg); box-shadow: 0 0 0 3px var(--gg-ink), 4px 4px 0 3px var(--gg-green-950); transition: transform var(--gg-dur-lg) var(--gg-ease-spring); overflow: hidden; }
@media (hover: hover) { .tile:hover .art-board { transform: rotate(2deg) scale(1.04); } }
.art-board > .gg-sq { border-radius: 0; }
.art-board .gg-piece { width: 25px; box-shadow: 0 2px 0 var(--gg-ink); }
.art-pot .pot { transform-origin: 300px 60px; transition: transform var(--gg-dur-lg) var(--gg-ease-spring); }
@media (hover: hover) { .tile:hover .art-pot .pot { transform: translate(14px, -8px) rotate(18deg); } }
.art-salt .salt-boat { animation: salt-bob calc(1600ms * var(--gg-time)) ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center bottom; }
.art-salt .salt-gull { animation: salt-glide calc(2600ms * var(--gg-time)) ease-in-out infinite alternate; }
@keyframes salt-bob { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-5px) rotate(2deg); } }
@keyframes salt-glide { from { transform: translate(0, 0); } to { transform: translate(18px, -6px); } }
@media (hover: hover) { .tile:hover .art-salt .salt-boat { animation-duration: calc(700ms * var(--gg-time)); } }
.art-pp .pp-fly { animation: pp-fly calc(2600ms * var(--gg-time)) ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.art-pp .pp-petals { animation: pp-petals calc(2600ms * var(--gg-time)) ease-in-out infinite alternate; }
@keyframes pp-fly { from { transform: translate(-40px, 24px); } to { transform: translate(4px, -4px); } }
@keyframes pp-petals { from { opacity: .35; transform: translateY(-4px); } to { opacity: 1; transform: translateY(4px); } }
.art-gnl .gnl-loco { offset-path: path('M110 70 L300 84 Q318 86 330 96 L480 150'); offset-rotate: auto; transform-box: view-box; animation: gnl-run calc(6000ms * var(--gg-time)) ease-in-out infinite alternate; }
.art-gnl .gnl-puff { animation: gnl-puff calc(1200ms * var(--gg-time)) ease-out infinite; transform-box: fill-box; transform-origin: center bottom; }
@keyframes gnl-run { from { offset-distance: 15px; } to { offset-distance: 370px; } }
@keyframes gnl-puff { from { transform: scale(.4); opacity: 1; } to { transform: translateY(-10px) scale(1.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .art-salt .salt-boat, .art-salt .salt-gull, .art-pp .pp-fly, .art-pp .pp-petals, .art-gnl .gnl-puff { animation: none; }
  .art-gnl .gnl-loco { animation: none; offset-distance: 190px; }
  .tile, .lp-rise { animation: none; }
}

/* ---------- play together ---------- */
.lp-card .site-link { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- pass teaser ---------- */
.hub-pass { display: grid; gap: 14px; background: var(--gg-lavender-100); border: var(--gg-border); border-radius: var(--gg-r-xl); box-shadow: var(--gg-shadow-lg); padding: 22px; }
.hub-pass h2 { font-size: var(--gg-text-2xl); }
.hub-pass p { color: var(--gg-ink-2); max-width: 60ch; }
.hub-pass .gg-btn { justify-self: start; }
@media (min-width: 900px) { .hub-pass { grid-template-columns: auto 1fr; align-items: center; gap: 14px 28px; padding: 28px 32px; } .hub-pass__icon { grid-row: span 4; } }
.hub-pass__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--gg-r-pill); background: var(--gg-paper); border: var(--gg-border); box-shadow: var(--gg-shadow-sm); }
.hub-pass__icon svg { width: 40px; height: 40px; }

/* ---------- footer ---------- */
.site-foot { margin-top: 32px; border-top: var(--gg-border); background: var(--gg-sand); padding: 24px 0 48px; }
.site-foot__nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (min-width: 760px) { .site-foot__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; } }
.site-foot__nav li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
.site-foot__nav .site-soon { min-height: 22px; padding: 2px 8px; }
.site-foot p { margin-top: 14px; color: var(--gg-ink-3); font-size: var(--gg-text-sm); }

/* ---------- page heads (games, about, terms) ---------- */
.site-intro { display: grid; gap: 12px; padding: 32px 0 12px; }
.site-intro .gg-lede { max-width: 46ch; }
@media (min-width: 900px) { .site-intro { padding: 56px 0 16px; } }
.site-prose { display: grid; gap: 14px; max-width: 68ch; }
.site-prose p, .site-prose li { color: var(--gg-ink-2); line-height: 1.6; }
.site-prose ul, .site-prose ol { margin: 0; padding-left: 24px; display: grid; gap: 8px; }
.site-prose b { color: var(--gg-ink); }
.site-prose a, .lp-card a, .site-intro a { font-weight: 700; text-underline-offset: 3px; }
.site-entity { font-size: var(--gg-text-lg); line-height: 1.55; color: var(--gg-ink); max-width: 60ch; }

/* about: live vs coming */
.site-live { display: grid; gap: 16px; }
@media (min-width: 760px) { .site-live { grid-template-columns: 1fr 1fr; } }

/* terms */
.terms-draft { display: grid; gap: 8px; background: var(--gg-pink-100); border: var(--gg-border); border-radius: var(--gg-r-lg); box-shadow: var(--gg-shadow-lg); padding: 18px 20px; }
.terms-draft b { font-family: var(--gg-font-display); font-weight: 800; font-size: var(--gg-text-lg); }
.terms-draft p { color: var(--gg-ink-2); }
.terms-sec { display: grid; gap: 12px; padding: 22px 0; border-bottom: 2px solid var(--gg-line); scroll-margin-top: 80px; }
.terms-sec h2 { font-size: var(--gg-text-xl); letter-spacing: -.02em; }
.terms-open { display: inline-flex; align-items: baseline; gap: 6px; padding: 1px 8px; border: 2px dashed var(--gg-ink-3); border-radius: var(--gg-r-sm); background: var(--gg-butter-100); color: var(--gg-ink); font-weight: 700; font-size: var(--gg-text-sm); }
.terms-note { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--gg-ink-3); font-weight: 700; font-size: var(--gg-text-sm); }

/* ---------- guides ---------- */
.crumbs ol { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: var(--gg-text-sm); font-weight: 700; color: var(--gg-ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--gg-ink-3); border-right: 2px solid var(--gg-ink-3); transform: rotate(45deg); margin: 0 6px 0 2px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gg-ink); text-underline-offset: 3px; }
.guide-hero { display: grid; gap: 14px; padding: 8px 0 20px; }
.guide-hero h1 { font-size: var(--gg-text-3xl); max-width: 20ch; }
.guide-hero .gg-lede { max-width: 60ch; font-size: var(--gg-text-md); }
@media (min-width: 900px) { .guide-hero .gg-lede { font-size: var(--gg-text-lg); } }
.guide-hero .gg-btn { justify-self: start; }
.guide-shot { margin: 0 0 8px; border: var(--gg-border); border-radius: var(--gg-r-lg); box-shadow: var(--gg-shadow-lg); overflow: hidden; background: var(--gg-sand); }
.guide-shot img { display: block; width: 100cqw; height: auto; }
.guide-shot-wrap { container-type: inline-size; }
.guide-shot figcaption { padding: 10px 14px; border-top: var(--gg-border); background: var(--gg-paper); font-size: var(--gg-text-sm); color: var(--gg-ink-3); font-weight: 700; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 4px; }
.guide-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: var(--gg-border); border-radius: var(--gg-r-pill); background: var(--gg-paper); font-weight: 700; font-size: var(--gg-text-sm); text-decoration: none; box-shadow: var(--gg-shadow-sm); }
.guide-sec { display: grid; gap: 14px; padding: 26px 0 6px; scroll-margin-top: 80px; }
.guide-sec h2 { font-size: var(--gg-text-2xl); }
.guide-sec h3 { font-size: var(--gg-text-lg); font-weight: 800; }
.guide-body { display: grid; gap: 12px; max-width: 70ch; }
.guide-body p, .guide-body li { color: var(--gg-ink-2); line-height: 1.6; }
.guide-body b { color: var(--gg-ink); }
.guide-body ul, .guide-body ol { margin: 0; padding-left: 24px; display: grid; gap: 8px; }
.guide-controls { display: grid; gap: 16px; }
@media (min-width: 760px) { .guide-controls { grid-template-columns: 1fr 1fr; } }
.guide-end { display: grid; gap: 14px; justify-items: start; margin-top: 28px; background: var(--gg-lime-100); border: var(--gg-border); border-radius: var(--gg-r-xl); box-shadow: var(--gg-shadow-lg); padding: 22px; }
.guide-end h2 { font-size: var(--gg-text-2xl); }
.guide-more { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-more a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: var(--gg-border); border-radius: var(--gg-r-pill); background: var(--gg-paper); font-weight: 700; font-size: var(--gg-text-sm); text-decoration: none; }

/* pass table */
.lp-table-wrap { background: var(--gg-paper); border: var(--gg-border); border-radius: var(--gg-r-xl); box-shadow: var(--gg-shadow-lg); overflow: hidden; }
.lp-table { border-collapse: collapse; width: 100cqw; font-size: var(--gg-text-sm); line-height: 1.4; }
.lp-table-wrap { container-type: inline-size; }
.lp-table th, .lp-table td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--gg-line); }
.lp-table tr:last-child th, .lp-table tr:last-child td { border-bottom: 0; }
.lp-table thead th { font-family: var(--gg-font-display); font-weight: 800; font-size: var(--gg-text-md); background: var(--gg-sand); border-bottom: var(--gg-border); }
.lp-table thead th:last-child { background: var(--gg-lime-100); }
.lp-table tbody th { font-weight: 700; color: var(--gg-ink); }
.lp-table td { color: var(--gg-ink-2); }
.lp-table td:last-child { background: var(--gg-lime-100); }
@media (min-width: 760px) { .lp-table th, .lp-table td { padding: 14px 18px; font-size: var(--gg-text-md); } }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-small { padding: 18px 20px; display: grid; gap: 8px; justify-items: start; border: 2px dashed var(--gg-ink-3); border-radius: var(--gg-r-lg); }
.lp-small p { color: var(--gg-ink-2); }

/* hero art motion: plant (also on the hub) and pass */
.pl-sprout { transform-box: fill-box; transform-origin: center bottom; animation: pl-sway calc(2100ms * var(--gg-time)) ease-in-out infinite alternate; }
.pl-petal { animation: pl-drift calc(5200ms * var(--gg-time)) ease-in-out infinite alternate; }
@keyframes pl-sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@keyframes pl-drift { from { transform: translate(0, 0); } to { transform: translate(10px, -8px); } }
@media (prefers-reduced-motion: reduce) { .pl-sprout, .pl-petal { animation: none; } }
.ps-card { transform-box: fill-box; transform-origin: center; animation: ps-float calc(2500ms * var(--gg-time)) ease-in-out infinite alternate; }
.ps-hat { transform-box: fill-box; transform-origin: center bottom; animation: ps-tip calc(1800ms * var(--gg-time)) ease-in-out infinite alternate; }
@keyframes ps-float { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-6px) rotate(-2deg); } }
@keyframes ps-tip { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .ps-card, .ps-hat { animation: none; } }
.ps-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
@media (min-width: 1000px) { .lp-steps--5 { grid-template-columns: repeat(5, 1fr); } }
.lp-step:nth-child(5)::before { background: var(--gg-green-100); }
/* review fixes 1 */
.gg-wordmark { min-height: 44px; }
.lp-sec > header p { max-width: 64ch; }
.lp-story .gg-btn, .gg-stack > .tag-planted, .lp-card > .tag-planted { align-self: flex-start; justify-self: start; }
.hub-h1 { font-size: clamp(38px, 10vw, 76px); }
@media (max-width: 420px) { .hub-hero__cta .gg-btn--lg { padding-inline: 20px; min-width: 0; } .hub-hero__cta { gap: 12px 10px; } }
.site-link { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
/* review fixes 2 */
.terms-open { display: inline; padding: 1px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.9; }
@media (max-width: 520px) { .site-foot__nav { grid-template-columns: 1fr; } .site-foot__nav li { flex-wrap: nowrap; } }
.hub-h1 .gg-mark { white-space: nowrap; }

/* Leaderboards in the app bar: icon on phones, icon + word from 640 px */
.site-lb { gap: 8px; padding: 0 14px; min-height: 44px; }
.site-lb span { display: none; }
@media (min-width: 640px) { .site-lb span { display: inline; } }
@media (max-width: 639.98px) { .site-lb { width: 44px; padding: 0; } }
@media (max-width: 420px) {
  .gg-appbar__actions { gap: 6px; }
  .gg-wordmark span { font-size: 19px; }
  .gg-wordmark svg { width: 28px; height: 28px; }
}
/* the smallest phones: the site pages' sound button gives way to Leaderboards (games keep theirs) */
@media (max-width: 380px) { .gg-appbar__actions #mute { display: none; } }
