/*! © 2026 Papimo · Design Decky. All rights reserved. The code, texts, designs and images may not be copied or reused without permission. */
/* Design Decky website. Colours follow the app: deep navy, gold accent, rarity colours from the cards. */

/* ZT Nature (Zelowtype), the letter of the logo, used as in the app: Medium for text, Black for anything bold. */
@font-face { font-family: "ZT Nature"; src: url("assets/fonts/zt-nature-medium.ttf") format("truetype"); font-weight: 100 599; font-display: swap; }
@font-face { font-family: "ZT Nature"; src: url("assets/fonts/zt-nature-black.ttf") format("truetype"); font-weight: 600 1000; font-display: swap; }

:root {
  --bg: #0c0e14;
  --bg-alt: #11141d;
  --panel: #161b27;
  --line: #262d3e;
  --ink: #eef1f7;
  --dim: #9aa2b5;
  --gold: #d4ae3a;
  --gold-hi: #f0cf6a;
  --gold-ink: #1a1405;
  --radius: 16px;
  --display: "ZT Nature", "Gill Sans", "Gill Sans MT", Futura, system-ui, sans-serif;
  --body: "ZT Nature", "Gill Sans", "Gill Sans MT", Futura, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1140px, 100%); margin: 0 auto; padding: 0 20px; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 600;
  text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
