/* Bunchaway landing page. Single light theme by design; motion respects prefers-reduced-motion. */
:root {
  --bg: #fbe4d8;
  --card: #fff8f4;
  --ink: #33202a;
  --muted: #6b5059;
  --accent: #b4482a;
  --accent-soft: #f6cdb8;
  --sun: #e9893a;
  --line: #eed0c2;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
/* Blush: a lighter take on the apricot ground; only the page tokens change */
html[data-tone='blush'] {
  --bg: #fdf0e9;
  --card: #fffaf7;
  --accent-soft: #f8d8c7;
  --line: #f2ddd1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
  font-weight: inherit;
}
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--gl);
  padding-right: var(--gr);
}
.ph-lisbon,
.ph-krakow,
.ph-budapest,
.ph-porto {
  background-color: #9dc3de;
  background-size: cover;
  background-repeat: no-repeat;
}
.ph-lisbon {
  background-image: url(img/lisbon.jpg);
  background-position: 50% 60%;
}
.ph-krakow {
  background-image: url(img/krakow.jpg);
  background-position: 45% 60%;
}
.ph-budapest {
  background-image: url(img/budapest.jpg);
  background-position: 50% 50%;
}
.ph-porto {
  background-image: url(img/porto.jpg);
  background-position: 60% 50%;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px 8px 14px;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease;
}
.store:hover {
  transform: translateY(-1px);
}
.store svg {
  width: 21px;
  height: 21px;
  flex: none;
}
.store small {
  display: block;
  font-size: 11px;
  line-height: 1.1;
  opacity: 0.75;
}
.store b {
  display: block;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 650;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- shared sections (structure) ---------- */
.nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 20px;
}
.nav .mark {
  text-decoration: none;
}
.nav .tone {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
}
.nav .tone button {
  appearance: none;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}
