/* Guildhall marketing site, v4: one dark Nordic language.
   Iron and charcoal grounds, bone text, silver plaques, one frost accent. Every section sits on
   the same tonal steps and uses the same panel surface; the app fragments (app.css) keep the
   product's own design and read as screens set into those panels. Type: Caesar Dressing, a
   rune-cut titling face, for the wordmark and the section titles only; Fira Sans for everything
   else. Light surfaces appear only inside the app where the app shows them. */

@font-face { font-family: "Caesar Dressing"; src: url(assets/fonts/CaesarDressing-Regular-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url(assets/fonts/FiraSans-Regular-subset.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url(assets/fonts/FiraSans-SemiBold-subset.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url(assets/fonts/FiraSans-Bold-subset.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* ========== tokens: the only values the page uses ========== */
:root {
  color-scheme: dark;
  /* grounds, three tonal steps */
  --g0: #121110;   /* the hall: hero, closing */
  --g1: #171614;   /* alternate rooms */
  --g2: #1c1b18;   /* panels */
  --g3: #23221e;   /* a panel inside a panel, hover */
  --line: #2f2d28; /* the panel hairline */
  --line-2: #413e37;
  /* inks */
  --bone: #e9e3d6;
  --bone-2: #aba59a; /* secondary text, 4.5:1 and better on every ground */
  --bone-3: #8f8a80; /* meta on g0/g1 only */
  --white: #f5f1e8;
  /* metal and the one accent */
  --silver: #c9ccd1;
  --silver-hi: #e2e4e7;
  --steel: #8f949b;
  --frost: #9fb8c6;
  --on-silver: #141210;

  --f-display: "Caesar Dressing", "Fira Sans", sans-serif;
  --f-text: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* type scale: display, title, heading, lead, body, small */
  --t-display: clamp(2.5rem, 4.6vw, 4.25rem);
  --t-title: clamp(1.75rem, 3vw, 2.5rem);
  --t-heading: 1.25rem;
  --t-lead: clamp(1.125rem, 1.35vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-price: clamp(3rem, 4.5vw, 4rem);

  /* space */
  --margin: clamp(1.25rem, 4vw, 4.25rem);
  --max: 78rem;
  --sec: clamp(4.5rem, 9vw, 7.5rem);
  --block: clamp(2.25rem, 4vw, 3.5rem);
  --gap: 1.25rem;
  --pad: clamp(1.25rem, 2vw, 1.5rem);
  --r: 6px;
  --r-card: 4.6% / 3.4%;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ========== base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--g0); color: var(--bone); font: 400 var(--t-body)/1.6 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tnum, .amount { font-variant-numeric: tabular-nums lining-nums; }
.nw { white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section-alt { background: var(--g1); }

.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 50; background: var(--silver); color: var(--on-silver); padding: .75rem 1rem; font-weight: 600; }
:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; }

/* ========== type roles ========== */
.h2 { font: 400 var(--t-title)/1.1 var(--f-display); color: var(--white); text-transform: uppercase; letter-spacing: .03em; text-wrap: balance; }
h3 { font: 600 var(--t-heading)/1.25 var(--f-text); color: var(--white); }
.lead { font-size: var(--t-lead); line-height: 1.55; max-width: 36em; margin-top: 1.25rem; color: var(--bone); }
.note { font-size: var(--t-small); color: var(--bone-2); }
/* fine print under pictures and panels: one quiet style */
.caption { font-size: .75rem; line-height: 1.45; color: var(--bone-2); }
.text-link { color: var(--frost); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.text-link:hover { color: var(--white); }

/* the diamond rule under every section title */
.orn { display: flex; align-items: center; gap: .6rem; color: var(--steel); margin-top: 1rem; }
.orn::before, .orn::after { content: ""; height: 1px; width: 2.5rem; background: currentColor; /* taste-skill-ignore: the ornament's short strokes */ }
.orn svg { width: 11px; height: 11px; fill: currentColor; }

/* ========== the one panel surface ========== */
.panel, .tile, .tier, .faq-list details, .offer, .ask { background: var(--g2); border: 1px solid var(--line); /* taste-skill-ignore: the panel hairline, one surface for the whole page */ border-radius: var(--r); }
.tile, .tier { padding: var(--pad); }

/* ========== buttons: plaques with chevron ends and a double outline ========== */
.btn { --plaque: var(--silver); --plaque-ink: var(--on-silver); --plaque-line: var(--on-silver); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 3.25rem; padding: .85rem 2.25rem; font: 600 .9375rem/1.2 var(--f-text); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--plaque-ink); background: var(--plaque-edge, var(--plaque)); clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 3px; z-index: -1; background: var(--plaque-line); clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%); }
.btn::after { content: ""; position: absolute; inset: 4px; z-index: -1; background: var(--plaque); clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 11px 100%, 0 50%); transition: background-color .2s; }
.btn:hover { --plaque: var(--silver-hi); }
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-s { min-height: 2.75rem; padding: .6rem 1.6rem; font-size: .8125rem; }
.btn-line { --plaque: var(--g0); --plaque-ink: var(--bone); --plaque-line: var(--silver); }
.btn-line:hover { --plaque: var(--silver-hi); --plaque-ink: var(--on-silver); --plaque-line: var(--on-silver); }
.panel .btn-line:not(:hover), .tier .btn-line:not(:hover) { --plaque: var(--g2); }
/* keyboard focus: the clip-path would hide an outside outline, so the plaque's outer band turns
   frost (3px) over a dark line, visible against the page and against every plaque fill */
.btn:focus-visible { outline: none; --plaque-edge: var(--frost); --plaque-line: var(--on-silver); }
@media (forced-colors: active) { .btn:focus-visible { outline: 3px solid Highlight; outline-offset: -4px; } }

/* ========== navigation ========== */
.nav-wrap { position: relative; z-index: 20; background: var(--g0); color: var(--bone); border-bottom: 1px solid var(--line); /* taste-skill-ignore: the bar's edge, part of the frame */ }
.nav { width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto; display: flex; align-items: center; gap: 2rem; padding-block: .9rem; }
.lockup { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--bone); }
.lockup-emblem { height: 56px; width: auto; }
.nav-links { display: flex; gap: 1.6rem; margin-left: 1rem; }
.nav-links a { text-decoration: none; font: 600 .9375rem/1 var(--f-text); padding-block: .6rem; color: var(--bone-2); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--white); border-bottom-color: var(--steel); }
.nav-actions { margin-left: auto; display: flex; gap: .6rem; }
/* Sign in is for players, not store owners: a quiet text link set apart from the two CTAs. Its copy in
   the menu shows only on phones, where the actions are hidden. */
.nav-signin-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-right: 1rem; padding: 0 .25rem; text-decoration: none; font: 600 .9375rem/1 var(--f-text); color: var(--bone-2); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-signin-link:hover { color: var(--white); border-bottom-color: var(--steel); }
.nav-signin { display: none; }
.nav-toggle { display: none; }

/* the inset frame and the diamond marks, from the reference */
.frame { position: fixed; inset: 12px; border: 1px solid rgba(233, 227, 214, .22); /* taste-skill-ignore: the inset frame line, from the reference */ pointer-events: none; z-index: 40; }
.marks { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 41; display: grid; gap: 8px; padding: 10px 5px; background: var(--g0); border: 1px solid rgba(233, 227, 214, .22); /* taste-skill-ignore: the indicator's frame, from the reference */ }
.marks a { display: grid; place-items: center; width: 18px; height: 18px; color: var(--steel); }
.marks svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: fill .2s, transform .2s var(--ease); }
.marks a[aria-current="true"] svg, .marks a:hover svg { fill: var(--silver-hi); stroke: var(--silver-hi); transform: scale(1.25); }

