/* YetiList — Nordic clean.
   White page, navy type, one glacier blue for the brand and actions,
   one coral for discounts. A line-art yeti keeps it friendly. */

:root {
  --bg: #ffffff;
  --tint: #f5f8fd;
  --tint-2: #eaf1fd;
  --line: #e6ebf3;
  --line-strong: #d3dbe8;
  --navy: #0b1f4d;
  --text: #0b1f4d;
  --soft: #3c4b6b;
  --muted: #6b7690;
  --blue: #2f6feb;
  --blue-deep: #1f57c7;
  --coral: #e5483b;
  --coral-tint: #fdeceb;
  --star: #f5a623;
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --wrap: 1280px;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(11, 31, 77, 0.04), 0 6px 20px -10px rgba(11, 31, 77, 0.14);
  --shadow-lift: 0 2px 6px rgba(11, 31, 77, 0.05), 0 22px 40px -18px rgba(11, 31, 77, 0.24);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

svg {
  flex: none;
}

code {
  font: 0.86em ui-monospace, "Cascadia Code", Consolas, monospace;
  background: var(--tint-2);
  color: var(--navy);
  border-radius: 6px;
  padding: 0.15em 0.45em;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--tint-2);
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.yeti {
  height: auto;
  user-select: none;
  pointer-events: none;
}

/* ---------- shared bits ---------- */

.off {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--coral);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.off--pill {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary svg {
  fill: currentColor;
  stroke: none;
}

.btn--primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px var(--blue);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--navy);
  background: #fff;
}

.btn--ghost:hover {
  border-color: var(--navy);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.more:hover svg {
  transform: translateX(3px);
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.header__row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--blue);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.logo__mark .yeti {
  width: 40px;
  transform: translateY(2px);
}

.logo__word {
  font: 800 1.6rem/1 var(--display);
  letter-spacing: -0.035em;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--blue);
}

.nav__bf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue) !important;
  font-weight: 600;
}

.nav__bf span {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.search {
  position: relative;
  flex: 0 1 320px;
  margin-left: auto;
}

.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
}

.search input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: 400 0.92rem var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search input::placeholder {
  color: var(--muted);
}

.search input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--tint-2);
}

/* ---------- hero ---------- */

.hero {
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 24px;
  min-height: 500px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.eyebrow b {
  font-weight: 700;
}

.hero__title {
  margin-top: 16px;
  font: 800 clamp(3rem, 6.4vw, 5.6rem) / 0.98 var(--display);
  letter-spacing: -0.045em;
  color: var(--navy);
}

.hero__title span {
  color: var(--blue);
}

.hero__sub {
  max-width: 34rem;
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--soft);
}

.hero__sub b {
  color: var(--coral);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__art {
  position: relative;
  align-self: stretch;
  min-height: 460px;
}

.hero__photo {
  position: absolute;
  inset: 0 -6vw 0 0;
  width: calc(100% + 6vw);
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  /* the photo's white backdrop melts into the page */
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 58% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 66% at 58% 50%, #000 55%, transparent 100%);
}

.hero__yeti {
  position: absolute;
  left: -2%;
  bottom: 4%;
  width: clamp(140px, 15vw, 210px);
}

/* ---------- email signup ---------- */

.signup {
  padding-top: 8px;
}

.signup__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1.1fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 44px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
}

/* soft snowfall in the corner */
.signup__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1.2px, transparent 1.6px), radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.4px);
  background-size: 46px 46px, 28px 28px;
  background-position: 0 0, 14px 20px;
  -webkit-mask-image: linear-gradient(110deg, transparent 40%, #000 100%);
  mask-image: linear-gradient(110deg, transparent 40%, #000 100%);
  pointer-events: none;
}

.signup__yeti {
  position: relative;
  width: clamp(96px, 10vw, 140px);
  padding: 8px;
  border-radius: 50%;
  background: #fff;
}

.signup__copy,
.signup__action {
  position: relative;
}

.signup .eyebrow {
  color: #8fb4ff;
}

.signup h2 {
  margin-top: 8px;
  font: 800 clamp(1.5rem, 2.4vw, 2.05rem) / 1.1 var(--display);
  letter-spacing: -0.03em;
}

.signup h2 span {
  color: #8fb4ff;
}

.signup__perks {
  list-style: none;
  display: grid;
  gap: 4px;
  margin: 12px 0 0;
  padding: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.signup__perks li::before {
  content: "\2713";
  margin-right: 8px;
  color: #8fb4ff;
  font-weight: 800;
}

.signup__form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
}

.signup__form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  font: 500 1rem var(--sans);
}