.nav .tone button::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(51, 32, 42, 0.18);
}
.nav .tone [data-tone='apricot']::before {
  background: #fbe4d8;
}
.nav .tone [data-tone='blush']::before {
  background: #fdf0e9;
}
.nav .tone button[aria-pressed='true'] {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.nav .navr {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 15px;
}
.nav .navr a {
  text-decoration: none;
}
@media (max-width: 640px) {
  .nav .navr a:not(.get) {
    display: none;
  }
}
.count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
}
.count .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: scale(1.6);
    opacity: 0.4;
  }
}
.dest-btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.dest-btn .n {
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
  font-weight: 500;
}
.dest-btn[aria-pressed='true'] {
  transform: translateY(-2px);
}
.chapters .wrap {
  padding-block: 100px 40px;
}
.chapters .intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 48px;
}
.chapters .intro p {
  max-width: 26em;
  font-size: 17px;
}
.rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 960px) {
  .rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .rail {
    grid-template-columns: 1fr;
  }
}
.stop {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.stop .when {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.stop h3 {
  font-size: 26px;
  line-height: 1.08;
}
.stop p {
  font-size: 15px;
}
.closing .wrap {
  padding-block: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.closing h2 {
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.02;
  max-width: 12em;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 26px;
  font-size: 14px;
}

/* ---------- page ---------- */
.page {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, sans-serif;
}
.page .soft {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 100;
}
.page .mark {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings:
    'SOFT' 100,
    'opsz' 48;
  font-size: 30px;
  line-height: 1;
  font-weight: 520;
  letter-spacing: -0.03em;
}
/* Logo 1A: same-case wordmark, "bunch" in ink, "away" in the accent */
.page .mark .mark-a {
  color: var(--ink);
}
.page .mark .mark-b {
  color: var(--accent);
}
.page .navr .get {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.page .hero .wrap {
  padding-block: 6px 70px;
}
.page .frame {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  height: min(560px, 70vh);
  min-height: 420px;
  display: flex;
  background: var(--accent-soft);
}
.page .slice {
  flex: 1;
  position: relative;
  margin-left: -8%;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}
.page .slice:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}
.page .slice:last-child {
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.page .frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--bg) 60%, transparent) 75%, var(--bg) 100%);
  pointer-events: none;
}
.page .slice .dest-btn {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  color: var(--ink);
  z-index: 2;
}
.page .slice .dest-btn[aria-pressed='true'] {
  background: var(--accent);
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
}
@media (max-width: 600px) {
  .page .slice:nth-child(4) {
    display: none;
  }
  .page .slice:nth-child(3) {
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  }
  .page .slice .dest-btn {
    font-size: 11px;
    padding: 6px 9px;
  }
}
.page .htext {
  position: relative;
  margin-top: -150px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.page .count {
  background: var(--card);
  color: var(--muted);
  box-shadow: 0 10px 30px -18px rgba(42, 36, 56, 0.4);
}
.page .count b {
  color: var(--ink);
  font-weight: 700;
}
.page .count .live {
  background: var(--sun);
}
.page h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings:
    'SOFT' 100,
    'opsz' 144;
  font-weight: 300;
  font-size: clamp(60px, 11vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.page h1 em {
  font-style: italic;
  color: var(--accent);
}
.page .lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 32em;
}
.page .stores {
  justify-content: center;
  margin-top: 8px;
}
.page .store {
  background: var(--ink);
  color: #fff;
}
.page .store.alt {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.page .hint {
  font-size: 13px;
  color: var(--muted);
}
.page h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings:
    'SOFT' 100,
    'opsz' 120;
  font-weight: 300;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.page h2 em {
  font-style: italic;
  color: var(--accent);
}
.page .chapters .intro p {
  color: var(--muted);
}
.page .rail {
  position: relative;
  padding-top: 28px;
}
.page .rail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent) 70%, var(--sun));
}
.page .stop .when {
  color: var(--accent);
}
.page .stop h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 100;
  font-weight: 400;
}
.page .stop p {
  color: var(--muted);
}
.page .closing {
  background: linear-gradient(180deg, var(--bg), var(--accent-soft));
}
.page .closing p {
  color: var(--muted);
}
.page .closing .stores {
  justify-content: center;
}
.page .foot {
  background: var(--accent-soft);
}
.page .foot .wrap {
  color: var(--muted);
  border-top: 1px solid var(--line);
}
/* the thread: endless chat vs one decision */
.page .thread .wrap,
.page .decided .wrap {
  padding-block: 90px 30px;
}
.page .thread .intro,
.page .decided .intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 44px;
}
.page .thread .intro h2 {
  max-width: 11em;
}
.page .thread .intro p,
.page .decided .intro p {
  max-width: 26em;
  font-size: 17px;
  color: var(--muted);
}
.page .vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 820px) {
  .page .vs {
    grid-template-columns: 1fr;
  }
  .page .arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}
