/* Landing - follows device theme via html[data-theme] (theme.js + system) */

html:has(body.page-landing) {
  height: 100%;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
}

body.page-landing {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100svh;
  height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

.page-landing {
  width: 100%;
  height: 100%;
  height: 100svh;
  height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  overflow: hidden;
  background: var(--landing-hero-start, var(--ddg-hero-bg));
}

.landing-hero {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100svh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space-4) + var(--safe-top)) var(--space-4) var(--space-4);
  padding-left: calc(var(--space-4) + var(--safe-left));
  padding-right: calc(var(--space-4) + var(--safe-right));
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 88%, var(--landing-glow-yellow, rgba(245, 197, 24, 0.14)) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, var(--landing-glow-neutral, rgba(0, 0, 0, 0.04)) 0%, transparent 50%);
  pointer-events: none;
}

.landing-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(to top, var(--landing-glow-yellow, transparent) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.45;
}

.landing-hero__route {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  height: clamp(88px, 18vh, 140px);
  opacity: var(--landing-route-wrap-opacity, 1);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.landing-hero__route svg,
.landing-road {
  width: 100%;
  height: 100%;
  filter: var(--landing-route-glow, none);
  overflow: visible;
}

.landing-road__asphalt {
  stroke: var(--landing-road-asphalt, #2a2a2a);
  stroke-width: var(--landing-road-width, 28);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: var(--landing-road-asphalt-opacity, 0.92);
}

.landing-road__edge {
  stroke: var(--landing-route-edge, #141414);
  stroke-width: var(--landing-route-edge-width, 2);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: var(--landing-route-edge-opacity, 0.9);
}

.landing-road__center {
  stroke: var(--landing-route-yellow, #f5c518);
  stroke-width: var(--landing-route-yellow-width, 2.5);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 18;
  opacity: var(--landing-route-yellow-opacity, 1);
}

.landing-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.landing-brand {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--landing-brand, var(--ddg-accent-gold));
  margin: 0 0 var(--space-2);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landing-hero__quote {
  display: block;
  width: fit-content;
  max-width: min(24rem, 100%);
  margin: 0 auto var(--space-3);
  padding: 0 var(--space-2);
  border: none;
  background: none;
  box-shadow: none;
  text-align: center;
}

.landing-hero__quote p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--landing-text-muted, var(--ddg-text-muted));
  text-align: center;
}

.landing-hero__quote p::before {
  content: '\201C';
  margin-right: 0.1em;
  color: var(--landing-brand, var(--ddg-accent-gold));
  font-style: normal;
  font-weight: 600;
}

.landing-hero__quote p::after {
  content: '\201D';
  margin-left: 0.05em;
  color: var(--landing-brand, var(--ddg-accent-gold));
  font-style: normal;
  font-weight: 600;
}

.landing-hero__book-own {
  margin: 0 0 var(--space-2);
  text-align: center;
}

.landing-hero__book-own .landing-cta--own {
  min-width: 9.5rem;
  justify-content: center;
}

.landing-hero__or.landing-ride-choice__or {
  margin: 0 0 var(--space-2);
}

.landing-ride-choice__or {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--landing-text-muted, var(--ddg-text-muted-on-dark));
}

.landing-ride-choice__or::before,
.landing-ride-choice__or::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 2.5rem;
  height: 1px;
  margin: 0 0.65rem;
  background: rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.35);
}

html[data-theme='light'] .landing-brand {
  text-shadow: none;
}

.landing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.5vw, 2.25rem);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-1);
  color: var(--landing-text, inherit);
}

.landing-ideas {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0 auto;
  width: 100%;
  max-width: 36rem;
  text-align: left;
}

.landing-ideas__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0;
  padding: 0 0.15rem;
}

.landing-ideas__actions-sep {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--landing-text-muted, var(--ddg-text-muted));
  opacity: 0.65;
  user-select: none;
}

.landing-ideas__shuffle {
  box-sizing: border-box;
  min-height: 1.625rem;
  height: 1.625rem;
  padding-left: 0.5rem;
  padding-right: 0.55rem;
  flex-shrink: 0;
}

/* Trip actions row: New idea = neutral secondary */
.landing-ideas__actions .landing-trip__shuffle.landing-ideas__shuffle {
  color: var(--ddg-btn-secondary-text, var(--landing-text-muted, var(--ddg-text-muted)));
  background: var(--ddg-btn-secondary-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--ddg-btn-secondary-border, rgba(255, 255, 255, 0.2));
}

