/* ==========================================================================
   Quantum · Landing
   Tokens tomados de quantum-app (amarillo 47 95% 58%, negro, Montserrat
   black itálica). La inclinación de -12° repite la del logo.
   ========================================================================== */

:root {
  --q: #fbc02c;
  --q-hot: #f8cb33;
  --q-deep: #d99a00;
  --ink: #0b0b0c;
  --ink-2: #121214;
  --ink-3: #1a1a1d;
  --line: #27272b;
  --paper: #f3f1ea;
  --paper-2: #e8e5db;
  --text: #f5f5f4;
  --muted: #8d8d94;
  --sold: #22c55e;
  --no: #ef4444;

  --slant: -12deg;
  --radius: 14px;
  --font: "Montserrat", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.i { display: inline-block; flex-shrink: 0; vertical-align: middle; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* film grain over everything, very low */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--q);
}
.eyebrow--dark { color: var(--q-deep); }
.eyebrow--ink { color: var(--ink); }

.h2 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 900;
  font-style: italic;
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.h2--dark { color: var(--ink); }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--q);
  display: inline-block;
}
.dot--live { box-shadow: 0 0 0 0 rgba(251, 192, 44, .6); animation: live 1.8s infinite; }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(251, 192, 44, .55); }
  70% { box-shadow: 0 0 0 10px rgba(251, 192, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 192, 44, 0); }
}

/* ---------- buttons (slanted like the logo) ---------- */
.btn {
  --bg: var(--q);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--fg);
  isolation: isolate;
  transition: transform .25s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  border-radius: 6px;
  transform: skewX(var(--slant));
  transition: background .2s, box-shadow .25s var(--ease-out);
}
.btn img { width: 18px; height: 18px; }
.btn:hover { transform: translateX(3px); }
.btn:active { transform: translateX(3px) scale(.98); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--q); }

.btn--q:hover::before { background: var(--q-hot); box-shadow: -6px 6px 0 rgba(251, 192, 44, .25); }
.btn--ghost { --bg: transparent; --fg: var(--text); }
.btn--ghost::before { border: 1.5px solid #3a3a40; }
.btn--ghost:hover::before { border-color: var(--q); }
.btn--ink { --bg: var(--ink); --fg: var(--q); }
.btn--ink:hover::before { box-shadow: -6px 6px 0 rgba(0, 0, 0, .25); }
.btn--line { --bg: transparent; --fg: var(--text); width: 100%; }
.btn--line::before { border: 1.5px solid var(--line); }
.btn--line:hover::before { border-color: var(--q); background: rgba(251, 192, 44, .06); }
.btn--sm { padding: 10px 20px; font-size: 13px; }

.link-quiet {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.link-quiet:hover { color: var(--text); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 12, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #b9b9bf;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--q);
  transform: scaleX(0) skewX(var(--slant));
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1) skewX(var(--slant)); }
.nav__cta { display: flex; align-items: center; gap: 20px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 140px 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 30%, rgba(251, 192, 44, .10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(251, 192, 44, .05), transparent 60%),
    var(--ink);
}

/* diagonal speed streaks */
.hero__speed {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: skewX(var(--slant));
}
.hero__speed span {
  position: absolute;
  top: -10%;
  width: 1px;
  height: 120%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .06) 40%, transparent);
}
.hero__speed span::after {
  content: "";
  position: absolute;
  left: -1px;
  width: 3px;
  height: 90px;
  border-radius: 3px;
  background: linear-gradient(to bottom, transparent, var(--q));
  opacity: 0;
  animation: streak 5s linear infinite;
}
.hero__speed span:nth-child(1) { left: 8%; }
.hero__speed span:nth-child(2) { left: 22%; }
.hero__speed span:nth-child(3) { left: 41%; }
.hero__speed span:nth-child(4) { left: 58%; }
.hero__speed span:nth-child(5) { left: 77%; }
.hero__speed span:nth-child(6) { left: 93%; }
.hero__speed span:nth-child(2)::after { animation-delay: 1.4s; }
.hero__speed span:nth-child(3)::after { animation-delay: 3.1s; }
.hero__speed span:nth-child(4)::after { animation-delay: .6s; }
.hero__speed span:nth-child(5)::after { animation-delay: 2.3s; }
.hero__speed span:nth-child(6)::after { animation-delay: 4s; }
@keyframes streak {
  0% { top: -10%; opacity: 0; }
  10% { opacity: .9; }
  45% { top: 100%; opacity: 0; }
  100% { top: 100%; opacity: 0; }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: 96px;
}