/* ========== hero: the wall, with the product in front of it ========== */
.hero { position: relative; background: var(--g0); color: var(--bone); padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; overflow: hidden; }
.hero-hall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .32; animation: settle 18s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--g0); opacity: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.hero-body { padding-bottom: clamp(3rem, 6vw, 5rem); padding-top: clamp(.5rem, 2vw, 2rem); }
.hero-h { font: 400 var(--t-display)/1.06 var(--f-display); color: var(--white); letter-spacing: .03em; text-transform: uppercase; max-width: 11em; }
.hero-h .line { display: block; overflow: hidden; }
.hero-h .line > span { display: block; }
.hero-lead { margin-top: 1.5rem; font-size: var(--t-lead); line-height: 1.55; max-width: 28em; color: var(--bone); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2rem; }

/* the apps note under the hero actions and the pricing: a link to /app. No store badges until the
   App Store and Google Play listings are live (see index.html). */
.app-note { margin-top: 1.75rem; }
.badges-note { font-size: var(--t-small); color: var(--bone-2); max-width: 32em; }
.badges-note a { color: var(--frost); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.badges-note a:hover { color: var(--white); }

/* The two devices are one composition drawn at a fixed size (760 by 720) and scaled to the column
   by --k (site.js measures the column; without script it shows at 1:1). The desktop's content
   column ends before the phone starts, so nothing is ever covered. */
.hero-product { position: relative; padding-top: .5rem; padding-bottom: 2.5rem; }
.stage { --k: 1; position: relative; width: 100%; max-width: 760px; height: calc(720px * var(--k)); margin-left: auto; }
.stage-inner { position: absolute; top: 0; left: 0; width: 760px; height: 720px; transform: scale(var(--k)); transform-origin: top left; }
.desk { position: absolute; left: 0; top: 0; width: 640px; }
.phone { position: absolute; left: 449px; top: 64px; z-index: 2; }
.product-note { margin-top: .75rem; max-width: 44em; margin-left: auto; text-align: right; }
@keyframes settle { from { transform: scale(1.04); } to { transform: scale(1); } }

/* ========== games: the fan above three tiles ========== */
.games-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hand { position: relative; aspect-ratio: 1.15; max-width: 26rem; margin-left: auto; }
.hand-card { position: absolute; width: 46%; aspect-ratio: 488 / 680; object-fit: cover; border-radius: var(--r-card); left: 50%; top: 50%; transform-origin: 50% 120%; animation: deal 1.1s var(--ease) both; animation-play-state: paused; }
.hand-card.c1 { --t: translate(-108%, -50%) rotate(-12deg); transform: var(--t); animation-delay: .1s; }
.hand-card.c2 { --t: translate(-50%, -58%) rotate(0deg); transform: var(--t); z-index: 1; animation-delay: .25s; }
.hand-card.c3 { --t: translate(8%, -50%) rotate(12deg); transform: var(--t); animation-delay: .4s; }
.hand.is-in .hand-card { animation-play-state: running; }
@keyframes deal { from { opacity: 0; transform: translate(-50%, -30%) rotate(0deg); } to { opacity: 1; transform: var(--t); } }
/* the logo wall: each logo sits in the same box, sized by visual weight, unaltered */
.logos-h { margin-top: var(--block); color: var(--bone-2); font-size: 1rem; }
.logos-h + .logos { margin-top: 1rem; }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--gap); }
.logos li { display: grid; place-items: center; min-height: 7.5rem; padding: 1.25rem 1.5rem; background: var(--g2); border: 1px solid var(--line); /* taste-skill-ignore: the panel hairline */ border-radius: var(--r); }
.logos-soon li { background: var(--g1); }
.logos img { width: auto; max-width: 100%; height: auto; max-height: 4.5rem; object-fit: contain; }
.logos-soon img { max-height: 3.75rem; }
.logos li:has(img[alt="Magic: The Gathering"]) img { max-height: 3.25rem; }
.logos li:has(img[alt="Flesh and Blood"]) img { max-height: 4.25rem; }
.logos li:has(img[alt="One Piece Card Game"]) img { max-height: 3rem; }
.logos li:has(img[alt="Yu-Gi-Oh! Trading Card Game"]) img { max-height: 3.5rem; }
.logos li:has(img[alt="Cyberpunk TCG"]) img { max-width: min(100%, 10rem); } /* a long mark: as wide as the others in the full-row tile */
.games-note { margin-top: 1rem; max-width: 60em; }

