/* Reposed's website. Black, white, and the app's cyan (#22D3EE), like the app. The photo wall and
   the cyan sweep copy the app's welcome screen (PhotoWall.swift and SweepTile.swift). */

:root {
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.16);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.42);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.1);
  --header: 64px;
  --ease: cubic-bezier(0.45, 0, 0.55, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

.dot {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
}

h1 {
  font-size: clamp(56px, 11vw, 136px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.home .top:not(.scrolled) {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
}

.top nav > a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.top nav > a:hover {
  color: var(--text);
}

.account {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
}

.balance {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.balance img {
  width: 22px;
  height: 22px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.2s ease;
}

.button:active {
  transform: scale(0.97);
}

.button:disabled {
  opacity: 0.5;
  cursor: default;
}

.button.light {
  background: #fff;
}

.button.glass {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.button.glass:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button.quiet {
  background: var(--surface-strong);
  color: var(--text);
}

.button.small {
  height: 36px;
  padding: 0 16px;
  font-size: 15px;
}

.store-badge {
  display: inline-block;
  border-radius: 12px;
  transition: transform 0.15s ease;
}

.store-badge:active {
  transform: scale(0.97);
}

.store-badge img {
  height: 54px;
  width: auto;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Photo tiles, and the sweep: a glowing cyan line wipes to the same shot in a new pose, holds,
   and wipes back. 3.5 seconds still, 2 seconds moving, like the app. */

.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: #111;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile .after-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 100% 0 0);
  animation: sweep-reveal 11s infinite;
  animation-delay: var(--delay, 0s);
}

.tile .sweep-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(-100%);
  animation: sweep-move 11s infinite;
  animation-delay: var(--delay, 0s);
}

.tile .sweep-line::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -15px;
  width: 30px;
  background:
    linear-gradient(90deg, transparent 13px, var(--accent) 13px, var(--accent) 17px, transparent 17px),
    linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.55), rgba(34, 211, 238, 0));
  opacity: 0;
  animation: sweep-glow 11s infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes sweep-reveal {
  0%, 31.82% { clip-path: inset(0 100% 0 0); animation-timing-function: var(--ease); }
  50%, 81.82% { clip-path: inset(0 0 0 0); animation-timing-function: var(--ease); }
  100% { clip-path: inset(0 100% 0 0); }
}

@keyframes sweep-move {
  0%, 31.82% { transform: translateX(-100%); animation-timing-function: var(--ease); }
  50%, 81.82% { transform: translateX(0); animation-timing-function: var(--ease); }
  100% { transform: translateX(-100%); }
}

@keyframes sweep-glow {
  0%, 31.82% { opacity: 0; }
  33.5%, 48.4% { opacity: 1; }
  50%, 81.82% { opacity: 0; }
  83.5%, 98.4% { opacity: 1; }
  100% { opacity: 0; }
}

/* Hero */

.hero {
  position: relative;
  height: clamp(660px, 100svh, 1000px);
  margin-top: calc(var(--header) * -1);
  overflow: hidden;
}

.wall {
  position: absolute;
  /* Wider and taller than the hero, since the tilt pulls the bottom in and up. */
  inset: -40px -12% -24%;
  display: flex;
  gap: 10px;
  transform: perspective(1400px) rotateX(9deg) scale(1.06);
  transform-origin: 50% 0;
}

.wall .column {
  flex: 1;
  min-width: 0;
}

.wall .track {
  animation: drift-up var(--duration, 60s) linear infinite;
  will-change: transform;
}

.wall .column:nth-child(even) .track {
  animation-name: drift-down;
}

.wall .tile {
  margin-bottom: 10px;
}

.wall.paused .track,
.wall.paused .after-layer,
.wall.paused .sweep-line,
.wall.paused .sweep-line::after {
  animation-play-state: paused;
}

@keyframes drift-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes drift-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.8) 92%, #000 100%),
    rgba(0, 0, 0, 0.2);
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(48px, 9vh, 96px);
  z-index: 2;
}

/* Darkens just the photos behind the words, so the rest of the wall stays bright. */
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  left: -12%;
  width: min(1200px, 135%);
  height: 190%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero .lede {
  max-width: 540px;
  margin: 24px 0 34px;
  font-size: clamp(18px, 1.6vw, 21px);
  color: rgba(255, 255, 255, 0.76);
}

/* Sections ease in as they scroll into view, once home.js is running. */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .lede {
  margin: 22px 0 0;
}