.hero__title {
  margin: 0 0 28px;
  font-size: clamp(46px, 7.6vw, 104px);
  font-weight: 900;
  font-style: italic;
  line-height: .88;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.hero__title .line { display: block; }
.hero__title .line--q { color: var(--q); }
.hero__title .line:nth-child(2) { padding-left: .35em; }
.hero__title .line:nth-child(4) { padding-left: .35em; }

.hero__lead {
  max-width: 520px;
  margin: 0 0 36px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: #b7b7be;
}
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 20px; }

/* ---------- stage (QMatch simulation) ---------- */
.stage {
  position: relative;
  height: 540px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--ink-2);
  overflow: hidden;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, .6);
}

.stage__clock {
  position: absolute;
  top: 20px; right: 22px;
  z-index: 3;
  text-align: right;
  font-family: var(--mono);
}
.stage__clock-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.stage__clock-time {
  display: block;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.stage.is-hit .stage__clock-time { color: var(--q); }

.buyer {
  position: absolute;
  top: 74px; left: 24px;
  z-index: 3;
  width: min(330px, calc(100% - 48px));
  padding: 14px;
  border-radius: var(--radius);
  background: #f7f7f5;
  color: var(--ink);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.buyer__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #6b6b72;
}
.buyer__head em { font-style: normal; color: var(--ink); }
.buyer__search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: border-color .2s;
}
.stage.is-typing .buyer__search { border-color: var(--q); }
.caret {
  width: 2px; height: 18px;
  margin-left: -6px;
  background: var(--ink);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.stage__wire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: visible;
}
.wire-base {
  fill: none;
  stroke: #3a3a40;
  stroke-width: 1.5;
  stroke-dasharray: 3 7;
}
.wire-live {
  fill: none;
  stroke: var(--q);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(251, 192, 44, .7));
}
.spark { fill: #fff; }
.spark-halo { fill: rgba(251, 192, 44, .35); }

.phone {
  position: absolute;
  right: 28px; bottom: -40px;
  z-index: 3;
  width: 270px;
  height: 330px;
  padding: 14px 12px;
  border-radius: 34px 34px 0 0;
  border: 1.5px solid #34343a;
  border-bottom: 0;
  background: linear-gradient(to bottom, #1d1d21, #141416);
  box-shadow: 0 -10px 60px -20px rgba(251, 192, 44, .15);
}
.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 10px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: #9b9ba2;
}
.phone__bar img { height: 20px; width: auto; }

.notif {
  position: relative;
  z-index: 2;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transform: translateY(-16px) scale(.94);
  opacity: 0;
  transition: transform .55s var(--ease-out), opacity .3s;
}
.stage.is-hit .notif { transform: none; opacity: 1; }
.notif__top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b6b72;
}
.notif__top .i { color: #eab308; }
.notif__title { margin: 8px 0 8px; font-size: 15px; font-weight: 700; line-height: 1.25; }
.notif__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; }
.notif__meta > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.notif__meta b { font-weight: 600; }
.tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f1f1;
  font-size: 11px;
}
.notif__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(251, 192, 44, .6);
  font-size: 13px;
  font-weight: 600;
}
.notif__btn img { width: 18px; height: 18px; }
.stage.is-hit .notif__btn { animation: nudge 1.6s .6s var(--ease-out) both; }
@keyframes nudge {
  0%, 100% { background: #fff; }
  30% { background: #fff6dc; }
}
.phone__ghost {
  height: 54px;
  margin-top: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
}
.phone__ghost--2 { height: 70px; opacity: .6; }

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tick 60s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: #8d8d94;
  white-space: nowrap;
  border-right: 1px solid var(--line);
}
.ticker__item b { color: var(--text); font-weight: 500; }
.ticker__item .k { color: var(--q); letter-spacing: .1em; font-size: 11px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ==========================================================================
   QMATCH
   ========================================================================== */
.qmatch {
  position: relative;
  padding: 140px 0 120px;
  background: var(--ink);
}
.qmatch__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  margin-bottom: 36px;
}
.qmatch__logo {
  width: clamp(92px, 12vw, 150px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(251, 192, 44, .25));
}
.qmatch__intro {
  max-width: 720px;
  margin: 0 0 80px;
  margin-left: calc(clamp(92px, 12vw, 150px) + clamp(20px, 4vw, 48px));
  font-size: clamp(16px, 1.5vw, 19px);
  color: #b7b7be;
}

.track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.track__rail {
  position: absolute;
  top: 26px;
  left: 0; right: 0;
  height: 2px;
  background: var(--line);
  grid-column: 1 / -1;
}
.track__rail span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--q);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgba(251, 192, 44, .7);
}
.step { position: relative; padding-top: 0; }
.step__n {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 14px 0 0;
  background: var(--ink);
  font-size: 54px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.04em;
  color: #2c2c31;
  transition: color .5s;
}
.step.is-lit .step__n { color: var(--q); }
.step h3 {
  margin: 18px 0 6px;
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.step__art {
  position: relative;
  height: 150px;
  margin-top: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-stock { flex-direction: column; gap: 8px; }
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: #222226;
  font-size: 12.5px;
  font-weight: 600;
  color: #d4d4d8;
}
.chip--add { background: transparent; border: 1px dashed #4a4a52; color: var(--q); }
.step.is-lit .art-stock .chip { animation: chipIn .6s var(--ease-out) both; }
.step.is-lit .art-stock .chip:nth-child(2) { animation-delay: .1s; }
.step.is-lit .art-stock .chip:nth-child(3) { animation-delay: .2s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px); } }