.page .arrow {
  color: var(--accent);
  width: 64px;
}
.page .side {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.page figcaption {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.page .after figcaption {
  color: var(--accent);
}
.page .phone {
  background: var(--card);
  border-radius: 30px;
  box-shadow: 0 30px 60px -36px rgba(51, 32, 42, 0.45);
  overflow: hidden;
  height: 620px;
  display: flex;
  flex-direction: column;
}
.page .tally {
  font-size: 14px;
  color: var(--muted);
}
.page .tally b {
  color: var(--ink);
}
.page .chathead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.page .chathead .gico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
}
.page .chathead b {
  display: block;
  line-height: 1.2;
}
.page .chathead small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.page .unread {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.page .scroller {
  flex: 1;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.page .loop {
  animation: endless 46s linear infinite;
}
.page .scroller:hover .loop {
  animation-play-state: paused;
}
@keyframes endless {
  to {
    transform: translateY(-50%);
  }
}
.page .msgs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 14px 7px;
  font-size: 14px;
}
.page .msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 16px 16px 16px 5px;
  background: var(--bg);
  align-self: flex-start;
  line-height: 1.35;
}
.page .msg em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 1px;
}
.page .msg .c1 {
  color: #b4482a;
}
.page .msg .c2 {
  color: #3d6a8a;
}
.page .msg .c3 {
  color: #7a4e9a;
}
.page .msg .c4 {
  color: #5b7a2e;
}
.page .msg.me {
  align-self: flex-end;
  background: var(--accent-soft);
  border-radius: 16px 16px 5px 16px;
}
.page .msg.pic .img {
  display: block;
  width: 190px;
  max-width: 100%;
  aspect-ratio: 4/3;
  border-radius: 11px;
  margin: 3px 0 5px;
}
.page .msg .lp {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--card);
  border-radius: 11px;
  padding: 6px;
  margin: 3px 0 6px;
}
.page .msg .lp .img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  flex: none;
}
.page .msg .lp b {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}
.page .msg .lp small {
  font-size: 11px;
  color: var(--muted);
}
.page .msg.poll {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 60%;
}
.page .msg.poll span {
  background: var(--card);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
}
.page .msg.poll small {
  font-size: 11px;
  color: var(--muted);
}
.page .typing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.page .dots {
  display: inline-flex;
  gap: 3px;
}
.page .dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: dot 1.2s infinite;
}
.page .dots i:nth-child(2) {
  animation-delay: 0.2s;
}
.page .dots i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dot {
  50% {
    opacity: 0.25;
  }
}
/* "In Bunchaway": a web port of the app's DestinationSwipeDeck/DestinationSwipeCard in the Warm Terracotta app palette */
.page .app {
  --app-bg: #f5f0e9;
  --app-ink: #342c28;
  --app-muted: #6b5f55;
  --app-primary: #a4432d;
  --app-border: #e8ded3;
  --app-danger: #9f1239;
  --app-cap: #292e2a;
  background: var(--app-bg);
  color: var(--app-ink);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  user-select: none;
  -webkit-user-select: none;
}
.page .app-top {
  padding: 20px 18px 0;
}
.page .app-top h3 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.page .app-top p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--app-muted);
  margin-top: 5px;
}
.page .prog {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 8px;
}
.page .kick {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--app-muted);
}
.page .acc {
  font-size: 12px;
  font-weight: 600;
  color: var(--app-primary);
}
.page .deck {
  flex: 1;
  position: relative;
  margin: 0 18px;
  min-height: 0;
}
.page .deck .back {
  position: absolute;
  top: 20px;
  bottom: -8px;
  left: 12px;
  right: 12px;
  border-radius: 22px;
  background: var(--app-border);
  transform: rotate(2deg);
}
.page .sc {
  position: absolute;
  inset: 0 0 6px;
  background: var(--app-cap);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--app-border);
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
  will-change: transform;
  cursor: grab;
}
.page .sc.under {
  pointer-events: none;
}
.page .sc.drag {
  cursor: grabbing;
}
.page .sc .hero {
  position: relative;
  flex: 1;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
}
.page .sc .hero::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(180deg, rgba(41, 46, 42, 0) 45%, rgba(41, 46, 42, 0.7) 70%, rgba(41, 46, 42, 0.94));
}
.page .sc .cap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 16px;
  width: 100%;
  color: #fff;
}
.page .sc .cap small {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
}
.page .sc .cap b {
  display: block;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}