.section-head.center .lede {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Before and after */

.showcase {
  position: relative;
  padding: 80px 0 110px;
  /* Clipped sideways only, so the glow below fades out instead of stopping at the edge. */
  overflow-x: clip;
  isolation: isolate;
}

/* The current example's photo, blurred into a soft light behind the section. */
.showcase-glow {
  position: absolute;
  top: 8%;
  right: 0;
  bottom: -30%;
  left: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
}

.showcase-glow img {
  position: absolute;
  top: 12%;
  left: 15%;
  width: 70%;
  height: 66%;
  object-fit: cover;
  filter: blur(90px) saturate(1.7);
  opacity: 0.42;
  transition: opacity 0.6s ease;
}

.showcase-glow img.fading {
  opacity: 0;
}

.showcase-body {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 380px);
  justify-content: center;
  align-items: center;
  gap: 56px;
}

.examples {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.example {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 10px 18px 10px 10px;
  border: 0;
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.example:hover {
  background: rgba(30, 30, 30, 0.7);
}

.example[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 40px -12px rgba(34, 211, 238, 0.55);
}

.example img {
  flex: none;
  width: 58px;
  height: 74px;
  border-radius: 14px;
  object-fit: cover;
}

.example span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.example b {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.example small {
  color: var(--muted);
  font-size: 14px;
}

.example .progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.example[aria-pressed="true"] .progress.running {
  animation: example-progress var(--advance, 7s) linear forwards;
}

@keyframes example-progress {
  from { width: 0; }
  to { width: 100%; }
}

.caption {
  margin: 8px 4px 0;
  color: var(--faint);
  font-size: 13px;
}

.compare {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  background: #111;
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px -20px rgba(34, 211, 238, 0.25);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
  /* The frame handles dragging, so the browser mustn't start dragging the photo itself. */
  pointer-events: none;
  -webkit-user-drag: none;
}

.compare.loading img {
  opacity: 0.4;
}

.compare .after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}

.compare .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 0;
  pointer-events: none;
}

.compare .handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -15px;
  width: 30px;
  background:
    linear-gradient(90deg, transparent 13px, var(--accent) 13px, var(--accent) 17px, transparent 17px),
    linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.5), rgba(34, 211, 238, 0));
}

.compare .grip {
  position: absolute;
  top: 50%;
  left: -24px;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 24px rgba(34, 211, 238, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.compare .grip::before,
.compare .grip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.compare .grip::before {
  left: 12px;
  transform: rotate(-45deg);
}

.compare .grip::after {
  right: 12px;
  transform: rotate(135deg);
}

.compare .label {
  position: absolute;
  top: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.compare .before-label {
  left: 18px;
}

.compare .after-label {
  right: 18px;
  color: var(--accent);
}

.compare input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.compare:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Instagram and Pinterest links: a post, the link pasted into Reposed, and you in the pose. */

.links {
  padding: 90px 0 110px;
}

.link-logos {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.link-logos img {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
}

.link-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 26px;
  border-radius: 30px;
  background: #0f0f10;
  box-shadow: inset 0 0 0 1px var(--line);
}

.link-step:nth-child(2) {
  transition-delay: 0.1s;
}

.link-step:nth-child(3) {
  transition-delay: 0.2s;
}

/* A cyan arrow between the steps. */
.link-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 152px;
  right: -23px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.55), 0 0 18px rgba(34, 211, 238, 0.35);
}

.link-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 320px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: radial-gradient(80% 70% at 50% 40%, rgba(34, 211, 238, 0.1), transparent 70%), #070707;
  overflow: hidden;
}

.link-step .num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 0 14px 6px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 15px;
  font-weight: 800;
}

.link-step h3 {
  margin: 0 6px;
  font-size: 21px;
}

.link-step p {
  margin: 8px 6px 0;
  color: var(--muted);
  font-size: 15px;
}

.pin-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 136px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) translateX(-58px) translateY(8px) rotate(-9deg);
}

.pin-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.4;
  object-fit: cover;
  filter: brightness(0.75);
}

.pin-save {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e60023;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.post-card {
  position: relative;
  z-index: 1;
  width: 172px;
  padding: 8px;
  border-radius: 18px;
  background: #161618;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(26px) rotate(4deg);
}

.post-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 8px;
  font-size: 11px;
}

.post-head .avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #3a3a3d 52%, transparent 54%), conic-gradient(#ffd866, #ff543e, #c837ab, #ffd866);
}

.post-head b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-head img {
  width: 14px;
  height: 14px;
}

.post-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  object-fit: cover;
}

.post-actions {
  display: flex;
  gap: 10px;
  padding: 8px 2px 2px;
}

.post-actions svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(250px, 100% - 32px);
  padding: 12px;
  border-radius: 22px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -30px rgba(34, 211, 238, 0.4);
  font-size: 12px;
}

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1.5px rgba(34, 211, 238, 0.6);
}