.signup__form input[type="email"]:focus {
  outline: none;
}

.signup__form:focus-within {
  box-shadow: 0 0 0 4px rgba(143, 180, 255, 0.5);
}

.signup__form .btn {
  height: 48px;
  padding: 0 18px;
}

.signup__form .btn svg {
  fill: none;
  stroke: currentColor;
}

/* off-screen, never shown to people */
.signup__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.signup__msg {
  min-height: 1.4em;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffb4ad;
}

.signup__done {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(143, 180, 255, 0.16);
  font-weight: 600;
}

.signup__done svg,
.signup__fine svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signup__done svg {
  color: #8fb4ff;
}

.signup__fine {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

.signup__fine svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(36px, 5vw, 64px);
}

.section--flush {
  padding-top: 8px;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin-bottom: 24px;
}

.sec-head h2 {
  font: 800 clamp(1.9rem, 3.2vw, 2.6rem) / 1.05 var(--display);
  letter-spacing: -0.035em;
  color: var(--navy);
}

.sec-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- list cards ---------- */

.lists {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.list {
  position: relative;
  display: flex;
  min-height: 138px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, var(--tint) 100%);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.list:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.list__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 0 20px 20px;
}

.list__name {
  font: 700 1.35rem/1.1 var(--display);
  letter-spacing: -0.025em;
  color: var(--navy);
}

.list__soon {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.list__img {
  position: absolute;
  right: 6px;
  bottom: 8px;
  width: 46%;
  max-width: 132px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(11, 31, 77, 0.12));
  transition: transform 0.45s var(--ease);
}

.list:hover .list__img {
  transform: scale(1.06) rotate(-2deg);
}

.lists--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- deal cards ---------- */

