/* Landing pages (group-trip-planner/). Builds on site.css and its tokens. The product
   illustrations are HTML versions of the app's UI (see design-reference/screenshots), so
   they can show any trip and animate (assets/js/group-trip-planner.js). Their finished
   state is the default, so they read the same without JavaScript or with Reduce Motion. */

.lp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Every icon on these pages comes from the sprite: line icons in the current color. */
main svg,
.lp-sticky-cta svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-large {
  min-height: 60px;
  padding: 0 30px;
  font-size: 1.0625rem;
}

/* For hero experiments (HERO_EXPERIMENT in group-trip-planner.js). Navy on sunset is 4.8:1. */
.btn-sunset {
  background: var(--sunset);
  color: var(--navy);
}

.btn-sunset:hover {
  background: #ff7f57;
}

.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 6px;
  font-weight: 700;
  text-decoration: none;
}

.lp-link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.lp-link:hover {
  text-decoration: underline;
}

.lp-link:hover svg {
  transform: translateX(3px);
}

/* App UI kit ------------------------------------------------------------------------ */

.ui-phone {
  position: relative;
  width: min(100%, 318px);
  margin-inline: auto;
  padding: 9px;
  border-radius: 46px;
  background: #0b1730;
  box-shadow: var(--shadow-hero);
}

.ui-screen {
  overflow: hidden;
  padding: 12px 14px 16px;
  border-radius: 37px;
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.ui-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 12px 10px;
  font-size: 12px;
  font-weight: 700;
}

.ui-battery {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 3.5px;
}

.ui-battery::after {
  content: "";
  position: absolute;
  inset: 1.5px 6px 1.5px 1.5px;
  border-radius: 1.5px;
  background: var(--ink);
}

.ui-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ui-avatars {
  display: flex;
  flex: none;
}

.ui-avatars .av + .av {
  margin-left: -8px;
}

/* Avatar ring = traveler color, outer gap = background color (DESIGN.md §4 Avatars). */
.av {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--ring, var(--traveler-1));
  outline: 2px solid var(--surface);
  object-fit: cover;
  background: var(--tint-neutral);
}

.av-sm {
  width: 22px;
  height: 22px;
}

.ui-kicker {
  margin-top: 12px;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ui-title {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}

.ui-next {
  position: relative;
  display: grid;
  gap: 2px;
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--on-navy);
}

.ui-next-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aqua);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ui-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 3px rgba(32, 199, 207, 0.25);
}

.ui-next strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.ui-next-meta {
  color: var(--on-navy-muted);
  font-size: 12px;
}

/* Navy on sunset is 4.8:1. */
.ui-leave {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--sunset);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.ui-label {
  margin: 14px 2px 6px;
  color: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ui-list,
.ui-timeline {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ui-timeline {
  margin-top: 12px;
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(6, 43, 99, 0.05);
}

.ui-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.ui-tile svg {
  width: 17px;
  height: 17px;
}

.t-blue {
  background: #e3f0fe;
  color: #0f6cd0;
}

.t-teal {
  background: #daf6f3;
  color: #0b8a7e;
}

.t-pink {
  background: #fce4ee;
  color: #b8336f;
}

.t-orange {
  background: #ffe8de;
  color: #c24713;
}

.t-mint {
  background: #e0f4ea;
  color: #237a52;
}

.t-navy {
  background: var(--navy);
  color: var(--on-navy);
}

.ui-text {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.ui-text strong,
.ui-text span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ui-text strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
}

.ui-text span {
  color: var(--ink-muted);
  font-size: 11.5px;
}

.ui-time {
  flex: none;
  width: 42px;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.ui-time i,
.ui-time s i {
  display: block;
  color: var(--ink-muted);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
}

.ui-date {
  display: grid;
  flex: none;
  width: 30px;
  color: var(--ink-muted);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.ui-date b {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.ui-badge {
  flex: none;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ui-money {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--tint-sunset);
  font-size: 12px;
}

.ui-money svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--sunset-ink);
}

.ui-money-owe {
  margin-left: auto;
  color: var(--sunset-ink);
  font-weight: 800;
  white-space: nowrap;
}

.ui-stay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 11px 5px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
}

.ui-stay svg {
  width: 14px;
  height: 14px;
  color: #0b8a7e;
}

.ui-card {
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  padding: 8px 14px 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(6, 43, 99, 0.06), 0 6px 16px rgba(6, 43, 99, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.ui-chip svg {
  width: 16px;
  height: 16px;
}

.ui-chip-found {
  background: var(--confirmed);
  color: var(--confirmed-ink);
}

/* Floating cards around the product, like the homepage hero's chips. */
.lp-float,
.lp-toast,
.lp-synced {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-hero);
  white-space: nowrap;
}

.lp-float p,
.lp-toast p,
.lp-synced p,
.lp-together-card p {
  display: grid;
  line-height: 1.3;
}

.lp-float strong,
.lp-toast strong,
.lp-synced strong,
.lp-together-card strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.lp-float p span,
.lp-toast p span,
.lp-synced p span,
.lp-together-card p span {
  color: var(--ink-muted);
  font-size: 13px;
}

.lp-float .av,
.lp-toast .av {
  width: 34px;
  height: 34px;
}

/* Shared section layout -------------------------------------------------------------- */

.lp-split-layout {
  display: grid;
  gap: 48px;
  align-items: center;
}

.lp-copy {
  display: grid;
  gap: 18px;
  max-width: 540px;
}

.lp-copy .btn-row {
  margin-top: 6px;
}

.lp-note {
  color: var(--ink-muted);
}

.lp-points {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.lp-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-muted);
}

.lp-points strong {
  color: var(--ink);
}

.lp-points svg {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--navy);
}

@media (min-width: 960px) {
  .lp-split-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 72px;
  }

  .lp-split-layout.is-reversed > :first-child {
    order: 2;
  }
}