.field img {
  flex: none;
  width: 16px;
  height: 16px;
}

.field .url {
  overflow: hidden;
  white-space: nowrap;
}

.found {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 11px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.js .link-field:not(.pasted) .found {
  opacity: 0;
  transform: translateY(6px);
}

.found img {
  width: 34px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.found span {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.found b {
  color: var(--text);
  font-size: 12px;
}

.found .tick {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.found .tick::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.link-art .tile {
  width: 186px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.9);
}

/* How it works */

.how {
  padding: 110px 0 120px;
}

/* The app's three pages, rebuilt from its parts with the site's photos. */
.app-pages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.app-page {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: 32px;
  background: linear-gradient(180deg, #131315, #0a0a0b);
  box-shadow: inset 0 0 0 1px var(--line);
}

.app-page:nth-child(2) {
  transition-delay: 0.1s;
}

.app-page:nth-child(3) {
  transition-delay: 0.2s;
}

.switch {
  display: inline-flex;
  align-self: flex-start;
  gap: 2px;
  margin-bottom: 22px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
}

.switch span {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--muted);
}

.switch span.on {
  background: #fff;
  color: #000;
}

.app-page h3 {
  font-size: 28px;
  letter-spacing: -0.035em;
}

.app-page > p {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 12px;
  border-radius: 26px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(34, 211, 238, 0.3);
  font-size: 12px;
}

.mock svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.slot {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
}

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

.slot span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
}

/* The pose card flips through a few poses. */
.slot.cycling img {
  opacity: 0;
  animation: pose-cycle 9s infinite;
}

.slot.cycling img:nth-child(2) {
  animation-delay: 3s;
}

.slot.cycling img:nth-child(3) {
  animation-delay: 6s;
}

@keyframes pose-cycle {
  0% { opacity: 0; }
  5%, 33% { opacity: 1; }
  38%, 100% { opacity: 0; }
}

.sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.sources span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 11px;
}

.sources span.on {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.sources svg,
.sources img {
  width: 16px;
  height: 16px;
}

.sources img {
  border-radius: 4px;
}

.quality {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.quality span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  border-radius: 12px;
  color: var(--faint);
  font-size: 10px;
}

.quality b {
  color: var(--text);
  font-size: 12px;
}

.quality span.on {
  background: #fff;
  color: rgba(0, 0, 0, 0.55);
}

.quality span.on b {
  color: #000;
}

.go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

.go img {
  width: 16px;
  height: 16px;
}

.go.small {
  height: 32px;
  padding: 0 14px;
  font-size: 12px;
}

.boards {
  display: flex;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}

.boards span {
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-weight: 600;
}

.boards span.on {
  background: #fff;
  color: #000;
}

.boards .paste {
  background: var(--accent-soft);
  color: var(--accent);
}

.pins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  height: 236px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}

/* Pinterest style: columns of photos with different heights. */
.pin-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pin-col > img,
.pin-col > .picked {
  display: block;
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
}

.pin-col > img {
  object-fit: cover;
}

.pin-col:nth-child(odd) > :first-child,
.pin-col:nth-child(2) > :last-child {
  aspect-ratio: 3 / 5;
}

.pins .picked {
  position: relative;
  box-shadow: 0 0 0 2px var(--accent);
}

.pins .picked img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.pins .picked i {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.pins .picked i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.panel {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.panel img {
  width: 30px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.panel .setting {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 600;
}

.added {
  display: flex;
  gap: 8px;
}

.added .thumb,
.add-photos {
  width: 74px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
}

.added .thumb {
  position: relative;
  overflow: hidden;
}

.added .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.added .thumb span {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.add-photos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  color: var(--muted);
  font-size: 20px;
}

.add-photos span {
  font-size: 10px;
}

.box {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.box p {
  min-height: 84px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
}

.box mark {
  padding: 0 4px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.box-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.box-tools span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 600;
}

.box-tools .improve {
  color: var(--text);
}

.box-tools .count {
  margin-left: auto;
}

/* Features: a card for each, with a piece of the app in it. */

.features {
  padding: 40px 0 120px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 30px;
  border-radius: 32px;
  background: #0f0f10;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.card.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 28px;
}

.card.wide > .card-copy {
  align-self: start;
}

.card.alt {
  background: #18181b;
}

.card.accent {
  background: var(--accent);
  color: #000;
  box-shadow: none;
}

.card h3 {
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.card p {
  max-width: 420px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.card.accent p {
  color: rgba(0, 0, 0, 0.7);
}

.card a {
  color: var(--accent);
}

.card:nth-child(3n + 2) {
  transition-delay: 0.08s;
}

.card:nth-child(3n) {
  transition-delay: 0.16s;
}

.card svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.keeps-demo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.keeps-demo .tile {
  flex: none;
  width: 140px;
}

.keeps {
  display: grid;
  flex: 1;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keeps li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 600;
}

.keeps .kept {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.keeps .kept::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.keeps .changed {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.5);
}

.keeps .changed b {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
}

.big-number {
  margin-top: auto;
  font-size: clamp(96px, 10vw, 132px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.seg {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.seg span {
  padding: 7px 0;
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.55);
  text-align: center;
}

.seg span.on {
  background: #000;
  color: var(--accent);
}

.seg.dark {
  background: rgba(255, 255, 255, 0.06);
}

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

.seg.dark span.on {
  background: #fff;
  color: #000;
}

.versions {
  position: relative;
  height: 168px;
  margin-top: auto;
}

.versions img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.9), 0 0 0 2px #0f0f10;
  transform-origin: 50% 100%;
}

.versions img:nth-child(1) {
  transform: translateX(-50%) translateX(-60px) rotate(-14deg);
  filter: brightness(0.7) hue-rotate(-10deg);
}

.versions img:nth-child(2) {
  transform: translateX(-50%) translateX(-20px) rotate(-5deg);
  filter: brightness(0.82) hue-rotate(8deg);
}

.versions img:nth-child(3) {
  transform: translateX(-50%) translateX(20px) rotate(5deg);
  filter: brightness(0.9) saturate(1.15);
}

.versions img:nth-child(4) {
  transform: translateX(-50%) translateX(60px) rotate(14deg);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.9), 0 0 0 2px var(--accent);
}

.notification {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}

.notification .app-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.note-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.note-text b {
  font-size: 14px;
}

.note-text span {
  color: rgba(255, 255, 255, 0.78);
}

.notification time {
  align-self: flex-start;
  color: var(--faint);
  font-size: 12px;
}

.note-photo {
  flex: none;
  width: 38px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 600;
}

.source-list svg,
.source-list img {
  flex: none;
  width: 18px;
  height: 18px;
}

.source-list svg {
  color: var(--accent);
}

.source-list img {
  border-radius: 5px;
}

.toggles {
  display: grid;
  gap: 10px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  font-weight: 600;
}

.toggle {
  position: relative;
  flex: none;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.toggle.on {
  background: var(--accent);
}

.toggle.on::after {
  transform: translateX(18px);
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.rating .thumb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.rating .thumb svg {
  width: 20px;
  height: 20px;
}

.rating .thumb.on {
  background: rgba(239, 68, 68, 0.14);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.rating .review {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.card.little {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.card.little h3 {
  flex: none;
  width: 210px;
}

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

.card.little li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.card.little svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

/* Coins */

.coins {
  padding: 110px 0 120px;
  background: radial-gradient(50% 35% at 50% 0%, rgba(34, 211, 238, 0.08), transparent 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.coins-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.coins-head h2 {
  font-size: clamp(36px, 5vw, 60px);
}

.coins-head .lede {
  max-width: 520px;
  margin: 0;
}

.costs {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.costs b {
  color: var(--text);
}

.packs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 16px 18px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pack:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.pack.featured {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.14), rgba(34, 211, 238, 0.02) 55%), var(--surface);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.6), 0 0 50px -10px rgba(34, 211, 238, 0.4);
}

.pack .tag {
  position: absolute;
  top: -12px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pack img {
  width: 88px;
  height: 88px;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
}

.pack .amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pack .unit {
  color: var(--muted);
  font-size: 15px;
}

.pack .extra {
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.pack .compare-app {
  margin: 8px 0 4px;
  color: var(--faint);
  font-size: 13px;
}

.pack .photos {
  margin-bottom: 18px;
  color: var(--faint);
  font-size: 13px;
}

.pack .button {
  width: 100%;
  margin-top: auto;
  height: 46px;
  font-variant-numeric: tabular-nums;
}

.fine {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}

.notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-size: 15px;
  text-align: center;
}

/* Questions */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 56px;
  padding: 80px 0 120px;
}

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

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.25s ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list details p {
  margin: -6px 0 24px;
  max-width: 620px;
  color: var(--muted);
}

.faq-list a {
  color: var(--accent);
}

/* Last call */

.final {
  position: relative;
  padding: 0 0 140px;
  overflow: hidden;
  text-align: center;
}

.strip {
  display: flex;
  gap: 12px;
  width: max-content;
  margin-bottom: 72px;
  animation: strip 70s linear infinite;
}

.strip img {
  width: 168px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  object-fit: cover;
  opacity: 0.85;
}

.strip img:nth-child(odd) {
  transform: translateY(18px);
}

@keyframes strip {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.final::before,
.final::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 1;
  width: 18vw;
  height: 280px;
  pointer-events: none;
}

.final::before {
  left: 0;
  background: linear-gradient(90deg, #000, transparent);
}

.final::after {
  right: 0;
  background: linear-gradient(-90deg, #000, transparent);
}

.final-copy h2 {
  font-size: clamp(44px, 7vw, 92px);
}

.final .cta {
  justify-content: center;
  margin-top: 40px;
}

/* Thanks */

.done {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 0 140px;
  text-align: center;
}

.done img {
  width: 132px;
  height: 132px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 40px rgba(34, 211, 238, 0.45));
}

.done h1,
.done h2 {
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1;
}

.done p {
  margin: 18px 0 32px;
  color: var(--muted);
  font-size: 19px;
}

.done .cta {
  justify-content: center;
}

/* Legal and help pages */

.page {
  max-width: 740px;
  padding: 88px 0 110px;
}

.page h1 {
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
}

.page .updated {
  margin: 16px 0 44px;
  color: var(--faint);
  font-size: 15px;
}

.page h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page p,
.page li {
  color: rgba(255, 255, 255, 0.78);
}

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

.page li + li {
  margin-top: 8px;
}

.page strong {
  color: var(--text);
}

.page a {
  color: var(--accent);
}

/* Footer */

footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

footer .brand {
  font-size: 19px;
  color: var(--text);
}

footer .brand img {
  width: 28px;
  height: 28px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
}

footer nav a:hover {
  color: var(--text);
}

footer .owner {
  flex-basis: 100%;
  margin: 8px 0 0;
}

/* Smaller screens */

@media (max-width: 1080px) {
  /* The three pages become a row you swipe through. */
  .app-pages {
    grid-template-columns: repeat(3, minmax(310px, 1fr));
    margin: 0 -20px;
    padding: 0 20px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .app-pages::-webkit-scrollbar {
    display: none;
  }

  .app-page {
    scroll-snap-align: center;
  }
}

@media (max-width: 900px) {
  .link-flow {
    grid-template-columns: minmax(0, 440px);
    justify-content: center;
    gap: 26px;
  }

  .link-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -28px;
    transform: translateX(50%) rotate(90deg);
  }
}

@media (max-width: 980px) {
  .showcase-body {
    grid-template-columns: minmax(0, 520px);
    gap: 28px;
  }

  .examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .caption {
    grid-column: 1 / -1;
  }

  .coins-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .packs {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }

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

  .card.little {
    flex-direction: column;
    align-items: stretch;
  }

  .card.little h3 {
    width: auto;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .card.wide {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .card.little ul {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }
}

@media (max-width: 620px) {
  :root {
    --header: 58px;
  }

  .top nav {
    gap: 16px;
  }

  .top nav > a:not(.keep) {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    height: clamp(620px, 100svh, 820px);
  }

  .wall {
    gap: 8px;
    inset: -30px -14% -20%;
  }

  /* On phones the words sit below the photos, like the app's welcome screen. */
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 14%, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.88) 56%, #000 78%);
  }

  .wall .tile {
    margin-bottom: 8px;
    border-radius: 14px;
  }

  .store-badge img {
    height: 50px;
  }

  .button {
    height: 50px;
  }

  .showcase {
    padding: 64px 0 80px;
  }

  .example {
    gap: 10px;
    padding: 8px 10px 8px 8px;
    border-radius: 18px;
  }

  .example img {
    width: 40px;
    height: 52px;
    border-radius: 10px;
  }

  .example b {
    font-size: 15px;
  }

  .example small {
    font-size: 12px;
  }

  .app-pages {
    grid-template-columns: repeat(3, 84%);
  }

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

  .card.wide {
    grid-column: auto;
  }

  .card {
    padding: 26px 22px;
    border-radius: 28px;
  }

  .keeps-demo .tile {
    width: 112px;
  }

  .card.little ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .packs {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 10px;
  }

  .pack:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .pack {
    padding: 26px 10px 12px;
  }

  .pack .amount {
    font-size: 28px;
  }

  .strip img {
    width: 128px;
  }
}

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

  .wall .track,
  .strip,
  .tile .after-layer,
  .tile .sweep-line,
  .tile .sweep-line::after,
  .example .progress,
  .slot.cycling img,
  .caret {
    animation: none;
  }

  .slot.cycling img:first-child {
    opacity: 1;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