.landing-ideas__actions .landing-trip__shuffle.landing-ideas__shuffle:hover,
.landing-ideas__actions .landing-trip__shuffle.landing-ideas__shuffle:focus-visible {
  color: var(--landing-text, var(--ddg-text));
  background: var(--ddg-btn-secondary-hover, rgba(255, 255, 255, 0.14));
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
}

html[data-theme='light'] .landing-ideas__actions .landing-trip__shuffle.landing-ideas__shuffle {
  color: var(--ddg-btn-secondary-text, var(--ddg-text));
  background: var(--ddg-btn-secondary-bg, #ffffff);
  border-color: var(--ddg-btn-secondary-border, rgba(10, 10, 10, 0.18));
}

html[data-theme='light'] .landing-ideas__actions .landing-trip__shuffle.landing-ideas__shuffle:hover,
html[data-theme='light'] .landing-ideas__actions .landing-trip__shuffle.landing-ideas__shuffle:focus-visible {
  background: var(--ddg-btn-secondary-hover, #ebebeb);
  border-color: rgba(10, 10, 10, 0.22);
}

.landing-ideas__shuffle span {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
}

.landing-ideas__shuffle i {
  font-size: 0.625rem;
}

.landing-ideas__browse-link {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--landing-brand, var(--ddg-accent-gold));
  text-decoration: underline;
  text-underline-offset: 0.12em;
  white-space: nowrap;
}

.landing-ideas__browse-long {
  display: none;
}

.landing-ideas__browse-link:hover,
.landing-ideas__browse-link:focus-visible {
  color: var(--landing-text, var(--ddg-text-on-dark));
  outline: none;
}

@media (min-width: 420px) {
  .landing-ideas__browse-short {
    display: none;
  }

  .landing-ideas__browse-long {
    display: inline;
  }
}

.landing-trip__head-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.landing-cta--own.btn-primary {
  box-shadow: var(--ddg-btn-shadow-gold);
}

.landing-trip-panel {
  width: 100%;
}

.landing-trip-panel:not(.is-visible) {
  display: none;
}

.landing-trip-panel .landing-trip {
  min-width: 0;
  overflow: hidden;
}

.landing-idea-card {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--ddg-surface-elevated, rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.35);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.landing-idea-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-trip.landing-idea-card {
  padding: 0;
}

.landing-trip__layout {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  min-width: 0;
}

.landing-trip__layout--no-photo {
  grid-template-columns: minmax(0, 1fr);
}

.landing-trip__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.landing-trip__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  min-height: 0;
  min-width: 0;
}

.landing-trip__head .landing-trip__name {
  width: 100%;
}

.landing-trip__head-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  flex-shrink: 0;
  min-width: 4.25rem;
}

.landing-trip__head-actions .landing-trip__website {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 1.25rem;
  height: auto;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.35rem;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  border-radius: 0.25rem;
  text-align: center;
}

.landing-trip__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.landing-trip__location-btn[hidden],
#landing-trip-pickup-text[hidden] {
  display: none !important;
}

.landing-trip__route-line,
#landing-trip-pickup-text {
  font-weight: 600;
  color: var(--landing-text, var(--ddg-text));
}

.landing-trip__location-btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  color: var(--landing-brand, var(--ddg-accent-gold));
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}

.landing-trip__location-btn:hover,
.landing-trip__location-btn:focus-visible {
  color: var(--landing-text, var(--ddg-text));
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

.landing-trip__place--you.is-prompt .landing-trip__location-btn {
  text-decoration: none;
}

.landing-trip__place--you.is-prompt .landing-trip__location-btn:hover {
  text-decoration: underline;
}

.landing-trip__label {
  margin: 0;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--landing-brand, var(--ddg-accent-gold));
  line-height: 1.2;
}

.landing-trip__pill--icon {
  justify-content: center;
  padding: 0.15rem 0.35rem;
  min-width: 1.5rem;
}

.landing-trip__head-actions .landing-trip__pill--icon {
  padding: 0;
  width: 1.75rem;
  min-width: 1.75rem;
}

/* Website: cool external-link block */
.landing-trip__website {
  color: #d4ecff;
  background: rgba(72, 152, 210, 0.28);
  border: 1px solid rgba(130, 195, 235, 0.55);
}