/* 1. Hero ----------------------------------------------------------------------------- */

.lp-hero {
  padding-block: clamp(28px, 5vw, 72px) var(--section-space);
}

.lp-hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.lp-hero-copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.lp-hero-copy h1 {
  max-width: 12ch;
}

.lp-hero-copy .lead {
  max-width: 34rem;
}

.lp-hero-visual {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding-block: 12px;
}

.lp-hero-phone {
  width: min(100%, 300px);
}

.lp-float-flight {
  top: 16px;
  left: -8px;
}

.lp-float-stay {
  top: 47%;
  right: -8px;
}

.lp-float-join {
  bottom: -26px;
  left: -8px;
}

@media (max-width: 479px) {
  .lp-float-stay {
    display: none;
  }
}

@media (min-width: 960px) {
  .lp-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px;
  }

  .lp-float-flight {
    left: -4%;
  }

  .lp-float-stay {
    right: -6%;
  }

  .lp-float-join {
    left: 2%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lp-float {
    animation: lp-float-in 700ms var(--ease-out) both, lp-bob 6s ease-in-out 900ms infinite;
  }

  .lp-float-stay {
    animation-delay: 150ms, 1.4s;
  }

  .lp-float-join {
    animation-delay: 300ms, 2s;
  }
}

@keyframes lp-float-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
}

@keyframes lp-bob {
  50% {
    transform: translateY(-6px);
  }
}

/* 2. Problem -------------------------------------------------------------------------- */

.lp-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin-inline: auto;
}

@media (max-width: 479px) {
  .frag-hotel,
  .frag-shot {
    display: none;
  }
}

.frag {
  padding: 14px;
  border-radius: var(--radius-small);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transform: rotate(var(--tilt, 0deg));
  font-size: 13px;
}

.frag-chat {
  --tilt: -1.5deg;
}

.frag-email {
  --tilt: 1.2deg;
}

.frag-hotel {
  --tilt: -0.8deg;
}

.frag-shot {
  --tilt: 1.6deg;
}

.frag-app {
  --tilt: 1deg;
}

.frag-notes {
  --tilt: -1.8deg;
  background: #fff9e2;
}

.frag-sheet {
  --tilt: 0.8deg;
}

.frag-money {
  --tilt: -1.2deg;
}

.frag-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.frag-label svg {
  width: 14px;
  height: 14px;
}

.frag-title {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.frag-meta {
  color: var(--ink-muted);
  font-size: 12.5px;
}

.bubble {
  width: fit-content;
  max-width: 92%;
  margin-top: 5px;
  padding: 6px 10px;
  border-radius: 14px 14px 14px 4px;
  background: var(--tint-neutral);
  line-height: 1.3;
}

.bubble-me {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
  background: var(--blue);
  color: #fff;
}

.frag-image {
  display: grid;
  gap: 5px;
  height: 64px;
  margin-bottom: 6px;
  padding: 9px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dfe6ef, #eef1f5);
  filter: blur(0.6px);
}

.frag-image span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #c3ccd8;
}