/* holographic silver, like the pack: a silver base with a rainbow sheen gliding over it */
.btn-holo { position: relative; isolation: isolate; overflow: hidden; color: #14161d;
  background: linear-gradient(115deg, #e6e9f0 0%, #c4c9d4 22%, #f7f8fb 40%, #b8bec9 58%, #eef0f5 76%, #c7ccd6 100%);
  box-shadow: 0 8px 28px -8px rgba(177, 140, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn-holo::before { content: ""; position: absolute; inset: 0; z-index: -1; background-size: 260% 100%;
  background-image: linear-gradient(115deg, transparent 18%, rgba(247, 164, 200, .7) 30%, rgba(177, 140, 255, .7) 38%,
    rgba(127, 211, 255, .7) 46%, rgba(159, 240, 181, .7) 54%, rgba(255, 224, 122, .7) 62%, transparent 76%);
  animation: holoSheen 4.5s linear infinite; }
.btn-holo:hover { box-shadow: 0 12px 36px -8px rgba(177, 140, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn-holo:hover::before { animation-duration: 2s; }
@keyframes holoSheen { from { background-position: 100% 0; } to { background-position: -160% 0; } }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--dim); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 15px; }
.play { width: 20px; height: 20px; fill: currentColor; }
.soon { padding: 2px 8px; border-radius: 999px; background: rgba(212, 174, 58, .16); color: var(--gold-hi);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.btn.is-soon { cursor: default; color: var(--dim); }
.btn.is-soon:hover { transform: none; border-color: var(--line); }
.hero-try { display: inline-block; margin: -10px 0 26px; color: var(--dim); font-size: 15px; text-underline-offset: 3px; }
.hero-try:hover { color: var(--ink); }
.final .cta-row { justify-content: center; margin-bottom: 0; }

/* ─── Nav ─── */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(12, 14, 20, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { width: 118px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--dim); font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
/* the language menu (lang.js): a flag and code, opening a list of each language in its own name */
.lang-menu { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: none; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.lang-btn:hover { border-color: var(--dim); }
.lang-btn:focus-visible, .lang-list button:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
.lang-flag { display: flex; }
.flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex: none; }
.caret { width: 10px; height: 6px; fill: none; stroke: var(--dim); stroke-width: 1.6; }
.lang-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 170px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); }
.lang-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px;
  background: none; color: var(--ink); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.lang-list button:hover { background: rgba(255,255,255,.05); }
.lang-list button[aria-checked="true"]::after { content: "✓"; margin-left: auto; color: var(--gold); font-weight: 700; }

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px;
  background: radial-gradient(1000px 600px at 80% 20%, #1b2034 0%, transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 22px; }
.foil { background: linear-gradient(100deg, #f7a4c8, #b18cff 30%, #7fd3ff 55%, #9ff0b5 75%, #ffe07a);
  -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.lede { color: var(--dim); font-size: 19px; max-width: 34em; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.cta-row .btn-lg { padding: 15px 18px; font-size: 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--dim); font-size: 15px; }
.trust li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 7px; }

.hero-visual { position: relative; display: grid; justify-items: center; gap: 18px; }
.glow { position: absolute; inset: 10% 5%; border-radius: 50%; filter: blur(70px); opacity: .55;
  background: conic-gradient(from 90deg, #b18cff, #7fd3ff, #9ff0b5, #ffe07a, #f7a4c8, #b18cff); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { position: relative; width: min(300px, 72vw); aspect-ratio: 1 / 2; padding: 10px; border-radius: 42px;
  background: linear-gradient(145deg, #2c3346, #0f121a); box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-3deg); }
.screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #0a0c12; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.slide.is-on { opacity: 1; }
.dots { display: flex; gap: 8px; position: relative; }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s, width .2s; }
.dots button[aria-selected="true"] { background: var(--gold); width: 24px; border-radius: 5px; }

/* ─── Steps ─── */
.steps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); padding: 44px 0; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; margin: 0; padding: 0; }
.step-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; }
.step-n { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); font-weight: 700; }
.step-list h3 { font-size: 19px; align-self: end; }
.step-list p { color: var(--dim); font-size: 15px; }

/* ─── Sections ─── */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .split h2, .privacy h2, .final h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.section-head p:last-child, .split-copy p:last-child, .privacy p { color: var(--dim); font-size: 18px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(22, 27, 39, .78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(212, 174, 58, .5); transform: translateY(-3px); }
.feature svg { width: 36px; height: 36px; fill: var(--gold); margin-bottom: 18px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--dim); font-size: 16px; }

/* ─── Posters ─── */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.poster-fan { position: relative; aspect-ratio: 5 / 4; max-width: 580px; justify-self: center; width: 100%; }
.poster-fan img { position: absolute; width: 38%; border-radius: 4px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.8); }
.poster-fan img:nth-child(1) { left: 0; top: 16%; transform: rotate(-9deg); }
.poster-fan img:nth-child(2) { left: 20%; top: 4%; transform: rotate(-2deg); z-index: 1; }
.poster-fan img:nth-child(3) { left: 41%; top: 8%; transform: rotate(4deg); z-index: 2; }
.poster-fan img:nth-child(4) { right: 0; top: 20%; transform: rotate(10deg); z-index: 3; }
/* fewer than four posters: the fan moves over so it stays centred */
.poster-fan:not(:has(> img:nth-child(4))) { transform: translateX(9%); }
.poster-fan:not(:has(> img:nth-child(3))) { transform: translateX(19%); }

/* ─── Turning cards: the same float and flip as the card view in the app ─── */
.card-row { display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); margin-bottom: 18px; }
.card3d { width: clamp(150px, 24vw, 250px); aspect-ratio: 63 / 88; perspective: 1500px; padding: 0; border: 0;
  background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.card3d:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 8px; border-radius: 14px; }
.card-float { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d;
  animation: cardFloat 11s ease-in-out infinite; }
.card3d:nth-child(2) .card-float { animation-delay: -3.7s; }
.card3d:nth-child(3) .card-float { animation-delay: -7.3s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(-9px) rotateY(-13deg) rotateX(5deg); }
  50%      { transform: translateY(9px) rotateY(13deg) rotateX(-5deg); }
}
.card-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.3, .9, .3, 1); }
.card3d.flipped .card-flip { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 26px 50px -18px rgba(0,0,0,.85); }
.face.front { object-fit: cover; }
.face.back { transform: rotateY(180deg); background: url("assets/img/app-icon-light.svg") center / 46% no-repeat,
  radial-gradient(circle at 50% 40%, #262d44, #0f121a);
  box-shadow: inset 0 0 0 6px #2c3346, 0 26px 50px -18px rgba(0,0,0,.85); }
.face.back img { width: 100%; height: 100%; object-fit: cover; }
.card-hint { text-align: center; color: var(--dim); font-size: 14px; margin-bottom: 48px; }

/* ─── The wheel of cards behind the features (script.js) ─── */
.has-wheel { position: relative; overflow: hidden; }
.has-wheel > .wrap { position: relative; z-index: 1; }
.wheel { position: absolute; left: 50%; top: 100%; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity .6s ease; will-change: transform; animation: wheelSpin 180s linear infinite; }
.wheel.on { opacity: .2; }
@keyframes wheelSpin { to { transform: rotate(360deg); } }

/* ─── Rarity ─── */
.rarity { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.rarity li { display: flex; flex-direction: column; gap: 6px; padding: 20px 14px 18px; text-align: center;
  border-radius: 14px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--c); }
.rarity b { font-family: var(--display); font-size: 16px; color: var(--c); }
.rarity span { font-size: 14px; color: var(--dim); }
.r-common { --c: #8b93a7; }
.r-uncommon { --c: #7fcf9a; }
.r-rare { --c: #6aa8ff; }
.r-epic { --c: #b48cff; }
.r-legendary { --c: #e8bf45; }
.r-mythic { --c: #ff7a8a; box-shadow: 0 0 30px -10px #ff7a8a; }
.r-god { border-top-color: transparent; background:
  linear-gradient(var(--panel), var(--panel)) padding-box,
  linear-gradient(100deg, #f7a4c8, #b18cff, #7fd3ff, #9ff0b5, #ffe07a) border-box; border: 2px solid transparent; }
.r-god b { background: linear-gradient(100deg, #f7a4c8, #b18cff, #7fd3ff, #9ff0b5, #ffe07a); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── How many cards ─── */
.num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.num-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.num-label { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.num-big { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 68px); line-height: 1.05; margin: 10px 0 20px;
  background: linear-gradient(100deg, #f7a4c8, #b18cff 30%, #7fd3ff 55%, #9ff0b5 75%, #ffe07a);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-big sup { font-size: .5em; }
.num-list { margin: 0; padding-left: 18px; color: var(--dim); font-size: 16px; display: grid; gap: 8px; }
.num-list sup, .num-facts sup { font-size: .7em; line-height: 0; }
.num-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.num-facts p { padding: 20px 24px; border-radius: var(--radius); background: rgba(255,255,255,.03); color: var(--dim); font-size: 15px; }
.num-facts b { display: block; font-family: var(--display); font-size: 28px; color: var(--ink); margin-bottom: 2px; }
.num-close { margin-top: 40px; text-align: center; font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.6vw, 26px); }

/* ─── Privacy ─── */
.privacy { display: flex; gap: 36px; align-items: center; max-width: 860px; }
.privacy svg { flex: none; width: 88px; height: 88px; fill: var(--gold); }

/* ─── Requirements ─── */
.req-table { max-width: 860px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.req-row { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); }
.req-row:first-child { border-top: 0; }
.req-head { background: rgba(255,255,255,.03); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.req-row [role="rowheader"] { color: var(--dim); }
.req-note { max-width: 860px; margin: 20px auto 0; color: var(--dim); font-size: 15px; text-align: center; }
.req-note b { color: var(--ink); }

/* ─── Final CTA ─── */
.final { padding: 112px 0; text-align: center; background: radial-gradient(700px 400px at 50% 100%, #221d10 0%, transparent 70%), var(--bg); }
.final-inner { display: grid; justify-items: center; }
.final img { width: 88px; margin-bottom: 24px; border-radius: 22px; }
.final p { color: var(--dim); font-size: 18px; margin-bottom: 32px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--dim); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ─── Try a pack: the pack, dealing, and the tray of miniatures (script.js) ─── */
.demo { display: grid; gap: 18px; }
/* three columns, the outer two equal, so the pack and the card stay in the middle of the screen */
.demo-stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(28px, 4vw, 56px); min-height: clamp(420px, 60vh, 580px);
  outline: none; user-select: none; -webkit-user-select: none; }
.demo-stage:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: var(--radius); }
.table { grid-column: 2; display: grid; place-items: center; }
.table > * { grid-area: 1 / 1; }
.pack3d, .deal { width: clamp(190px, 24vw, 260px); }
.pack3d { aspect-ratio: 600 / 994; perspective: 1400px; cursor: pointer; transition: transform .2s; }
.demo[data-state="sealed"] .pack3d:hover { transform: scale(1.03); }
.pack-float { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: packFloat 7s ease-in-out infinite; }
@keyframes packFloat {
  0%, 100% { transform: translateY(-10px) rotateY(-15deg) rotateX(5deg); }
  50%      { transform: translateY(10px) rotateY(15deg) rotateX(-4deg); }
}
.pack-half { position: absolute; inset: 0; transition: transform .7s cubic-bezier(.3, .7, .3, 1), opacity .7s ease; }
.pack-half img { width: 100%; height: 100%; border-radius: 14px; filter: drop-shadow(0 24px 30px rgba(0,0,0,.6)); }
.pack-half.top { clip-path: inset(0 0 calc(100% - var(--cut, 46%)) 0); }
.pack-half.bottom { clip-path: inset(var(--cut, 46%) 0 0 0); }
.pack3d.cut .pack-float { animation-play-state: paused; }
.pack3d.cut .top { transform: translate(-10%, -45%) rotate(-14deg); opacity: 0; }
.pack3d.cut .bottom { transform: translate(8%, 50%) rotate(9deg); opacity: 0; }

.deal { display: grid; aspect-ratio: 63 / 88; perspective: 1500px; }
.deal-card { grid-area: 1 / 1; position: relative; cursor: grab; touch-action: pan-y;
  transition: transform .35s ease, opacity .35s ease; }
.deal-card:active { cursor: grabbing; }
.deal-card .card-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3, .9, .3, 1); }
.deal-card.flipped .card-flip { transform: rotateY(180deg); }
.deal-card.gone { opacity: 0; pointer-events: none; }

.tray { grid-column: 3; justify-self: start; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; width: min(100%, 400px); }
/* the slots themselves are invisible: they only hold each miniature's place */
.slot { aspect-ratio: 63 / 88; }
.slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; transform-origin: top left; box-shadow: 0 10px 20px -10px rgba(0,0,0,.8); animation: slotIn .35s both; }
@keyframes slotIn { from { opacity: 0; transform: translateX(-24px) scale(.7); } }
/* done: the pack's spot goes, and the tray grows into the overview */
.demo[data-state="done"] .demo-stage { grid-template-columns: minmax(0, 1100px); justify-content: center; }
.demo[data-state="done"] .table { display: none; }
.demo[data-state="done"] .tray { grid-column: 1; width: 100%; gap: 14px; }
.demo[data-state="done"] .slot img { border-radius: 8px; transition: border-radius .7s; }

.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; min-height: 52px; }
.demo-hint { color: var(--dim); font-size: 15px; }
.demo-count { padding: 6px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--dim); font-variant-numeric: tabular-nums; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.btn[type="button"] { font: inherit; font-weight: 600; color: inherit; cursor: pointer; }
.demo-bar .btn { padding: 12px 24px; }
/* what shows depends on where you are: sealed, open (dealing), done (the overview) */
.demo:not([data-state="sealed"]) [data-when="sealed"],
.demo:not([data-state="open"]) [data-when="open"],
.demo:not([data-state="done"]) [data-when="done"] { display: none; }
.demo[data-state="open"] .pack3d, .demo[data-state="done"] .pack3d { display: none; }
/* the deal sits on the same spot as the pack: until it has cards it must not catch the pack's click */
.demo:not([data-state="open"]) .deal { display: none; }

/* ─── Privacy policy page ─── */
.legal { max-width: 720px; padding: 72px 20px 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.legal .date { color: var(--dim); margin-bottom: 28px; }
.legal h2 { font-size: 21px; margin: 36px 0 8px; }
.legal p { color: #c9cfdc; }
.legal strong { color: var(--ink); }
.footer a { color: var(--dim); }
.footer a:hover { color: var(--ink); }
.footer-tm { flex-basis: 100%; margin-top: 6px; font-size: 12px; color: #6b7386; }

/* ─── Small screens ─── */
@media (max-width: 1000px) {
  .rarity { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .num-grid, .num-facts { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; gap: 22px; }
  .section { padding: 72px 0; }
  .demo-stage { grid-template-columns: minmax(0, 460px); justify-content: center; gap: 28px; }
  .table, .tray { grid-column: 1; }
  .tray { justify-self: stretch; width: 100%; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .rarity { grid-template-columns: repeat(2, 1fr); }
  .rarity li:last-child { grid-column: span 2; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .privacy { flex-direction: column; text-align: center; gap: 20px; }
  .req-row { grid-template-columns: 1fr 1fr; }
  .req-row > :first-child { grid-column: span 2; font-weight: 600; color: var(--ink); }
  .req-head > :first-child { display: none; }
  .brand img { width: 100px; }
  .card-row { gap: 10px; }
  .tray { gap: 5px; }
  .demo[data-state="done"] .tray { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pack3d, .deal { width: 58vw; }
  .card3d { width: 30vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none; transition: none; }
  html { scroll-behavior: auto; }
}