.landing-trip__website:hover,
.landing-trip__website:focus-visible {
  color: #f0f8ff;
  background: rgba(88, 168, 228, 0.38);
  border-color: rgba(160, 215, 245, 0.7);
  outline: none;
}

/* Shuffle: neutral secondary */
.landing-trip__shuffle {
  color: var(--landing-text-muted, var(--ddg-text-muted));
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-trip__shuffle:hover,
.landing-trip__shuffle:focus-visible {
  color: var(--landing-text, var(--ddg-text));
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

/* Book trip: teal accent (swapped with New idea); hero "Book a ride" uses btn-primary gold */
.landing-trip__book-idea {
  color: #dffaf2;
  background: rgba(42, 140, 118, 0.42);
  border: 1px solid rgba(72, 175, 148, 0.65);
}

.landing-trip__book-idea:hover,
.landing-trip__book-idea:focus-visible {
  color: #f4fffb;
  background: rgba(52, 158, 132, 0.55);
  border-color: rgba(100, 200, 170, 0.85);
  outline: none;
}

html[data-theme='light'] .landing-trip__book-idea {
  color: #0d4a3d;
  background: rgba(42, 140, 118, 0.18);
  border-color: rgba(32, 120, 98, 0.45);
}

html[data-theme='light'] .landing-trip__book-idea:hover,
html[data-theme='light'] .landing-trip__book-idea:focus-visible {
  color: #083528;
  background: rgba(42, 140, 118, 0.28);
  border-color: rgba(32, 120, 98, 0.6);
}

.landing-trip__name {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--landing-text, var(--ddg-text));
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.landing-trip__name:hover,
.landing-trip__name:focus-visible {
  color: var(--landing-brand, var(--ddg-accent-gold));
  text-decoration: underline;
  text-decoration-color: rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.5);
  text-underline-offset: 3px;
  outline: none;
}

.landing-trip__name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-trip__website[hidden] {
  display: none !important;
}

a.landing-trip__pill.landing-trip__website {
  text-decoration: none;
  white-space: nowrap;
}

.landing-trip__head-actions .landing-trip__website i {
  font-size: 0.4375rem;
  opacity: 0.85;
}

html[data-theme='light'] .landing-trip__website {
  color: #0c4a6e;
  background: rgba(72, 152, 210, 0.16);
  border-color: rgba(37, 120, 175, 0.4);
}

html[data-theme='light'] .landing-trip__website:hover,
html[data-theme='light'] .landing-trip__website:focus-visible {
  color: #082f49;
  background: rgba(72, 152, 210, 0.26);
  border-color: rgba(37, 120, 175, 0.55);
}

html[data-theme='light'] .landing-trip__shuffle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
}

html[data-theme='light'] .landing-trip__shuffle:hover,
html[data-theme='light'] .landing-trip__shuffle:focus-visible {
  background: rgba(0, 0, 0, 0.09);
  border-color: rgba(0, 0, 0, 0.22);
}

html[data-theme='light'] .landing-trip__route {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme='light'] .landing-trip__route-leg--dest {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.landing-trip__cta {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--landing-text-muted, var(--ddg-text-muted));
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  white-space: normal;
}

.landing-trip__route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0;
  margin: 0;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.6875rem;
  line-height: 1.3;
}

.landing-trip__route-flow {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.landing-trip__route-leg {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  min-width: 0;
}

.landing-trip__route-leg--dest {
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-trip__route-kicker {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--landing-text-muted, var(--ddg-text-muted));
  line-height: 1.2;
}

.landing-trip__route-value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--landing-text, var(--ddg-text));
  text-align: left;
}

.landing-trip__route-book.landing-trip__book-idea {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  box-sizing: border-box;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.landing-trip__route-dest {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  text-align: inherit;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.landing-trip__route-dest--link {
  cursor: pointer;
  color: var(--landing-text, var(--ddg-text));
  text-decoration: underline;
  text-decoration-color: rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.4);
  text-underline-offset: 2px;
}

.landing-trip__route-dest--link:hover,
.landing-trip__route-dest--link:focus-visible {
  color: var(--landing-brand, var(--ddg-accent-gold));
  outline: none;
}

.landing-trip__route-dest:disabled {
  opacity: 1;
  cursor: default;
  text-decoration: none;
}

.landing-trip__place--you.is-prompt .landing-trip__route-value {
  color: var(--landing-brand, var(--ddg-accent-gold));
}

.landing-trip__media:not([hidden]) {
  cursor: pointer;
}

.landing-trip__media {
  position: relative;
  align-self: center;
  width: 100%;
  max-height: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.08);
}