.frag-image span:nth-child(2) {
  width: 70%;
}

.frag-image span:nth-child(3) {
  width: 45%;
}

.frag-lines {
  color: #6b5a14;
  font-size: 13px;
  line-height: 1.45;
}

.frag-cells {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.7fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  font-size: 11.5px;
}

.frag-cells span {
  min-height: 22px;
  padding: 3px 6px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.frag-cells span:nth-child(-n + 3) {
  background: var(--tint-neutral);
  font-weight: 700;
}

.lp-together {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}

.lp-together-line {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.lp-together-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 520px);
  padding: 14px 16px;
  box-shadow: var(--shadow-hero);
  text-align: left;
}

.lp-together-card p {
  flex: 1;
  min-width: 0;
}

.lp-together-card .ui-tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

@media (min-width: 760px) {
  .lp-collage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

/* 3. Gmail ---------------------------------------------------------------------------- */

.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.lp-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(6, 43, 99, 0.06);
  font-size: 0.875rem;
  font-weight: 700;
}

.lp-tags svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
}

.lp-trust {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--confirmed);
  color: var(--confirmed-ink);
  font-size: 0.9375rem;
}

.lp-trust svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.lp-gmail-visual {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.gm-flow {
  display: grid;
  gap: 16px;
  width: min(100%, 460px);
}

.gm-email {
  padding: 16px 18px;
}

.gm-from {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gm-from > span:last-child {
  display: grid;
  line-height: 1.25;
}

.gm-from strong {
  font-size: 15px;
}

.gm-from span span {
  color: var(--ink-muted);
  font-size: 12.5px;
}

.gm-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tint-neutral);
  color: var(--navy);
  font-weight: 800;
}

.gm-subject {
  margin-top: 12px;
  font-weight: 700;
}

.gm-snippet {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.gm-detect {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  padding: 9px 16px 9px 12px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--on-navy);
  font-size: 0.9375rem;
  font-weight: 700;
}

.gm-detect svg {
  width: 18px;
  height: 18px;
  color: var(--aqua);
}

.gm-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-hero);
}

.gm-card .ui-tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.gm-card .ui-tile svg {
  width: 21px;
  height: 21px;
}

.gm-card .ui-text strong {
  font-size: 16px;
}

.gm-card .ui-text span {
  font-size: 13px;
}

.gm-actions,
.gm-added {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
}

.gm-add {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--on-navy);
}

.gm-ignore {
  padding: 7px 8px;
  color: var(--ink-muted);
}

.gm-added {
  display: none;
  color: var(--confirmed-ink);
}

.gm-added svg {
  width: 18px;
  height: 18px;
}

.gm-card.is-added .gm-actions {
  display: none;
}

.gm-card.is-added .gm-added {
  display: flex;
}

@media (max-width: 479px) {
  .gm-added-trip {
    display: none;
  }
}

.gm-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.gm-dot {
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font: 700 0.8125rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.gm-dot:hover {
  border-color: var(--navy);
}

.gm-dot[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-navy);
}

/* 4. Everyone contributes ------------------------------------------------------------- */

.lp-crew-visual {
  display: grid;
  gap: 16px;
  width: min(100%, 480px);
  margin-inline: auto;
}

.crew-feed {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 0.9375rem;
}

.feed-item:nth-child(even) {
  margin-left: auto;
}

.feed-item .av {
  width: 30px;
  height: 30px;
}

.feed-item em {
  color: var(--navy);
  font-style: normal;
  font-weight: 700;
}

.crew-trip {
  padding: 16px;
  box-shadow: var(--shadow-hero);
}

.crew-trip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.crew-trip-head strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.crew-trip-head span {
  color: var(--ink-muted);
  font-size: 13px;
}

.crew-itinerary {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.crew-itinerary .ui-row {
  background: var(--bg);
  box-shadow: none;
}

/* 5. Live itinerary ------------------------------------------------------------------- */

.lp-live-visual,
.lp-activity-visual {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
  padding-block: 8px;
}

.lp-live-phone {
  width: min(100%, 318px);
}

/* Over the phone's status bar, clear of the day and hotel. */
.lp-toast {
  top: 2px;
  right: -8px;
}

.lp-synced {
  bottom: -28px;
  left: -8px;
  background: var(--confirmed);
}

.lp-synced p span {
  color: var(--confirmed-ink);
}

.lp-synced .av {
  width: 26px;
  height: 26px;
  outline-color: var(--confirmed);
}

.live-dinner {
  position: relative;
  outline: 2px solid transparent;
  transition: outline-color 300ms ease;
}

/* On the row's top edge, like a tag, so the plan and place keep the full width. */
.live-dinner .ui-badge {
  position: absolute;
  top: -8px;
  right: 12px;
}

.live-dinner.is-highlighted {
  outline-color: var(--sunset);
}

.live-old {
  display: none;
  color: var(--ink-muted);
}

.live-dinner.is-before .live-old {
  display: block;
  text-decoration: none;
}

.live-dinner.is-before .live-new,
.live-dinner.is-before .ui-badge {
  display: none;
}

.ui-travel {
  padding-block: 2px;
  background: transparent;
  box-shadow: none;
}

.ui-travel-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 2px dotted #c3ccd8;
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 600;
}