.deals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.deal {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.deal:hover,
.deal:focus-within {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.deal--pick {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}

.deal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.deal__rank {
  font: 800 2.1rem/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.deal__pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px 2px 2px;
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--blue-deep);
  font-size: 0.74rem;
  font-weight: 700;
}

.deal__pick .yeti {
  width: 26px;
  border-radius: 50%;
  background: #fff;
}

.deal__sample {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.deal__img {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin: 6px 0 12px;
}

.deal__img img {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.deal:hover .deal__img img {
  transform: scale(1.04);
}

/* No product photo: a quiet placeholder. */
.deal__img:not(:has(img)) {
  border-radius: var(--radius-sm);
  background: var(--tint);
}

.deal__img:not(:has(img))::after {
  content: "";
  width: 28%;
  aspect-ratio: 1;
  background: var(--line-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.8 8.8a2 2 0 0 0 2.8 0l7.2-7.2a2 2 0 0 0 0-2.8L12.6 2.6A2 2 0 0 0 11.2 2ZM7.5 9.2a1.7 1.7 0 1 1 0-3.4 1.7 1.7 0 0 1 0 3.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.8 8.8a2 2 0 0 0 2.8 0l7.2-7.2a2 2 0 0 0 0-2.8L12.6 2.6A2 2 0 0 0 11.2 2ZM7.5 9.2a1.7 1.7 0 1 1 0-3.4 1.7 1.7 0 0 1 0 3.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.deal__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font: 700 0.95rem/1.3 var(--sans);
  color: var(--navy);
}

.deal__name a {
  text-decoration: none;
}

/* The whole card is the link. */
.deal__name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.deal__name a:focus-visible {
  outline: none;
}

.deal:has(.deal__name a:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.deal__sub {
  margin-top: 2px;
  overflow: hidden;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.rating b {
  color: var(--navy);
  font-weight: 600;
}

.stars {
  --pct: 0%;
  width: 5.2em;
  height: 1em;
  background: linear-gradient(90deg, var(--star) var(--pct), #dfe4ec var(--pct));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.5 5.4 5.9.7-4.4 4 1.2 5.8L10 14.6l-5.2 2.9 1.2-5.8-4.4-4 5.9-.7z'/%3E%3C/svg%3E") 0 0 / 1.04em 1em repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.5 5.4 5.9.7-4.4 4 1.2 5.8L10 14.6l-5.2 2.9 1.2-5.8-4.4-4 5.9-.7z'/%3E%3C/svg%3E") 0 0 / 1.04em 1em repeat-x;
}

.deal__price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 8px;
  margin-top: auto;
  padding-top: 12px;
  font-variant-numeric: tabular-nums;
}

.deal__price s {
  grid-row: 2;
}

.deal__price strong {
  font: 800 1.2rem/1.1 var(--display);
  letter-spacing: -0.02em;
  color: var(--blue);
}

.deal__price s {
  font-size: 0.82rem;
  color: var(--muted);
}

.deal__price .off {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.86rem;
  padding: 4px 9px;
}

.deal__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  margin-top: 14px;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.deal__cta svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deal:hover .deal__cta {
  background: var(--blue);
  color: #fff;
}

/* ---------- mystery deals ---------- */

.mystery-wrap {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 111, 235, 0.1), transparent 45%),
    radial-gradient(circle at 92% 100%, rgba(229, 72, 59, 0.08), transparent 40%),
    var(--tint);
}

.mystery-head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: 26px;
}

.mystery-head__yeti {
  width: clamp(96px, 11vw, 150px);
}

.mystery-head h2 {
  margin-top: 6px;
  font: 800 clamp(1.9rem, 3.2vw, 2.6rem) / 1.05 var(--display);
  letter-spacing: -0.035em;
}

.mystery-head p:last-child {
  max-width: 40rem;
  margin-top: 8px;
  color: var(--soft);
}

.mysteries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mystery {
  perspective: 1200px;
}

.mystery__inner {
  display: grid;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.mystery.is-open .mystery__inner {
  transform: rotateY(180deg);
}

/* Both faces share one grid cell, so the card is as tall as the taller face. */
.mystery__face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.mystery__back {
  transform: rotateY(180deg);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lift);
}

.mystery__no {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.mystery__no em {
  font-style: normal;
  color: var(--coral);
}

.mystery__box {
  width: 62%;
  height: auto;
  margin: 8px auto 6px;
  filter: drop-shadow(0 14px 16px rgba(11, 31, 77, 0.14));
  transition: transform 0.35s var(--ease);
}

.mystery:hover .mystery__box {
  animation: wiggle 0.6s ease-in-out;
}

.mystery.is-shaking .mystery__box {
  animation: shake 0.45s ease-in-out;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-5deg); }
  50% { transform: rotate(4deg) translateY(-3px); }
  75% { transform: rotate(-2deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0) rotate(0) scale(1); }
  20% { transform: translateX(-6px) rotate(-6deg) scale(1.03); }
  40% { transform: translateX(6px) rotate(6deg) scale(1.06); }
  60% { transform: translateX(-4px) rotate(-4deg) scale(1.08); }
  80% { transform: translateX(3px) rotate(3deg) scale(1.1); }
}

.mystery__clues {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 4px 0 16px;
  padding: 0;
  font-size: 0.86rem;
}

.mystery__clues li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line-strong);
}

.mystery__clues span {
  color: var(--muted);
}

.mystery__clues b {
  color: var(--navy);
  font-weight: 700;
  text-align: right;
}

.mystery__clues .mystery__pct {
  color: var(--coral);
}

.mystery__open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  margin-top: auto;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s var(--ease);
}

.mystery__open:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.mystery__open svg,
.mystery__go svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mystery__img {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 8px 0 10px;
}

.mystery__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mystery__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font: 700 0.95rem/1.3 var(--sans);
}

.mystery__back .deal__price {
  margin-top: 0;
  padding-top: 10px;
}

.mystery__save {
  margin-top: 4px;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 700;
}

.mystery__go {
  height: 44px;
  margin-top: auto;
  font-size: 0.92rem;
}

.mystery__back .mystery__go {
  margin-top: 14px;
}

/* ---------- list page header ---------- */

.page-head {
  padding-block: 28px 20px;
}

.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--tint) 0%, #fff 70%);
  border: 1px solid var(--line);
}

