:root {
  --ink: #111;
  --paper: #f6f3ee;
  --red: #ff4d2e;
  --yellow: #ffd23f;
  --blue: #3a5bff;
  --green: #1fcb8b;
  --pink: #ff6fb5;
  --violet: #8b5cf6;
  --gutter: 16px;
  --radius: 22px;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
  max-width: 1320px;
  margin: 0 auto;
}
.logo { font-weight: 900; font-size: 28px; letter-spacing: -0.04em; }
.logo__dot { color: var(--red); }
.nav { display: flex; gap: 24px; font-weight: 700; }
.nav a:hover { color: var(--blue); }

/* hero */
.hero { padding: 48px var(--gutter) 56px; max-width: 1320px; margin: 0 auto; }
.hero__title {
  font-weight: 900;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.06em;
}
.hero__accent {
  background: linear-gradient(90deg, var(--red), var(--pink) 35%, var(--violet) 65%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { margin-top: 24px; font-size: clamp(18px, 2.4vw, 24px); font-weight: 500; }

/* filters */
.lots { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter) 80px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}
.pill:hover { background: var(--ink); color: var(--paper); }
.pill.is-active { background: var(--ink); color: var(--paper); }

/* grid */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  min-height: 240px;
  padding: 22px;
  border-radius: var(--radius);
  text-align: left;
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1);
}
.tile:hover { transform: translateY(-4px) rotate(-0.4deg); }
.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tile__tag {
  align-self: flex-start;
  margin-bottom: auto;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.12);
}
.tile__tag.is-hot { background: var(--ink); color: var(--paper); }
.tile__name {
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}
.tile__tld { opacity: 0.45; }
.mxn { display: block; font-family: var(--mono); font-size: 0.55em; font-weight: 700; opacity: 0.7; margin-top: 4px; letter-spacing: 0; }
.tile__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tile__price { font-weight: 900; font-size: 26px; letter-spacing: -0.03em; }
.tile__meta { font-family: var(--mono); font-size: 13px; font-weight: 700; text-align: right; }

.c-0 { background: var(--yellow); }
.c-1 { background: var(--blue); color: #fff; }
.c-2 { background: var(--pink); }
.c-3 { background: var(--green); }
.c-4 { background: var(--red); color: #fff; }
.c-5 { background: var(--violet); color: #fff; }
.c-1 .tile__tag, .c-4 .tile__tag, .c-5 .tile__tag { background: rgba(255, 255, 255, 0.2); }

/* mexico */
.mx { max-width: 1320px; margin: 0 auto; padding: 8px var(--gutter) 96px; }
.mx__title {
  font-weight: 900;
  font-size: clamp(56px, 12vw, 160px);
  letter-spacing: -0.06em;
  line-height: 0.9;
}
.mx__sub { margin: 16px 0 28px; font-size: 20px; font-weight: 500; }
.grid--featured { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -0.02em;
  transition: transform 0.15s cubic-bezier(.2,.8,.2,1);
}
.chip:hover { transform: translateY(-3px) rotate(-1deg); }
.chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.chip .tile__tld { opacity: 0.5; }
.chip { display: inline-flex; align-items: baseline; gap: 10px; max-width: 100%; }
.chip__price { font-family: var(--mono); font-size: 13px; font-weight: 700; opacity: 0.75; }

/* sell */
.sell {
  background: var(--ink);
  color: var(--paper);
  padding: 72px var(--gutter);
}
.sell__title, .sell__form, .sell__note { max-width: 1320px; margin-left: auto; margin-right: auto; }
.sell__title {
  font-weight: 900;
  font-size: clamp(48px, 10vw, 140px);
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--yellow);
  margin-bottom: 32px;
}
.sell__form { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .sell__form { grid-template-columns: 2fr 1fr 1.4fr auto; } }
.sell__note { margin-top: 18px; font-weight: 700; color: var(--green); }

.field {
  width: 100%;
  padding: 18px 20px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--ink);
  font: 700 18px var(--sans);
  outline: none;
}
.field:focus { border-color: var(--blue); }
.field--big { font-size: 24px; font-family: var(--mono); }

.btn {
  padding: 18px 28px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 18px;
  white-space: nowrap;
  transition: transform 0.12s;
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--red); color: #fff; }
.btn--ink:hover { background: var(--pink); color: var(--ink); }

/* footer */
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px var(--gutter);
  background: var(--ink);
  color: rgba(246, 243, 238, 0.55);
  font-weight: 700;
  border-top: 1px solid rgba(246, 243, 238, 0.12);
}

