/* SEALSLAB — landing / binder styles (owner: LANDING). Tokens mirror BRIEF "Design tokens"; /shared/base.css (APP) loads first. */
@font-face { font-family: "SL Display"; src: url("/assets/fonts/shrikhand-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SL Serif"; src: url("/assets/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "SL Serif"; src: url("/assets/fonts/newsreader-latin-italic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  --paper: #F3F5FB; --paper-2: #E8ECF6; --panel: #FFFFFF; --line: #D3D9E8; --ink: #1D2747; --dim: #66708C;
  --lilac: #B8A6F0; --mint: #9EE2CC; --peach: #FFC6A6; --sky: #A8D1F4;
  --tier-common: #C7CFE0; --tier-rare: #A8D1F4; --tier-chase: #FFC6A6; --ok: #2E9E77; --bad: #D9545A;
  --sl-display: "SL Display", "Shrikhand", Georgia, serif;
  --sl-serif: "SL Serif", "Newsreader", Georgia, serif;
}
html { background: var(--paper); }
body.sl { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sl-serif); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.sl .num, .sl table, .sl output { font-variant-numeric: tabular-nums; }
:where(.sl) a { color: inherit; }
.sl :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the one WebGL canvas: over the page, under the nav, never takes the pointer */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; display: block; }
.nogl #stage, .static #stage { display: none; }
.sl-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 90; font-size: 15px; }

/* buttons (scoped, so the page does not depend on base.css for its own controls) */
.sl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--panel); color: var(--ink); font: 600 16px/1 var(--sl-serif); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s; }
.sl-btn:hover { transform: translateY(-1px); }
.sl-btn:active { transform: translateY(1px); }
.sl-btn-primary, a.sl-btn-primary { background: var(--ink); color: #fff; }
.sl-btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.sl-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.sl-btn-link { border: 0; background: none; padding: 0; min-height: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.sl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; }
.sl-ca { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 12px; font: 500 14px var(--sl-serif); color: var(--ink); cursor: pointer; }
.sl-ca .k { font-weight: 600; letter-spacing: .1em; font-size: 12px; color: var(--dim); }
.sl-ca .cp { font-size: 12px; color: var(--dim); }
.sl-fallback-nav .wrap { display: flex; align-items: center; gap: 18px; padding: 12px var(--gutter, clamp(16px, 4vw, 48px)); flex-wrap: wrap; }
.sl-fallback-nav .logo { font-family: var(--sl-display); font-size: 24px; text-decoration: none; }
.sl-fallback-nav nav { display: flex; gap: 14px; margin-right: auto; font-size: 16px; }


/* ───────────────── hero ───────────────── */
.hero { position: relative; min-height: calc(100svh - var(--nav-h, 64px)); display: grid; grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr); grid-template-areas: "top stage" "bottom stage";
  grid-template-rows: auto 1fr; column-gap: clamp(16px, 3vw, 56px); padding: clamp(18px, 4vh, 48px) var(--gutter, clamp(16px, 4vw, 48px)) 28px; max-width: 1480px; margin: 0 auto; box-sizing: border-box; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(29,39,71,.075) 1.1px, transparent 1.4px); background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 0%, transparent 75%); }
.hero-top { grid-area: top; align-self: end; padding-top: 4vh; }
.hero-bottom { grid-area: bottom; align-self: start; }
.hero-stage { grid-area: stage; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 520px; }
.kicker { margin: 0 0 6px; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--dim); }
.kicker b { color: var(--ink); font-weight: 600; }
.wordmark { margin: 0; font: 400 clamp(56px, 7.4vw, 112px)/0.95 var(--sl-display); letter-spacing: -.01em; color: var(--ink); text-shadow: .045em .045em 0 var(--lilac); transform: rotate(-3deg); transform-origin: left bottom; }
.lede { margin: 18px 0 0; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.38; max-width: 30ch; }
.lede em { font-style: italic; }

.pool { margin: 26px 0 0; padding: 16px 18px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; max-width: 460px; box-shadow: 0 1px 0 var(--line); }
.pool-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pool-row .k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.pool-row b { font-size: 24px; font-weight: 600; }
.pool-row .eta { margin-left: auto; font-size: 14px; color: var(--dim); font-style: italic; }
.bar { position: relative; height: 10px; margin: 10px 0 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; border: 1px solid var(--line); }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--mint); border-right: 2px solid var(--ink); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.pool-note { margin: 0; font-size: 14px; color: var(--dim); line-height: 1.4; }
.pool.sealed .bar i { background: var(--peach); }