.page-head h1 {
  margin-top: 10px;
  font: 800 clamp(2.2rem, 4.4vw, 3.4rem) / 1 var(--display);
  letter-spacing: -0.04em;
  color: var(--navy);
}

.page-head--plain h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.page-head__sub {
  max-width: 44rem;
  margin-top: 10px;
  color: var(--soft);
  font-size: 1.05rem;
}

.page-head__img {
  width: clamp(120px, 15vw, 200px);
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(11, 31, 77, 0.14));
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--blue);
}

.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}

.facts li {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  color: var(--soft);
  white-space: nowrap;
}

.facts b {
  color: var(--navy);
}

.facts .facts__off {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
  font-weight: 700;
}

.notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--tint-2);
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--soft);
  font-size: 0.92rem;
}

.notice .yeti {
  width: 48px;
  border-radius: 50%;
  background: #fff;
}

.notice b {
  color: var(--navy);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 18px;
  color: var(--muted);
}

.toolbar b {
  color: var(--navy);
}

.sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.sort select {
  appearance: none;
  height: 42px;
  padding: 0 40px 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230b1f4d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 15px center / 11px;
  color: var(--navy);
  font: 500 0.92rem var(--sans);
  cursor: pointer;
}

.sort select:hover {
  border-color: var(--blue);
}

/* ---------- about / how we rank ---------- */

.about {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: var(--tint);
}

.about__head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.about__head .about__lede {
  max-width: 42rem;
}

.about__yeti {
  width: clamp(110px, 12vw, 160px);
}

.about__head h2 {
  margin-top: 6px;
}

.about__sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- the yeti's filter: 100 dots, filtered stage by stage ---------- */

.sieve {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.sieve__grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-content: center;
  gap: clamp(6px, 0.9vw, 10px);
}

.sieve__grid i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c9d3e3;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), background 0.4s;
  transition-delay: calc(var(--d, 0) * 1ms);
}

/* Each stage drops the dots that fail it; the survivors light up at the end. */
.sieve[data-step="1"] i[data-out="1"],
.sieve[data-step="2"] i[data-out="1"],
.sieve[data-step="2"] i[data-out="2"],
.sieve[data-step="3"] i:not([data-out="keep"]) {
  opacity: 0.12;
  transform: scale(0.45) translateY(6px);
}

.sieve[data-step="3"] i[data-out="keep"] {
  background: var(--blue);
  transform: scale(1.18);
  box-shadow: 0 0 0 4px rgba(47, 111, 235, 0.16), 0 6px 14px -4px rgba(47, 111, 235, 0.7);
  animation: survivor 1.6s ease-in-out 0.5s infinite;
}

@keyframes survivor {
  0%, 100% { transform: scale(1.18); }
  50% { transform: scale(1.32); }
}

.sieve__steps {
  list-style: none;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.sieve__steps li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  opacity: 0.45;
  transition: opacity 0.4s, background 0.4s;
}

.sieve__n {
  font: 800 1.9rem/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--navy);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sieve__steps span {
  display: grid;
  font-size: 0.86rem;
  color: var(--muted);
}

.sieve__steps strong {
  font-size: 1rem;
  color: var(--navy);
}

/* Highlight the stage that is running, and keep finished stages readable. */
.sieve[data-step="0"] li[data-at="0"],
.sieve[data-step="1"] li[data-at="0"],
.sieve[data-step="1"] li[data-at="1"],
.sieve[data-step="2"] li:is([data-at="0"], [data-at="1"], [data-at="2"]),
.sieve[data-step="3"] li {
  opacity: 1;
}

.sieve[data-step="0"] li[data-at="0"],
.sieve[data-step="1"] li[data-at="1"],
.sieve[data-step="2"] li[data-at="2"] {
  background: var(--tint);
}

.sieve[data-step="3"] li[data-at="3"] {
  background: var(--tint-2);
}

.sieve li[data-at="3"] .sieve__n {
  color: var(--blue);
}

.sieve__punch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px 12px 10px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
}

.sieve__punch .yeti {
  width: 40px;
  border-radius: 50%;
  background: #fff;
}

.sieve__punch b {
  color: #8fb4ff;
  font-weight: 800;
}

.about h2 {
  font: 800 clamp(1.9rem, 3.2vw, 2.6rem) / 1.05 var(--display);
  letter-spacing: -0.035em;
}