.is-hidden { display: none; }

@media (max-width: 480px) {
  .nav { gap: 16px; }
}
.hero__accent { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.chip { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 400px) {
  .chip { font-size: 15px; padding: 10px 14px; }
}

/* footer */
.foot { background: var(--ink); color: rgba(246, 243, 238, 0.7); padding: 56px var(--gutter) 24px; display: block; border-top: 1px solid rgba(246, 243, 238, 0.12); }
.foot__inner, .foot__base { max-width: 1320px; margin: 0 auto; }
.foot__inner { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .foot__inner { grid-template-columns: 1.4fr 2fr; } }
.foot .logo { color: var(--paper); }
.foot__line { margin-top: 10px; font-weight: 500; }
.foot__cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__head { font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); }
.foot__col a { color: var(--paper); font-weight: 700; overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--yellow); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(246, 243, 238, 0.12); font-size: 13px; }

/* consent lines */
.fine { margin-top: 14px; font-size: 13px; opacity: 0.7; max-width: 1320px; margin-left: auto; margin-right: auto; }
.fine a { text-decoration: underline; }
.fine--dark { margin-top: 6px; }

/* legal pages */
.legal { padding: 32px var(--gutter) 96px; }
.legal__body { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.65; }
.legal__title { font-weight: 900; font-size: clamp(40px, 8vw, 72px); letter-spacing: -0.05em; line-height: 0.95; }
.legal__date { margin: 14px 0 32px; font-family: var(--mono); font-size: 13px; opacity: 0.6; }
.legal__body h2 { font-weight: 900; font-size: 22px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.legal__body p + p { margin-top: 12px; }
.legal__body a { text-decoration: underline; }

/* cleanup pass */
.hero { padding: 56px var(--gutter) 48px; }
.hero__sub { font-size: clamp(17px, 2vw, 21px); opacity: 0.75; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.55; margin: 0 0 14px; }
.grid--featured { margin-bottom: 64px; }
.tile { min-height: 200px; padding: 24px; }
.tile__price { font-size: 22px; }
.mxn { font-size: 12px; }

.list { display: grid; grid-template-columns: 1fr; column-gap: 40px; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .list { grid-template-columns: repeat(3, 1fr); } }
.row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 4px; border-bottom: 1px solid rgba(17, 17, 17, 0.12); text-align: left; min-width: 0;
  transition: background 0.12s, padding 0.12s;
}
.row:hover { background: var(--yellow); padding-left: 10px; padding-right: 10px; }
.row:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.row__name { font-weight: 900; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row__name .tile__tld { opacity: 0.4; }
.row__price { font-weight: 700; font-size: 15px; text-align: right; white-space: nowrap; }
.row__alt { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; opacity: 0.5; }
@media (max-width: 400px) { .row__name { font-size: 15px; } .row__price { font-size: 14px; } }

.sell { padding: 80px var(--gutter); }
.sell__title { font-size: clamp(44px, 8vw, 112px); }

/* desktop: hero on one line so the first row of cards sits above the fold */
@media (min-width: 1024px) {
  .hero { padding: 28px var(--gutter) 32px; }
  .hero__title { font-size: min(6.4vw, 116px); white-space: nowrap; }
  .hero__sub { margin-top: 14px; }
  .tile { min-height: 176px; }
}

/* motion */
@keyframes rise { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
@keyframes hue { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero__accent { background-size: 220% 100%; animation: hue 9s ease-in-out infinite; }
.js .hero .w { display: inline-block; opacity: 0; animation: rise 0.7s cubic-bezier(.2,.8,.2,1) forwards; }
.js .hero .w:nth-child(2) { animation-delay: 0.08s; }
.js .hero .hero__accent.w { animation: rise 0.7s cubic-bezier(.2,.8,.2,1) 0.16s forwards, hue 9s ease-in-out 0.9s infinite; }
.js .hero__sub.w { display: block; animation-delay: 0.3s; }

.js .tile, .js .row, .js .eyebrow, .js .sell__title, .js .sell__form {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), transform 0.6s cubic-bezier(.2,.8,.2,1) var(--d, 0ms),
              background 0.12s, padding 0.12s;
}
.js .is-in { opacity: 1; transform: none; }
.js .tile.is-in:hover { transform: translateY(-6px) rotate(-0.6deg); transition: transform 0.25s cubic-bezier(.3,1.6,.5,1), opacity 0.6s; }
.tile__name { transition: letter-spacing 0.3s; }
.tile:hover .tile__name { letter-spacing: -0.04em; }
.btn--ink { transition: transform 0.12s, background 0.2s, color 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .js .hero .w, .js .tile, .js .row, .js .eyebrow, .js .sell__title, .js .sell__form { opacity: 1 !important; transform: none !important; }
}

/* ticker */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 1px solid var(--ink); }
.ticker__track { display: flex; width: max-content; animation: marquee var(--dur, 120s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: baseline; gap: 10px; padding: 11px 22px; font-weight: 900; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; border-right: 1px solid rgba(246, 243, 238, 0.14); }
.tick .tile__tld { opacity: 0.55; }
.tick__price { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--paper); opacity: 0.75; }
.tick:hover .tick__price { opacity: 1; }
.c-0t { color: var(--yellow); } .c-1t { color: #8fa3ff; } .c-2t { color: var(--pink); }
.c-3t { color: var(--green); } .c-4t { color: #ff7a61; } .c-5t { color: #b69bff; }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker__track { animation: none !important; }
}


/* no hover motion */
.tile:hover, .js .tile.is-in:hover { transform: none; }
.tile:hover .tile__name { letter-spacing: -0.05em; }
.tile__name { transition: none; }
.row:hover { padding-left: 4px; padding-right: 4px; }
.chip:hover { transform: none; }

/* checkout dialog */
.sheet {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); overflow: hidden auto;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.35);
}
.sheet::backdrop { background: rgba(17, 17, 17, 0.6); backdrop-filter: blur(6px); }
.sheet[open] { animation: pop 0.28s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { transform: translateY(20px) scale(0.98); opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }

.sheet__head { position: relative; padding: 28px 28px 26px; }
.sheet__close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 999px;
  display: grid; place-items: center; background: rgba(17, 17, 17, 0.12); color: inherit;
}
.sheet__close:hover { background: rgba(17, 17, 17, 0.22); }
.sheet__tag { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.75; }
.sheet__name {
  font-weight: 900; font-size: clamp(30px, 7vw, 46px); letter-spacing: -0.05em; line-height: 1;
  margin: 12px 0 14px; padding-right: 40px; overflow-wrap: normal;
}
.sheet__name .tile__tld { opacity: 0.5; white-space: nowrap; }
.sheet__price { font-weight: 900; font-size: 26px; letter-spacing: -0.03em; }
.sheet__price .mxn { font-size: 12px; margin-top: 4px; }

