:root {
  color-scheme: light dark;
  --paper: #f3f8f6;
  --surface: #ffffff;
  --ink: #0e1f1c;
  --ink-2: #4d625d;
  --line: #d7e6e2;
  --teal: #0b7d70;
  --teal-ink: #ffffff;
  --mint: #2cc7b2;
  --mint-soft: #d3f1ec;
  --coral: #ff8a7a;
  --coral-ink: #c8463c;
  --deep: #0a2925;
  --deep-ink: #eaf5f2;
  --deep-ink-2: #a6c9c1;
  --sky-top: #8fdcd1;
  --sky-mid: #cfe9d9;
  --sky-low: #f7c9a6;
  --sun: #fff3dc;
  --ridge-back: #5a9a90;
  --ridge-front: #1f4b45;
  --ground: #3f7d6d;
  --shadow: 0 1px 2px rgb(11 38 34 / 0.08), 0 18px 40px -18px rgb(11 38 34 / 0.35);
  --radius: 28px;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a1614;
    --surface: #11211e;
    --ink: #eaf5f2;
    --ink-2: #a6bdb7;
    --line: #24403a;
    --teal: #3dd5c0;
    --teal-ink: #04201c;
    --mint: #3dd5c0;
    --mint-soft: #153d37;
    --coral: #ff8b7e;
    --coral-ink: #ff8b7e;
    --deep: #061210;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 18px 40px -18px rgb(0 0 0 / 0.7);
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100% - 32px);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  z-index: 10;
}

.skip:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav > a {
  color: var(--ink-2);
  text-decoration: none;
}

.nav > a:hover,
.nav > a[aria-current="page"] {
  color: var(--ink);
}

.langs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.langs a {
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.langs a[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.7vw, 3.85rem);
  line-height: 1.04;
}

.hero h1 em {
  display: block;
  margin-top: 0.12em;
  font-style: normal;
  color: var(--coral-ink);
}

.lead {
  margin-top: 24px;
  max-width: 36ch;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

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

.stores.center {
  justify-content: center;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px 0 18px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.store svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

a.store:hover {
  transform: translateY(-2px);
}

.store.is-soon {
  background: transparent;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--mint) 22%, transparent);
}

.burst {
  margin: 0;
  justify-self: center;
  width: min(350px, 100%);
}

.burst-stage {
  position: relative;
  aspect-ratio: 4 / 5;
}

.shot {
  position: absolute;
  inset: 0;
  z-index: var(--i);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translate(var(--dx), var(--dy)) rotate(var(--tilt));
  transition:
    transform 0.75s cubic-bezier(0.55, 0, 0.2, 1),
    opacity 0.6s ease,
    filter 0.4s ease;
}

.scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 40%, var(--sky-low) 62%);
  filter: blur(var(--blur, 0px)) brightness(var(--light, 1));
}

.sun {
  position: absolute;
  left: var(--sun-x, 36%);
  top: var(--sun-y, 30%);
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 60px 18px rgb(255 243 220 / 0.7);
}

.ridge {
  position: absolute;
  inset: 0;
}

.ridge.back {
  background: var(--ridge-back);
  clip-path: polygon(
    0 52%,
    14% 40%,
    26% 47%,
    41% 30%,
    55% 44%,
    68% 36%,
    84% 48%,
    100% 38%,
    100% 66%,
    0 66%
  );
}

.ridge.front {
  background: linear-gradient(180deg, var(--ridge-front) 40%, var(--ground) 100%);
  clip-path: polygon(
    0 60%,
    18% 50%,
    33% 58%,
    50% 46%,
    63% 56%,
    80% 49%,
    100% 58%,
    100% 100%,
    0 100%
  );
}

.keep-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--teal-ink);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.keep-badge svg {
  width: 18px;
  height: 18px;
}

.burst-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding: 12px 14px 12px 12px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.bin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
}

.bin svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--coral) 20%, transparent);
  color: var(--coral-ink);
}

.bin b {
  min-width: 24px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--coral-ink);
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
}

.freed {
  color: var(--ink-2);
  font-size: 0.9rem;
  text-align: right;
}

.freed strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.burst figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.replay svg {
  width: 15px;
  height: 15px;
}

.burst.is-sorted .shot:not(.is-best) {
  opacity: 0;
  transform: translate(-90px, 330px) rotate(-22deg) scale(0.2);
  transition-delay: calc(var(--order) * 170ms + 250ms);
}

.burst.is-sorted .shot.is-best {
  z-index: 8;
  transform: none;
  transition-delay: 1.2s;
}