.landing-trip__rating-blip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
  margin: 0;
  padding: 0.2rem 0.25rem;
  font-size: 0.5rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.35) 70%, transparent);
}

.landing-trip__rating-score {
  font-weight: 700;
  font-size: 0.5625rem;
}

.landing-trip__rating-stars {
  display: inline-flex;
  gap: 0.05rem;
  color: #fbbc04;
  font-size: 0.625rem;
}

.landing-trip__rating-stars .fa-star {
  color: #fbbc04;
}

.landing-trip__rating-stars .fa-star.empty {
  color: rgba(255, 255, 255, 0.35);
}

.landing-trip__rating-count {
  opacity: 0.92;
  font-size: 0.5rem;
}

.landing-trip__media[hidden] {
  display: none;
}

.landing-trip__dest-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-trip__place {
  font-weight: 600;
  color: var(--landing-text, var(--ddg-text));
}

.landing-cta {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-width: 11rem;
}

.landing-cta:focus-visible {
  outline: 2px solid var(--landing-cta-outline, var(--ddg-text-on-dark));
  outline-offset: 2px;
}

.landing-ops {
  position: absolute;
  right: calc(var(--space-3) + var(--safe-right));
  bottom: calc(var(--space-3) + var(--safe-bottom));
  z-index: 5;
  text-align: right;
}

.landing-ops__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--landing-ops-trigger, rgba(245, 245, 244, 0.22));
  font-size: 0.65rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.landing-ops__trigger::-webkit-details-marker {
  display: none;
}

.landing-ops__trigger::marker {
  content: '';
}

.landing-ops__trigger:hover,
.landing-ops__trigger:focus-visible {
  color: var(--landing-ops-trigger-hover, rgba(245, 245, 244, 0.55));
  background: rgba(127, 127, 127, 0.12);
  outline: none;
}

.landing-ops[open] .landing-ops__trigger {
  color: var(--landing-ops-trigger-hover, rgba(245, 245, 244, 0.7));
  background: rgba(127, 127, 127, 0.16);
}

.landing-ops__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-1);
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--landing-ops-menu-bg, rgba(15, 20, 25, 0.92));
  border: 1px solid var(--landing-ops-menu-border, var(--ddg-border-on-dark));
  box-shadow: var(--shadow-md);
}

.landing-ops__menu a {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--landing-ops-link, var(--ddg-text-muted-on-dark));
  text-decoration: none;
  white-space: nowrap;
  padding: 0.15rem 0;
}

.landing-ops__menu a:hover,
.landing-ops__menu a:focus-visible {
  color: var(--landing-brand, var(--ddg-accent-gold-light));
}

@media (min-width: 768px) {
  .landing-hero {
    padding: var(--space-6);
  }
}

@media (max-width: 520px) {
  .landing-trip__route {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
    padding: 0.5rem 0.6rem;
  }

  .landing-trip__route-book.landing-trip__book-idea {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }
}

@media (max-height: 680px) {
  .landing-hero__route {
    height: clamp(64px, 14vh, 96px);
    bottom: 5%;
  }

  .landing-brand {
    margin-bottom: var(--space-2);
  }

  .landing-hero h1 {
    margin-bottom: var(--space-1);
    font-size: clamp(1.2rem, 5vw, 1.75rem);
  }

  .landing-hero__quote {
    margin-bottom: var(--space-2);
    max-width: min(20rem, 100%);
  }

  .landing-hero__quote p {
    font-size: 0.8125rem;
  }

  .landing-ideas {
    max-width: 100%;
    gap: var(--space-1);
  }

  .landing-ideas__actions {
    gap: 0.35rem 0.5rem;
  }

  .landing-trip__layout {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    padding: 0.625rem;
    gap: 0.625rem;
  }

  .landing-trip__layout--no-photo {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-trip__name {
    font-size: 0.9375rem;
  }

  .landing-trip__cta {
    font-size: 0.6875rem;
  }

  .landing-trip__route {
    padding: 0.5rem 0.6rem;
    font-size: 0.625rem;
  }

  .landing-trip__route-leg {
    grid-template-columns: 2rem minmax(0, 1fr);
    column-gap: 0.4rem;
  }

  .landing-trip__route-value {
    font-size: 0.625rem;
  }

  .landing-trip__head-actions {
    min-width: 3.75rem;
  }

  .landing-trip__head-actions .landing-trip__website {
    min-height: 1.125rem;
    padding: 0.125rem 0.3rem;
    font-size: 0.4375rem;
  }

  .landing-trip__head-actions .landing-trip__website i {
    font-size: 0.375rem;
  }

}

/* Google Business Profile panel */
.landing-gbp {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space-4) + var(--safe-top))
    calc(var(--space-4) + var(--safe-right))
    calc(var(--space-4) + var(--safe-bottom))
    calc(var(--space-4) + var(--safe-left));
}