.steps { display: flex; gap: 6px; list-style: none; padding: 16px 28px 0; }
.steps__item {
  flex: 1; display: flex; align-items: center; gap: 8px; padding-bottom: 12px;
  border-bottom: 3px solid rgba(17, 17, 17, 0.1); font-size: 13px; font-weight: 700; color: rgba(17, 17, 17, 0.4);
}
.steps__item span {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 999px;
  background: rgba(17, 17, 17, 0.08); font-family: var(--mono); font-size: 11px;
}
.steps__item.is-active { color: var(--ink); border-color: var(--ink); }
.steps__item.is-active span { background: var(--ink); color: var(--paper); }
.steps__item.is-done { color: var(--ink); border-color: var(--green); }
.steps__item.is-done span { background: var(--green); color: var(--ink); }

.panel { padding: 22px 28px 28px; }
.facts { display: grid; gap: 0; margin-bottom: 18px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.1); font-size: 15px; }
.facts dt { opacity: 0.6; font-weight: 500; }
.facts dd { font-weight: 700; text-align: right; }
.offer { display: block; margin-bottom: 14px; }
.offer__label, .f > span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.sheet .field { background: #fff; border: 2px solid rgba(17, 17, 17, 0.14); padding: 14px 16px; font-size: 16px; border-radius: 12px; }
.sheet .field:focus { border-color: var(--ink); }
.sheet .field--big { font-size: 22px; font-family: var(--mono); }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; border: 2px solid rgba(17, 17, 17, 0.18); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.checkout__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f--wide { grid-column: 1 / -1; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; line-height: 1.45; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.agree a { text-decoration: underline; }
.checkout__actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 16px; }

.sheet__msg { min-height: 20px; margin: 4px 0 10px; font-size: 14px; font-weight: 700; }
.sheet__msg:empty { min-height: 0; margin: 0; }
.sheet__msg.is-ok { color: #0a8f5c; }
.sheet__msg.is-err { color: #d3341a; }

.done { text-align: center; padding-top: 30px; }
.done__mark { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 999px; display: grid; place-items: center; background: var(--green); color: var(--ink); }
.done__title { font-weight: 900; font-size: 28px; letter-spacing: -0.03em; }
.done__text { margin: 10px auto 22px; max-width: 380px; font-size: 16px; line-height: 1.5; opacity: 0.8; }

@media (max-width: 560px) {
  .sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .sheet[open] { animation: up 0.3s cubic-bezier(.2,.8,.2,1); }
  .sheet__head, .panel { padding-left: 20px; padding-right: 20px; }
  .steps { padding-left: 20px; padding-right: 20px; }
  .checkout__grid { grid-template-columns: 1fr; }
}

[hidden] { display: none !important; }
@media (hover: none) {
  .btn--ink:hover { background: var(--red); color: #fff; }
  .row:hover { background: transparent; }
}

/* close button: large target, always above the name */
.sheet__close {
  z-index: 3; top: 12px; right: 12px; width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: 0 2px 10px rgba(17, 17, 17, 0.18);
}
.sheet__close:hover { background: #fff; }
.sheet__close svg { width: 22px; height: 22px; }
.sheet__name { position: relative; z-index: 1; padding-right: 56px; }
.sheet__tag { padding-right: 56px; }
.sheet__close { border-radius: 14px; }

/* popup: no scrolling; header compacts after step 1 */
.sheet { overflow: hidden; }
.sheet[data-step="2"] .sheet__head, .sheet[data-step="3"] .sheet__head, .sheet[data-step="4"] .sheet__head { padding: 18px 28px 16px; }
.sheet[data-step="2"] .sheet__tag, .sheet[data-step="3"] .sheet__tag, .sheet[data-step="4"] .sheet__tag { display: none; }
.sheet[data-step="2"] .sheet__name, .sheet[data-step="3"] .sheet__name, .sheet[data-step="4"] .sheet__name { font-size: 24px !important; margin: 0 0 4px; }
.sheet[data-step="2"] .sheet__price, .sheet[data-step="3"] .sheet__price, .sheet[data-step="4"] .sheet__price { font-size: 18px; }
.sheet[data-step="2"] .sheet__price .mxn, .sheet[data-step="3"] .sheet__price .mxn, .sheet[data-step="4"] .sheet__price .mxn { display: inline; margin: 0 0 0 8px; }
.sheet[data-step="2"] .was, .sheet[data-step="3"] .was, .sheet[data-step="4"] .was { display: none; }
.checkout { padding-top: 18px; }
.checkout__grid { gap: 10px; }
.f > span, .bday legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; display: block; }
.bday { border: 0; padding: 0; display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 8px; }
.bday legend { grid-column: 1 / -1; padding: 0; }
.sheet select.field {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 34px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.steps__item { font-size: 12px; }
@media (max-width: 560px) {
  .sheet .field { padding: 12px 14px; }
  .facts div { padding: 10px 0; }
  .sheet__head { padding: 22px 20px 20px; }
  .steps__item { gap: 6px; }
}
@media (max-width: 360px) { .steps__item { font-size: 0; gap: 0; } .steps__item span { font-size: 11px; } }

/* prices with discounts */
.was { display: block; font-family: var(--mono); font-size: 0.55em; font-weight: 700; opacity: 0.6; text-decoration: line-through; margin-bottom: 2px; }
.row__price .was { display: inline; margin: 0 8px 0 0; font-size: 12px; }
.save { color: #0a8f5c; font-weight: 900; }
.tile__tag.is-hot { background: var(--ink); color: var(--paper); }

/* spin launcher */
.spin-launch {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 900; font-size: 15px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.3);
}
.spin-launch__dot { width: 10px; height: 10px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 0 rgba(31, 203, 139, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(31, 203, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 203, 139, 0); } }

/* active discount bar */
.promo {
  position: fixed; left: 16px; bottom: 16px; z-index: 49; display: inline-flex; gap: 12px; align-items: center;
  padding: 12px 18px; border-radius: 999px; background: var(--green); color: var(--ink); font-weight: 900; font-size: 14px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.2);
}
.promo__time { font-family: var(--mono); }
@media (max-width: 560px) {
  .promo { left: 12px; right: auto; bottom: 76px; }
  .spin-launch { right: 12px; bottom: 12px; }
}

/* slot machine */
.slot {
  width: min(440px, calc(100% - 32px)); margin: auto; padding: 32px 28px 28px; border: 0; border-radius: 28px;
  background: var(--ink); color: var(--paper); text-align: center; overflow: hidden; box-shadow: 0 30px 80px rgba(17, 17, 17, 0.45);
}
.slot::backdrop { background: rgba(17, 17, 17, 0.6); backdrop-filter: blur(6px); }
.slot[open] { animation: pop 0.28s cubic-bezier(.2,.8,.2,1); }
.slot .sheet__close { background: rgba(246, 243, 238, 0.12); color: var(--paper); box-shadow: none; }
.slot__eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow); }
.slot__title { font-weight: 900; font-size: 32px; letter-spacing: -0.04em; margin: 8px 0 22px; }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; border-radius: 20px; background: linear-gradient(135deg, var(--red), var(--pink) 40%, var(--violet) 70%, var(--blue)); }
.reel { height: 72px; overflow: hidden; border-radius: 12px; background: var(--paper); color: var(--ink); }
.reel__strip { display: flex; flex-direction: column; will-change: transform; }
.reel__strip span { height: 72px; display: grid; place-items: center; font-weight: 900; font-size: 30px; letter-spacing: -0.03em; }
.slot__odds { margin-top: 16px; font-size: 13px; opacity: 0.65; line-height: 1.45; }
.slot__result { min-height: 24px; margin: 14px 0; font-weight: 900; font-size: 17px; color: var(--green); }
.slot .btn--ink { background: var(--yellow); color: var(--ink); }
.slot .btn--ink:disabled { background: rgba(246, 243, 238, 0.15); color: var(--paper); }

/* cleanup pass 2 */
.hero__title { letter-spacing: -0.045em; word-spacing: 0.04em; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 18px; }
.js .hero__row.w { display: flex; animation-delay: 0.3s; }
.hero__row .hero__sub { margin: 0; }
.hero__spin {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 900; font-size: 15px;
}
.spin-launch { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.spin-launch.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.tick { padding: 9px 20px; gap: 12px; }
.tick__name { font-weight: 900; }
.eyebrow { margin-bottom: 12px; }
@media (max-width: 640px) {
  .tile { min-height: 156px; padding: 20px; gap: 20px; }
  .hero { padding: 36px var(--gutter) 32px; }
  .grid--featured { margin-bottom: 48px; }
  .spin-launch { padding: 12px 16px; font-size: 14px; }
}

/* savings sit with the price, never above the name */
.save-pill {
  display: inline-block; vertical-align: middle; margin-left: 10px; padding: 4px 9px; border-radius: 999px;
  background: var(--paper); color: #0a7a4f; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0;
}
.tile .was { font-size: 13px; }
.tile .save-pill { position: absolute; right: 20px; bottom: 22px; margin: 0; font-size: 13px; padding: 6px 11px; }
@media (max-width: 360px) {
  .tile .save-pill { position: static; display: table; margin: 10px 0 0 auto; }
}
@media (max-width: 360px) { .tile__foot .tile__price { flex: 1; display: block; } }
.tile .was--inline { display: inline; margin: 0 0 0 8px; font-size: 12px; }
@media (max-width: 639px) {
  .tile .save-pill { position: static; display: table; margin: 10px 0 0 auto; }
  .tile__foot .tile__price { flex: 1; display: block; }
}

/* slot machine v2 */
.slot { overflow: visible; }
.machine { position: relative; padding: 10px; border-radius: 26px; background: linear-gradient(160deg, #2a2a2a, #0b0b0b); box-shadow: inset 0 0 0 2px rgba(246, 243, 238, 0.08), 0 18px 40px rgba(0, 0, 0, 0.45); }
.bulbs { display: flex; justify-content: space-between; padding: 6px 10px; }
.bulbs i { width: 9px; height: 9px; border-radius: 999px; background: #5a4a12; box-shadow: none; animation: bulb 1.4s infinite; }
.bulbs i:nth-child(odd) { animation-delay: 0.7s; }
@keyframes bulb { 0%, 49% { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); } 50%, 100% { background: #5a4a12; box-shadow: none; } }
.machine.is-spinning .bulbs i { animation-duration: 0.35s; }
.machine.is-win .bulbs i { animation: bulbwin 0.5s infinite; }
@keyframes bulbwin { 0%, 100% { background: var(--green); box-shadow: 0 0 12px var(--green); } 50% { background: var(--pink); box-shadow: 0 0 12px var(--pink); } }

.reels { position: relative; gap: 8px; padding: 10px; border-radius: 18px; }
.reel { position: relative; height: 136px; border-radius: 12px; background: linear-gradient(#e9e4dc, #fffdf8 30%, #fffdf8 70%, #e9e4dc); box-shadow: inset 0 6px 12px rgba(0,0,0,0.18), inset 0 -6px 12px rgba(0,0,0,0.18); }
.reel::before, .reel::after { content: ""; position: absolute; left: 0; right: 0; height: 30px; z-index: 2; pointer-events: none; }
.reel::before { top: 0; background: linear-gradient(rgba(17,17,17,0.35), transparent); }
.reel::after { bottom: 0; background: linear-gradient(transparent, rgba(17,17,17,0.35)); }
.reel__strip span { height: 76px; font-size: 32px; }
.reel.is-blur .reel__strip { filter: blur(2px); }
.reel.is-stop { animation: thunk 0.3s ease-out; }
@keyframes thunk { 30% { transform: translateY(4px); } 100% { transform: none; } }
.reel.is-match { box-shadow: inset 0 0 0 3px var(--green), 0 0 22px rgba(31, 203, 139, 0.7); }
.s-mx { color: #c99a00; } .s-com { color: var(--blue); } .s-usd { color: #0a8f5c; } .s-7 { color: var(--red); font-size: 40px !important; } .s-star { color: var(--violet); }
.payline { position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; transform: translateY(-1px); background: rgba(255, 77, 46, 0.85); box-shadow: 0 0 10px rgba(255, 77, 46, 0.9); z-index: 3; pointer-events: none; }

.slot__win { margin: 18px 0 2px; font-weight: 900; font-size: 56px; letter-spacing: -0.05em; line-height: 1; animation: winpop 0.5s cubic-bezier(.2,1.6,.4,1); }
.slot__win--7 { background: linear-gradient(90deg, var(--yellow), var(--red), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slot__win--4 { color: var(--green); }
.slot__win--2 { color: var(--paper); }
@keyframes winpop { from { transform: scale(0.4); opacity: 0; } }
.slot__result { color: var(--paper); opacity: 0.8; font-size: 15px; margin-top: 6px; }

.burst { position: absolute; left: 50%; top: 45%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.burst i { position: absolute; width: 8px; height: 14px; border-radius: 2px; background: var(--c); animation: confetti 1.5s cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 260px)) rotate(var(--r)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bulbs i { animation: none !important; background: var(--yellow); } }

/* trending */
.flame { display: inline-block; vertical-align: -2px; margin-right: 3px; }
.trend { font-family: var(--mono); font-size: 11px; font-weight: 700; white-space: nowrap; }
.trend--card { position: absolute; top: 16px; right: 16px; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: var(--yellow); }
.trend--row { margin-left: 8px; color: #d3341a; }
.eyebrow__note { margin-left: 10px; text-transform: none; letter-spacing: 0; font-weight: 500; opacity: 0.8; }
.hotlist { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 56px; }
@media (min-width: 900px) { .hotlist { grid-template-columns: repeat(3, 1fr); } }
.hot {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "rank name growth" "rank price growth";
  align-items: center; column-gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff;
  border: 2px solid var(--ink); text-align: left; min-width: 0;
}
.hot:hover { background: var(--yellow); }
.hot__rank { grid-area: rank; font-weight: 900; font-size: 28px; letter-spacing: -0.04em; width: 28px; text-align: center; }
.hot__name { grid-area: name; font-weight: 900; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hot__name .tile__tld { opacity: 0.4; }
.hot__price { grid-area: price; font-family: var(--mono); font-size: 12px; opacity: 0.65; }
.hot__growth { grid-area: growth; padding: 6px 10px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700; white-space: nowrap; }
@media (max-width: 400px) { .eyebrow__note { display: block; margin: 4px 0 0; } }

/* broker page */
.broker { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter) 96px; }
.how { list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how__step { padding: 26px 24px; border-radius: var(--radius); }
.how__n { font-family: var(--mono); font-size: 12px; font-weight: 700; opacity: 0.7; }
.how__step h2 { font-weight: 900; font-size: 28px; letter-spacing: -0.04em; margin: 8px 0 8px; }
.how__step p { font-size: 16px; line-height: 1.5; }
.broker__example { padding: 22px 0 34px; border-top: 2px solid var(--ink); }
.broker__math { font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; line-height: 1.35; max-width: 900px; }
.broker__form, .broker__done { max-width: 760px; padding: 32px; border-radius: var(--radius); background: #fff; border: 2px solid var(--ink); }
.broker__title { font-weight: 900; font-size: 34px; letter-spacing: -0.04em; margin-bottom: 18px; }
.broker__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.broker .field { border: 2px solid rgba(17, 17, 17, 0.14); padding: 14px 16px; font-size: 16px; border-radius: 12px; }
.broker .field:focus { border-color: var(--ink); }
.broker textarea.field { resize: vertical; font-family: var(--sans); font-weight: 500; }
.broker select.field {
  appearance: none; -webkit-appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.broker .btn { margin-top: 14px; }
.broker__done { text-align: center; }
@media (max-width: 640px) { .broker__grid { grid-template-columns: 1fr; } .broker__form, .broker__done { padding: 22px; } }

/* card badges: bottom-right, no extra height */
.tile__foot { align-items: flex-end; }
.tile__badges { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.tile .tile__badges .save-pill { position: static; margin: 0; display: inline-block; }
.tile .trend--card { position: static; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: var(--yellow); }
@media (max-width: 639px) {
  .tile__foot .tile__price { flex: 1; display: block; min-width: 0; }
  .tile .tile__badges .save-pill { display: inline-block; margin: 0; }
}
@media (min-width: 900px) { .tile__badges { flex-direction: row; align-items: center; } }
.tile .tile__price .mxn { white-space: nowrap; }
.tile .was--inline { margin-left: 6px; }
@media (min-width: 900px) and (max-width: 1279px) { .tile__badges { flex-direction: column; align-items: flex-end; } .trend--card { font-size: 10px; } }

/* site-styled dropdown */
.dd { position: relative; }
.dd__native { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.broker .dd__btn {
  width: 100%; text-align: left; cursor: pointer; font: 700 16px var(--sans); color: var(--ink); padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.broker .dd__btn.is-empty { color: rgba(17, 17, 17, 0.45); }
.dd.is-open .dd__btn { border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 7l5-5 5 5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E"); }
.dd__menu {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; padding: 6px;
  background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 16px 40px rgba(17, 17, 17, 0.18);
  animation: ddin 0.16s cubic-bezier(.2,.8,.2,1);
}
@keyframes ddin { from { opacity: 0; transform: translateY(-4px); } }
.dd__opt { padding: 12px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; outline: none; }
.dd__opt:hover, .dd__opt:focus { background: var(--yellow); }
.dd__opt[aria-selected="true"] { background: var(--ink); color: var(--paper); }

/* broker page: one screen on desktop */
.bk { max-width: 1320px; margin: 0 auto; padding: 24px var(--gutter) 64px; display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .bk { grid-template-columns: 1fr 1.05fr; gap: 56px; padding-top: 28px; } }
.bk__title { font-weight: 900; font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.05em; line-height: 0.92; }
.bk__title .w { display: inline-block; }
.bk__sub { margin-top: 14px; font-size: 18px; opacity: 0.75; }
.bk__steps { list-style: none; margin: 26px 0 0; display: grid; gap: 12px; }
.bk__steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.45; }
.bk__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-weight: 900; font-size: 16px; }
.bk__example { margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--ink); font-size: 18px; line-height: 1.45; }
.bk__form { padding: 0; max-width: none; }
.bk__form .broker__form, .bk__form .broker__done { max-width: none; padding: 26px; }
.bk__form .broker__title { font-size: 28px; margin-bottom: 14px; }
.bk__form .broker__grid { gap: 10px; }
.bk__form .field { padding: 12px 14px; }
.bk__form .f > span { margin-bottom: 5px; }
.bk__form .agree { margin-top: 12px; }
.bk__form .btn { margin-top: 10px; width: 100%; }
.js .bk .w { opacity: 0; animation: rise 0.7s cubic-bezier(.2,.8,.2,1) forwards; }
.js .bk .hero__accent.w { animation-delay: 0.08s; }
.js .bk__sub.w { animation-delay: 0.16s; }

/* catalog table (no-JS) */
.legal__body--wide { max-width: 1100px; }
.catalog { width: 100%; border-collapse: collapse; font-size: 15px; }
.catalog th { text-align: left; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; padding: 10px 8px; border-bottom: 2px solid var(--ink); }
.catalog td { padding: 10px 8px; border-bottom: 1px solid rgba(17, 17, 17, 0.12); white-space: nowrap; }
.catalog td:first-child a { font-weight: 900; text-decoration: none; }
.catalog td:nth-child(2) { font-weight: 700; }
.catalog td:nth-child(3), .catalog td:nth-child(5) { font-family: var(--mono); font-size: 12px; opacity: 0.7; }
@media (max-width: 640px) { .catalog th:nth-child(3), .catalog td:nth-child(3), .catalog th:nth-child(4), .catalog td:nth-child(4) { display: none; } .catalog td { font-size: 14px; } }
a.eyebrow__note { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* touch targets */
.nav a, .logo { display: inline-flex; align-items: center; min-height: 44px; }
.foot__col a { display: inline-flex; align-items: center; min-height: 40px; }
.foot__col { gap: 0; }
.hero__spin { min-height: 44px; }
a.eyebrow__note { display: inline-flex; align-items: center; min-height: 40px; }
.spin-launch { min-height: 44px; }