.burst.is-sorted .keep-badge {
  opacity: 1;
  transform: none;
  transition-delay: 1.55s;
}

.finds {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.finds-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.finds-intro {
  position: sticky;
  top: 100px;
}

.finds-intro p {
  margin-top: 18px;
  color: var(--ink-2);
  max-width: 34ch;
}

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

.find {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.find:first-child {
  border-top: 0;
  padding-top: 0;
}

.find p {
  margin-top: 6px;
  color: var(--ink-2);
}

.glyph {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--mint-soft);
  color: var(--teal);
}

.glyph svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.glyph .cut {
  fill: var(--mint-soft);
  stroke: currentColor;
}

.glyph-screenshots .cut {
  fill: none;
}

.glyph-blurry svg {
  filter: blur(0.6px);
}

.glyph-videos {
  background: color-mix(in srgb, var(--coral) 18%, transparent);
  color: var(--coral-ink);
}

.glyph-videos .cut {
  fill: color-mix(in srgb, var(--coral) 18%, var(--surface));
  stroke: none;
}

.swipe {
  padding: clamp(64px, 9vw, 120px) 0;
}

.swipe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.swipe-copy p {
  margin-top: 18px;
  color: var(--ink-2);
  max-width: 42ch;
}

.swipe-art {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.month-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 600;
}

.deck {
  position: relative;
  width: min(300px, 80%);
  aspect-ratio: 3 / 4;
}

.card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card.under {
  transform: scale(0.93) translateY(16px);
  opacity: 0.6;
}

.card.under .scene {
  --sun-x: 56%;
  --sun-y: 22%;
}

.card.top {
  transform: translateX(22%) rotate(9deg);
}

.card.top .scene {
  --sun-x: 22%;
  --sun-y: 34%;
}

.card.top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--mint) 28%, transparent);
}

.stamp {
  position: absolute;
  left: 18px;
  top: 22px;
  z-index: 1;
  padding: 6px 14px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--teal-ink);
  font-family: var(--display);
  font-weight: 700;
  transform: rotate(-10deg);
}

.swipe-hints {
  display: flex;
  justify-content: space-between;
  width: min(340px, 92%);
  font-weight: 600;
  font-size: 0.95rem;
}

.hint-trash {
  color: var(--coral-ink);
}

.hint-keep {
  color: var(--teal);
}

.trust {
  padding: clamp(72px, 10vw, 136px) 0;
  background: var(--deep);
  color: var(--deep-ink);
  border-block: 1px solid var(--line);
}

.trust h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}

.trust-lead {
  margin-top: 22px;
  max-width: 48ch;
  color: var(--deep-ink-2);
  font-size: 1.15rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding-top: 20px;
  border-top: 2px solid #3dd5c0;
}

.facts p {
  margin-top: 10px;
  color: var(--deep-ink-2);
}

.faq {
  padding: clamp(64px, 9vw, 112px) 0 clamp(32px, 5vw, 56px);
}

.faq h2,
.doc h2 {
  margin-bottom: 18px;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

details p {
  padding: 0 0 22px;
  color: var(--ink-2);
}

.cta {
  padding: clamp(48px, 8vw, 104px) 0 clamp(72px, 10vw, 128px);
  text-align: center;
}

.cta p {
  margin-top: 14px;
  color: var(--ink-2);
}

.doc {
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
}

.doc h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
}

.doc h2 {
  margin-top: 40px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.doc p,
.doc ul {
  margin-top: 14px;
  color: var(--ink-2);
}

.doc ul {
  padding-left: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.doc .meta {
  margin-top: 10px;
  font-size: 0.95rem;
}

.doc .lead {
  max-width: none;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact span {
  display: block;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.contact strong {
  overflow-wrap: anywhere;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--teal);
  color: var(--teal-ink);
  font-weight: 600;
  text-decoration: none;
}

.not-found h2 {
  margin-top: 32px;
}

.not-found div:first-child h2 {
  margin-top: 0;
}

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .hero-grid,
  .finds-grid,
  .swipe-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .finds-intro {
    position: static;
  }

  .swipe-art {
    order: 2;
  }

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

  .burst {
    width: min(340px, 86%);
  }
}

@media (max-width: 640px) {
  .hide-sm {
    display: none;
  }

  .nav {
    gap: 12px;
    font-size: 0.88rem;
  }

  .nav > a[href$="privacy"] {
    display: none;
  }

  .store {
    flex: 1 1 100%;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
