/* bidcheck: landing, /pro, /account, /shortcut and the sign-in pages.
   Type: Big Shoulders Display only for the landing headline and big prices; Instrument Sans for everything else;
   JetBrains Mono only for numbers (prices, timers, keys, counts). Yellow only on the main CTA and the clock's last seconds. */
:root {
  --ink: #0d0c0a;
  --ink2: #161411;
  --ink3: #1e1c18;
  --rule: #26231f;
  --bone: #efeae0;   /* headlines */
  --body: #cbc5b9;   /* body text, a step down from the headlines */
  --dim: #9a9488;
  --faint: #6b665d;
  --bid: #ffd23f;    /* the one accent */
  --buy: #3ddc84;
  --pass: #ff5a4f;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 10px;
  --card: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--bone); }
body { font: 400 16.5px/1.55 var(--sans); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
p, h1, h2, h3, ol, ul, dl, dd { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* type scale */
h2, .h2 { font: 600 clamp(28px, 7vw, 40px)/1.15 var(--sans); letter-spacing: -0.02em; color: var(--bone); }
h3 { font: 600 19px/1.3 var(--sans); letter-spacing: -0.01em; }
.lede { font-size: 17px; line-height: 1.55; color: var(--body); max-width: 46ch; }
.fine { font-size: 14px; line-height: 1.55; color: var(--dim); }
/* tiny all-caps label: the only uppercase text, used sparingly */
.label { font: 500 11.5px/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }

/* ---- buttons ---- */
.btnBid, .btnBone, .btnLine, .btnSmall {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1.2 var(--sans); letter-spacing: 0; text-decoration: none; cursor: pointer;
  padding: 13px 20px; border-radius: var(--radius); border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btnBid { color: var(--ink); background: var(--bid); }                 /* main call to action only */
.btnBid:hover { background: #ffdc66; }
.btnBone { color: var(--ink); background: var(--bone); }
.btnBone:hover { background: #fff; }
.btnLine { color: var(--bone); background: transparent; border-color: #3a362f; }
.btnLine:hover { border-color: var(--dim); }
.btnSmall { font-size: 14.5px; padding: 10px 14px; color: var(--ink); background: var(--bone); }
.btnSmall.ghost { color: var(--bone); background: transparent; border-color: #3a362f; }
.btnSmall.ghost:hover { border-color: var(--dim); }
button:disabled { opacity: 0.55; cursor: default; }
.textLink, .inlineLink { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.textLink:hover, .inlineLink:hover { text-decoration-color: var(--bone); }

/* ---- nav ---- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.logo img { border-radius: 7px; }
.navLinks { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }
.navLink { color: var(--body); text-decoration: none; }
.navLink:hover { color: var(--bone); }
.navCta { font-size: 14.5px; padding: 9px 14px; }

/* ---- hero ---- */
.hero { padding-top: 40px; }
.kicker { display: flex; align-items: center; gap: 10px; }
.liveDot { width: 7px; height: 7px; border-radius: 50%; background: var(--pass); animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.heroGrid { display: flex; flex-direction: column; gap: 24px; margin-top: 18px; }
.hero h1 { font: 800 clamp(46px, 12.5vw, 64px)/0.98 var(--display); letter-spacing: -0.005em; max-width: 14ch; }
.clock { order: -1; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ink2); border-radius: 12px; }
.clockTime { font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.clockTime.hot { color: var(--bid); }
.clockMeta { margin-left: auto; font-size: 14px; color: var(--dim); }
.clockMeta .num { color: var(--body); }

.heroFoot { display: grid; gap: 24px; margin-top: 28px; }
.ctaRow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ctaRow .btnBid { width: 100%; padding: 15px 24px; font-size: 17px; }

/* ---- reel: two rows of 9:16 clips drifting in opposite directions ---- */
.reel { margin-top: 56px; padding: 26px 0; overflow: hidden; overflow: clip; perspective: 1400px; }
.reelTilt { display: grid; gap: 14px; transform: rotateX(9deg) rotateZ(-3deg) scale(1.08); }
.track { display: flex; width: max-content; animation: drift 70s linear infinite; will-change: transform; }
.row[data-row="1"] .track { animation-duration: 84s; animation-direction: reverse; }
.reel:hover .track, .reel.held .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }

/* margin, not gap, so each copy of the row is exactly half the track */
.clip {
  position: relative; flex: none; width: 140px; aspect-ratio: 9 / 16; margin-right: 12px;
  background: #141210; border-radius: 12px; overflow: hidden; font-family: var(--sans);
  container-type: inline-size; user-select: none; -webkit-user-select: none;
}
.stage { position: absolute; inset: 0; }
.streamTop { position: absolute; top: 5cqw; left: 6cqw; right: 6cqw; display: flex; justify-content: space-between; align-items: center; font-size: 6cqw; color: var(--dim); }
.live { background: var(--pass); color: #fff; font-weight: 600; padding: 0.5cqw 2.5cqw; border-radius: 1.5cqw; }

/* abstract card shape: solid blocks, blurred; never real art */
.shape { position: absolute; left: 17cqw; right: 17cqw; top: 22cqw; aspect-ratio: 63 / 88; background: var(--a); border-radius: 4cqw; filter: blur(2.4cqw); transform: rotate(-2deg); }
.shape i { position: absolute; display: block; }
.shape i:nth-child(1) { top: 11%; left: 9%; right: 9%; height: 44%; background: var(--b); }
.shape i:nth-child(2) { top: 20%; left: 32%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.shape i:nth-child(3) { bottom: 16%; left: 12%; right: 12%; height: 9%; background: var(--c); opacity: 0.55; }
.isBack .shape { background: var(--a); }
.isBack .shape i:nth-child(1) { top: 0; left: 0; right: 0; height: 50%; background: var(--b); }
.isBack .shape i:nth-child(2) { top: 41%; left: 37%; width: 26%; background: var(--c); }
.isBack .shape i:nth-child(3) { top: 48%; bottom: auto; left: 0; right: 0; height: 4%; background: #111; opacity: 1; }

.auction { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqw; display: flex; align-items: center; gap: 3cqw; padding: 3cqw 3.5cqw; border-radius: 3cqw; background: rgba(13, 12, 10, 0.82); font-size: 6.6cqw; }
.aTime { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.aBid { flex: 1; font-family: var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.aBtn { background: var(--bone); color: var(--ink); border-radius: 2cqw; padding: 0.8cqw 3cqw; font-weight: 600; }

.notif {
  position: absolute; top: 4cqw; left: 4cqw; right: 4cqw; padding: 3cqw 4cqw 3.5cqw; border-radius: 4cqw;
  background: rgba(40, 38, 34, 0.96); transform: translateY(-130%); opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}
.notifTop { display: flex; align-items: center; gap: 2cqw; font-size: 4.6cqw; color: var(--dim); }
.notifTop img { width: 5cqw; height: 5cqw; border-radius: 1cqw; }
.notifTop b { font-weight: 500; }
.notifTop span { margin-left: auto; }
.notif p { margin-top: 1.5cqw; font-size: 6.2cqw; line-height: 1.3; font-weight: 600; }

.verdict {
  position: absolute; left: 5cqw; bottom: 22cqw; padding: 1.8cqw 3.5cqw; border-radius: 2cqw;
  font-size: 6.8cqw; font-weight: 600; color: var(--ink);
  opacity: 0; transform: translateY(3cqw); transition: opacity 0.3s 0.35s, transform 0.3s 0.35s;
}
.verdict .num { font-weight: 600; }
.verdict.buy { background: var(--buy); }
.verdict.pass { background: var(--pass); }
.clip[data-phase="result"] .notif { transform: none; opacity: 1; }
.clip[data-phase="result"] .verdict { opacity: 1; transform: none; }

/* real footage when public/clips/clipN.mp4 exists: it carries its own notification */
.clipVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hasVideo > :not(video) { display: none; }

.reelCaption { margin-top: 16px; font-size: 14px; color: var(--dim); }

/* ---- how it works ---- */
.how { margin-top: 112px; }
.sectionHead { display: grid; gap: 12px; max-width: 640px; }
.timeline { list-style: none; padding: 0; margin-top: 40px; display: grid; gap: 36px; }
.timeline li { display: grid; gap: 10px; align-content: start; }
.stepNum { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink3); font: 500 14px/1 var(--mono); color: var(--bone); margin-bottom: 6px; }
.timeline p { color: var(--body); max-width: 36ch; }

/* ---- pricing ---- */
.prices { margin-top: 128px; }
.board { margin-top: 40px; display: grid; gap: 16px; }
.lot { background: var(--ink2); border-radius: var(--card); padding: 26px 22px; display: grid; gap: 18px; align-content: start; }
.lot.featured { background: var(--ink3); }
.lotHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.lotHead h3 { font-size: 20px; }
.pill { font: 500 12.5px/1 var(--sans); color: var(--body); background: rgba(239, 234, 224, 0.08); padding: 6px 10px; border-radius: 999px; }
.lotPrice { font: 800 64px/0.95 var(--display); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.per { font: 400 15px/1 var(--sans); color: var(--dim); margin-left: 4px; }
.lotSub { font-size: 14.5px; color: var(--dim); margin-top: -8px; }
.lotRows { display: grid; gap: 10px; font-size: 15px; padding: 4px 0; }
.lotRows div { display: flex; justify-content: space-between; gap: 16px; }
.lotRows dt { color: var(--dim); }
.lotRows dd { text-align: right; color: var(--bone); }
.lotRows .off { color: var(--faint); }
.lot .btnBid, .lot .btnBone, .lot .btnLine { width: 100%; margin-top: 6px; }
.boardNote { margin-top: 22px; max-width: 72ch; }

/* monthly / yearly switch */
.interval { display: inline-flex; gap: 4px; padding: 4px; background: var(--ink2); border-radius: 12px; margin-top: 32px; }
.interval button { font: 500 14.5px/1 var(--sans); color: var(--body); background: transparent; border: 0; padding: 10px 14px; border-radius: 8px; cursor: pointer; }
.interval button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.interval .save { color: var(--buy); margin-left: 4px; }
.interval button[aria-pressed="true"] .save { color: #1d7a45; }

/* ---- account, pro, sign-in pages ---- */
.page { padding-top: 48px; padding-bottom: 96px; }
.page h1, .authPage h1 { font: 600 clamp(34px, 8.5vw, 52px)/1.1 var(--sans); letter-spacing: -0.025em; }
.page .lede { margin-top: 14px; }
.page .kicker { margin-bottom: 14px; }
.authPage { padding-top: 56px; padding-bottom: 96px; display: grid; gap: 20px; justify-items: start; }
.authPage form { width: 100%; max-width: 420px; }
.panel { margin-top: 36px; background: var(--ink2); border-radius: var(--card); padding: 6px 22px; max-width: 720px; }
.panel > * { padding: 20px 0; }
.panel > * + * { border-top: 1px solid var(--rule); }
.field { display: grid; gap: 8px; }
.planName { font: 600 26px/1.2 var(--sans); letter-spacing: -0.015em; }
.count { font: 500 26px/1.2 var(--mono); letter-spacing: -0.02em; }
.count small { font-size: 16px; color: var(--dim); font-weight: 400; }
.meter { height: 6px; border-radius: 3px; background: var(--ink3); overflow: hidden; margin-top: 4px; }
.meter span { display: block; height: 100%; background: var(--bone); border-radius: 3px; }
.meter.full span { background: var(--pass); }
.keyRow { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.keyRow code { flex: 1 1 260px; min-width: 0; font: 400 clamp(13px, 3.4vw, 15px)/1.4 var(--mono); letter-spacing: -0.01em; padding: 12px 12px; background: var(--ink); border-radius: var(--radius); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.emailForm { display: grid; gap: 12px; max-width: 440px; margin-top: 32px; }
.emailForm .label { margin-bottom: -2px; }
.emailForm input { font: 400 17px/1.3 var(--sans); color: var(--bone); background: var(--ink2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; width: 100%; }
.emailForm input:focus { outline: 2px solid var(--bone); outline-offset: 1px; border-color: transparent; }
.note { font-size: 14px; line-height: 1.55; color: var(--dim); }
.note.ok { color: var(--buy); }
.note.bad { color: var(--pass); }

/* ---- /shortcut setup guide ---- */
.guide { margin-top: 72px; display: grid; gap: 20px; }
.guide:first-of-type { margin-top: 48px; }
.card { background: var(--ink2); border-radius: var(--card); padding: 24px 22px; display: grid; gap: 16px; justify-items: start; max-width: 720px; }
.card p, .steps p { color: var(--body); }
.card b, .steps b, .diy b { color: var(--bone); font-weight: 600; }
.card .btnBid { width: 100%; }
.steps { list-style: none; padding: 0; display: grid; gap: 22px; max-width: 720px; }
.steps > li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps .stepNum { margin: 0; }
.steps > li > div { display: grid; gap: 10px; min-width: 0; padding-top: 5px; }
.sampleNotif { background: var(--ink3); border-radius: 18px; padding: 12px 16px 14px; display: grid; gap: 6px; max-width: 440px; }
.sampleNotif .top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); }
.sampleNotif .top img { border-radius: 5px; }
.sampleNotif .top span { margin-left: auto; }
.sampleNotif p { font-weight: 600; font-size: 15.5px; color: var(--bone); }
.goodToKnow ul { padding-left: 20px; display: grid; gap: 8px; color: var(--body); }
.diy { background: var(--ink2); border-radius: var(--card); max-width: 720px; }
.diy summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.diy summary::-webkit-details-marker { display: none; }
.diy summary::after { content: "+"; color: var(--dim); font-size: 22px; font-weight: 400; line-height: 1; }
.diy[open] summary::after { content: "\2212"; }
.diyBody { display: grid; gap: 24px; padding: 4px 22px 24px; }
.urlBox { display: flex; align-items: center; gap: 10px; background: var(--ink); border-radius: var(--radius); padding: 8px 8px 8px 14px; }
.urlBox code { flex: 1; min-width: 0; font: 400 14px/1.4 var(--mono); overflow-wrap: anywhere; }
.diy code { font-family: var(--mono); font-size: 0.92em; }
.kv { list-style: none; padding: 0; display: grid; gap: 8px; }
.kv li { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--body); font-size: 15px; }
.kv span { min-width: 112px; color: var(--dim); }
.flow { display: grid; gap: 6px; }
.flow span { background: var(--ink); border-radius: var(--radius); padding: 10px 14px; font-weight: 500; font-size: 14.5px; color: var(--body); }

/* ---- final ---- */
.final { margin-top: 136px; padding-bottom: 104px; display: grid; gap: 28px; justify-items: start; }
.final h2 { font-size: clamp(32px, 8vw, 52px); max-width: 18ch; }
.final .ctaRow { width: 100%; }

footer { padding-top: 28px; padding-bottom: max(40px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--dim); }

/* ---- wider screens ---- */
@media (min-width: 760px) {
  .wrap { padding-left: 40px; padding-right: 40px; }
  .clip { width: 200px; margin-right: 16px; }
  .reelTilt { gap: 16px; }
  .ctaRow .btnBid, .card .btnBid { width: auto; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .board.three { grid-template-columns: repeat(3, 1fr); }
  .lot { padding: 30px 28px; }
  .lotPrice { font-size: 72px; }
  .card { padding: 28px; }
}

@media (min-width: 1000px) {
  .hero { padding-top: 64px; }
  .hero h1 { font-size: 92px; max-width: 15ch; }
  .heroGrid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
  .clock { order: 0; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 24px; min-width: 240px; margin-bottom: 8px; }
  .clockTime { font-size: 60px; }
  .clockMeta { margin-left: 0; }
  .heroFoot { grid-template-columns: 1fr auto; align-items: end; gap: 48px; margin-top: 36px; }
  .heroFoot .fine { grid-column: 1 / -1; }
  .how { margin-top: 152px; }
  .prices { margin-top: 160px; }
  .final { margin-top: 176px; }
}

/* ---- reduced motion: one static row, nothing ticking or sliding ---- */
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .row[data-row="1"] { display: none; }
  .reelTilt { transform: none; }
  .row { overflow-x: auto; padding: 0 20px; scrollbar-width: none; }
  .notif, .verdict { transition: none; }
  .liveDot { animation: none; }
}

/* /shortcut header and closing */
.guideHead { padding-bottom: 0; }
.guideHead .fine { margin-top: 12px; }
.guideFinal { margin-top: 112px; }

/* ---- /account/history ---- */
.historyNote { margin-top: 10px; }
.history { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 8px; max-width: 760px; }
.historyItem { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: var(--ink2); border-radius: 12px; text-decoration: none; }
.historyItem:hover { background: var(--ink3); }
.thumb { flex: none; width: 52px; height: 72px; border-radius: 8px; background: var(--ink3); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.historyText { flex: 1; min-width: 0; display: grid; gap: 4px; }
.historyLine { font-size: 15px; line-height: 1.4; color: var(--bone); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.historyMeta { font-size: 13px; color: var(--dim); }
.historyBid { flex: none; font-size: 15px; color: var(--buy); }
.backLink { display: inline-block; font-size: 15px; margin-bottom: 24px; }
.detailTime { margin-bottom: 10px; }
.page .detailLine { font-size: clamp(22px, 5.5vw, 30px); line-height: 1.3; letter-spacing: -0.015em; overflow-wrap: anywhere; max-width: 32ch; }
.detailGrid { display: grid; gap: 20px; margin-top: 28px; }
.detailImage img { display: block; width: auto; max-width: min(100%, 420px); max-height: 78vh; object-fit: contain; border-radius: 12px; background: var(--ink2); }
.detailPanel { margin-top: 0; padding: 20px 22px; }
.detailPanel > * + * { border-top: 0; }
.detailPanel > * { padding: 0; }
.detailPanel dd { overflow-wrap: anywhere; }
.rawJson { margin-top: 18px; color: var(--dim); font-size: 14px; }
.rawJson summary { cursor: pointer; }
.rawJson pre { margin-top: 10px; overflow-x: auto; font: 12px/1.5 var(--mono); color: var(--body); background: var(--ink); padding: 12px; border-radius: 10px; }
@media (min-width: 900px) {
  .detailGrid { grid-template-columns: minmax(280px, 420px) 1fr; align-items: start; gap: 32px; }
}