.landing-gbp[hidden] {
  display: none;
}

.landing-gbp__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.landing-gbp__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  max-height: min(85dvh, 32rem);
  margin: auto;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--ddg-surface-elevated, #fff);
  border: 1px solid rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.35);
  box-shadow: var(--shadow-md);
  color: var(--ddg-text, #0a0a0a);
  overflow: hidden;
}

.landing-gbp__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--ddg-border, rgba(0, 0, 0, 0.08));
  flex-shrink: 0;
}

.landing-gbp__title {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.3;
  padding-right: var(--space-2);
}

.landing-gbp__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ddg-text-muted, #666);
  cursor: pointer;
}

.landing-gbp__close:hover,
.landing-gbp__close:focus-visible {
  background: var(--ddg-surface-warm, rgba(0, 0, 0, 0.06));
  outline: none;
}

.landing-gbp__body {
  overflow-y: auto;
  padding: var(--space-3);
  -webkit-overflow-scrolling: touch;
}

.landing-gbp__loading,
.landing-gbp__error {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ddg-text-muted, #666);
}

.landing-gbp__hero {
  width: 100%;
  height: 8rem;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
}

.landing-gbp__rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.landing-gbp__rating-row .landing-gbp__stars {
  color: #fbbc04;
  font-size: 0.75rem;
}

.landing-gbp__address {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ddg-text-muted, #555);
}

.landing-gbp__summary {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.landing-gbp__hours {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--ddg-text-muted, #555);
}

.landing-gbp__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.landing-gbp__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ddg-accent-gold, #c9a000);
  text-decoration: none;
}

.landing-gbp__links a:hover {
  text-decoration: underline;
}

.landing-gbp__reviews-title {
  margin: 0 0 var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ddg-text-muted, #666);
}

.landing-gbp__review {
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--ddg-border, rgba(0, 0, 0, 0.08));
  font-size: var(--text-sm);
  line-height: 1.45;
}

.landing-gbp__review:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.landing-gbp__review-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 0.25rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ddg-text-muted, #666);
}

.landing-gbp__book-btn,
.landing-gbp__google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.landing-gbp__book-btn {
  background: rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.2);
  color: var(--ddg-text, #0a0a0a);
  border-color: rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.55);
}

.landing-gbp__book-btn:hover,
.landing-gbp__book-btn:focus-visible {
  background: rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.32);
  outline: none;
}

.landing-gbp__google-btn {
  background: var(--ddg-btn-primary-bg, #0a0a0a);
  color: var(--ddg-btn-primary-text, #fff);
}

.landing-gbp__google-btn--secondary {
  background: transparent;
  color: var(--ddg-text, #0a0a0a);
  border-color: var(--ddg-border, rgba(0, 0, 0, 0.15));
}

.landing-gbp__google-btn:hover,
.landing-gbp__google-btn:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

.landing-gbp__google-btn--secondary:hover,
.landing-gbp__google-btn--secondary:focus-visible {
  filter: none;
  background: rgba(0, 0, 0, 0.04);
}

#toast-container {
  position: fixed;
  top: calc(var(--safe-top) + var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10060;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: min(18rem, calc(100vw - var(--space-4) * 2));
  pointer-events: none;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--ddg-surface-elevated, #fff);
  border: 1px solid var(--ddg-border);
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ddg-text);
  pointer-events: auto;
}

.toast-success {
  border-color: rgba(var(--ddg-yellow-rgb, 245, 197, 24), 0.45);
}

.toast-info {
  border-color: var(--ddg-border);
}