.checker { margin: 14px 0 0; max-width: 460px; }
.checker label { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 6px; }
.checker .row { display: flex; gap: 8px; }
.checker input { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); padding: 0 16px; font: 500 15px var(--sl-serif); color: var(--ink); }
.checker input:focus { border-color: var(--ink); outline: none; }
.checker output { display: block; margin-top: 8px; font-size: 15px; min-height: 1.4em; }
.checker output b { font-weight: 600; }
.checker output .bad { color: var(--bad); }
.cta-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0 0; }
.launch-line { margin: 12px 0 0; font-size: 15px; color: var(--dim); }
.launch-line [data-countdown] { color: var(--ink); font-weight: 600; }

.pack-view { position: relative; width: 100%; height: min(78svh, 760px); min-height: 440px; touch-action: none; cursor: grab; outline: none; border-radius: 28px; }
.pack-view.dragging { cursor: grabbing; }
.pack-view:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.pack-view .fallback { display: none; position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.nogl .pack-view .fallback, .static .pack-view .fallback { display: block; }
.nogl .pack-view, .static .pack-view { cursor: default; }
.turn-ring { position: absolute; left: 50%; top: 48%; width: min(92%, 70svh, 640px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; transition: opacity .5s; }
.turn-ring .track { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.turn-ring .prog { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .12s linear; }
.turn-ring .dot { fill: var(--peach); stroke: var(--ink); stroke-width: 2; }
.turn-ring .arrow { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero[data-gate="free"] .turn-ring, .hero[data-gate="tearing"] .turn-ring, .nogl .turn-ring, .static .turn-ring { opacity: 0; }
.gate-hint { position: relative; z-index: 31; margin-top: -8px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 16px; text-align: center; min-height: 44px; }
.gate-hint b { font-family: var(--sl-display); font-weight: 400; font-size: 21px; }
.gate-hint .deg { font-size: 14px; color: var(--dim); }
.gate-hint kbd { font: 600 13px var(--sl-serif); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--panel); }
.hero[data-gate="near"] .gate-hint b { color: var(--ok); }

/* ───────────────── binder + price guide ───────────────── */
.binder-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(20px, 3vw, 48px); padding: 56px var(--gutter, clamp(16px, 4vw, 48px)) 40px; max-width: 1480px; margin: 0 auto; box-sizing: border-box; align-items: start; }
.sec-h { margin: 0 0 22px; }
.sec-h h2 { margin: 0; font: 400 clamp(40px, 4.4vw, 64px)/1 var(--sl-display); text-shadow: .05em .05em 0 var(--mint); }
.sec-h p { margin: 10px 0 0; max-width: 54ch; color: var(--dim); font-size: 17px; }
.binder { display: flex; flex-direction: column; gap: 28px; }
.bpage { position: relative; background: linear-gradient(180deg, #FFFFFF, #FAFBFE); border: 1px solid var(--line); border-radius: 10px 22px 22px 10px; padding: 18px 22px 22px 58px;
  box-shadow: 0 1px 0 #fff inset, 0 18px 40px -26px rgba(29,39,71,.35), 0 2px 0 var(--line); }
.bpage::before { content: ""; position: absolute; left: 30px; top: 14px; bottom: 14px; width: 1px; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); }
.bpage-holes { position: absolute; left: 0; top: 0; bottom: 0; width: 30px; display: flex; flex-direction: column; justify-content: space-around; align-items: center; padding: 40px 0; }
.bpage-holes i { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 1px 2px 3px rgba(29,39,71,.28); border: 1px solid var(--line); }
.bpage-h { display: flex; gap: 14px; align-items: baseline; margin: 0 0 14px; font-size: 14px; color: var(--dim); }
.bpage-h .k { font: 400 19px var(--sl-display); color: var(--ink); margin-right: auto; }
.bgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.slot { margin: 0; min-width: 0; }
.sleeve { display: block; width: 100%; aspect-ratio: 0.74; padding: 0; border: 0; border-radius: 12px; cursor: pointer; position: relative;
  background: linear-gradient(160deg, #EEF1F8, #E3E8F3); box-shadow: inset 0 0 0 1px rgba(29,39,71,.10), inset 0 8px 14px -10px rgba(29,39,71,.25); }
.sleeve::after { content: ""; position: absolute; left: 6%; right: 6%; top: 7.5%; height: 1px; background: rgba(255,255,255,.9); box-shadow: 0 1px 0 rgba(29,39,71,.08); }
.sleeve.empty { cursor: default; }
.slot.awaiting .sleeve { background: repeating-linear-gradient(135deg, #EEF1F8 0 10px, #E7EBF5 10px 20px); }
.cap { display: flex; gap: 6px; justify-content: space-between; align-items: baseline; margin: 7px 2px 0; font-size: 14px; line-height: 1.25; }
.cap-l { display: inline-flex; gap: 5px; align-items: baseline; min-width: 0; }
.cap-l b { font-weight: 600; letter-spacing: .02em; }
.cap-r { color: var(--dim); white-space: nowrap; font-size: 13px; }
.cap-r small { font-size: 11px; }
.cap-empty { color: var(--dim); font-style: italic; font-size: 13px; }
.slot.awaiting .cap { visibility: hidden; }
.pip { font-style: normal; font-size: 12px; }
.pip.t0 { color: #8992AC; } .pip.t1 { color: #5A93C9; } .pip.t2 { color: #8C76DA; } .pip.t3 { color: #E2865A; }
.more-row { display: flex; justify-content: center; margin-top: 22px; }

.guide { position: sticky; top: calc(var(--nav-h, 64px) + 12px); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 16px; font-size: 15px; max-height: calc(100svh - var(--nav-h, 64px) - 24px); overflow: auto; overscroll-behavior: contain; }
.guide-h { margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; font: 400 30px/1.1 var(--sl-display); }
.guide-h small { font: 600 12px var(--sl-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-left: auto; }
.guide .sub { margin: 0 0 14px; font-size: 14px; color: var(--dim); font-style: italic; }
.pg { width: 100%; border-collapse: collapse; margin: 0 0 6px; font-size: 14.5px; }
.pg caption { text-align: left; font: 600 12px var(--sl-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); padding: 14px 0 6px; border-bottom: 2px solid var(--ink); }
.pg th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .06em; color: var(--dim); padding: 6px 4px 4px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.pg td { padding: 6px 4px; border-bottom: 1px dotted var(--line); vertical-align: baseline; }
.pg tr:nth-child(even) td { background: #F8F9FD; }
.pg .r { text-align: right; }
.pg .t { white-space: nowrap; }
.pg a { text-decoration: none; border-bottom: 1px solid var(--line); }
.pg a:hover { border-color: var(--ink); }
.pg .box { display: inline-block; width: 12px; height: 12px; border: 1.5px solid var(--ink); border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.pg .box.on { background: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.pg-note { margin: 6px 0 4px; font-size: 13.5px; color: var(--dim); line-height: 1.45; }
.pg-note b { color: var(--ink); font-weight: 600; }
.swatch { display: inline-block; width: 10px; height: 14px; border-radius: 2px; border: 1px solid rgba(29,39,71,.4); vertical-align: -2px; margin-right: 6px; }
.swatch.t0 { background: var(--tier-common); } .swatch.t1 { background: var(--tier-rare); } .swatch.t2 { background: linear-gradient(135deg, #CFE8FF, #E6D8FF 50%, #D6F7EA); } .swatch.t3 { background: var(--tier-chase); border-color: var(--ink); }

/* live log */
.log-sec { max-width: 1480px; margin: 0 auto; padding: 24px var(--gutter, clamp(16px, 4vw, 48px)) 40px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); }
.log-sec h2 { margin: 0 0 12px; font: 400 36px/1 var(--sl-display); }
.log { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); font-size: 15.5px; }
.log li { display: grid; grid-template-columns: 64px 18px 1fr auto; gap: 8px; align-items: baseline; padding: 8px 2px; border-bottom: 1px dotted var(--line); }
.log time { color: var(--dim); font-size: 13px; }
.log .ic { font-size: 13px; text-align: center; }
.log .ic.sealed { color: #E2865A; } .log .ic.settled { color: #8C76DA; } .log .ic.filled { color: var(--ok); } .log .ic.ripped { color: var(--ink); } .log .ic.sold { color: var(--bad); } .log .ic.redeemed { color: var(--ok); }
.log a.tx { font-size: 13px; color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--line); }
.log li.new { animation: logIn .6s ease-out; }
@keyframes logIn { from { background: rgba(158,226,204,.5); } to { background: transparent; } }
.log-empty { color: var(--dim); font-style: italic; padding: 10px 2px; }
.how { font-size: 16px; }
.how ol { margin: 0; padding: 0 0 0 1.2em; }
.how li { margin: 0 0 8px; }
.how li::marker { font-family: var(--sl-display); }
.disclose { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); font-size: 14px; color: var(--dim); line-height: 1.45; }
.disclose b { color: var(--ink); font-weight: 600; }

/* static grid (?static, no WebGL) */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.scard { position: relative; aspect-ratio: .716; border-radius: 12px; padding: 10px; box-sizing: border-box; display: flex; flex-direction: column; border: 8px solid var(--tier-common); background: #FCFDFF; box-shadow: 0 8px 20px -14px rgba(29,39,71,.5); }
.scard.t1 { border-color: var(--tier-rare); } .scard.t2 { border-color: #DCD3FF; } .scard.t3 { border-color: var(--tier-chase); outline: 2px solid var(--ink); outline-offset: -11px; }
.scard .sym { font: 400 30px/1 var(--sl-display); }
.scard .nm { font-style: italic; font-size: 14px; margin-top: 4px; }
.scard .art { flex: 1; margin: 8px 0; border-radius: 6px; border: 1.5px solid var(--ink); background-image: radial-gradient(circle, rgba(29,39,71,.18) 1.2px, transparent 1.6px), linear-gradient(135deg, var(--lilac), var(--sky)); background-size: 9px 9px, auto; }
.scard .v { font-weight: 600; font-size: 16px; }
.scard .meta { font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; }
.static .binder .bpage, .nogl .binder .bpage { display: none; }

/* ───────────────── responsive ───────────────── */
@media (max-width: 1080px) {
  .binder-sec { grid-template-columns: minmax(0, 1fr); }
  .guide { position: static; max-height: none; }
  .log-sec { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "stage" "bottom"; grid-template-rows: auto auto auto; padding-top: 18px; min-height: 0; }
  .hero-top { padding-top: 0; align-self: start; }
  .hero-stage { min-height: 0; }
  .pack-view { height: 58svh; min-height: 360px; }
  .wordmark { font-size: clamp(54px, 16vw, 84px); }
  .lede { font-size: 18px; margin-top: 12px; }
  .pool, .checker { max-width: none; }
  .gate-hint { font-size: 15px; }
}
@media (max-width: 560px) {
  body.sl { font-size: 17px; }
  .bpage { padding: 12px 10px 14px 30px; border-radius: 8px 16px 16px 8px; }
  .bpage::before { left: 22px; }
  .bpage-holes { width: 22px; }
  .bpage-holes i { width: 10px; height: 10px; }
  .bgrid { gap: 12px 8px; }
  .cap { flex-direction: column; gap: 0; font-size: 12.5px; margin-top: 4px; }
  .cap-r { font-size: 11.5px; }
  .cap .tn, .cap .id { display: none; }
  .cap-l b { font-size: 13px; }
  .binder-sec { padding-top: 36px; }
  .guide { padding: 16px 14px; }
  .log li { grid-template-columns: 52px 14px 1fr; }
  .log li .tx { grid-column: 3; justify-self: start; }
  .turn-ring { width: min(96%, 52svh); }
}
@media (prefers-reduced-motion: reduce) {
  .bar i, .turn-ring .prog { transition: none; }
  .log li.new { animation: none; }
}
.slot.awaiting .sleeve::before { content: "sealed · turn the pack ↑"; position: absolute; left: 8%; right: 8%; top: 50%; transform: translateY(-50%); text-align: center; font: italic 500 13px/1.3 var(--sl-serif); color: var(--dim); }
@media (max-width: 560px) { .slot.awaiting .sleeve::before { content: "sealed"; font-size: 12px; } }