.ui-travel-line svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 960px) {
  .lp-toast {
    top: 12%;
    right: -5%;
  }

  .lp-synced {
    left: -10%;
  }
}

/* 6. Trip gaps ------------------------------------------------------------------------ */

.gaps-card {
  width: min(100%, 460px);
  margin-inline: auto;
  padding: 18px;
  box-shadow: var(--shadow-hero);
}

.gaps-card .ui-row {
  background: var(--bg);
  box-shadow: none;
}

.gap-row {
  display: flex;
  gap: 10px;
  padding-inline: 10px;
}

.gap-box {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 2px dashed rgba(22, 135, 248, 0.45);
  border-radius: 16px;
  background: #f1f7ff;
}

.gap-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 0.9375rem;
}

.gap-title strong {
  color: var(--navy);
}

.gap-title svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.gap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.gap-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(6, 43, 99, 0.08);
  font-size: 0.8125rem;
  font-weight: 700;
}

.gap-chips svg {
  width: 15px;
  height: 15px;
  color: var(--navy);
}

/* 7. Shared expenses ------------------------------------------------------------------ */

.lp-money-visual {
  display: grid;
  gap: 16px;
  width: min(100%, 520px);
  margin-inline: auto;
}

.receipt {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  background: #fffdf8;
  font-size: 13px;
}

.receipt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 10px;
}

.receipt-head strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.receipt-head span {
  color: var(--ink-muted);
  font-size: 12px;
}

.receipt-lines {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.receipt-lines li,
.receipt-total {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.receipt-lines li {
  border-bottom: 1px dashed var(--border);
}

.receipt-total {
  margin-top: 4px;
  font-weight: 800;
}

.receipt-scan {
  position: absolute;
  inset: 0 0 auto;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(32, 199, 207, 0.28), transparent);
  opacity: 0;
  pointer-events: none;
}

.split-card {
  padding: 16px;
  box-shadow: var(--shadow-hero);
}

.split-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.split-head > span:last-child {
  display: grid;
  line-height: 1.3;
}

.split-head strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.split-head span span {
  color: var(--ink-muted);
  font-size: 12.5px;
}

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

.split-people li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
}

.split-people .av {
  width: 42px;
  height: 42px;
}

.split-went {
  position: absolute;
  top: 26px;
  left: calc(50% + 8px);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  outline: 2px solid var(--surface);
  background: var(--confirmed-ink);
  color: #fff;
}

.split-went svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.split-cta {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--on-navy);
  text-align: center;
}

.split-cta span {
  color: var(--on-navy-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.split-cta strong {
  font-size: 1.125rem;
}

.split-owes {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.split-owes li {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--bg);
  font-size: 0.875rem;
}

.split-owes strong {
  color: var(--sunset-ink);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 600px) {
  .lp-money-visual {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .receipt {
    margin-top: 28px;
    transform: rotate(-2deg);
  }
}

/* 8. Live Activity -------------------------------------------------------------------- */

.lp-lock {
  width: min(100%, 300px);
}

.lock-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 540px;
  padding: 12px 12px 18px;
  border-radius: 37px;
  background: radial-gradient(120% 70% at 50% 0%, #133a78 0%, #062049 60%, #041733 100%);
  color: #fff;
  text-align: center;
}

@media (max-width: 599px) {
  .lock-screen {
    min-height: 450px;
  }
}

.lock-island {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 118px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--radius-pill);
  background: #000;
  font-size: 12px;
  font-weight: 800;
}

.island-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--navy);
}

.island-icon svg {
  width: 14px;
  height: 14px;
}

.island-text {
  margin-left: auto;
  color: var(--aqua);
  font-variant-numeric: tabular-nums;
}

.lock-date {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 700;
}