.page .sc .temp {
  text-align: right;
  font-size: 15px;
  white-space: nowrap;
}
.page .sc .temp i {
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.page .sc .temp u {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}
.page .sc .strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  padding: 0 10px 0 16px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.2px;
}
.page .sc .mc {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0;
}
.page .sc .ribbon {
  height: 88px;
  overflow: hidden;
  flex: none;
}
.page .sc .rt {
  display: flex;
  width: max-content;
  height: 100%;
  animation: ribbon 22s linear infinite;
}
.page .sc.under .rt,
.page .sc.drag .rt {
  animation-play-state: paused;
}
@keyframes ribbon {
  to {
    transform: translateX(-50%);
  }
}
.page .sc .tile {
  width: 150px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.3;
}
.page .sc .tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(41, 46, 42, 0) 40%, rgba(41, 46, 42, 0.85));
}
.page .sc .tile span {
  position: relative;
}
.page .sc .more {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  font-size: 13px;
}
.page .stamp {
  position: absolute;
  top: 56px;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  padding: 0 6px;
  border: 3px solid currentColor;
  border-radius: 8px;
}
.page .stamp.yes {
  left: 16px;
  color: #4ade80;
  transform: rotate(-14deg);
}
.page .stamp.no {
  right: 16px;
  color: #f43f5e;
  transform: rotate(14deg);
}
/* swipe hint: a hand drags the top card right, then left, until the visitor touches the deck */
.page .hand {
  display: none;
  position: absolute;
  left: 50%;
  top: 44%;
  width: 104px;
  height: 104px;
  margin: -26px 0 0 -48px;
  z-index: 5;
  pointer-events: none;
  color: #fff;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.page .hand svg {
  width: 100%;
  height: 100%;
  display: block;
}
.page .hand .ring {
  transform-origin: 50% 22%;
  transform-box: fill-box;
}
.page .hint {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.94);
  color: #342c28;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.page .deck.demo .hand,