/* ========== what players get: the panels ========== */
.board { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); margin-top: var(--block); align-items: start; }
.board-col { display: grid; gap: var(--gap); }
.tile { display: flex; flex-direction: column; gap: 1.1rem; }
.tile-text p { margin-top: .4rem; color: var(--bone-2); max-width: 34em; }

/* ========== the live brand demo ========== */
.brand-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.field-label { display: block; font: 600 var(--t-body)/1.3 var(--f-text); margin: 2rem 0 .6rem; color: var(--bone); padding: 0; }
.brand-line { display: flex; align-items: baseline; gap: .25rem .6rem; flex-wrap: wrap; }
.swatches .field-label { margin-top: 0; }
.brand-input { font: 600 1.375rem/1.1 var(--f-text); color: var(--white); background: var(--g2); border: 1px solid var(--line-2); border-radius: var(--r); padding: .5rem .75rem; width: min(100%, 12em); }
.brand-gh { font: 400 1.375rem/1.1 var(--f-text); color: var(--bone-2); }
.swatches { margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.swatch { position: relative; display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; }
.swatch input[type="radio"] { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.swatch > span:not(.sr-only) { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .2s var(--ease); }
.swatch:hover > span:not(.sr-only) { transform: scale(1.06); }
.swatch input:checked + span { outline-color: var(--silver-hi); }
.swatch input:focus-visible + span { outline: 2px dashed var(--frost); outline-offset: 4px; }
.swatch-any { padding-left: .25rem; }
.swatch-any input[type="color"] { width: 2.75rem; height: 2.75rem; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.swatch-any span { font-size: 1rem; color: var(--bone); white-space: nowrap; }
.swatch-any input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.swatch-any input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.swatch-any input[type="color"]::-moz-color-swatch { border: 0; border-radius: 50%; }
.brand-note { margin-top: 1rem; color: var(--bone-2); font-size: 1rem; min-height: 3em; max-width: 34em; }

/* ========== built at a real store ========== */
.stores-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.stores-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border-radius: var(--r); }
.stores-photo figcaption { margin-top: .5rem; max-width: 44em; }
.ticks { display: grid; gap: .9rem; margin-top: 2rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; }
.ticks .i { margin-top: .3em; color: var(--frost); stroke-width: 2.5; }
.ticks strong { color: var(--white); }
.dash { margin-top: 2.25rem; }

/* ========== pricing: the one plan ========== */
.pricing-head { max-width: 46rem; }
.tiers { display: grid; grid-template-columns: minmax(0, 36rem); gap: var(--gap); margin-top: var(--block); align-items: stretch; }
@media (min-width: 68.01em) {
  .pricing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .pricing .tiers { margin-top: 0; }
}
.tier { display: flex; flex-direction: column; }
.tier h3 { color: var(--bone-2); }
.price-fig { display: flex; align-items: baseline; gap: .25rem; margin-top: 1rem; color: var(--white); }
.price-fig .cur { font: 400 calc(var(--t-price) * .5) / 1 var(--f-display); align-self: flex-start; margin-top: .3em; }
.price-fig .amount { font: 400 var(--t-price) / 1 var(--f-display); letter-spacing: .02em; }
.price-fig .per { font: 400 var(--t-body)/1.2 var(--f-text); color: var(--bone-2); margin-left: .5rem; }
.price-alt { margin-top: .75rem; color: var(--bone-2); }
.price-alt strong { color: var(--white); }
.plain-list { margin-top: 1.5rem; display: grid; gap: .5rem; }
.plain-list li { display: flex; gap: .75rem; align-items: flex-start; }
.plain-list .i { margin-top: .3em; color: var(--frost); stroke-width: 2.5; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier .plain-list { margin-bottom: 2rem; }

/* ========== FAQ ========== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-head { position: sticky; top: 2rem; }
.faq-art { margin-top: 2.5rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.faq-list { display: grid; gap: .5rem; }
.faq-list details { position: relative; transition: background-color .2s; }
.faq-list details[open] { background: var(--g3); }
.faq-list details[open]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--frost); border-radius: var(--r) 0 0 var(--r); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem var(--pad); font: 600 var(--t-body)/1.35 var(--f-text); color: var(--white); min-height: 4rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.75rem/1 var(--f-text); color: var(--steel); transition: transform .25s var(--ease), color .2s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--frost); }
.faq-list summary:hover { color: var(--frost); }
.faq-list details p { padding: 0 var(--pad) 1.35rem; max-width: 52ch; color: var(--bone); }

/* ========== the closing band ========== */
.contact { position: relative; background: var(--g0); color: var(--bone); padding-block: var(--sec); overflow: hidden; }
.contact-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: .14; }
.contact-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contact-crest { width: 3.75rem; height: auto; margin-bottom: 1.5rem; }
.contact-h { font: 400 clamp(2.125rem, 4.2vw, 3.5rem)/1.08 var(--f-display); color: var(--white); text-wrap: balance; max-width: 11em; text-transform: uppercase; letter-spacing: .03em; }
.offer { display: grid; margin-top: 2rem; max-width: 30rem; overflow: hidden; }
.offer li { padding: .7rem var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem 1rem; align-items: baseline; } /* the price drops under its label when both cannot fit (narrow, 200% text) */
.offer li + li { border-top: 1px solid var(--line); /* taste-skill-ignore: the panel's row rules */ }
.offer span { color: var(--bone-2); }
.offer strong { font: 600 var(--t-body)/1.2 var(--f-text); color: var(--white); white-space: nowrap; }
.contact .app-note { margin-top: 1.75rem; }
/* the front page's closing band: the two apps, then the web and the stores page as text links */
.get-actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2rem; }
.get-more { margin-top: 1.25rem; }
.get-more .i { vertical-align: -.2em; }

/* ========== footer ========== */
.footer { background: var(--g1); color: var(--bone-2); padding-block: 3.5rem 2.5rem; border-top: 1px solid var(--line); /* taste-skill-ignore: the frame's bottom rule */ }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: start; }
.footer-mark { font: 400 clamp(2.5rem, 5vw, 4rem)/.95 var(--f-display); color: var(--bone); text-decoration: none; text-transform: uppercase; letter-spacing: .04em; grid-row: span 2; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: flex-end; }
.footer-links a { text-decoration: none; color: var(--bone); padding-block: .4rem; display: inline-block; }
.footer-links a:hover { color: var(--frost); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal a { color: var(--bone-2); }
.credits { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 3rem; font-size: var(--t-small); line-height: 1.55; }
.credits strong { color: var(--bone); }
.credits a { color: var(--frost); }
.credits p:last-child { grid-column: 1 / -1; margin-top: 1rem; }

/* ========== motion ========== */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-h .line > span { animation: unmask .9s var(--ease) both; }
.js .hero-h .line:nth-child(2) > span { animation-delay: .11s; }
@keyframes unmask { from { transform: translateY(110%); } to { transform: none; } }
.js .hero-body > :not(.hero-h) { animation: rise .9s .5s var(--ease) both; }
.js .hero-product > * { animation: rise 1s var(--ease) both; }
.js .hero-product .desk { animation-delay: .35s; }
.js .hero-product .phone { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.xp span { animation: fill 1.4s .3s var(--ease) both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hand-card { opacity: 1; }
}

/* between 1088 and 1240px the column is too narrow for both devices: the phone alone, centered */
@media (max-width: 77.5em) {
  .hero-product .desk[data-ui] { display: none; }
  .stage { max-width: 311px; height: auto; margin-inline: auto; }
  .stage-inner { position: static; width: auto; height: auto; transform: none; }
  .phone { position: relative; left: auto; top: auto; margin-top: 1.5rem; }
  .product-note { text-align: center; margin-inline: auto; }
}

/* ========== tablet ========== */
@media (max-width: 68em) {
  .marks { display: none; }
  .frame { inset: 8px; }
  .nav-toggle { display: grid; place-items: center; margin-left: .25rem; width: 2.75rem; height: 2.75rem; background: none; border: 1px solid var(--silver); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 1.1rem; height: 2px; background: var(--bone); position: relative; content: ""; }
  .bars::before { position: absolute; top: -6px; }
  .bars::after { position: absolute; top: 6px; }
  .nav-links { display: none; position: absolute; top: 4.5rem; left: var(--margin); right: var(--margin); flex-direction: column; gap: 0; margin: 0; background: var(--g3); border: 1px solid var(--line-2); border-radius: var(--r); padding: .5rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); /* taste-skill-ignore: the open menu floats */ }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: .8rem 1rem; border: 0; color: var(--bone); }
  .nav-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .hero-body { padding-bottom: 1rem; }
  .hero-product { margin-top: .5rem; }
  .board, .tiers { grid-template-columns: minmax(0, 1fr); }
  .binder { max-width: 34rem; }
  .brand-grid, .stores-grid, .faq-grid, .contact-inner, .games-grid { grid-template-columns: minmax(0, 1fr); }
  .stores-photo img { aspect-ratio: 16 / 10; object-position: 50% 45%; }
  .faq-head { position: static; }
  .faq-art { display: none; }
  .hand { margin-inline: auto; max-width: 22rem; }
  .credits { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-mark { grid-row: auto; }
  .footer-links { justify-content: flex-start; }
}

/* ========== phone ========== */
@media (max-width: 47.99em) {
  .nav-actions { display: none; }
  .nav-signin { display: block; margin-top: .25rem; padding-top: .25rem; border-top: 1px solid var(--line-2); }
  .nav-toggle { margin-left: auto; }
  .nav { gap: 1rem; padding-block: .8rem; }
  .hero { padding-top: 1.5rem; }
  .hero-h { font-size: clamp(2.25rem, 10.5vw, 3rem); }
  .hero-lead { margin-top: 1rem; font-size: 1.0625rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-actions .btn { width: 100%; }
  /* the first screen reorders: title, lead, the action, then the phone, then the rest */
  .hero-grid { display: flex; flex-direction: column; }
  .hero-body, .hero-product { display: contents; }
  .hero-h { order: 1; } .hero-lead { order: 2; } .hero-actions { order: 3; } .stage { order: 4; } .product-note { order: 5; } .app-note { order: 6; }
  .hero-actions .btn-line { display: none; }
  .product-note { margin-top: .75rem; text-align: center; }
  .hero-product .desk[data-ui] { display: none; }
  .stage { max-width: 100%; }
  .phone { position: relative; margin: 1.5rem auto 0; }
  .app-note { margin-top: 1.5rem; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li { min-height: 6rem; padding: 1rem; }
  .logos-soon li:last-child { grid-column: 1 / -1; }
  .hand { max-width: 18rem; }
  .tile { padding: 1rem; }
  .tier .btn, .contact .btn { width: 100%; align-self: stretch; }
  .footer-links { gap: .25rem 1.25rem; }
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
}