.art-search { color: var(--q); }
.pulse { position: absolute; inset: 0; display: grid; place-items: center; }
.pulse i {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--q);
  opacity: 0;
  animation: ring 2.4s var(--ease-out) infinite;
}
.pulse i:nth-child(2) { animation-delay: .8s; }
.pulse i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ring {
  0% { transform: scale(.4); opacity: .9; }
  100% { transform: scale(2.6); opacity: 0; }
}

.art-match { gap: 0; font-family: var(--mono); font-size: 12px; }
.art-match .m-a,
.art-match .m-b {
  padding: 8px 12px;
  border-radius: 8px;
  background: #222226;
  color: #d4d4d8;
  transition: transform .7s var(--ease-out);
}
.art-match .m-a { transform: translateX(-26px); }
.art-match .m-b { transform: translateX(26px); }
.art-match .m-x {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  margin: 0 -6px;
  z-index: 1;
  border-radius: 50%;
  background: var(--q);
  color: var(--ink);
  font-size: 16px;
  transform: scale(0);
  transition: transform .5s .45s cubic-bezier(.34, 1.56, .64, 1);
}
.step.is-lit .art-match .m-a,
.step.is-lit .art-match .m-b { transform: none; }
.step.is-lit .art-match .m-x { transform: scale(1); }

.art-wa { flex-direction: column; gap: 10px; padding: 0 14px; text-align: center; }
.art-wa img { width: 38px; height: 38px; }
.art-wa span {
  padding: 8px 12px;
  border-radius: 12px 12px 12px 2px;
  background: #1f3d2b;
  color: #d9f7e4;
  font-size: 13px;
}

.speedline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
  margin-top: 96px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.speedline__big {
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 900;
  font-style: italic;
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--q);
}
.speedline__small { max-width: 380px; color: var(--muted); }

/* ==========================================================================
   BOARD (light section)
   ========================================================================== */