.page .deck.demo .hint {
  display: block;
}
.page .deck.demo .sc:not(.under) {
  animation: demoCard 3.6s cubic-bezier(0.45, 0, 0.3, 1) infinite;
}
.page .deck.demo .sc:not(.under) .stamp.yes {
  animation: demoYes 3.6s cubic-bezier(0.45, 0, 0.3, 1) infinite;
}
.page .deck.demo .sc:not(.under) .stamp.no {
  animation: demoNo 3.6s cubic-bezier(0.45, 0, 0.3, 1) infinite;
}
.page .deck.demo .hand {
  animation: demoHand 3.6s cubic-bezier(0.45, 0, 0.3, 1) infinite;
}
.page .deck.demo .hand .ring {
  animation: demoRing 3.6s ease-out infinite;
}
.page .deck.demo .hint {
  animation: demoHint 3.6s ease-in-out infinite;
}
.page .deck.paused * {
  animation-play-state: paused !important;
}
@keyframes demoCard {
  0%,
  12% {
    transform: none;
  }
  32%,
  38% {
    transform: translateX(96px) rotate(3.5deg);
  }
  52% {
    transform: none;
  }
  70%,
  76% {
    transform: translateX(-96px) rotate(-3.5deg);
  }
  90%,
  100% {
    transform: none;
  }
}
@keyframes demoYes {
  0%,
  14% {
    opacity: 0;
  }
  32%,
  38% {
    opacity: 0.85;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes demoNo {
  0%,
  54% {
    opacity: 0;
  }
  70%,
  76% {
    opacity: 0.85;
  }
  88%,
  100% {
    opacity: 0;
  }
}
@keyframes demoHand {
  0% {
    opacity: 0;
    transform: scale(1.25);
  }
  8% {
    opacity: 1;
    transform: scale(1.25);
  }
  12% {
    transform: scale(1);
  }
  32%,
  38% {
    transform: translateX(96px) rotate(8deg);
  }
  52% {
    transform: none;
  }
  70%,
  76% {
    transform: translateX(-96px) rotate(-8deg);
  }
  90% {
    opacity: 1;
    transform: none;
  }
  96% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes demoRing {
  0%,
  8% {
    opacity: 0;
    transform: scale(0.6);
  }
  12% {
    opacity: 1;
    transform: scale(1);
  }
  22%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}
@keyframes demoHint {
  0%,
  4% {
    opacity: 0;
  }
  10%,
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.page .done {
  position: absolute;
  inset: 0 0 6px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--app-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page .done h4 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}
.page .done p {
  font-size: 13px;
  color: var(--app-muted);
}
.page .done .row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.page .done .row .th {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.page .done .row i {
  display: block;
  height: 7px;
  border-radius: 7px;
  background: var(--app-bg);
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.page .done .row i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--app-primary);
  border-radius: 7px;
}
.page .done .row em {
  font-style: normal;
  font-size: 11px;
  color: var(--app-primary);
  font-weight: 700;
}
.page .done .again {
  margin-top: auto;
  align-self: flex-start;
  appearance: none;
  border: 0;
  background: none;
  color: var(--app-primary);
  font-weight: 600;
  font-size: 13px;
  text-decoration: underline;
  padding: 10px 0;
}
.page .app-foot {
  padding: 4px 18px 16px;
  border-top: 1px solid var(--app-border);
  margin-top: 10px;
}
.page .status {
  font-size: 12px;
  line-height: 18px;
  min-height: 22px;
  color: var(--app-muted);
  text-align: center;
}
.page .acts {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page .ib {
  appearance: none;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #87776a;
  background: transparent;
  color: var(--app-ink);
  display: grid;
  place-items: center;
}
.page .ib svg {
  width: 20px;
  height: 20px;
}
.page .ab {
  appearance: none;
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.page .ab svg {
  width: 18px;
  height: 18px;
}
.page .ab.danger {
  background: var(--app-danger);
}
.page .ab.primary {
  background: var(--app-primary);
}
.page .ab:active {
  filter: brightness(0.88);
}
/* decided trips gallery, slice-shaped */
.page .gal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
}
.page .trip {
  position: relative;
  height: clamp(340px, 40vw, 480px);
  margin-left: -6%;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  display: flex;
  align-items: flex-end;
}
.page .trip:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.page .trip:last-child {
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.page .trip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(30, 16, 22, 0.72));
}
.page .tcap {
  position: relative;
  color: #fff;
  padding: 0 18% 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  text-align: center;
}
.page .tcap small {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.page .tcap b {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 100;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
}
.page .tcap span {
  font-size: 14px;
  opacity: 0.9;
}
@media (max-width: 700px) {
  .page .gal {
    grid-template-columns: 1fr;
    gap: 12px;
    border-radius: 0;
    overflow: visible;
  }
  .page .trip,
  .page .trip:first-child,
  .page .trip:last-child {
    margin: 0;
    height: auto;
    aspect-ratio: 16/10;
    clip-path: none;
    border-radius: 24px;
  }
  .page .tcap {
    padding: 0 20px 20px;
  }
}
/* activity picking: a web take on the app's ActivityPhotoShelf tiles (photo, interest avatars, rating, duration, Pick) */
.page .picks-sec .wrap {
  padding-block: 90px 20px;
}
.page .picks-sec .intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}
.page .picks-sec .intro h2 {
  max-width: 10em;
}
.page .picks-sec .intro p {
  max-width: 27em;
  font-size: 17px;
  color: var(--muted);
}
.page .pickboard {
  background: var(--card);
  border-radius: 36px;
  padding: 22px 0 18px;
  box-shadow: 0 30px 60px -40px rgba(51, 32, 42, 0.4);
  overflow: hidden;
}
.page .pb-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px 16px;
  flex-wrap: wrap;
}
.page .pb-head > div:first-child {
  flex: 1;
  min-width: 160px;
}
.page .pb-head b {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 100;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}
.page .dest-select {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  color: var(--accent);
}
.page .dest-select select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 0;
  padding: 0 20px 0 0;
  margin: 0;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.page .dest-select select:hover,
.page .dest-select select:focus-visible {
  border-bottom-color: var(--accent);
}
.page .dest-select select:focus-visible {
  outline: none;
}
.page .dest-measure {
  position: absolute;
  left: 0;
  top: 0;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}
.page .dest-select svg {
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -7px;
  pointer-events: none;
}
.page .pb-head small {
  font-size: 13px;
  color: var(--muted);
}
.page .pb-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.page .pb-arrows {
  display: flex;
  gap: 6px;
}
.page .pb-arrow {
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.page .pb-arrow svg {
  width: 18px;
  height: 18px;
}
.page .pb-arrow:hover {
  background: var(--bg);
}
.page .rail-x {
  list-style: none;
  margin: 0;
  padding: 4px 24px 8px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
}
.page .rail-x::-webkit-scrollbar {
  display: none;
}
.page .act {
  flex: none;
  width: min(272px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page .act .photo {
  position: relative;
  aspect-ratio: 1 / 0.68;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.page .act .photo > svg {
  width: 34px;
  height: 34px;
  opacity: 0.5;
}
.page .act .photo .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.page .act:hover .photo .img {
  transform: scale(1.04);
}
.page .act .loc {
  position: absolute;
  left: 8px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 16px);
  padding: 4px 9px 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.page .act .loc svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex: none;
}
.page .act .who {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  flex-direction: row-reverse;
}
.page .act .who .av {
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--card);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  animation: pop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.page .act .who .more {
  background: var(--ink);
}
@keyframes pop {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
}
.page .act h3 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}
.page .act .meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.page .act .meta b {
  color: var(--ink);
}
.page .act .meta .star {
  color: #e2a300;
}
.page .act .pick {
  margin-top: auto;
  align-self: flex-end;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.page .act .pick svg {
  width: 16px;
  height: 16px;
}
.page .act .pick[aria-pressed='true'] {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--accent);
}
.page .pb-feed {
  min-height: 22px;
  padding: 8px 24px 0;
  font-size: 13px;
  color: var(--muted);
}
.page .pb-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
/* availability-aware planner (the core value) */
.page .plan .wrap {
  padding-block: 90px 20px;
}
.page .plan .intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}
.page .plan .intro h2 {
  max-width: 10em;
}
.page .plan .intro p {
  max-width: 27em;
  font-size: 17px;
  color: var(--muted);
}
.page .planner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  background: var(--card);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 60px -40px rgba(51, 32, 42, 0.4);
}
@media (max-width: 900px) {
  .page .planner {
    grid-template-columns: 1fr;
  }
}
.page .picks {
  background: var(--bg);
  border-radius: 24px;
  padding: 18px;
}
.page .ph {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.page .ph b {
  display: block;
  font-size: 16px;
}
.page .ph small {
  font-size: 13px;
  color: var(--muted);
}
.page .live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  background: var(--card);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.page .live-chip .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f8a50;
  animation: breathe 3s ease-in-out infinite;
}
.page .picks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page .picks li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: 16px;
  padding: 10px 12px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.page .picks li:hover {
  transform: translateX(3px);
}
.page .picks li.out {
  cursor: default;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.page .picks li.out:hover {
  transform: none;
}
.page .picks li.out b {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--line);
}
.page .pi {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: none;
  background: var(--line);
}
.page .pi.boat,
.page .tl .boat {
  background: #d3e3f0;
}
.page .pi.food,
.page .tl .food {
  background: #f3d2cf;
}
.page .pi.sun,
.page .tl .sun {
  background: #f8d9b8;
}
.page .pi.night,
.page .tl .night {
  background: #ddd3ef;
}
.page .tl .coffee {
  background: #efe3d6;
}
.page .tl .flight {
  background: var(--bg);
}
.page .pn {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.page .pn b {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.page .st {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.5;
}
.page .st::before {
  margin-right: 4px;
}
.page .st.ok {
  background: #e1eedf;
  color: #2f6a3b;
}
.page .st.ok::before {
  content: '✓';
}
.page .st.booked {
  background: var(--ink);
  color: #fff;
}
.page .st.booked::before {
  content: '✓';
}
.page .st.moved {
  background: #f8e3c4;
  color: #8a4f0c;
}
.page .st.moved::before {
  content: '↻';
}
.page .st.no {
  background: transparent;
  color: var(--muted);
  padding-left: 0;
}
.page .st.no::before {
  content: '✕';
}
.page .hv {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.page .sched {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 6px 8px;
  min-width: 0;
}
.page .sh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.page .days-seg {
  display: inline-flex;
  background: var(--bg);
  border-radius: 999px;
  padding: 4px;
}
.page .days-seg button {
  appearance: none;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
}
.page .days-seg button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
.page .sh-note {
  font-size: 13px;
  color: var(--muted);
}
/* planner map: a pre-rendered OpenFreeMap image per day, with route legs and pins drawn on top */
.page .map-wrap {
  position: relative;
}
.page .map {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 22px;
  background: #f7e9df;
}
.page .map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.45s ease,
    transform 0.6s ease;
}
.page .map img.on {
  opacity: 1;
  transform: none;
}
.page .map .legs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page .map .legs path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page .map .legs .drive {
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-dasharray: 8 6;
  animation: march 1.4s linear infinite;
}
.page .map .legs .walk {
  stroke: #3d6a8a;
  stroke-width: 4;
  stroke-dasharray: 0 8;
}
@keyframes march {
  to {
    stroke-dashoffset: -14;
  }
}
.page .map .pins {
  position: absolute;
  inset: 0;
}
.page .mk {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translate(-15px, -50%);
  animation: pinIn 0.35s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
@keyframes pinIn {
  from {
    opacity: 0;
    transform: translate(-15px, -50%) scale(0.6);
  }
}
.page .mk .n {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: 3px solid #fff;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 4px 10px -4px rgba(51, 32, 42, 0.5);
  transition: transform 0.2s ease;
}
.page .mk.booked .n,
.page .mk.flight .n {
  background: var(--ink);
}
.page .mk .lb {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255, 248, 244, 0.94);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px -3px rgba(51, 32, 42, 0.4);
}
.page .mk.up .lb,
.page .mk.down .lb {
  position: absolute;
  left: 15px;
  transform: translateX(-30%);
}
.page .mk.up .lb {
  bottom: calc(100% + 3px);
}
.page .mk.down .lb {
  top: calc(100% + 3px);
}
.page .mk.hot .n {
  transform: scale(1.25);
}
.page .map-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.92);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.page .map-legend .lg {
  width: 18px;
  height: 0;
  border-top: 3px dashed var(--accent);
}
.page .map-legend .lg.walk {
  margin-left: 6px;
  border-top: 4px dotted #3d6a8a;
}
.page .map-attrib {
  position: absolute;
  right: 10px;
  bottom: 8px;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.85);
  font-size: 10px;
  color: var(--muted);
}
.page .map-attrib a {
  color: inherit;
  text-decoration: none;
}
.page .map-attrib a:hover {
  text-decoration: underline;
}
.page .tl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page .tl .it {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  padding: 8px 12px 8px 8px;
  transition: box-shadow 0.2s ease;
}
.page .tl .it:hover,
.page .tl .it.hot {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.page .tl .no {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.page .tl .flight .no {
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}
.page .tl .it.booked .no {
  background: var(--ink);
}
.page .tl .it b {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}
.page .tl .it small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.page .tl .tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.page .tl .tag.moved {
  background: #f8e3c4;
  color: #8a4f0c;
}
.page .tl .tag.booked {
  background: var(--ink);
  color: #fff;
}
.page .tl .leg {
  font-size: 12px;
  color: var(--muted);
  padding: 0 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page .tl .leg::before {
  content: '';
  width: 2px;
  height: 16px;
  border-left: 2px dotted var(--line);
  margin-right: 8px;
}
.page .why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
  padding: 0 6px;
}
@media (max-width: 900px) {
  .page .why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .page .why {
    grid-template-columns: 1fr;
  }
}
.page .why b {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 100;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 6px;
}
.page .why b::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  margin-bottom: 12px;
}
.page .why p {
  font-size: 15px;
  color: var(--muted);
}
.page .chapters .wrap {
  padding-top: 70px;
}
