/* Grabd — the demos on the marketing pages.

   Every "screenshot" on the site is HTML: a phone frame, a browser frame and the
   app's own components drawn in CSS. That keeps the words in them (list names,
   prices, "Get it") readable by a crawler and by a screen reader, and keeps the
   pictures in step with the app without re-shooting anything. The shared-page
   mockups mirror `w/wishlist.css` to the hex so the example lists look like the
   real pages they link to.

   Loaded after styles.css. Keep the reduced-motion block at the end. */

/* ---------------- phone frame ---------------- */

.phone {
  --ph-w: 300px;
  width: var(--ph-w);
  aspect-ratio: 300 / 620;
  margin: 0 auto;
  padding: 10px;
  border-radius: 46px;
  background: #16130f;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 2px 6px rgba(22, 19, 15, 0.1),
    0 30px 70px rgba(22, 19, 15, 0.22);
  position: relative;
  flex: none;
}
.phone::before {
  /* the camera island */
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 86px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #16130f;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.phone-screen > * { flex: none; }
.phone.small { --ph-w: 250px; }
.phone.small .phone-screen { font-size: 10.5px; }
.phone.small::before { width: 72px; height: 20px; top: 18px; }

.status {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.status .cell { display: inline-flex; gap: 4px; align-items: flex-end; }
.status .cell i { display: block; width: 3px; background: currentColor; border-radius: 1px; }
.status .batt {
  display: inline-block; width: 20px; height: 10px; border: 1.5px solid currentColor;
  border-radius: 3px; position: relative; margin-left: 5px; vertical-align: -1px;
}
.status .batt::after {
  content: ""; position: absolute; inset: 1.5px; right: 4px; background: currentColor; border-radius: 1px;
}

/* ---------------- app chrome ---------------- */

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 6px;
}
.app-bar h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.app-bar .avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #f5b8a0, #cc2128);
}
.app-search {
  margin: 4px 14px 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--bg-deep);
  color: var(--ink-mid);
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.app-search svg { width: 14px; height: 14px; flex: none; }
.app-search b { color: var(--ink); font-weight: 600; }
.app-search .cursor {
  width: 1.5px; height: 14px; background: var(--red); margin-left: -4px;
  animation: blink 1s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.pills {
  display: flex;
  gap: 6px;
  padding: 0 14px 10px;
  overflow: hidden;
  white-space: nowrap;
  list-style: none;
  margin: 0;
}
.pills li {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}
.pills li.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* The wish-list strip above Home in shopping mode. */
.wl-strip {
  margin: 0 14px 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff1e6, #fde0e1);
  border: 1px solid rgba(204, 33, 40, 0.14);
  display: flex;
  align-items: center;
  gap: 10px;
}
.wl-strip .ico { font-size: 20px; }
.wl-strip b { display: block; font-size: 12px; }
.wl-strip small { font-size: 10.5px; color: var(--ink-mid); }
.wl-strip .chev { margin-left: auto; color: var(--ink-mid); }

/* Home: the masonry of grabs. */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 14px;
  list-style: none;
  margin: 0;
  flex: 1 1 auto !important;
  overflow: hidden;
  align-content: start;
}
.g-card {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 19, 15, 0.04);
}
.g-card.analyzing { border-style: dashed; }
.tile {
  display: grid;
  place-items: center;
  font-size: 34px;
  aspect-ratio: 1 / 1;
  background: var(--bg-deep);
}
.tile.wide { aspect-ratio: 16 / 10; }
.tile.tall { aspect-ratio: 4 / 5; }
.tile.map {
  background:
    linear-gradient(#fff 0 0) 48% 0 / 10% 100% no-repeat,
    linear-gradient(#fff 0 0) 0 62% / 100% 9% no-repeat,
    #e9e4d8;
}
.t-blush { background: linear-gradient(135deg, #fde4ea, #f8c7d3); }
.t-sage { background: linear-gradient(135deg, #e6f0e4, #c9dcc4); }
.t-sky { background: linear-gradient(135deg, #e3eefb, #c7dbf5); }
.t-sun { background: linear-gradient(135deg, #fff2cf, #ffe09a); }
.t-sand { background: linear-gradient(135deg, #f3ebdf, #e4d6c2); }
.t-ink { background: linear-gradient(135deg, #3a3a44, #1b1b22); }
.t-red { background: linear-gradient(135deg, #ffd9d6, #f7aaa6); }
.g-body { padding: 8px 9px 9px; }
.kind {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 3px;
}
.g-body b { display: block; font-size: 11.5px; line-height: 1.25; letter-spacing: -0.01em; }
.g-body small { display: block; font-size: 10.5px; color: var(--ink-mid); margin-top: 2px; }
.g-body .price { font-weight: 800; color: var(--ink); }

.tabbar {
  display: flex;
  justify-content: space-around;
  padding: 8px 10px 20px;
  border-top: 1px solid var(--line);
  background: var(--card);
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-mid);
  margin-top: auto;
}
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tabbar i { display: block; width: 18px; height: 18px; border-radius: 6px; background: var(--line); }
.tabbar .on { color: var(--red); }
.tabbar .on i { background: var(--red); }
.tabbar .plus i { width: 30px; height: 30px; border-radius: 50%; background: var(--red); margin-top: -14px; box-shadow: 0 6px 14px rgba(204, 33, 40, 0.35); }

/* ---------------- share sheet over a post ---------------- */

.post {
  padding: 10px 14px;
  filter: brightness(0.62);
  flex: 1 1 auto !important;
}
.post .who { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; }
.post .who i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #f9b, #c3a); }
.post .pic {
  border-radius: 12px;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  font-size: 56px;
}
.post .cap { margin-top: 8px; font-size: 11px; color: var(--ink-soft); }
.sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--card);
  border-radius: 22px 22px 0 0;
  padding: 10px 14px 24px;
  box-shadow: 0 -10px 40px rgba(22, 19, 15, 0.22);
  z-index: 2;
}
.sheet .grip { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 10px; }
.sheet-apps { display: flex; gap: 14px; padding: 4px 2px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sheet-apps span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9px; color: var(--ink-soft); width: 52px; }
.sheet-apps i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--bg-deep); }
.sheet-apps img { width: 46px; height: 46px; border-radius: 12px; }
.sheet-apps .grabd { font-weight: 700; color: var(--ink); }
.sheet-apps .grabd img { box-shadow: 0 0 0 3px var(--red); }
.sheet-rows { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.sheet-rows span { background: var(--bg); padding: 9px 12px; font-size: 11.5px; display: flex; justify-content: space-between; }
.sheet-rows .hl { font-weight: 700; color: var(--ink); }

/* ---------------- a product's detail ---------------- */

.detail { padding: 0 14px; flex: 1 1 auto !important; overflow: hidden; }
.detail .hero { border-radius: 16px; aspect-ratio: 1 / 1; display: grid; place-items: center; font-size: 72px; margin-bottom: 10px; }
.detail h4 { margin: 2px 0 4px; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.detail .price-line { font-size: 13px; }
.detail .price-line b { font-size: 15px; }
.detail .price-line small { color: var(--ink-mid); font-size: 11px; }
.detail .acts { display: flex; gap: 8px; margin: 12px 0 10px; }
.detail .acts span {
  flex: 1 1 0; text-align: center; padding: 9px 6px; border-radius: 999px;
  font-size: 11px; font-weight: 700; background: var(--bg-deep); color: var(--ink);
}
.detail .acts .primary { background: var(--red); color: #fff; }
.detail .row {
  border-top: 1px solid var(--line);
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.detail .row span:first-child { color: var(--ink-mid); }
.detail .row b { font-weight: 600; }
.detail .note-box { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--bg-deep); font-size: 11px; color: var(--ink-soft); font-style: italic; }

/* ---------------- search results ---------------- */

.results { list-style: none; margin: 0; padding: 0 14px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto !important; }
.results li {
  display: flex; gap: 10px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 7px;
}
.results .tile { width: 46px; height: 46px; aspect-ratio: auto; border-radius: 9px; font-size: 22px; flex: none; }
.results b { display: block; font-size: 11.5px; }
.results small { font-size: 10px; color: var(--ink-mid); }
.results mark { background: #fff0b3; color: inherit; border-radius: 2px; padding: 0 1px; }
.results-label { padding: 2px 14px 8px; font-size: 10px; font-weight: 700; color: var(--ink-mid); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------------- the wish list inside the app ---------------- */

.wl-app { padding: 0 14px; flex: 1 1 auto !important; overflow: hidden; }
.wl-app .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.wl-app h4 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.025em; }
.wl-app .top small { display: block; font-size: 10.5px; color: var(--ink-mid); margin-top: 2px; }
.wl-app .share-btn {
  flex: none; padding: 7px 11px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; display: inline-flex; gap: 5px; align-items: center;
}
.wl-app .share-btn svg { width: 12px; height: 12px; }
.wl-app .shared-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  background: #e8f5ec; color: #1f6b3a; font-size: 10px; font-weight: 700; margin-bottom: 8px;
}
.wl-app .shared-pill i { width: 6px; height: 6px; border-radius: 50%; background: #2e9e58; }
.wl-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wl-rows li {
  display: flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px 6px 6px;
}
.wl-rows .tile { width: 42px; height: 42px; aspect-ratio: auto; border-radius: 9px; font-size: 20px; flex: none; }
.wl-rows .txt { flex: 1 1 auto; min-width: 0; }
.wl-rows b { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-rows small { display: block; font-size: 10px; color: var(--ink-mid); }
.wl-rows .grip { color: var(--line); font-size: 14px; letter-spacing: -2px; flex: none; }
.wl-rows .num {
  width: 18px; height: 18px; border-radius: 50%; background: var(--bg-deep);
  font-size: 9.5px; font-weight: 800; display: grid; place-items: center; flex: none;
}

/* ---------------- browser frame: the shared page ---------------- */

.browser {
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.35;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #eeeae3;
  border-bottom: 1px solid var(--line);
}
.browser-bar .dots { display: flex; gap: 5px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7d1c8; }
.browser-bar .url {
  flex: 1 1 auto;
  background: #fff;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  color: var(--ink-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.browser-bar .url b { color: var(--ink); font-weight: 600; }

/* The page itself. The palettes and occasions are copied from w/wishlist.css so
   the mockups and the real pages share one look. */
.wl-page {
  --bg: #faf8f5; --card: #ffffff; --ink: #16130f; --accent: #e52b32; --on-accent: #ffffff;
  --ink-soft: color-mix(in srgb, var(--ink) 62%, var(--bg));
  --ink-faint: color-mix(in srgb, var(--ink) 40%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 9%, transparent);
  --font: var(--sans);
  --card-r: 16px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  padding: 18px 18px 22px;
}
.wl-page.p-blush { --bg: #fdf0f3; --ink: #3b1f26; --accent: #d9486f; }
.wl-page.p-sage { --bg: #eef3ec; --ink: #1f2a1f; --accent: #3f7d4e; }
.wl-page.p-sky { --bg: #eaf2fb; --ink: #14233a; --accent: #2d6cdf; }
.wl-page.p-sunshine { --bg: #fff6de; --ink: #3a2b06; --accent: #d99a00; --on-accent: #2b2004; }
.wl-page.p-midnight { --bg: #16181f; --card: #23262f; --ink: #f3f2ee; --accent: #ff6b6b; }
.wl-page.f-serif { --font: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
.wl-page.f-rounded { --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif; }

.wl-page.o-black-friday { --bg: #0e0e10; --card: #1c1c21; --ink: #f5f3ee; --accent: #ffd60a; --on-accent: #141414; --banner: #111114; --banner-ink: #ffd60a; --line: rgba(255,255,255,0.12); }
.wl-page.o-christmas { --bg: #123d2a; --card: #ffffff; --ink: #16130f; --ground-ink: #fff8e7; --accent: #c8102e; --banner: #14532d; --banner-ink: #fff8e7; }
.wl-page.o-valentines { --bg: #fff0f3; --ink: #4a0e1f; --accent: #e0245e; --banner: #ffd6e0; --banner-ink: #b0103f; }
.wl-page.o-birthday { --bg: #fff8e8; --ink: #2a1f3d; --accent: #6c3df4; --banner: #ffe7a3; --banner-ink: #4b2aa8; }
.wl-page.o-baby-shower { --bg: #f3f8f4; --ink: #25352f; --accent: #4f9a7e; --banner: #dcefe5; --banner-ink: #2f5a4a; --card-r: 22px; }
.wl-page.o-its-a-boy { --bg: #eef5fd; --ink: #15304f; --accent: #3a7fd0; --banner: #d3e6fb; --banner-ink: #1d4f8c; --card-r: 22px; }
.wl-page.o-its-a-girl { --bg: #fdf1f5; --ink: #4a1f33; --accent: #d65d8e; --banner: #fddbe6; --banner-ink: #a8336a; --card-r: 22px; }
.wl-page.o-wedding { --bg: #fbf9f4; --ink: #2b2a26; --accent: #9c7c3c; --banner: #efe8d8; --banner-ink: #6f5a2e; --card-r: 6px; }
.wl-page.o-engagement { --bg: #fbf3f6; --ink: #33222b; --accent: #b4536f; --banner: #f2dbe4; --banner-ink: #7d3550; --card-r: 12px; }
.wl-page[class*="o-"] { color: var(--ground-ink, var(--ink)); }
.wl-page[class*="o-"] .wl-item { color: var(--ink); }

.wl-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--banner, var(--accent)) center / cover no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 14px;
}
.o-black-friday .wl-banner { background-image: url("/w/occasions/black-friday.svg"); }
.o-christmas .wl-banner { background-image: url("/w/occasions/christmas.svg"); box-shadow: 0 0 0 3px #d9b45a; }
.o-valentines .wl-banner { background-image: url("/w/occasions/valentines.svg"); }
.o-birthday .wl-banner { background-image: url("/w/occasions/birthday.svg"); }
.o-baby-shower .wl-banner { background-image: url("/w/occasions/baby-shower.svg"); }
.o-its-a-boy .wl-banner { background-image: url("/w/occasions/its-a-boy.svg"); }
.o-its-a-girl .wl-banner { background-image: url("/w/occasions/its-a-girl.svg"); }
.o-wedding .wl-banner { background-image: url("/w/occasions/wedding.svg"); }
.o-engagement .wl-banner { background-image: url("/w/occasions/engagement.svg"); }
.wl-banner .line {
  position: relative;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--banner-ink, #fff);
  text-shadow: 0 0 14px var(--banner), 0 0 5px var(--banner);
}
.f-serif .wl-banner .line { font-style: italic; font-weight: 700; }
.o-black-friday .wl-banner .line { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 900; }
.wl-banner img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); transform: rotate(-4deg); flex: none;
}
.o-black-friday .wl-banner img { border-color: #ffd60a; }

.wl-page .kicker { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin: 0 0 3px; }
.wl-page h3 { margin: 0 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.wl-page .msg { margin: 0 0 12px; font-size: 13px; opacity: 0.78; }
.wl-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.wl-items.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wl-item {
  display: flex; flex-direction: column; gap: 7px;
  background: var(--card); border-radius: var(--card-r); padding: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line);
  min-width: 0;
}
.o-christmas .wl-item { border: 0; box-shadow: 0 0 0 2px #d9b45a, 0 10px 30px rgba(0, 0, 0, 0.18); }
.o-birthday .wl-item { border: 0; box-shadow: 0 10px 26px rgba(108, 61, 244, 0.12); }
.wl-item .tile { border-radius: 11px; position: relative; font-size: 30px; }
.wl-item .rank {
  position: absolute; top: 6px; left: 6px; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--card); color: var(--ink);
  font-size: 10px; font-weight: 700; line-height: 20px; text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.wl-item .brand { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.wl-item .title { font-size: 12px; font-weight: 650; line-height: 1.25; }
.wl-item .pl { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.wl-item .pl b { font-size: 12px; font-weight: 750; }
.wl-item .pl small { font-size: 10.5px; color: var(--ink-soft); }
.wl-item .note { font-size: 10.5px; line-height: 1.4; color: var(--ink-soft); font-style: italic; }
.wl-item .get {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 32px; padding: 6px 10px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 750; font-size: 11.5px;
}
.wl-item .get svg { width: 12px; height: 12px; }
.o-birthday .wl-item .get { box-shadow: 0 4px 0 #4b2aa8; }
.o-black-friday .wl-item .pl b { color: #ffd60a; }

/* list layout */
.wl-items.rows { display: flex; flex-direction: column; gap: 8px; }
.wl-items.rows .wl-item { flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; }
.wl-items.rows .tile { width: 56px; height: 56px; aspect-ratio: auto; font-size: 24px; flex: none; }
.wl-items.rows .txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wl-items.rows .get { margin: 0; flex: none; }

/* small page in the hero and the send-a-link row */
.browser.narrow { max-width: 420px; margin: 0 auto; }
.browser.narrow .wl-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------------- the "three steps" demo ---------------- */

.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: d; }
.demo-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.demo-step .n {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-deep); color: var(--ink-soft);
  font-weight: 800; font-size: 1.1rem;
  transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.demo-step h3 { margin: 4px 0 6px; }
.demo-step p { color: var(--ink-soft); font-size: 1.02rem; }
.demo-step[aria-selected="true"] {
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.demo-step[aria-selected="true"] .n { background: var(--red); color: #fff; transform: scale(1.08); }
.demo-stage { position: relative; }
.demo-stage .phone { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.demo-stage .phone.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.demo-caption { text-align: center; margin-top: 16px; font-size: 0.95rem; color: var(--ink-mid); }

/* ---------------- the hero's phone + page pair ---------------- */

.hero-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.hero-demo .phone { z-index: 2; margin-right: -40px; }
.hero-demo .browser { width: min(540px, 100%); }
.hero-demo .link-pill {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-62%, -50%) rotate(-6deg);
  z-index: 3;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(22, 19, 15, 0.3);
  white-space: nowrap;
}
.hero-demo .link-pill svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }

/* ---------------- example lists row ---------------- */

.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.example-list { display: flex; flex-direction: column; gap: 14px; }
.example-list .browser { flex: 1 1 auto; }
.example-list .wl-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.example-list figcaption { font-size: 0.98rem; color: var(--ink-soft); }
.example-list figcaption b { color: var(--ink); display: block; margin-bottom: 2px; }
.example-list figcaption a { color: var(--red); font-weight: 600; }
.examples figure { margin: 0; }

/* ---------------- occasion strip ---------------- */

.occasions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.occasions li {
  position: relative;
  min-height: 92px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  background: var(--bg-deep) center / cover no-repeat;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.occasions li a { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px 14px; color: var(--i); text-decoration: none; border-radius: 16px; }
.occasions li a:hover { outline: 3px solid var(--i); outline-offset: -3px; }
.occasions li span { position: relative; text-shadow: 0 0 10px var(--b), 0 0 4px var(--b); color: var(--i); }
.occasions .bf { --b: #111114; --i: #ffd60a; background-image: url("/w/occasions/black-friday.svg"); }
.occasions .xm { --b: #14532d; --i: #fff8e7; background-image: url("/w/occasions/christmas.svg"); }
.occasions .va { --b: #ffd6e0; --i: #b0103f; background-image: url("/w/occasions/valentines.svg"); }
.occasions .bd { --b: #ffe7a3; --i: #4b2aa8; background-image: url("/w/occasions/birthday.svg"); }
.occasions .bs { --b: #dcefe5; --i: #2f5a4a; background-image: url("/w/occasions/baby-shower.svg"); }
.occasions .boy { --b: #d3e6fb; --i: #1d4f8c; background-image: url("/w/occasions/its-a-boy.svg"); }
.occasions .girl { --b: #fddbe6; --i: #a8336a; background-image: url("/w/occasions/its-a-girl.svg"); }
.occasions .wd { --b: #efe8d8; --i: #6f5a2e; background-image: url("/w/occasions/wedding.svg"); }
.occasions .en { --b: #f2dbe4; --i: #7d3550; background-image: url("/w/occasions/engagement.svg"); }

/* ---------------- feature grid, pricing, FAQ ---------------- */

.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-grid li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 26px; box-shadow: var(--shadow); }
.feature-grid .f-icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 12px; background: var(--red-wash); color: var(--red); font-size: 20px;
}
.feature-grid h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature-grid p { color: var(--ink-soft); font-size: 1rem; }
.feature-grid .tag { display: inline-block; margin-top: 10px; font-size: 0.8rem; font-weight: 700; color: var(--ink-mid); background: var(--bg-deep); border-radius: 999px; padding: 2px 10px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
.plan.pro { border-color: rgba(204, 33, 40, 0.35); box-shadow: 0 2px 6px rgba(22,19,15,.05), 0 26px 60px rgba(204, 33, 40, 0.12); }
.plan .plan-name { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.plan .plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.plan .plan-price small { font-size: 1rem; font-weight: 600; color: var(--ink-mid); letter-spacing: 0; }
.plan .plan-sub { color: var(--ink-mid); font-size: 0.98rem; margin-bottom: 20px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: 1rem; color: var(--ink-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; }
.plan li strong { color: var(--ink); }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-soft); padding: 0 0 18px; max-width: 64ch; }
.faq-list details p + p { margin-top: -8px; }

.compare { max-width: 820px; margin: 0 auto; border-collapse: collapse; width: 100%; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mid); }
.compare td:first-child { font-weight: 600; }
.compare .yes { color: #1f6b3a; font-weight: 700; }
.compare .no { color: var(--ink-mid); }

.crumbs { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 8px; font-size: 0.92rem; color: var(--ink-mid); }
.crumbs a { color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

.band-note { text-align: center; color: var(--ink-mid); font-size: 0.95rem; margin-top: 22px; }
.inline-cta { margin-top: 28px; }

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

@media (max-width: 1000px) {
  .examples { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; gap: 28px; }
  .demo-stage { order: -1; }
  .hero-demo { flex-direction: column; gap: 22px; }
  .hero-demo .phone { margin-right: 0; }
  .hero-demo .link-pill { position: static; transform: rotate(-3deg); margin: -6px 0; }
  .plans { grid-template-columns: 1fr; }
  .occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .wl-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone { --ph-w: 270px; }
  .compare { font-size: 0.92rem; }
  .compare th, .compare td { padding: 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-stage .phone { transition: none; }
  .app-search .cursor { animation: none; }
}

/* ---------------- the themes gallery (/wishlist-themes) ---------------- */

.jump-list { list-style: none; margin: 0 auto 8px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 720px; }
.jump-list a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.jump-list a:hover { border-color: var(--red); color: var(--red); }
.theme-rows { display: flex; flex-direction: column; gap: 88px; }
.theme-row { scroll-margin-top: 90px; }
.theme-row .browser { max-width: 460px; margin: 0 auto; }
.theme-row .wl-items.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-tip { margin-top: 16px; color: var(--ink-soft); font-size: 1.02rem; }
.palette-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.palette-row li {
  background: var(--c); color: var(--i); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 14px 16px; text-align: center; box-shadow: var(--shadow); font-weight: 700;
}
.palette-row li::before { content: ""; display: block; width: 38px; height: 12px; border-radius: 999px; background: var(--a); margin: 0 auto 12px; }
.palette-row small { display: block; font-weight: 600; font-size: 0.8rem; opacity: 0.65; }
@media (max-width: 900px) {
  .theme-rows { gap: 56px; }
  .palette-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------- product pictures in the mockups ---------------- */
.tile, .post .pic, .detail .hero { position: relative; overflow: hidden; }
.tile img, .post .pic img, .detail .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .rank, .wl-item .rank { z-index: 1; }

/* The mockup's .brand and .note share names with the site's header logo and its
   small print in styles.css; without this they inherit a 46 px logo height and a
   16 px top margin and open gaps inside every card. */
.wl-item .brand { display: block; min-height: 0; padding: 0; font-size: 9px; letter-spacing: 0.06em; }
.wl-item .brand img { display: none; }
.wl-item .note { margin-top: 0; }

/* Gallery rows: the text starts at the top and stays in view beside the taller
   mockup, instead of floating in the middle of an empty column. */
.theme-row { align-items: start; }
.theme-row .split-text { position: sticky; top: 112px; }
@media (max-width: 900px) {
  .theme-row .split-text { position: static; }
}