.board {
  position: relative;
  padding: 130px 0;
  background: var(--paper);
  color: var(--ink);
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  margin: -4vw 0;
  z-index: 1;
}
.board__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.board__lead { max-width: 440px; margin: 22px 0 32px; color: #55555c; font-size: 17px; }

.legend { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 14px; }
.legend li { display: flex; align-items: center; gap: 14px; }
.legend b { display: block; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 15px; }
.legend small { display: block; color: #6b6b72; font-size: 14px; }
.legend__ic {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--paper-2);
}
.is-star { color: #eab308; }
.is-sold { color: var(--sold); }
.is-no { color: var(--no); }

.board__try {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: #6b6b72;
}

.app {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--paper-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .35), 0 2px 0 rgba(0, 0, 0, .02);
  overflow: hidden;
  transform: rotate(-1deg);
}
.app__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}
.app__chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2e2; }
.app__chrome span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #9b9ba2; }

.app__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 16px 6px;
}
.f {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #55555c;
  transition: background .2s, border-color .2s, color .2s;
}
.f:hover { border-color: #cfcfcf; }
.f.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.f[data-f="highlighted"] .i { color: #eab308; }
.f[data-f="sold"] .i { color: var(--sold); }
.f[data-f="no"] .i { color: var(--no); }
.f--qm img { height: 18px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .2s, opacity .2s; }
.f--qm.is-on { background: #fff6dc; border-color: var(--q); color: #a16207; }
.f--qm.is-on img { filter: none; opacity: 1; }

.app__count {
  padding: 8px 16px 10px;
  font-size: 13px;
  color: #9b9ba2;
  text-align: center;
}
.app__list {
  display: grid;
  gap: 10px;
  padding: 0 16px 18px;
  min-height: 420px;
  align-content: start;
}

.card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  animation: cardIn .45s var(--ease-out) both;
  transition: opacity .3s, border-color .3s;
}
.card.is-no { opacity: .55; }
.card.is-highlighted { border-color: rgba(234, 179, 8, .55); }
.card.is-sold { border-color: rgba(34, 197, 94, .5); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.card__top { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.card__date { color: #b4b4b9; font-size: 13px; }
.card__search { display: flex; align-items: center; gap: 8px; margin: 4px 0 2px; font-weight: 700; font-size: 15px; }
.card__new { color: var(--q-deep); font-size: 10px; font-weight: 500; animation: blink 1.4s infinite; }
.card__prov { font-size: 13.5px; color: #55555c; }
.card__row { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.card__wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}
.card__wa img { width: 18px; height: 18px; }
.ic {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #a1a1aa;
  transition: color .15s, transform .15s;
}
.ic:active { transform: scale(.9); }
.ic.on-star { color: #eab308; }
.ic.on-sold { color: var(--sold); }
.ic.on-no { color: var(--no); }
.ic.pop { animation: pop .35s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pop { 50% { transform: scale(1.25); } }

.app__empty {
  padding: 40px 10px;
  text-align: center;
  font-size: 14px;
  color: #9b9ba2;
}

/* ==========================================================================
   PLANS
   ========================================================================== */
.plans {
  padding: calc(130px + 4vw) 0 130px;
  background: var(--ink);
}
.plans__head { margin-bottom: 60px; }
.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: border-color .25s, transform .35s var(--ease-out);
}
.plan:hover { border-color: #3d3d44; transform: translateY(-4px); }
.plan header { display: flex; align-items: center; gap: 8px; color: var(--q); }
.plan h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.03em;
  color: var(--text);
}
.plan__contacts { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
.plan__contacts b { color: var(--text); font-weight: 700; font-size: 16px; }
.plan__price { margin: 26px 0 6px; min-height: 86px; display: flex; flex-direction: column; justify-content: flex-end; }
.plan__price s { font-size: 14px; color: #6b6b72; }
.plan__amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.plan__price small { font-size: 12.5px; color: var(--muted); }
.plan__fit { flex: 1; margin: 12px 0 24px; font-size: 14px; color: #a1a1aa; }

.plan--hero {
  background: var(--q);
  border-color: var(--q);
  color: var(--ink);
  transform: translateY(-18px);
  box-shadow: 0 30px 70px -30px rgba(251, 192, 44, .55);
}
.plan--hero:hover { transform: translateY(-24px); border-color: var(--q); }
.plan--hero header,
.plan--hero h3,
.plan--hero .plan__contacts b { color: var(--ink); }
.plan--hero h3 { font-size: 34px; }
.plan--hero .plan__contacts { color: rgba(11, 11, 12, .7); }
.plan--hero .plan__price s { color: rgba(11, 11, 12, .5); }
.plan--hero .plan__price small { color: rgba(11, 11, 12, .65); }
.plan--hero .plan__amount { font-size: 42px; }
.plan--hero .plan__fit { color: rgba(11, 11, 12, .75); }
.plan--hero .btn { width: 100%; }
.plan__flag {
  position: absolute;
  top: -13px; left: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--q);
  isolation: isolate;
}
.plan__flag::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  border-radius: 4px;
  transform: skewX(var(--slant));
}
.plan--hero::after {
  /* moving sheen */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%;
  background-position: 130% 0;
  animation: sheen 5s 1.5s ease-in-out infinite;
}
@keyframes sheen {
  0% { background-position: 130% 0; }
  30%, 100% { background-position: -30% 0; }
}

.plans__note {
  margin: 44px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   LEADS (yellow section)
   ========================================================================== */
.leads {
  position: relative;
  padding: 140px 0;
  background: var(--q);
  color: var(--ink);
  overflow: hidden;
}
.leads__stripes {
  position: absolute;
  top: 0; bottom: 0;
  right: -10%;
  width: 55%;
  background: repeating-linear-gradient(90deg, rgba(11, 11, 12, .07) 0 34px, transparent 34px 68px);
  transform: skewX(var(--slant));
  animation: stripes 12s linear infinite;
}
@keyframes stripes { to { background-position: 68px 0; } }

.leads__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.leads__title {
  margin: 0 0 28px;
  font-size: clamp(46px, 7.4vw, 100px);
  font-weight: 900;
  font-style: italic;
  line-height: .88;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.leads__title span { display: block; }
.leads__title span:nth-child(2) { padding-left: .3em; }
.leads__title span:nth-child(3) { padding-left: .6em; }
.leads__lead { max-width: 520px; margin: 0 0 30px; font-size: 18px; font-weight: 500; color: rgba(11, 11, 12, .8); }
.leads__points { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.leads__points li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }

.packs {
  position: relative;
  height: 440px;
}
.pack {
  position: absolute;
  width: 260px;
  height: 320px;
  padding: 26px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.pack--back {
  top: 0; right: 0;
  align-items: flex-end;
  text-align: right;
  background: var(--ink-3);
  color: var(--text);
  transform: rotate(7deg);
}
.pack--front {
  top: 96px; left: 0;
  background: var(--ink);
  color: var(--q);
  transform: rotate(-6deg);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6);
}
.pack.reveal.is-in.pack--back { animation: dealBack .9s var(--ease-out) both; }
.pack.reveal.is-in.pack--front { animation: dealFront .9s .15s var(--ease-out) both; }
@keyframes dealBack { from { transform: rotate(0) translateY(60px); opacity: 0; } to { transform: rotate(7deg); opacity: 1; } }
@keyframes dealFront { from { transform: rotate(0) translateY(80px); opacity: 0; } to { transform: rotate(-6deg); opacity: 1; } }
.pack:hover { z-index: 2; }
.pack__n {
  font-size: 128px;
  font-weight: 900;
  font-style: italic;
  line-height: .8;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.pack__u {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.pack__tag {
  position: absolute;
  top: 24px; left: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .6;
}
.pack--front::after {
  /* ticket notches */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 64px;
  border-top: 1.5px dashed rgba(251, 192, 44, .3);
}
.packs__cta { position: absolute; bottom: 0; right: 0; }

/* ==========================================================================
   FINAL CTA + FOOTER
   ========================================================================== */
.final {
  position: relative;
  padding: 150px 0 140px;
  background:
    radial-gradient(800px 400px at 50% 110%, rgba(251, 192, 44, .14), transparent 70%),
    var(--ink);
  text-align: center;
  overflow: hidden;
}
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__title {
  margin: 0 0 44px;
  font-size: clamp(38px, 6.6vw, 92px);
  font-weight: 900;
  font-style: italic;
  line-height: .92;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.final__title span { color: var(--q); }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px; }

.foot { border-top: 1px solid var(--line); background: var(--ink); }
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding-top: 36px;
  padding-bottom: 36px;
  font-size: 14px;
  color: var(--muted);
}
.foot__inner p { margin: 0; }
.foot__logo { height: 18px; width: auto; opacity: .8; }
.foot__links { display: flex; gap: 24px; }
.foot__links a { font-weight: 600; transition: color .2s; }
.foot__links a:hover { color: var(--q); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
.plan--hero.reveal.is-in { transform: translateY(-18px); }
.plan--hero.reveal.is-in:hover { transform: translateY(-24px); }
.app.reveal.is-in { transform: rotate(-1deg); }
.pack.reveal { transition: none; transform: none; }

/* hero title lines: slide in from the slant */
.hero__title.reveal { opacity: 1; transform: none; }
.hero__title .line {
  opacity: 0;
  transform: translateX(-40px) skewX(-8deg);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
}
.hero__title.is-in .line { opacity: 1; transform: none; }
.hero__title.is-in .line:nth-child(2) { transition-delay: .08s; }
.hero__title.is-in .line:nth-child(3) { transition-delay: .16s; }
.hero__title.is-in .line:nth-child(4) { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .plans__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .plan--hero,
  .plan--hero.reveal.is-in { transform: none; }
  .plan--hero:hover,
  .plan--hero.reveal.is-in:hover { transform: translateY(-4px); }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { padding-top: 112px; }
  .hero__grid,
  .board__grid,
  .leads__grid { grid-template-columns: 1fr; }
  .stage { height: 500px; }
  .track { grid-template-columns: 1fr 1fr; gap: 48px 20px; }
  .track__rail { display: none; }
  .qmatch__intro { margin-left: 0; }
  .packs { height: 460px; max-width: 460px; }
}

@media (max-width: 600px) {
  .nav__cta .link-quiet { display: none; }
  .hero__grid { padding-bottom: 64px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stage { height: 520px; border-radius: 18px; }
  .stage__clock { top: 16px; right: 16px; }
  .stage__clock-time { font-size: 24px; }
  .buyer { top: 70px; left: 16px; width: calc(100% - 32px); }
  .phone { right: 50%; transform: translateX(50%); width: min(270px, calc(100% - 40px)); height: 300px; }
  .qmatch { padding: 100px 0 90px; }
  .qmatch__head { grid-template-columns: 1fr; align-items: start; }
  .qmatch__intro { margin-bottom: 56px; }
  .track { grid-template-columns: 1fr; }
  .board { padding: 110px 0; }
  .app { transform: none; }
  .app.reveal.is-in { transform: none; }
  .app__list { min-height: 380px; padding: 0 10px 12px; }
  .app__filters { padding: 12px 10px 4px; }
  .plans__grid { grid-template-columns: 1fr; }
  .plans { padding-bottom: 100px; }
  .leads { padding: 100px 0; }
  .leads__points { grid-template-columns: 1fr; }
  .packs { height: 400px; }
  .pack { width: 210px; height: 270px; padding: 22px; }
  .pack--front { right: auto; left: 0; top: 50px; }
  .pack--back { right: 0; }
  .pack__n { font-size: 100px; }
  .packs__cta { left: 0; right: 0; }
  .final { padding: 110px 0 100px; }
  .final__actions .btn { flex: 1 1 100%; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .grain { animation: none; }
  .reveal,
  .hero__title .line { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