.lock-time {
  font-size: 76px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.la-card {
  display: grid;
  grid-template-areas: "head" "state" "progress";
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-align: left;
}

.la-head {
  grid-area: head;
  display: flex;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
}

.la-brand {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.la-state {
  grid-area: state;
  display: grid;
  gap: 1px;
}

.la-leave {
  visibility: hidden;
}

.la-label {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.la-title {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
}

.la-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 13px;
}

.la-meta strong {
  color: var(--ink);
}

.la-meta svg {
  flex: none;
  width: 15px;
  height: 15px;
}

.la-progress {
  grid-area: progress;
  height: 5px;
  border-radius: 3px;
  background: var(--tint-neutral);
}

.la-progress span {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: var(--aqua);
}

/* 9. Comparison ----------------------------------------------------------------------- */

.compare-grid {
  display: grid;
  gap: 20px;
  max-width: 1000px;
  margin-inline: auto;
}

.compare-col {
  padding: 28px;
  border-radius: var(--radius-hero);
}

.compare-label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-before {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.compare-before .compare-label {
  color: var(--ink-muted);
}

.compare-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.compare-apps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 0.9375rem;
  font-weight: 700;
}

.compare-apps li:nth-child(odd) {
  transform: rotate(-1deg);
}

.compare-apps li:nth-child(even) {
  transform: rotate(1.2deg);
}

.compare-apps svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ink-muted);
}

.compare-foot {
  color: var(--ink-muted);
}

.compare-after {
  display: grid;
  align-content: start;
  gap: 16px;
  background: var(--navy);
  color: var(--on-navy);
}

.compare-after .compare-label {
  color: var(--aqua);
}

.compare-logo {
  width: 150px;
  height: auto;
}

.compare-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
}

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

.compare-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.compare-list svg {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--navy);
  stroke-width: 3;
}

@media (min-width: 860px) {
  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* 10. How it works -------------------------------------------------------------------- */

.how-steps {
  display: grid;
  gap: 18px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.how-step {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 22px 26px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.how-step > p {
  color: var(--ink-muted);
}

.how-art {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  height: 140px;
  margin-bottom: 6px;
  padding: 14px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg);
}

.how-trip {
  padding: 12px 18px;
}

.how-trip .ui-kicker {
  margin-top: 0;
}

.how-cities {
  color: var(--ink-muted);
  font-size: 12px;
}

.how-crew {
  display: flex;
}

.how-crew .av {
  width: 44px;
  height: 44px;
  outline-color: var(--bg);
}

.how-crew .av + .av {
  margin-left: -10px;
}

.how-next {
  width: 210px;
  margin-top: 0;
  text-align: left;
}

@media (min-width: 700px) {
  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .how-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 11. Final call to action ------------------------------------------------------------ */

.lp-final {
  text-align: center;
}

.lp-final .container {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 820px;
}

.lp-final-logo {
  width: 220px;
  height: auto;
  margin-bottom: 6px;
}

.lp-final h2 {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
}

.lp-final .fine-print {
  color: var(--on-navy-muted);
}

/* Phone-only call to action ----------------------------------------------------------- */

.lp-sticky-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(6, 43, 99, 0.22);
  transform: translateY(150%);
  visibility: hidden;
  transition: transform 300ms var(--ease-out), visibility 0s linear 300ms;
}

.lp-sticky-cta.is-shown {
  transform: none;
  visibility: visible;
  transition: transform 300ms var(--ease-out);
}

.lp-sticky-cta p {
  display: grid;
  line-height: 1.25;
}

.lp-sticky-cta strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.lp-sticky-cta span {
  color: var(--ink-muted);
  font-size: 12.5px;
}

.lp-sticky-cta .btn {
  flex: none;
}

/* Room at the end of the page so the bar never covers the footer. */
[data-landing-page] .site-footer {
  padding-bottom: 110px;
}

@media (min-width: 760px) {
  .lp-sticky-cta {
    display: none;
  }

  [data-landing-page] .site-footer {
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-sticky-cta,
  .lp-sticky-cta.is-shown {
    transition: none;
  }
}

/* Increase Contrast: solid borders instead of soft shadows (DESIGN.md §8). */
@media (prefers-contrast: more) {
  .ui-card,
  .ui-row,
  .frag,
  .feed-item,
  .how-step,
  .compare-before,
  .lp-tags li,
  .gap-chips li {
    border: 1.5px solid var(--ink);
    box-shadow: none;
  }
}