.about__lede {
  margin-top: 8px;
  color: var(--soft);
}

.score {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
}

.score li {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
}

.score b {
  font: 800 2.2rem/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--blue);
}

.score b::after {
  content: " pts";
  font: 600 0.8rem var(--sans);
  letter-spacing: 0;
  color: var(--muted);
}

.score h3 {
  margin: 10px 0 4px;
  font-size: 0.98rem;
}

.score p {
  font-size: 0.86rem;
  color: var(--soft);
}

/* ---------- empty states ---------- */

.empty {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(24px, 4vw, 48px);
  border: 1.5px dashed var(--line-strong);
  border-radius: 24px;
  color: var(--soft);
}

.empty__yeti {
  width: clamp(130px, 16vw, 200px);
}

.empty h2 {
  margin-bottom: 8px;
  font: 800 clamp(1.6rem, 3vw, 2.2rem) / 1.1 var(--display);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.empty a {
  color: var(--blue);
}

/* ---------- footer ---------- */

.footer {
  margin-top: clamp(32px, 5vw, 64px);
  padding-block: 48px 28px;
  background: var(--tint);
  color: var(--soft);
  font-size: 0.92rem;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 32px 56px;
}

.footer__brand p {
  max-width: 32ch;
  margin-top: 14px;
}

.footer__clock {
  color: var(--blue);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.footer__h {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.footer__lists {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}

.footer__lists li {
  padding-block: 4px;
}

.footer__lists a {
  text-decoration: none;
}

.footer__lists a:hover {
  color: var(--blue);
}

.footer__yeti {
  width: 150px;
  align-self: end;
}

.footer__legal {
  display: grid;
  gap: 6px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .nav a:nth-child(n + 4) {
    display: none;
  }

  .deals {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .score {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding-top: 28px;
  }

  .hero__art {
    min-height: 0;
    aspect-ratio: 2 / 1;
    margin-top: 8px;
    margin-inline: calc(-1 * var(--gutter));
  }

  .hero__yeti {
    width: clamp(96px, 18vw, 150px);
  }

  .hero__photo {
    inset: 0;
    width: 100%;
  }

  .hero__yeti {
    left: var(--gutter);
  }

  .lists,
  .lists--four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .deals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mysteries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__yeti {
    display: none;
  }
}

@media (max-width: 640px) {
  .header__row {
    height: 64px;
    gap: 12px;
  }

  .logo__word {
    font-size: 1.35rem;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
  }

  .logo__mark .yeti {
    width: 34px;
  }

  .search input {
    height: 40px;
    font-size: 16px; /* stops iOS zooming in */
  }

  .search input::placeholder {
    color: transparent;
  }

  .hero__title {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .hero__sub {
    font-size: 1rem;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
    height: 48px;
  }

  .hero__cta .btn--ghost {
    display: none;
  }

  .hero__sub {
    margin-top: 14px;
  }

  .hero__cta {
    margin-top: 20px;
  }

  .hero__art {
    aspect-ratio: 16 / 9;
  }

  .lists,
  .lists--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .list {
    min-height: 124px;
  }

  .list__text {
    padding: 14px 0 14px 14px;
  }

  .list__name {
    font-size: 1.1rem;
  }

  .list__img {
    width: 42%;
    right: 4px;
    bottom: 4px;
  }

  .deals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .deal {
    padding: 12px;
  }

  /* Mystery boxes become a swipeable row. */
  .mystery-wrap {
    padding: 22px 0 22px;
    border-radius: 22px;
  }

  .mystery-head {
    padding-inline: 18px;
  }

  .mysteries {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 18px 12px;
    scroll-padding-inline: 18px;
  }

  .mysteries::-webkit-scrollbar {
    display: none;
  }

  .mystery {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .deal__rank {
    font-size: 1.7rem;
  }

  .deal__pick {
    font-size: 0;
    padding-right: 2px;
  }

  .page-head__grid {
    grid-template-columns: 1fr auto;
    padding: 20px;
  }

  .page-head__img {
    width: 90px;
    align-self: start;
  }

  .facts li:nth-child(n + 3) {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .about__yeti {
    width: 130px;
  }

  .score {
    grid-template-columns: 1fr;
  }

  .empty {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}
