/* TCG Stockpile website styles · Shannon Cain */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/static/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"); }

:root {
  /* Pokémon-inspired: electric yellow, Poké Ball red, royal blue, deep navy. */
  --navy: #16204a;
  --navy-2: #1c2e6b;
  --blue: #2a75bb;
  --blue-soft: #e4effb;
  --red: #d71f24;
  --red-deep: #ad171b;
  --yellow: #ffcb05;
  --yellow-soft: #fff6cc;
  --green: #1c9a57;
  --ink: #16204a;
  --ink-2: #47507a;
  --ink-3: #7a83a3;
  --bg: #ffffff;
  --bg-2: #f4f7fe;
  --line: #dfe4f0;
  --radius: 22px;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 30px 60px -30px rgba(22, 32, 74, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.04; font-weight: 860; font-stretch: 96%; }
h1 { font-size: clamp(40px, 7.6vw, 80px); }
h2 { font-size: clamp(32px, 5vw, 54px); }
h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.2; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13.5px; font-weight: 850; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #ffd9d0; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); margin: 18px 0 0; max-width: 36em; }
.muted { color: var(--ink-3); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 16px;
  font: inherit; font-weight: 800; font-size: 16.5px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn.red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(227, 53, 13, .8); }
.btn.red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn.yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(200, 150, 0, .9); }
.btn.yellow:hover { transform: translateY(-2px); background: #ffd633; }
.btn.line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn.line:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.btn.ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn.ghost:hover { background: rgba(255,255,255,.2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- header */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); box-shadow: 0 1px 0 var(--line); padding-top: env(safe-area-inset-top); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 870; font-size: 20px;
  letter-spacing: -.02em; font-stretch: 104%; }
.brand img { width: auto; height: 46px; }
@media (min-width: 900px) { .brand img { height: 58px; } .nav .wrap { min-height: 76px; } }
@media (max-width: 420px) { .brand img { height: 38px; } }
.nav-links { display: none; gap: 4px; margin-left: 20px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); background: var(--bg-2); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-end .signin { color: var(--navy); font-weight: 750; text-decoration: none; font-size: 15.5px; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--bg-2); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-menu { display: grid; gap: 4px; padding: 8px 16px 18px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu a { padding: 12px; border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 750; font-size: 18px; }
.mobile-menu a:hover { background: var(--bg-2); }
.mobile-menu[hidden] { display: none; }
@media (max-width: 420px) { .nav-end .signin { display: none; } .brand span { font-size: 18px; } }
@media (min-width: 900px) { .nav-links { display: flex; } .menu-btn, .mobile-menu { display: none !important; } }

/* ---------- hero */
.hero { position: relative; overflow: clip; color: #fff; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, #3a7fd0 0%, var(--navy-2) 45%, var(--navy) 100%); }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 1100px; height: 1100px; z-index: -1; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(255,203,5,.16) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent 72%); mask: radial-gradient(closest-side, #000 20%, transparent 72%);
  animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .wrap { display: grid; gap: 30px; align-items: center; padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 1.02fr 1fr; } .hero .wrap > :first-child { position: relative; z-index: 6; } }
.hero h1 .pop { color: var(--yellow); }
.hero .lead { color: #d9e3ff; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); margin-bottom: 20px; }
.badge-pill b { background: var(--yellow); color: var(--navy); border-radius: 999px; padding: 2px 9px; font-size: 12.5px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 15px; font-weight: 650; color: #c8d5fb; }
.checks span::before { content: "✓"; color: var(--yellow); font-weight: 900; margin-right: 7px; }
.hero.sub .wrap { padding: clamp(44px, 7vw, 84px) 0 clamp(50px, 8vw, 96px); }
.hero.sub h1 { font-size: clamp(38px, 6.6vw, 68px); }

/* the fanned deck of real cards */
.fan { position: relative; height: clamp(360px, 70vw, 600px); perspective: 1600px; }
.fan-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.fan .card { position: absolute; left: 50%; top: 52%; width: clamp(150px, 31vw, 270px); aspect-ratio: 600 / 825; border-radius: 4.6% / 3.4%;
  transform: translate(-50%, -50%) rotate(var(--r)) translate(var(--x), var(--y)); opacity: 0;
  animation: deal 1.1s var(--ease) forwards; animation-delay: var(--d); box-shadow: 0 30px 50px -18px rgba(0,0,0,.55); overflow: hidden; }
.fan .card img { width: 100%; height: 100%; object-fit: cover; }
@keyframes deal { from { opacity: 0; transform: translate(-50%, 30%) rotate(0deg) scale(.85); } to { opacity: 1; } }
.card .shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .45;
  background: radial-gradient(farthest-corner circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.7) 0%, rgba(255,255,255,.1) 28%, transparent 55%),
    repeating-linear-gradient(115deg, transparent 0 7%, rgba(255,240,120,.25) 10%, rgba(120,200,255,.25) 13%, rgba(255,140,200,.2) 16%, transparent 19%);
  background-size: 100% 100%, 250% 250%; background-position: center, var(--hx, 50%) var(--hy, 50%); }
.tag { position: absolute; z-index: 5; padding: 12px 16px; border-radius: 16px; background: #fff; color: var(--navy); box-shadow: var(--shadow);
  font-size: 13px; font-weight: 700; opacity: 0; animation: pop .7s var(--ease) forwards; animation-delay: var(--d); }
.tag b { display: block; font-size: 22px; font-weight: 870; letter-spacing: -.02em; }
.tag .up { color: var(--green); font-weight: 850; }
.tag.t1 { left: 0; top: 8%; --d: 1.4s; } .tag.t2 { right: 0; bottom: 6%; --d: 1.65s; }
.tag.t2 b { color: var(--red); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- sections */
section.block { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
section.alt { background: var(--bg-2); }
section.dark { background: var(--navy); color: #fff; }
section.dark .lead, section.dark p { color: #c8d5fb; }
section.yellow { background: var(--yellow); }
.head { max-width: 760px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lead { margin-inline: auto; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-top: -46px; position: relative; z-index: 3; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: 22px 20px; }
.stat b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 880; letter-spacing: -.03em; line-height: 1.05; color: var(--navy); }
.stat span { color: var(--ink-2); font-weight: 650; font-size: 15px; }
.stat:nth-child(1) b { color: var(--red); } .stat:nth-child(2) b { color: var(--blue); }

/* card marquee */
.marquee { overflow: hidden; padding: 30px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { width: clamp(120px, 15vw, 170px); border-radius: 8px; box-shadow: 0 16px 30px -16px rgba(22,32,74,.55); transition: transform .35s var(--ease); }
.marquee img:hover { transform: translateY(-8px) rotate(-2deg) scale(1.04); }
@keyframes slide { to { transform: translateX(-50%); } }

/* steps */
.steps { display: grid; gap: 22px; margin-top: 50px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps.four { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 24px 0; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  display: flex; flex-direction: column; }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--navy); background: var(--yellow); margin-bottom: 14px; }
.step:nth-child(2) .n { background: var(--red); color: #fff; } .step:nth-child(3) .n { background: var(--blue); color: #fff; }
.step:nth-child(4) .n { background: var(--green); color: #fff; }
.step p { color: var(--ink-2); margin: 8px 0 22px; }
.step .peek { margin-top: auto; margin-inline: auto; width: min(260px, 82%); border-radius: 26px 26px 0 0; overflow: hidden;
  box-shadow: 0 0 0 8px #10173a, 0 30px 50px -20px rgba(22,32,74,.6); transform: translateY(14px); transition: transform .5s var(--ease); }
.step:hover .peek { transform: translateY(0); }
.step .peek img { aspect-ratio: 780 / 1100; object-fit: cover; object-position: top; }

/* device frames */
.phone { position: relative; width: min(320px, 78vw); border-radius: 46px; padding: 11px; background: #10173a; box-shadow: var(--shadow), inset 0 0 0 2px #2a3566; }
.phone::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; width: 30%; height: 22px; border-radius: 20px; background: #10173a; transform: translateX(-50%); }
.phone img { border-radius: 36px; width: 100%; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -40px rgba(22,32,74,.55), 0 0 0 1px var(--line); }
.browser .bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #edf1fa; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #f26b5b; }
.browser .bar i:nth-child(2) { background: #f6c142; } .browser .bar i:nth-child(3) { background: #50c46a; }
.browser .bar span { margin-left: 12px; flex: 1; max-width: 360px; height: 24px; border-radius: 8px; background: #fff; font-size: 12.5px; color: var(--ink-3);
  display: flex; align-items: center; padding: 0 10px; font-weight: 600; }

/* feature rows */
.feature { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1fr; gap: 80px; } .feature.flip > :first-child { order: 2; } }
.feature + .feature { margin-top: clamp(80px, 11vw, 140px); }
.feature .visual { display: flex; justify-content: center; position: relative; }
.feature .visual::before { content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: var(--glow, var(--yellow-soft)); }
.feature .visual.red { --glow: #ffe1d9; } .feature .visual.blue { --glow: var(--blue-soft); } .feature .visual.green { --glow: #d9f3e5; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--ink-2); }
.points li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2316204a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.points b { color: var(--navy); }
.duo { display: flex; gap: 18px; align-items: flex-end; justify-content: center; }
.duo .phone { width: min(250px, 44vw); }
.duo .phone:nth-child(2) { transform: translateY(-40px); }

/* tiles */
.tiles { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); overflow: hidden; }
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.tile .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--c, var(--yellow)); color: var(--ic, var(--navy)); }
.tile .ico svg { width: 26px; height: 26px; }
.tile p { color: var(--ink-2); margin: 8px 0 0; }
.tile.r { --c: var(--red); --ic: #fff; } .tile.b { --c: var(--blue); --ic: #fff; } .tile.g { --c: var(--green); --ic: #fff; } .tile.n { --c: var(--navy); --ic: var(--yellow); }

/* split: collectors vs shops */
.split { display: grid; gap: 18px; margin-top: 46px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.panel { border-radius: 28px; padding: clamp(26px, 4vw, 40px); position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; }
.panel.collect { background: var(--yellow); }
.panel.shop { background: var(--navy); color: #fff; }
.panel.shop p { color: #c8d5fb; }
.panel h3 { font-size: clamp(26px, 3.4vw, 36px); }
.panel p { max-width: 30em; }
.panel .shot { margin-top: auto; margin-bottom: calc(clamp(26px, 4vw, 40px) * -1); align-self: center; width: min(420px, 100%); transform: translateY(16px); transition: transform .5s var(--ease); }
.panel:hover .shot { transform: translateY(0); }
.panel.collect .shot { display: flex; gap: 10px; justify-content: center; }
.panel.collect .shot img { width: 31%; border-radius: 7px; box-shadow: 0 20px 34px -16px rgba(22,32,74,.6); }
.panel.collect .shot img:nth-child(2) { transform: translateY(-18px) rotate(2deg); } .panel.collect .shot img:first-child { transform: rotate(-3deg); }
.panel.shop .shot img { border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }

/* sources */
.sources { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.source { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.source b { display: block; font-size: 18px; color: #fff; margin-bottom: 4px; }

/* pricing */
.toggle { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); margin-top: 28px; }
.toggle button { font: inherit; font-weight: 800; font-size: 15px; color: var(--ink-2); background: none; border: 0; padding: 10px 16px; border-radius: 10px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.toggle small { color: var(--green); font-weight: 850; }
.toggle button[aria-pressed="true"] small { color: var(--yellow); }
.tiers { display: grid; gap: 18px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.tier { position: relative; padding: 30px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; flex-direction: column; gap: 14px; }
.tier.hot { box-shadow: inset 0 0 0 3px var(--red), var(--shadow); }
.tier .flag { position: absolute; top: -14px; left: 26px; padding: 5px 13px; border-radius: 99px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 850; }
.tier .amt { font-size: 54px; font-weight: 890; letter-spacing: -.035em; line-height: 1; }
.tier .amt small { font-size: 16px; font-weight: 650; color: var(--ink-3); letter-spacing: 0; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); flex: 1; }
.tier li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.tier li::before { content: "✓"; color: var(--green); font-weight: 900; }
.tier .btn { width: 100%; }
.compare { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 15.5px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--bg-2); font-size: 14px; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .y { color: var(--green); font-weight: 900; } .compare .n { color: var(--ink-3); }
.compare-wrap { overflow-x: auto; }

/* faq */
.faq { margin-top: 36px; display: grid; gap: 10px; max-width: 840px; }
details { border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--red); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--ink-2); }

/* closing */
.closing { text-align: center; background: radial-gradient(90% 120% at 50% 0%, #ffe066 0%, var(--yellow) 60%); }
.closing h2 { max-width: 15em; margin-inline: auto; }
.closing .cta { justify-content: center; }
.closing .mini-fan { display: flex; justify-content: center; margin-bottom: 30px; }
.closing .mini-fan img { width: clamp(80px, 12vw, 120px); border-radius: 7px; box-shadow: 0 20px 34px -14px rgba(22,32,74,.55); margin: 0 -14px; }
.closing .mini-fan img:nth-child(1) { transform: rotate(-12deg) translateY(16px); } .closing .mini-fan img:nth-child(2) { transform: rotate(-5deg) translateY(4px); }
.closing .mini-fan img:nth-child(3) { z-index: 2; transform: translateY(-6px) scale(1.08); } .closing .mini-fan img:nth-child(4) { transform: rotate(5deg) translateY(4px); }
.closing .mini-fan img:nth-child(5) { transform: rotate(12deg) translateY(16px); }

/* ---------- footer */
footer { background: var(--navy); color: #aab6dd; padding: 60px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14.5px; }
footer .cols { display: grid; gap: 30px; }
@media (min-width: 800px) { footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
footer a { color: #d9e3ff; text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: var(--yellow); }
footer .brand { color: #fff; margin-bottom: 12px; }
footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

/* ---------- legal pages */
.doc { max-width: 760px; }
.doc h2 { font-size: 24px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }

/* ---------- reveals */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .reveal { opacity: 1; transform: none; transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
}
.notice { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 650; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fan .card, .tag, .reveal { opacity: 1 !important; }
  .tag, .reveal { transform: none !important; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
}

/* centering illustration */
.centering { position: relative; margin: 0; width: min(300px, 70vw); }
.centering img { border-radius: 4.6% / 3.4%; box-shadow: var(--shadow); }
.centering .cl { position: absolute; background: var(--red); box-shadow: 0 0 10px rgba(227,53,13,.6); }
.centering .cl.l, .centering .cl.r { top: 0; bottom: 0; width: 2px; } .centering .cl.l { left: 4.1%; } .centering .cl.r { right: 3.8%; }
.centering .cl.t, .centering .cl.b { left: 0; right: 0; height: 2px; } .centering .cl.t { top: 3.3%; } .centering .cl.b { bottom: 2.9%; }
.centering .cbadge { position: absolute; padding: 8px 12px; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 800; font-size: 13.5px; box-shadow: var(--shadow); white-space: nowrap; }
.centering .lr { left: -18%; top: 30%; } .centering .tb { right: -16%; bottom: 18%; }
@media (max-width: 520px) { .centering .lr { left: -4%; } .centering .tb { right: -4%; } }

/* ---------- page transitions: an encounter-style iris between pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s ease both; }
::view-transition-new(root) { animation: vt-in .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: .4; filter: brightness(1.8) saturate(.6); } }
@keyframes vt-in { from { clip-path: circle(0% at 50% 45%); } to { clip-path: circle(150% at 50% 45%); } }

/* ---------- catch demo */
.catch { background: linear-gradient(180deg, #fff 0%, #eaf6ec 55%, #d7f0dc 100%); overflow: hidden; }
.catch-game { margin-top: 40px; display: grid; gap: 22px; }
.catch-field { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 3vw, 34px); align-items: end; padding: 30px clamp(8px, 3vw, 40px) 10px;
  border-radius: 30px; background: radial-gradient(120% 80% at 50% 100%, #9fdcab 0%, #c9ecd0 45%, #eef8f0 100%); box-shadow: inset 0 0 0 1px #cfe9d4; }
.catch-card { position: relative; border: 0; padding: 0 0 16px; background: none; cursor: pointer; transition: transform .3s var(--ease); }
.catch-card img { position: relative; z-index: 1; border-radius: 7px; box-shadow: 0 18px 28px -14px rgba(22,32,74,.55); animation: idle 3.2s ease-in-out infinite; animation-delay: var(--i, 0s); }
.catch-card:nth-child(2) img { --i: -.8s; } .catch-card:nth-child(3) img { --i: -1.6s; } .catch-card:nth-child(4) img { --i: -2.4s; }
@keyframes idle { 50% { transform: translateY(-6px); } }
.catch-card .plat { position: absolute; left: 4%; right: 4%; bottom: 0; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, #7cc98a, #5fb06e 70%, transparent 72%); }
.catch-card:hover img, .catch-card:focus-visible img { animation-play-state: paused; transform: translateY(-10px) scale(1.03); }
.catch-card.caught { cursor: default; } .catch-card.caught img { visibility: hidden; }
.catch-card[disabled] { cursor: default; }
.catch-msg { text-align: center; margin: 0; font-weight: 850; font-size: clamp(18px, 2.4vw, 22px); color: var(--navy); min-height: 1.6em; }
.catch-msg.good { color: var(--green); } .catch-msg.bad { color: var(--red); } .catch-msg.shiny { color: #c28a00; }
.catch-tray { background: #fff; border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.tray-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tray-head > b { font-size: 18px; }
.tray-total { font-size: 22px; color: var(--green); font-variant-numeric: tabular-nums; }
.tray-cards { display: flex; gap: 10px; margin-top: 12px; min-height: 92px; align-items: center; flex-wrap: wrap; }
.tray-cards .mini { position: relative; width: 64px; }
.tray-cards .mini img { border-radius: 4px; box-shadow: 0 8px 14px -8px rgba(22,32,74,.6); animation: fx-in .5s cubic-bezier(.3,1.4,.5,1) both; }
.tray-cards .mini .shiny-tag { position: absolute; top: -8px; right: -8px; padding: 2px 6px; border-radius: 7px; background: var(--yellow); color: var(--navy); font-size: 11px; font-weight: 900; }
@keyframes fx-in { from { transform: scale(.3) translateY(20px); opacity: 0; } }
.tray-empty { color: var(--ink-3); }
.tray-done { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.tray-done b { font-size: 18px; color: var(--navy); margin-right: auto; }
@media (max-width: 560px) { .catch-field { padding-top: 22px; } .tray-done b { width: 100%; } }

/* ---------- XXL / XS */
.size-stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 6vw, 90px); align-items: end; justify-items: center; margin: 50px auto 0; max-width: 820px; min-height: clamp(320px, 52vw, 520px); }
.size-card { margin: 0; display: grid; justify-items: center; gap: 18px; }
.size-card .sc { position: relative; width: clamp(130px, 26vw, 250px); transform-origin: 50% 100%; }
.size-card .sc img { border-radius: 4.6% / 3.4%; box-shadow: var(--shadow); }
.size-card figcaption { text-align: center; color: var(--ink-2); font-weight: 650; display: grid; justify-items: center; gap: 4px; font-size: 15px; }
.size-card figcaption b { font-size: clamp(24px, 3.4vw, 34px); font-weight: 880; color: var(--navy); letter-spacing: -.02em; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 850; color: #fff; }
.pill.blue { background: var(--blue); } .pill.red { background: var(--red); }
.center-row { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.small { font-size: 13.5px; }

/* ---------- evolution */
.evo-wrap { display: grid; justify-items: center; gap: 18px; }
.evo-stage { position: relative; width: min(300px, 70vw); aspect-ratio: 600 / 825; display: grid; place-items: center; }
.evo-stage::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(120,170,255,.35), transparent 70%); }
.evo-stage img { position: relative; width: 100%; border-radius: 4.6% / 3.4%; box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); }
.evo-msg { margin: 0; min-height: 3.2em; padding: 12px 18px; border-radius: 14px; background: #fff; color: var(--navy) !important; font-weight: 800; text-align: center;
  width: min(360px, 90vw); box-shadow: inset 0 0 0 3px var(--navy-2), 0 0 0 4px #fff; }

/* hero sparkle trail */
.trail { position: fixed; z-index: 40; width: 12px; height: 12px; pointer-events: none; color: var(--yellow); transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 6px rgba(255, 220, 90, .9)); }
.trail svg { width: 100%; height: 100%; display: block; }
.catch-card .sitting { position: absolute; z-index: 2; left: 50%; bottom: 8px; width: 34%; max-width: 46px; transform: translateX(-50%);
  filter: drop-shadow(0 6px 6px rgba(0,0,0,.3)); animation: sit .5s cubic-bezier(.3,1.5,.5,1) both; }
.catch-card .sitting svg { width: 100%; height: auto; display: block; filter: brightness(.82); }
@keyframes sit { from { transform: translate(-50%, -30px) scale(.6); opacity: 0; } }

/* ---------- pinned scroll scenes */
.scrolly, .sizes-scrub, .evo-scrub { position: relative; }
.scrolly { height: 340vh; background: radial-gradient(90% 70% at 70% 40%, #2c5aa8 0%, var(--navy-2) 50%, var(--navy) 100%); color: #fff; }
.sizes-scrub { height: 230vh; background: #fff; }
.evo-scrub { height: 360vh; background: var(--navy); color: #fff; }
.scrolly-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.scrolly-pin.dark .lead, .scrolly-pin.dark p { color: #c8d5fb; }
.scrolly-grid { display: grid; gap: 10px; align-items: center; height: 100%; grid-template-rows: auto 1fr; padding: 80px 0 24px; }
@media (min-width: 960px) { .scrolly-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; padding: 0; gap: 60px; } }
.beats { position: relative; min-height: 250px; }
@media (min-width: 960px) { .beats { min-height: 320px; } }
.beat { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(24px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.beat.on { opacity: 1; transform: none; pointer-events: auto; }
.beat .kicker { color: var(--yellow); } .beat .kicker::before { background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,203,5,.3); }
.beat .lead { color: #c8d5fb; }
.beat h2 { font-size: clamp(30px, 5vw, 56px); }
.sc-stage { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; }
.sc-card { width: min(300px, 46vw, 34vh); border-radius: 4.6% / 3.4%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); will-change: transform, filter, opacity; }
.sc-ball { position: absolute; left: 0; top: 0; z-index: 3; will-change: transform; filter: drop-shadow(0 10px 12px rgba(0,0,0,.4)); }
.sc-ball svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sc-beam { position: absolute; z-index: 2; transform: translateX(-50%); opacity: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,120,90,.6) 45%, rgba(255,255,255,0)); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); }
.sc-entry { position: absolute; z-index: 4; left: 50%; bottom: 8%; translate: -50% 0; display: flex; gap: 14px; align-items: center; padding: 12px 18px 12px 12px;
  border-radius: 18px; background: #fff; color: var(--navy); box-shadow: var(--shadow); opacity: 0; width: max-content; max-width: 92%; }
.sc-entry img { width: 52px; border-radius: 4px; }
.sc-entry div { display: grid; gap: 1px; font-size: 13.5px; color: var(--ink-2); }
.sc-entry b { font-size: 17px; color: var(--navy); }
.sc-entry .v { font-size: 20px; font-weight: 880; color: var(--navy); }
.sc-entry em { font-style: normal; font-size: 13px; color: var(--green); margin-left: 6px; }
.sizes-scrub .scrolly-pin > .wrap { padding: 70px 0 20px; }
.sizes-scrub .size-stage { margin-top: 30px; min-height: auto; }
[data-scrub] .fx-size { opacity: 0; transform: scale(0) rotate(-20deg); transition: transform .45s cubic-bezier(.3,1.5,.5,1), opacity .2s; }
[data-scrub] .fx-size.in { opacity: 1; transform: rotate(-4deg); }
.evo-flash { position: absolute; inset: -40%; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.92) 32%, rgba(255,255,255,0) 70%); }
.evo-scrub .evo-stage img { transition: transform .12s ease; }
@media (max-width: 959px) {
  .evo-scrub .feature { gap: 18px; } .evo-scrub .feature .lead { font-size: 16px; }
  .evo-scrub .evo-stage { width: min(220px, 48vw, 34vh); }
  .evo-scrub h2 { font-size: clamp(28px, 8vw, 40px); }
}

/* ---------- egg */
.hatch-wrap { display: grid; justify-items: center; gap: 16px; }
.hatch-stage { position: relative; width: min(260px, 64vw); aspect-ratio: 600 / 825; display: grid; place-items: center; }
.fx-egg { position: absolute; width: 62%; transform-origin: 50% 90%; filter: drop-shadow(0 18px 18px rgba(22,32,74,.3)); }
.fx-egg svg { width: 100%; display: block; }
.fx-crack { stroke-dasharray: 100; stroke-dashoffset: 100; }
.hatch-card { position: absolute; inset: 0; opacity: 0; transform: scale(.3); transition: transform .6s cubic-bezier(.3,1.4,.5,1), opacity .3s; }
.hatch-card.out { opacity: 1; transform: none; }
.hatch-card img { border-radius: 4.6% / 3.4%; box-shadow: var(--shadow); }
.new-badge { position: absolute; top: -12px; right: -12px; padding: 6px 12px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 900; font-size: 18px;
  transform: rotate(6deg); box-shadow: 0 8px 18px -6px rgba(0,0,0,.45); }
.egg-section .evo-msg { box-shadow: inset 0 0 0 3px var(--navy-2), 0 0 0 4px #fff, var(--shadow); }

/* ---------- throw rings and XP */
.catch-card .ring { position: absolute; z-index: 2; left: 50%; top: 34%; width: 74%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  border: 5px solid #4ccf62; box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 12px rgba(76,207,98,.7);
  transform: translate(-50%, -50%) scale(1); animation: ring 1.8s linear infinite; }
.catch-card::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 34%; width: 80%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  border: 3px solid rgba(255,255,255,.95); transform: translate(-50%, -50%); box-shadow: 0 0 10px rgba(0,0,0,.25); }
.catch-card.caught::after, .catch-card.thrown::after { visibility: hidden; }
@keyframes ring {
  0% { transform: translate(-50%, -50%) scale(1); border-color: #4ccf62; }
  50% { border-color: #ffcb05; }
  100% { transform: translate(-50%, -50%) scale(.22); border-color: #ff7a2a; }
}
.catch-card.caught .ring, .catch-card.thrown .ring { visibility: hidden; }
.xp-pop { position: fixed; z-index: 9998; pointer-events: none; display: grid; justify-items: center; text-align: center; white-space: nowrap; }
.xp-pop b { font-size: clamp(30px, 6vw, 46px); font-weight: 900; letter-spacing: -.02em; -webkit-text-stroke: 2px #16204a; paint-order: stroke fill; text-shadow: 0 5px 0 #16204a; }
.xp-pop.nice b { color: #fff; } .xp-pop.great b { color: #ffcb05; } .xp-pop.ex b { color: #ff7a2a; }
.xp-pop span { margin-top: 6px; padding: 4px 10px; border-radius: 99px; background: #16204a; color: #fff; font-weight: 800; font-size: 14px; }
.tray-xp { color: var(--blue); }

/* ---------- the ball that scrolls with you */
.buddy { position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 58px; height: 58px; padding: 0; border: 0;
  border-radius: 50%; background: #fff; box-shadow: 0 12px 26px -10px rgba(22,32,74,.55); cursor: pointer; display: grid; place-items: center;
  opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .3s, transform .35s cubic-bezier(.3,1.4,.5,1); pointer-events: none; }
.buddy.show { opacity: 1; transform: none; pointer-events: auto; }
.buddy-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.buddy-ring circle { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.buddy-ball { width: 40px; height: 40px; display: block; }
.buddy-ball svg { width: 100%; height: 100%; display: block; overflow: visible; }
.buddy.caught::after { content: "Gotcha!"; position: absolute; right: 64px; top: 50%; transform: translateY(-50%); padding: 6px 12px; border-radius: 10px;
  background: var(--navy); color: var(--yellow); font-weight: 900; white-space: nowrap; animation: fx-in .4s cubic-bezier(.3,1.4,.5,1) both; }
@media (max-width: 560px) { .buddy { width: 50px; height: 50px; } .buddy-ball { width: 34px; height: 34px; } }

/* ---------- words rising into place */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.words.in .w > span { transform: none; }
.btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, translate .25s var(--ease); }
section.dark .points li { color: #c8d5fb; }
section.dark .points b { color: #fff; }

footer .brand img { height: 64px; width: auto; }
/* ---------- brand page */
.brand-grid { display: grid; gap: 16px; margin-top: 30px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.brand-grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.brand-tile { margin: 0; border-radius: 22px; overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.brand-tile > img { padding: 34px; max-height: 300px; object-fit: contain; margin: auto; width: 100%; }
.brand-tile:not(.light):not(.dark) > img { padding: 0; max-height: none; object-fit: cover; }
.brand-tile.square > img { aspect-ratio: 1; max-height: 340px; }
.brand-tile.light { background: #fff; } .brand-tile.dark { background: var(--navy); }
.brand-tile figcaption { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 18px; background: #fff; border-top: 1px solid var(--line); font-weight: 750; color: var(--navy); }
.dl { display: inline-flex; gap: 6px; align-items: baseline; margin-left: auto; padding: 6px 12px; border-radius: 10px; background: var(--navy); color: #fff; text-decoration: none; font-size: 14px; }
.dl + .dl { margin-left: 0; }
.dl small { color: var(--yellow); font-weight: 700; }
.swatches { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.swatch { display: grid; gap: 2px; padding: 0 0 14px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.swatch span { height: 110px; margin-bottom: 10px; }
.swatch b, .swatch code, .swatch small { padding: 0 16px; }
.swatch code { font-size: 14px; color: var(--ink-2); }
.swatch small { color: var(--ink-3); }
.sw-head { margin: 28px 0 12px; font-size: 18px; color: var(--ink-2); }
.type-sample { display: grid; gap: 10px; margin-top: 26px; padding: 30px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); }
