.trip-theme {
  color-scheme: light;
  color: #211831;
  background: #fbf8ff;
  --trip-accent: #6132a7;
  --trip-muted: #564964;
  --trip-border: #dcd0eb;
  --trip-showcase-padding: clamp(14px, 4vw, 38px);
  --trip-showcase-radius: 26px;
  --trip-showcase-phone-width: 260px;
}
.trip-theme body { background: none; }
.trip-theme p { color: var(--trip-muted); }
.trip-theme a:focus-visible { outline-color: #733dc0; }
.trip-header, .trip-footer { background: #151024; color: #fff; }
.trip-header .product-page-header, .trip-footer .product-page-header { padding-block: 14px; }
.trip-header .product-page-header nav a[aria-current] { color: white; }
.trip-header-cta { padding: 8px 14px; border: 1px solid #ffffff47; border-radius: 99px; font-size: .8rem; font-weight: 750; text-decoration: none; }
.trip-header-cta:hover { background: #ffffff1c; }
.trip-main { position: relative; width: min(1120px, calc(100% - 48px)); }
.trip-hero { padding-top: clamp(44px, 7vw, 98px); text-align: center; }
.trip-theme .trip-label { margin: 0 0 12px; color: var(--trip-accent); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.trip-hero h1 { max-width: 840px; margin: 0 auto 18px; font-size: clamp(2.55rem, 6.3vw, 5rem); }
.trip-hero h1 em { color: var(--trip-accent); font-style: normal; }
.trip-intro { max-width: 565px; margin: 0 auto; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.trip-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; }
.trip-button { display: inline-block; padding: 12px 22px; border-radius: 99px; background: #25183a; color: #fff; font-weight: 800; text-decoration: none; }
.trip-button:hover { background: #462b6b; }
.trip-link { color: var(--trip-accent); font-weight: 750; text-underline-offset: 4px; }
.trip-link:hover { color: #40206e; }
.trip-journey {
  position: absolute;
  top: 0;
  z-index: 2;
  visibility: hidden;
  pointer-events: none;
}
.trip-journey[data-ready] { visibility: visible; }
.trip-journey-map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.trip-journey-dots, .trip-journey-trail { fill: none; stroke-linecap: round; }
.trip-journey-dots { stroke: #8666b1; stroke-width: 2; stroke-dasharray: 1 8; opacity: .42; }
.trip-journey-trail { stroke: url(#trip-journey-track); stroke-width: 2.5; opacity: .83; }
.trip-journey-plane {
  position: absolute;
  top: var(--plane-y);
  left: var(--plane-x);
  display: grid;
  place-items: center;
  width: var(--plane-size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #9966eb, #5c2ca8 55%, #3c2a83);
  color: #fff;
  box-shadow: 0 0 0 3px #a884dc44, 0 4px 12px #512c9260;
}
.trip-journey-plane svg { width: 68%; transform: rotate(var(--plane-heading)); }
.trip-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  margin: clamp(34px, 5vw, 64px) auto 0;
  padding: 28px 16px;
  max-width: 880px;
  overflow: hidden;
  border-radius: clamp(20px, 4vw, 36px);
  background: radial-gradient(ellipse at 16% 80%, #f7c8ac, transparent 53%), radial-gradient(ellipse at 83% 25%, #c8b3f1, transparent 58%), #eae1f8;
}
.trip-stage-liquid {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.trip-stage-liquid.is-rendering { opacity: .72; }
.trip-stage::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  opacity: .68;
  background:
    repeating-radial-gradient(ellipse at 5% 115%, transparent 0 28px, #fff6f29c 39px, #fff8f6cf 43px, #d591a664 47px, transparent 58px 98px),
    repeating-radial-gradient(ellipse at 102% -17%, transparent 0 37px, #faf0ff99 49px, #fff9ffb3 55px, #a786d859 60px, transparent 71px 115px);
  animation: trip-liquid-fallback 14s ease-in-out infinite alternate;
}
.trip-stage:has(.trip-stage-liquid.is-rendering)::before { display: none; }
@keyframes trip-liquid-fallback {
  from { transform: translate(-2%, -2%) rotate(-8deg); }
  to { transform: translate(3%, 3%) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .trip-stage-liquid, .trip-stage::before { display: none; }
}
.trip-phone {
  position: relative;
  width: clamp(192px, 29vw, 254px);
  margin: 0;
  padding: 5px;
  border: 2px solid #77717e;
  border-radius: 35px;
  background: linear-gradient(150deg, #797581, #27242c 24%, #100f14 70%, #605b67);
  box-shadow: inset 0 0 0 1px #e2dce65e, 0 18px 45px #29133b55;
}
.trip-phone::before, .trip-phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #585360;
}
.trip-phone::before { top: 18%; left: -4px; height: 24px; box-shadow: 0 30px #585360; }
.trip-phone::after { top: 23%; right: -4px; height: 38px; }
.trip-phone-screen { overflow: hidden; border-radius: 27px; background: #121314; }
.trip-phone-status {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 31px;
  padding: 0 12px;
  color: #fff;
  font: 750 9px/1 system-ui, sans-serif;
}
.trip-phone-island { position: absolute; left: 50%; transform: translateX(-50%); width: 29%; height: 15px; border-radius: 99px; background: #020203; }
.trip-phone-island::after { content: ""; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: #213044; }
.trip-phone-indicators { display: flex; align-items: center; gap: 5px; }
.trip-phone-signal { width: 10px; height: 8px; background: currentColor; clip-path: polygon(0 75%, 21% 75%, 21% 50%, 46% 50%, 46% 25%, 71% 25%, 71% 0, 100% 0, 100% 100%, 0 100%); }
.trip-phone-battery { width: 13px; height: 7px; border: 1px solid #ddd; border-radius: 2px; box-shadow: inset 0 0 0 1px #121314; background: #fff; }
.trip-phone img { display: block; width: 100%; height: auto; }
.trip-phone-home { width: 34%; height: 3px; margin: 7px auto; border-radius: 99px; background: #fff; }
.trip-stage-note { position: absolute; z-index: 1; text-align: left; }
.trip-stage-flight {
  top: 16%;
  right: calc(50% + 55px);
  display: grid;
  grid-template-columns: auto minmax(58px, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 222px;
  padding: 11px 13px;
  border: 1px solid #efe8f5;
  border-radius: 15px;
  background: #fff;
  color: #211831;
  box-shadow: 0 10px 24px #2b1b432b;
  line-height: 1.15;
}
.trip-flight-stop, .trip-flight-route { display: grid; gap: 4px; }
.trip-flight-stop:last-child { text-align: right; }
.trip-flight-stop span, .trip-flight-stop small, .trip-flight-route { color: #64586f; font-size: .67rem; }
.trip-flight-stop strong { font-size: 1.16rem; letter-spacing: -.04em; }
.trip-flight-route { text-align: center; white-space: nowrap; }
.trip-flight-route small { font-size: inherit; }
.trip-flight-track { display: grid; place-items: center; height: 8px; margin-block: 3px; border-radius: 99px; background: #d7edff; color: #0879bb; font-size: 15px; line-height: 8px; }
.trip-stage-collaboration {
  top: 27%;
  left: calc(50% + 99px);
  display: grid;
  gap: 7px;
  padding: 11px 13px;
  border: 1px solid #efe8f5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 24px #2b1b432b;
}
.trip-stage-collaboration strong { font-size: .86rem; }
.trip-stage-collaboration small { color: #64586f; font-size: .66rem; }
.trip-collab-avatars { display: flex; padding-left: 1px; }
.trip-collab-avatar {
  width: 34px;
  height: 34px;
  margin-left: -1px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f1e5ff url("/assets/optimized/alex_25.webp") -41px -35px / 185px auto no-repeat;
  box-shadow: 0 1px 4px #2b1b4333;
}
.trip-collab-avatar + .trip-collab-avatar { margin-left: -6px; }
.trip-collab-avatar:nth-child(2) { background-position: -99px -20px; }
.trip-collab-avatar:nth-child(3) { background-position: -76px -81px; }
.trip-collab-avatar:nth-child(4) { background: #f1e5ff url("/assets/optimized/party_night.webp") -143px -165px / 218px auto no-repeat; }
.trip-stage-arrival {
  top: 58%;
  left: calc(50% + 82px);
  display: grid;
  gap: 4px;
  max-width: calc(50% - 104px);
  padding: 14px 16px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: #fff9f5;
  box-shadow: 0 10px 25px #2b1b4326;
}
.trip-stage-arrival span { color: var(--trip-accent); font-size: .75rem; font-weight: 800; }
.trip-stage-arrival small { color: var(--trip-muted); }
.trip-index { padding: 36px 0 28px; text-align: center; }
.trip-index h2 { margin: 0 0 15px; font-size: 1.25rem; }
.trip-feature-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.trip-feature-nav a { padding: 10px 13px; border: 1px solid var(--trip-border); border-radius: 9px; background: #fff; color: #39294c; font-size: .84rem; font-weight: 750; text-decoration: none; }
.trip-feature-nav a:hover { border-color: #aa86d5; background: #f0e6ff; color: var(--trip-accent); }
.trip-chapter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(22px, 6vw, 76px); padding-block: clamp(38px, 6vw, 76px); border-top: 1px solid var(--trip-border); }
.trip-chapter, .trip-planning article { scroll-margin-top: 20px; }
.trip-chapter-reverse .trip-visual { grid-column: 1; grid-row: 1; }
.trip-copy { max-width: 480px; }
.trip-main h2:not(.trip-index h2) { margin: 0 0 14px; font-size: clamp(1.95rem, 4.3vw, 3.25rem); line-height: 1.03; letter-spacing: -.045em; }
.trip-copy p:not(.trip-label) { margin: 0 0 18px; }
.trip-visual { display: grid; place-items: center; margin: 0; min-width: 0; min-height: 300px; padding: 24px; border-radius: 22px; overflow: hidden; }
.trip-lilac { background: #eee4fc; }
.trip-peach { background: #f8e4db; }
.trip-mint { background: #e3efeb; }
.trip-booking-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 16px; background: #e6eefb; }
.trip-booking-visual img { display: block; max-width: 100%; height: 48px; object-fit: contain; border-radius: 99px; box-shadow: 0 8px 20px #29133b12; }
.trip-screen { display: block; width: auto; max-width: 100%; height: 300px; object-fit: contain; border-radius: 16px; box-shadow: 0 12px 30px #29133b24; }
.trip-cover { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 30px #29133b24; }
.trip-planning { margin: 0 0 48px; padding: clamp(22px, 4vw, 42px); border-radius: 22px; background: #ede2fa; }
.trip-planning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.trip-planning-grid article { padding: 18px; border: 1px solid var(--trip-border); border-radius: 14px; background: #fffdfa; }
.trip-planning-grid h3 { margin: 0; }
.trip-planning-grid p { margin: 8px 0 12px; font-size: .92rem; }
.trip-demo { margin-top: 14px; color: var(--trip-accent); }
.trip-demo summary { width: fit-content; cursor: pointer; font-weight: 700; }
.trip-demo video { display: block; width: 100%; max-width: 260px; max-height: 380px; margin-top: 10px; border-radius: 12px; background: #17141d; }
.trip-paper-visual { background: #f7e8db; }
.trip-paper { position: relative; width: min(100%, 230px); padding: 21px; background: #fff; border-radius: 5px; box-shadow: 0 14px 25px #29133b26; rotate: -6deg; }
.trip-paper strong { display: block; margin: 8px 0 14px; font-size: 1.25rem; }
.trip-paper span { color: var(--trip-accent); font-size: .74rem; font-weight: 800; }
.trip-paper p { margin: 1px 0 8px; font-size: .86rem; }
.trip-paper .trip-paper-format { position: absolute; right: -6px; bottom: 9px; padding: 6px 10px; border-radius: 7px; background: #62349e; color: #fff; }
.trip-close { margin-bottom: 48px; padding: clamp(30px, 7vw, 72px) 18px; text-align: center; border-radius: 24px; background: linear-gradient(135deg, #f8ded3, #e9d8ff); }
.trip-pinboard {
  margin-bottom: 52px;
  padding: clamp(24px, 5vw, 56px) var(--trip-showcase-padding) var(--trip-showcase-padding);
  border: 1px solid var(--trip-border);
  border-radius: var(--trip-showcase-radius);
  background: #fffdfb;
  text-align: center;
  scroll-margin-top: 20px;
}
.trip-pinboard-copy { max-width: 680px; margin: 0 auto clamp(24px, 4vw, 38px); }
.trip-pinboard-copy p:not(.trip-label) { max-width: 52ch; margin: 0 auto 14px; }
.trip-pinboard-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr);
  grid-template-areas: "pin map countries";
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  padding: clamp(16px, 4vw, 44px);
  border-radius: 20px;
  background: radial-gradient(ellipse at 48% 35%, #c8c2fb, transparent 64%), linear-gradient(125deg, #f3e4fa, #e3edfc);
}
.trip-pinboard-stage figure { display: grid; justify-items: center; gap: 14px; min-width: 0; margin: 0; }
.trip-pinboard-stage .trip-phone { width: min(100%, 202px); }
.trip-pinboard-stage .trip-pinboard-map .trip-phone { width: min(100%, var(--trip-showcase-phone-width)); }
.trip-pinboard-stage figcaption { color: #39294c; font-weight: 750; font-size: clamp(.8rem, 1.4vw, .96rem); }
.trip-pinboard-map { grid-area: map; }
.trip-pinboard-pin { grid-area: pin; }
.trip-pinboard-countries { grid-area: countries; }
@media (max-width: 680px) {
  .trip-pinboard-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "map map" "pin countries";
    align-items: start;
    row-gap: 24px;
  }
  .trip-pinboard-stage figure:not(.trip-pinboard-map) .trip-phone { border-radius: clamp(22px, 6vw, 35px); }
  .trip-pinboard-stage figure:not(.trip-pinboard-map) .trip-phone-screen { border-radius: clamp(15px, 4.8vw, 27px); }
  .trip-pinboard-stage figure:not(.trip-pinboard-map) .trip-phone-status { padding-inline: 5px; }
}
.trip-flights { margin-bottom: 36px; scroll-margin-top: 20px; }
.trip-flights-copy { max-width: 460px; }
.trip-flights-copy > p:not(.trip-label) { margin: 0; }
.trip-flights-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  padding: var(--trip-showcase-padding);
  overflow: hidden;
  border: 1px solid var(--trip-border);
  border-radius: var(--trip-showcase-radius);
  background: radial-gradient(ellipse at 84% 90%, #cadfff, transparent 53%),
    radial-gradient(ellipse at 8% 5%, #f6e9ff, transparent 62%), #edf4ff;
}
.trip-flights-path {
  position: absolute;
  z-index: -1;
  width: 120%;
  height: 64%;
  left: -12%;
  bottom: -22%;
  border: 2px dashed #8f75c6;
  border-radius: 50%;
  opacity: .45;
  rotate: -15deg;
}
.trip-flights-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--trip-showcase-phone-width));
  align-items: center;
  width: min(100%, 530px);
  justify-self: center;
}
.trip-flights-cards { grid-area: 1 / 1; margin-right: -10px; z-index: 1; }
.trip-flights-route-card,
.trip-flights-ticket {
  width: min(100%, 350px);
  padding: 16px;
  border: 1px solid #e9e0f2;
  border-radius: 16px;
  background: #fffcff;
  box-shadow: 0 12px 32px #2818451c;
}
.trip-flights-route-meta { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: #695b77; font-size: .75rem; }
.trip-flights-route-meta strong { color: #6132a7; }
.trip-flights-route-stops { display: grid; grid-template-columns: auto minmax(18px, 1fr) auto; align-items: center; gap: 10px; }
.trip-flights-route-stops > div:not(.trip-flights-route-line) { display: grid; gap: 3px; }
.trip-flights-route-stops > div:last-child { text-align: right; }
.trip-flights-route-stops strong { font: 800 clamp(1.25rem, 3vw, 1.75rem)/1 var(--display, system-ui); }
.trip-flights-route-stops span, .trip-flights-route-stops small, .trip-flights-ticket small { color: #5d506a; font-size: .73rem; }
.trip-flights-route-line { height: 9px; display: grid; place-items: center; border-radius: 99px; background: #dceefe; color: #1873aa; line-height: 9px; }
.trip-flights-ticket { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 12px 0 0 clamp(0px, 2vw, 20px); padding: 10px 16px 10px 10px; }
.trip-flights-ticket div { display: grid; gap: 2px; }
.trip-flights-ticket-icon { display: grid; width: 32px; aspect-ratio: 1; place-items: center; border-radius: 8px; background: #eee1ff; color: #6132a7; font-weight: 800; }
.trip-flights-checklist { margin: 18px 0; }
.trip-flights-checklist p { margin: 0 0 7px; font-size: .74rem; font-weight: 700; }
.trip-flights-checklist ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.trip-flights-checklist li { display: flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 750; line-height: 1.3; }
.trip-flights-checklist li span { display: grid; place-items: center; width: 16px; flex: 0 0 16px; aspect-ratio: 1; border-radius: 50%; color: white; background: #563891; font-size: .66rem; }
.trip-flights-plane { display: block; width: clamp(54px, 8vw, 86px); height: auto; margin: 10px auto 0; }
.trip-flights-phone { grid-area: 1 / 2; justify-self: center; width: min(var(--trip-showcase-phone-width), 100%); }
@media (max-width: 900px) {
  .trip-flights-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .trip-flights-visual { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .trip-flights-phone, .trip-flights-cards { grid-area: auto; }
  .trip-flights-cards { width: min(100%, 260px); margin: 0; justify-self: center; }
  .trip-flights-plane { display: none; }
}
@media (max-width: 370px) {
  .trip-flights-route-card { padding: 12px; }
  .trip-flights-route-stops small { font-size: .65rem; }
}
@media (max-width: 700px) {
  .trip-header .product-page-header { column-gap: 10px; }
  .trip-header .product-page-header nav { flex-basis: 100%; order: 2; }
  .trip-main { position: relative; width: calc(100% - 32px); }
  .trip-stage-arrival { display: none; }
  .trip-stage-flight { top: 17%; right: auto; left: 10px; width: 166px; gap: 7px; padding: 8px; }
  .trip-stage-collaboration { top: 63%; left: auto; right: 10px; gap: 5px; padding: 8px; }
  .trip-flight-stop strong { font-size: .98rem; }
  .trip-flight-stop span, .trip-flight-stop small, .trip-flight-route { font-size: .59rem; }
  .trip-chapter, .trip-planning-grid { grid-template-columns: minmax(0, 1fr); }
  .trip-chapter-reverse .trip-visual { grid-row: auto; }
  .trip-visual { min-height: 230px; }
  .trip-screen { height: 255px; }
}
