:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f3ea;
  color: #171b26;
  --midnight: #101826;
  --midnight-soft: #172236;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --forest: #214d3d;
  --burnt: #c45a28;
  --line: #e5dccb;
}

/* Premium AtlasFare app shell */
.product-shell {
  background:
    radial-gradient(circle at 15% 6%, rgba(125, 211, 252, 0.24), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(196, 90, 40, 0.22), transparent 28%),
    linear-gradient(180deg, #08111f 0%, #101826 44%, #f7f3ea 44%, #f7f3ea 100%);
  color: #101826;
  display: block;
  min-height: 100vh;
  overflow: hidden;
}

.app-header {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(18px, 4vw, 40px);
  position: relative;
  z-index: 5;
}

.brand-mark {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.brand-orbit {
  background:
    linear-gradient(135deg, rgba(125, 211, 252, 0.95), rgba(196, 90, 40, 0.92));
  border-radius: 50%;
  box-shadow: 0 0 38px rgba(125, 211, 252, 0.34);
  height: 34px;
  position: relative;
  width: 34px;
}

.brand-orbit::after {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  content: "";
  inset: 8px;
  position: absolute;
}

.top-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  padding: 6px;
}

.top-nav a {
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

.top-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.beta-pill {
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.42);
  border-radius: 999px;
  color: #b9e8ff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 9px 13px;
}

.hero-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: 520px;
  padding: 40px clamp(18px, 4vw, 40px) 120px;
  position: relative;
}

.hero-section::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  inset: -120px -20vw 0;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
  position: absolute;
  pointer-events: none;
}

.hero-copy {
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow,
.section-heading .eyebrow {
  color: #7dd3fc;
}

.hero-copy h1 {
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.91;
  margin: 0;
  max-width: 870px;
}

.hero-copy .subtitle {
  color: #cbd5e1;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.75;
  max-width: 720px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 9px 12px;
}

.hero-visual {
  aspect-ratio: 1.2;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 30% 20%, rgba(125, 211, 252, 0.18), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.32);
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.route-map {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.map-grid {
  fill: none;
  opacity: 0.34;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-dasharray: 8 14;
  stroke-width: 1.4;
}

.map-grid.muted {
  opacity: 0.16;
}

.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.route-line.main {
  animation: route-draw 4.8s ease-in-out infinite;
  stroke: url(#routeGlow);
  stroke-dasharray: 18 16;
}

.route-line.secondary {
  animation: route-draw 6.2s ease-in-out infinite reverse;
  opacity: 0.58;
  stroke: rgba(125, 211, 252, 0.85);
  stroke-dasharray: 10 16;
}

.city-dot {
  fill: #7dd3fc;
  filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.72));
}

.city-dot.big {
  fill: #ffffff;
}

.city-dot.warm {
  fill: #f59e0b;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.72));
}

.floating-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  color: #ffffff;
  display: grid;
  gap: 4px;
  padding: 16px;
  position: absolute;
  width: 185px;
}

.floating-card span {
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 900;
}

.floating-card strong {
  font-size: 1rem;
}

.floating-card small {
  color: #cbd5e1;
}

.card-one {
  left: 34px;
  top: 42px;
}

.card-two {
  bottom: 40px;
  right: 32px;
}

.search-card {
  backdrop-filter: blur(22px);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  box-shadow: 0 36px 110px rgba(7, 12, 21, 0.22);
  margin: -88px auto 0;
  max-width: 1120px;
  padding: clamp(18px, 3vw, 30px);
  position: relative;
  z-index: 10;
}

.search-card .search-form {
  gap: 18px;
}

.search-card .city-pair {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto 1fr;
}

.search-card label span,
.search-card .place-field > span,
.transport-control legend {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.search-card .place-field span::before {
  display: none;
}

.search-card .city-trigger {
  background: #ffffff;
  border: 1px solid #e5dccb;
  color: var(--midnight);
  min-height: 78px;
}

.search-card .city-trigger:hover,
.search-card .city-combobox[data-open="true"] .city-trigger {
  border-color: rgba(125, 211, 252, 0.78);
  box-shadow: 0 14px 32px rgba(16, 24, 38, 0.08), 0 0 0 4px rgba(125, 211, 252, 0.14);
}

.search-card .city-trigger-copy strong {
  color: var(--midnight);
}

.search-card .city-trigger-copy small {
  color: #64748b;
}

.search-card .city-search {
  background: transparent;
  border: 0;
  color: var(--midnight);
  min-height: 34px;
  outline: none;
  padding: 0;
}

.search-card .city-search:focus {
  box-shadow: none;
}

.search-card .swap-action {
  align-self: center;
  background: linear-gradient(135deg, #0ea5e9, #c45a28);
  border: 0;
  box-shadow: 0 18px 34px rgba(14, 165, 233, 0.24);
  color: #ffffff;
  height: 46px;
  left: auto;
  position: static;
  top: auto;
  width: 46px;
}

.search-card .swap-action:hover {
  filter: brightness(1.05);
  transform: rotate(180deg);
}

.search-controls {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.control-field {
  background: #ffffff;
  border: 1px solid #e5dccb;
  border-radius: 18px;
  padding: 12px 13px;
}

.search-card input,
.search-card select {
  background: transparent;
  border: 0;
  color: var(--midnight);
  min-height: 34px;
  padding: 4px 0 0;
  width: 100%;
}

.search-card input:focus,
.search-card select:focus {
  box-shadow: none;
  outline: none;
}

.money-field {
  position: relative;
}

.money-field::after {
  color: var(--burnt);
  content: "EUR";
  font-size: 0.76rem;
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 40px;
}

.transport-control {
  align-items: center;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
}

.transport-control legend {
  margin-right: 8px;
}

.transport-control label {
  display: inline-flex;
}

.transport-control input {
  clip: rect(0 0 0 0);
  position: absolute;
}

.transport-control label span {
  background: #ffffff;
  border: 1px solid #e5dccb;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  padding: 10px 14px;
  text-transform: none;
}

.transport-control input:checked + span {
  background: #101826;
  border-color: #101826;
  color: #ffffff;
}

.search-actions {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.search-actions p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
}

.primary-action {
  background: linear-gradient(135deg, #f97316, #c45a28 55%, #0ea5e9);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 22px 40px rgba(196, 90, 40, 0.24);
  color: #ffffff;
  font-weight: 950;
  min-height: 56px;
  padding: 0 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-action:hover {
  box-shadow: 0 28px 56px rgba(196, 90, 40, 0.3);
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.results-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 62px clamp(18px, 4vw, 40px) 90px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-heading h2 {
  color: var(--midnight);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  margin: 0;
}

.section-heading #status {
  color: #64748b;
  font-weight: 750;
  margin: 0;
  max-width: 460px;
  text-align: right;
}

.results {
  display: grid;
  gap: 18px;
}

.premium-empty {
  background:
    radial-gradient(circle at 18% 20%, rgba(125, 211, 252, 0.2), transparent 34%),
    linear-gradient(145deg, #fffdf8, #fbf3e4);
  border: 1px solid #e5dccb;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(16, 24, 38, 0.09);
  display: grid;
  gap: 26px;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
}

.empty-state.compact {
  background: #fffdf8;
  border: 1px solid #e5dccb;
  border-radius: 20px;
  padding: 24px;
}

.empty-map {
  aspect-ratio: 1;
  background: #101826;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}

.map-node {
  background: #7dd3fc;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.7);
  height: 12px;
  position: absolute;
  width: 12px;
}

.node-a { left: 36px; top: 170px; }
.node-b { left: 118px; top: 70px; background: #f59e0b; }
.node-c { right: 44px; top: 140px; background: #22c55e; }

.map-route {
  border: 2px dashed rgba(255,255,255,0.38);
  border-bottom: 0;
  border-left: 0;
  border-radius: 0 90px 0 0;
  height: 116px;
  left: 44px;
  position: absolute;
  top: 78px;
  transform: rotate(-8deg);
  width: 170px;
}

.empty-copy h3 {
  color: var(--midnight);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  margin: 0 0 10px;
}

.empty-copy p {
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}

.empty-steps {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
}

.empty-steps article {
  background: rgba(255,255,255,0.72);
  border: 1px solid #eadfcc;
  border-radius: 18px;
  padding: 18px;
}

.empty-steps span {
  color: var(--burnt);
  font-size: 0.78rem;
  font-weight: 950;
}

.empty-steps strong {
  color: var(--midnight);
  display: block;
  margin: 8px 0 6px;
}

.empty-steps p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.result-card {
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(16, 24, 38, 0.1);
  overflow: hidden;
}

.result-head {
  align-items: start;
}

.route-airports {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.route-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
}

.route-metrics span {
  background: #f7f3ea;
  border: 1px solid #e5dccb;
  border-radius: 999px;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 850;
  padding: 8px 10px;
}

.ghost-action {
  background: #ffffff;
  border: 1px solid #e5dccb;
  border-radius: 999px;
  color: var(--midnight);
  font-weight: 850;
  padding: 10px 16px;
}

.ghost-action:hover {
  border-color: rgba(14, 165, 233, 0.44);
  color: #075985;
}

.loading-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.loading-steps span {
  animation: soft-pulse 2.4s ease-in-out infinite;
  background: #ffffff;
  border: 1px solid #e5dccb;
  border-radius: 999px;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 8px 11px;
}

.loading-steps span:nth-child(2) { animation-delay: 0.35s; }
.loading-steps span:nth-child(3) { animation-delay: 0.7s; }

.skeleton-grid {
  display: grid;
  gap: 10px;
  max-width: 680px;
  width: 100%;
}

.skeleton-grid span {
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.6), rgba(255,255,255,0.98), rgba(226, 232, 240, 0.6));
  background-size: 220% 100%;
  border-radius: 16px;
  height: 54px;
}

@keyframes route-draw {
  0%, 100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: 68; }
}

@keyframes soft-pulse {
  0%, 100% { opacity: 0.62; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes skeleton-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding-bottom: 112px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .search-card .city-pair,
  .search-controls,
  .empty-steps {
    grid-template-columns: 1fr;
  }

  .search-card .swap-action {
    justify-self: center;
    margin: -2px 0;
  }

  .search-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading #status {
    text-align: left;
  }

  .premium-empty {
    grid-template-columns: 1fr;
  }

  .empty-map {
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  .app-header {
    padding-top: 18px;
  }

  .brand-mark strong {
    font-size: 1.32rem;
  }

  .beta-pill {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-visual {
    border-radius: 24px;
  }

  .floating-card {
    width: 150px;
  }

  .search-card {
    border-radius: 24px;
    margin-top: -70px;
  }

  .results-section {
    padding-top: 42px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(247, 243, 234, 0.96), rgba(251, 248, 241, 0.9)),
    var(--cream);
}

.seo-body {
  background: #f7f3ea;
}

.seo-shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(28px, 5vw, 72px) 24px 90px;
}

.seo-hero,
.seo-article {
  display: grid;
  gap: 24px;
}

.seo-hero {
  min-height: 52vh;
  place-content: center;
}

.seo-hero h1,
.seo-article h1 {
  color: var(--midnight);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  max-width: 920px;
}

.seo-hero p,
.seo-lead {
  color: #475569;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

.seo-section {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.seo-section h2,
.seo-columns h2 {
  color: var(--midnight);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  margin: 0;
}

.seo-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.seo-card,
.seo-table > div,
.seo-columns > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(16, 24, 38, 0.05);
}

.seo-card {
  color: var(--midnight);
  display: grid;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
}

.seo-card span,
.seo-table span,
.seo-mini-list,
.seo-steps,
.seo-section details p {
  color: #64748b;
  line-height: 1.6;
}

.seo-card:hover {
  border-color: rgba(196, 90, 40, 0.45);
  transform: translateY(-1px);
}

.seo-button {
  background: var(--burnt);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  padding: 13px 18px;
  text-decoration: none;
  width: fit-content;
}

.seo-back {
  color: var(--burnt);
  font-weight: 850;
  text-decoration: none;
}

.seo-table {
  display: grid;
  gap: 10px;
}

.seo-table > div {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.seo-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.seo-columns > div {
  padding: 22px;
}

.seo-mini-list,
.seo-steps {
  margin: 0;
  padding-left: 20px;
}

.seo-section details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.seo-section summary {
  color: var(--midnight);
  cursor: pointer;
  font-weight: 850;
}

button,
input,
select {
  font: inherit;
}

.shell {
  display: grid;
  grid-template-columns: minmax(320px, 408px) 1fr;
  min-height: 100vh;
}

.search-panel {
  align-content: start;
  background: linear-gradient(180deg, #0d1422 0%, #111b2d 55%, #182337 100%);
  color: #f8fafc;
  display: grid;
  gap: 34px;
  padding: 48px 42px;
  position: sticky;
  top: 0;
  min-height: 100vh;
}

.eyebrow {
  color: #8bd3ff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.subtitle {
  color: #d9e1ed;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 36rem;
}

.search-form {
  display: grid;
  gap: 18px;
}

.city-pair {
  display: grid;
  gap: 12px;
  position: relative;
}

label {
  display: grid;
  gap: 7px;
}

.check-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.check-row input {
  min-height: auto;
  width: 18px;
}

label span {
  color: #dbeafe;
  font-size: 0.86rem;
  font-weight: 650;
}

.place-field span {
  align-items: center;
  display: flex;
  gap: 8px;
}

.place-field span::before {
  border: 2px solid #9bd5ff;
  border-radius: 999px;
  content: "";
  height: 9px;
  width: 9px;
}

.destination-field span::before {
  background: #c45a28;
  border-color: #c45a28;
  border-radius: 999px 999px 999px 2px;
  transform: rotate(-45deg);
}

.city-selector {
  position: relative;
}

.city-trigger {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(155, 213, 255, 0.24);
  border-radius: 14px;
  color: #ffffff;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px 1fr auto;
  min-height: 68px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.city-trigger:hover,
.city-combobox[data-open="true"] .city-trigger {
  border-color: rgba(139, 211, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.13), 0 18px 36px rgba(0, 0, 0, 0.18);
}

.city-trigger-icon {
  align-items: center;
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(155, 213, 255, 0.32);
  border-radius: 999px;
  color: #9bd5ff;
  display: flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.city-trigger-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.city-trigger-kicker {
  color: #9bd5ff;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.city-trigger-copy strong {
  color: #ffffff;
  font-size: 1.08rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-trigger-copy small {
  color: #b9cce0;
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-trigger-chevron {
  color: #9bd5ff;
  font-size: 1.2rem;
  font-weight: 900;
}

.city-dropdown {
  background: #fffdf8;
  border: 1px solid rgba(155, 213, 255, 0.24);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(7, 12, 21, 0.34);
  display: none;
  left: 0;
  max-height: min(68vh, 560px);
  overflow: hidden;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
}

.city-combobox[data-open="true"] .city-dropdown {
  display: grid;
  gap: 10px;
  grid-template-rows: auto 1fr auto;
}

.city-search-wrap {
  background: #f7f3ea;
  border: 1px solid #e5dccb;
  border-radius: 14px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.search-panel .city-search {
  background: transparent;
  border: 0;
  color: var(--midnight);
  min-height: 32px;
  padding: 0;
}

.search-panel .city-search:focus {
  box-shadow: none;
}

.city-search-hint {
  color: #7b8a9a;
  font-size: 0.72rem;
  font-weight: 750;
}

.city-list {
  display: grid;
  gap: 12px;
  max-height: 410px;
  overflow-y: auto;
  padding-right: 4px;
}

.city-list::-webkit-scrollbar {
  width: 8px;
}

.city-list::-webkit-scrollbar-thumb {
  background: #d4c7b4;
  border-radius: 999px;
}

.city-group {
  display: grid;
  gap: 8px;
}

.city-group-title {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 4px 0;
  text-transform: uppercase;
}

.city-option {
  background: #ffffff;
  border: 1px solid #e5dccb;
  border-radius: 14px;
  color: var(--midnight);
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 12px;
  text-align: left;
  width: 100%;
}

.city-option:hover,
.city-option[data-active="true"] {
  border-color: rgba(196, 90, 40, 0.45);
  box-shadow: 0 14px 28px rgba(16, 24, 38, 0.08);
  transform: translateY(-1px);
}

.city-option[aria-selected="true"] {
  border-color: rgba(33, 77, 61, 0.48);
  box-shadow: inset 0 0 0 1px rgba(33, 77, 61, 0.28);
}

.city-option[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
}

.city-option-main {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.city-option-main strong {
  display: block;
  font-size: 0.98rem;
}

.city-option-main small,
.city-option-sub {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.city-score {
  background: #e8f7ef;
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 8px;
  white-space: nowrap;
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.city-tags em {
  background: #edf6ff;
  border: 1px solid #cce8ff;
  border-radius: 999px;
  color: #075985;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 850;
  padding: 4px 7px;
}

.city-message,
.city-selector-loading {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 750;
  padding: 10px;
}

.city-selector-skeleton {
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(229, 220, 203, 0.52), rgba(255, 253, 248, 0.98), rgba(229, 220, 203, 0.52));
  background-size: 220% 100%;
  border: 1px solid rgba(229, 220, 203, 0.82);
  border-radius: 14px;
  height: 68px;
}

.city-selector-error {
  background: #fff7ed;
  border: 1px solid rgba(201, 111, 74, 0.28);
  border-radius: 14px;
  color: #9f553d;
  font-size: 0.86rem;
  font-weight: 850;
  padding: 18px;
}

input,
select {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 46px;
  padding: 10px 13px;
}

.search-panel input,
.search-panel select {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.search-panel select option {
  background: #ffffff;
  color: #172033;
}

.search-panel input:focus,
.search-panel select:focus {
  border-color: #8bd3ff;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.18);
}

.search-panel select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.two-col {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

button {
  background: #f97316;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 750;
  min-height: 48px;
  padding: 12px 18px;
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.22);
}

button:hover {
  background: #ea580c;
}

.session-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.session-actions button {
  background: #334e68;
  font-size: 0.88rem;
  min-height: 42px;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
  color: #eef8ff;
}

.swap-action {
  align-items: center;
  background: #fbf3e4;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(7, 12, 21, 0.28);
  color: var(--midnight);
  display: flex;
  font-size: 1.08rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  left: calc(100% - 58px);
  min-height: 38px;
  padding: 0;
  position: absolute;
  top: 78px;
  width: 38px;
  z-index: 2;
}

.swap-action:hover {
  background: #ffffff;
}

.session-actions button:hover {
  background: #486581;
}

.evidence-link {
  background: var(--burnt);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  padding: 10px 16px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.evidence-link:hover {
  background: #a9471e;
  box-shadow: 0 12px 22px rgba(196, 90, 40, 0.2);
  transform: translateY(-1px);
}

.results-shell {
  display: grid;
  gap: 20px;
  grid-template-rows: auto 1fr auto;
  padding: 40px clamp(24px, 4vw, 56px);
}

.toolbar {
  align-items: start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 4px 0 6px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #172033;
  font-size: 1.8rem;
  line-height: 1.1;
}

#status {
  color: #52606d;
  margin-top: 6px;
}

.provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.badge {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: #075985;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
}

.badge.muted {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.secondary-badges {
  margin-top: 8px;
}

.results {
  display: grid;
  gap: 16px;
}

.route-card,
.result-card {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.09);
  display: grid;
  gap: 16px;
  padding: 18px;
}

.result-card {
  border-color: #dbe5ef;
  gap: 18px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.result-card:hover {
  border-color: #d4c7b3;
  box-shadow: 0 24px 56px rgba(16, 24, 38, 0.13);
  transform: translateY(-2px);
}

.result-head {
  align-items: flex-start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.route-title {
  display: grid;
  gap: 8px;
}

.route-airports {
  color: var(--midnight);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.route-airports span {
  color: #829ab1;
  font-size: 0.9rem;
  font-weight: 750;
}

.route-meta {
  color: #60758b;
  font-size: 0.92rem;
  line-height: 1.4;
}

.price-box {
  background: #f6f4ee;
  border: 1px solid #e8dfcf;
  border-radius: 8px;
  min-width: 190px;
  padding: 12px 14px;
  text-align: right;
}

.price-box.partial {
  background: #fffaf2;
  border-color: #ead8bd;
}

.price-label {
  color: #52606d;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-main {
  color: var(--forest);
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 4px;
}

.price-box.partial .price-main {
  color: #171b26;
}

.saving-badge {
  background: #eaf4ee;
  border: 1px solid #cfe5d6;
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 850;
  justify-self: start;
  padding: 6px 10px;
}

.saving-badge.quiet {
  background: #f3efe6;
  border-color: #e5dccb;
  color: #655f54;
}

.route-why {
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #4f5b6b;
  font-size: 0.94rem;
  line-height: 1.5;
  padding: 12px 14px;
}

.price-detail {
  color: #627d98;
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 5px;
}

.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: grid;
  gap: 14px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  min-height: 86px;
  padding: 8px 0 16px;
  position: relative;
}

.timeline-item.compact-transfer {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  min-height: 62px;
  padding-bottom: 10px;
}

.timeline-item:not(:last-child)::after {
  background: #d8d0c2;
  content: "";
  height: calc(100% - 36px);
  left: 25px;
  position: absolute;
  top: 45px;
  width: 2px;
}

.timeline-item.compact-transfer:not(:last-child)::after {
  left: 19px;
  top: 38px;
}

.timeline-marker {
  align-items: center;
  background: #fffdf8;
  border: 1px solid #d8d0c2;
  border-radius: 999px;
  color: var(--midnight);
  display: flex;
  font-size: 0.68rem;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  letter-spacing: 0;
  width: 52px;
  z-index: 1;
}

.timeline-item.compact-transfer .timeline-marker {
  font-size: 0.58rem;
  height: 40px;
  width: 40px;
}

.timeline-item.ground .timeline-marker {
  background: #f5efe4;
  border-color: #e2d5c0;
  color: #51402f;
}

.timeline-item.unconfirmed .timeline-marker {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
}

.timeline-content {
  background: #f9fbfd;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 13px 14px;
}

.timeline-item.flight .timeline-content {
  background: #f0f7f3;
  border-color: #cfe5d6;
}

.timeline-item.ground .timeline-content {
  background: #fffaf2;
  border-color: #ead8bd;
}

.timeline-item.compact-transfer .timeline-content {
  background: #f8fafc;
  border-color: #e2e8f0;
  gap: 5px;
  padding: 10px 12px;
}

.timeline-item.ground.overnight .timeline-content {
  background: #fff7ed;
  border-color: #fed7aa;
}

.leg-topline {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-pill {
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  padding: 5px 9px;
}

.mode-pill.bus {
  background: #f1e6d6;
  color: #68451e;
}

.mode-pill.train,
.mode-pill.metro {
  background: #e8eef8;
  color: #253d69;
}

.mode-pill.flight {
  background: #e3f3e9;
  color: var(--forest);
}

.mode-pill.ferry {
  background: #cffafe;
  color: #0e7490;
}

.mode-pill.overnight {
  background: #ffedd5;
  color: #9a3412;
}

.leg-status {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
}

.leg-main {
  color: #1f2933;
  font-size: 1.08rem;
  font-weight: 850;
}

.timeline-item.compact-transfer .leg-main {
  color: #475569;
  font-size: 0.92rem;
}

.leg-route {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 750;
}

.leg-breakdown {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
}

.timeline-item.compact-transfer .leg-route {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.leg-cost {
  align-self: center;
  color: #102a43;
  font-size: 1rem;
  font-weight: 900;
  min-width: 86px;
  text-align: right;
}

.timeline-item.compact-transfer .leg-cost {
  color: #475569;
  font-size: 0.9rem;
}

.leg-link {
  color: #075985;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

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

.leg-warning {
  color: #9a3412;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
}

.result-foot {
  align-items: center;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-top: 14px;
}

.route-details {
  color: #52606d;
}

.route-details summary {
  cursor: pointer;
  font-weight: 800;
}

.route-details[open] summary {
  margin-bottom: 10px;
}

.clean-details {
  color: #52606d;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 8px;
}

.clean-details span {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 9px;
}

.clean-details .clean-chip {
  background: #102a43;
  border-color: #102a43;
  color: #ffffff;
  font-weight: 800;
}

.warning-panel {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px;
}

.warning-panel.timing {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.route-summary {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.price {
  color: #047857;
  font-size: 1.8rem;
  font-weight: 800;
}

.meta {
  color: #52606d;
  font-size: 0.9rem;
}

.warning {
  color: #b45309;
  font-weight: 750;
}

.legs {
  display: grid;
  gap: 10px;
}

.leg {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 88px 1fr auto;
  padding: 12px;
}

.mode {
  background: #1f2933;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 9px;
  text-align: center;
  text-transform: uppercase;
}

.leg-title {
  font-weight: 750;
}

.leg-subtitle {
  color: #64748b;
  font-size: 0.88rem;
  margin-top: 3px;
}

.leg-price {
  font-weight: 800;
}

.diagnostics {
  color: #7b8a9a;
  display: grid;
  font-size: 0.88rem;
  gap: 6px;
}

.empty {
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  color: #52606d;
  padding: 24px;
}

.search-loading {
  align-items: center;
  align-content: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.9), rgba(255, 253, 248, 0) 42%),
    linear-gradient(145deg, #fffdf8, #fbf3e4);
  border: 1px solid rgba(196, 90, 40, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(16, 24, 38, 0.09);
  color: var(--midnight);
  display: grid;
  gap: 28px;
  justify-items: center;
  min-height: min(620px, calc(100vh - 220px));
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px) 28px;
  position: relative;
  text-align: center;
}

.multimodal-loader {
  height: 210px;
  max-width: 720px;
  position: relative;
  width: min(78vw, 720px);
}

.route-guide {
  background-image: repeating-linear-gradient(90deg, rgba(16, 24, 38, 0.18) 0 8px, transparent 8px 18px);
  height: 1px;
  left: 7%;
  opacity: 0.7;
  position: absolute;
  right: 7%;
}

.guide-air {
  top: 58px;
  transform: rotate(-2deg);
}

.guide-ground {
  top: 108px;
}

.guide-sea {
  top: 158px;
  transform: rotate(1deg);
}

.vehicle-runner {
  animation-duration: 6.8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  color: #182337;
  display: block;
  height: 54px;
  left: 0;
  opacity: 0;
  position: absolute;
  width: 54px;
}

.vehicle-runner::before {
  background-image: repeating-linear-gradient(90deg, rgba(33, 77, 61, 0.26) 0 7px, transparent 7px 14px);
  content: "";
  height: 2px;
  opacity: 0;
  position: absolute;
  right: 44px;
  top: 28px;
  width: 130px;
}

.transport-icon {
  filter: drop-shadow(0 12px 18px rgba(16, 24, 38, 0.12));
  height: 54px;
  overflow: visible;
  width: 54px;
}

.transport-icon path,
.transport-icon rect,
.transport-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.vehicle-plane {
  animation-name: plane-route;
  top: 28px;
}

.vehicle-train {
  animation-delay: 1.1s;
  animation-name: train-route;
  top: 82px;
}

.vehicle-bus {
  animation-delay: 2.25s;
  animation-name: bus-route;
  top: 86px;
}

.vehicle-ferry {
  animation-delay: 3.35s;
  animation-name: ferry-route;
  top: 132px;
}

.vehicle-plane::before {
  top: 30px;
  transform: rotate(-7deg);
}

.vehicle-ferry::before {
  background-image: repeating-linear-gradient(90deg, rgba(7, 89, 133, 0.22) 0 9px, transparent 9px 18px);
}

.loading-copy {
  display: grid;
  gap: 10px;
  max-width: 680px;
}

.search-loading h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

.search-loading p {
  color: #64748b;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  font-weight: 650;
  line-height: 1.7;
  margin: 0;
}

.progress-shell {
  background: rgba(16, 24, 38, 0.08);
  border-radius: 999px;
  height: 2px;
  max-width: 520px;
  overflow: hidden;
  width: min(64vw, 520px);
}

.progress-fill {
  animation: loading-progress 75s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  background: linear-gradient(90deg, var(--forest), var(--burnt));
  border-radius: inherit;
  display: block;
  height: 100%;
  transform-origin: left;
  width: 100%;
}

@keyframes plane-route {
  0% {
    opacity: 0;
    transform: translateX(-4%) translateY(18px) rotate(9deg);
  }

  12% {
    opacity: 1;
  }

  50% {
    transform: translateX(min(39vw, 360px)) translateY(-22px) rotate(5deg);
  }

  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(calc(min(78vw, 720px) - 54px)) translateY(-4px) rotate(9deg);
  }
}

@keyframes train-route {
  0% {
    opacity: 0;
    transform: translateX(-4%) translateY(0);
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(calc(min(78vw, 720px) - 54px)) translateY(0);
  }
}

@keyframes bus-route {
  0% {
    opacity: 0;
    transform: translateX(-4%) translateY(7px);
  }

  18% {
    opacity: 1;
  }

  50% {
    transform: translateX(min(39vw, 360px)) translateY(-3px);
  }

  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(calc(min(78vw, 720px) - 54px)) translateY(5px);
  }
}

@keyframes ferry-route {
  0% {
    opacity: 0;
    transform: translateX(-4%) translateY(8px);
  }

  16% {
    opacity: 1;
  }

  34% {
    transform: translateX(min(26vw, 240px)) translateY(-7px);
  }

  66% {
    transform: translateX(min(52vw, 480px)) translateY(7px);
  }

  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(calc(min(78vw, 720px) - 54px)) translateY(-5px);
  }
}

@keyframes loading-progress {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(0.9);
  }
}

@keyframes trail-fade {
  0%,
  100% {
    opacity: 0;
  }

  24%,
  76% {
    opacity: 1;
  }
}

.vehicle-runner::before {
  animation: trail-fade 6.8s ease-in-out infinite;
}

.vehicle-train::before {
  animation-delay: 1.1s;
}

.vehicle-bus::before {
  animation-delay: 2.25s;
}

.vehicle-ferry::before {
  animation-delay: 3.35s;
}

@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .search-panel,
  .results-shell {
    padding: 26px;
  }

  .toolbar,
  .route-summary,
  .result-head,
  .result-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-head {
    display: flex;
  }

  .price-box {
    text-align: left;
    width: 100%;
  }

  .search-panel {
    min-height: auto;
    position: static;
  }

  .swap-action {
    left: auto;
    right: 14px;
    top: 78px;
  }

  .city-dropdown {
    border-radius: 22px 22px 0 0;
    bottom: 0;
    box-shadow: 0 -18px 55px rgba(7, 12, 21, 0.34);
    left: 0;
    max-height: 78vh;
    padding: 16px;
    position: fixed;
    right: 0;
    top: auto;
    z-index: 80;
  }

  .city-combobox[data-open="true"]::before {
    background: rgba(7, 12, 21, 0.55);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 70;
  }

  .city-combobox[data-open="true"] .city-dropdown {
    display: grid;
  }

  .city-list {
    max-height: calc(78vh - 112px);
  }

  .provider-badges {
    justify-content: flex-start;
  }

  .leg,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item::after {
    display: none;
  }

  .leg-cost {
    text-align: left;
  }
}

/* Final product-home overrides. Kept last so the previous beta layout cannot win the cascade. */
main.product-shell {
  background:
    radial-gradient(circle at 12% 4%, rgba(111, 143, 163, 0.28), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(217, 121, 90, 0.24), transparent 28%),
    linear-gradient(180deg, #f7f1e8 0%, #fffdf8 48%, #f7f1e8 100%);
  display: block;
  min-height: 100vh;
  overflow: clip;
}

.editorial-shell .app-header {
  max-width: 1220px;
  padding-block: 22px;
}

.editorial-shell .brand-mark {
  color: #0b1726;
}

.editorial-shell .brand-orbit {
  background: linear-gradient(135deg, #143247, #d9795a);
  box-shadow: 0 12px 30px rgba(20, 50, 71, 0.16);
}

.editorial-shell .top-nav {
  background: rgba(255, 253, 248, 0.72);
  border-color: rgba(20, 50, 71, 0.12);
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.08);
}

.editorial-shell .top-nav a {
  color: #143247;
}

.editorial-shell .top-nav a:hover {
  background: rgba(20, 50, 71, 0.08);
  color: #0b1726;
}

.editorial-shell .beta-pill {
  background: rgba(20, 50, 71, 0.08);
  border-color: rgba(20, 50, 71, 0.18);
  color: #143247;
}

.editorial-hero {
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  max-width: 1220px;
  min-height: auto;
  padding: 28px clamp(18px, 4vw, 40px) 58px;
}

.editorial-hero::before {
  background:
    linear-gradient(rgba(20, 50, 71, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 50, 71, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  inset: -60px -10vw -20px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.editorial-hero .hero-copy {
  gap: 16px;
}

.editorial-hero .eyebrow,
.editorial-heading .eyebrow {
  color: #9f553d;
}

.editorial-hero h1 {
  color: #102033;
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: 0.97;
  max-width: 780px;
}

.editorial-hero .subtitle {
  color: #496276;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  max-width: 690px;
}

.editorial-hero .hero-badges {
  gap: 8px;
}

.editorial-hero .hero-badges span {
  background: rgba(255, 253, 248, 0.78);
  border-color: rgba(20, 50, 71, 0.1);
  color: #143247;
}

.editorial-visual {
  aspect-ratio: 0.92;
  background: #fffdf8;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(16, 32, 51, 0.16);
  min-height: 520px;
  overflow: hidden;
}

.editorial-visual::after {
  background: linear-gradient(180deg, transparent 48%, rgba(11, 23, 38, 0.38));
  content: "";
  inset: 0;
  position: absolute;
}

.editorial-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.route-intel-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  bottom: 24px;
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.18);
  color: #102033;
  display: grid;
  gap: 4px;
  left: 24px;
  padding: 16px 18px;
  position: absolute;
  z-index: 2;
}

.route-intel-card span {
  color: #9f553d;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-intel-card strong {
  font-size: 1.12rem;
}

.route-intel-card small {
  color: #496276;
  font-weight: 800;
}

.editorial-hero .search-card {
  background: rgba(255, 253, 248, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.14);
  margin: 12px 0 0;
  max-width: 820px;
  padding: 18px;
}

.editorial-hero .search-card .city-pair {
  grid-template-columns: 1fr auto 1fr;
}

.editorial-hero .city-trigger {
  gap: 10px;
  grid-template-columns: 40px minmax(0, 1fr) 14px;
  min-height: 84px;
  padding: 12px 14px;
}

.editorial-hero .city-trigger-copy {
  gap: 4px;
}

.editorial-hero .city-trigger-kicker {
  font-size: 0.66rem;
  letter-spacing: 0;
}

.editorial-hero .city-trigger-copy strong {
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.08;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.editorial-hero .city-trigger-copy small {
  line-height: 1.18;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.editorial-hero .city-trigger-icon {
  height: 40px;
  width: 40px;
}

.editorial-hero .city-trigger-chevron {
  font-size: 0.82rem;
}

.editorial-hero .search-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editorial-hero .control-field {
  border-radius: 16px;
  min-width: 0;
  padding: 12px 14px;
}

.editorial-hero .control-field span {
  display: block;
  line-height: 1.22;
  min-height: 2.1em;
}

.editorial-hero .control-field input {
  font-size: 1.02rem;
  min-width: 0;
  overflow: hidden;
}

.editorial-hero .money-field input {
  padding-right: 44px;
}

.editorial-hero .money-field::after {
  top: 48px;
}

.editorial-hero .primary-action {
  background: linear-gradient(135deg, #d9795a, #c96f4a);
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(201, 111, 74, 0.22);
}

.how-section,
.popular-section,
.editorial-shell .results-section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 58px clamp(18px, 4vw, 40px);
}

.editorial-heading {
  margin-bottom: 22px;
}

.editorial-heading h2 {
  color: #102033;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  max-width: 820px;
}

.how-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.how-card,
.destination-card {
  background: #fffdf8;
  border: 1px solid rgba(20, 50, 71, 0.1);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(16, 32, 51, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.how-card:hover,
.destination-card:hover {
  box-shadow: 0 28px 76px rgba(16, 32, 51, 0.12);
  transform: translateY(-3px);
}

.how-card img {
  background: #f7f1e8;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.how-card > div,
.destination-card > div,
.destination-card:not(.image-card) {
  padding: 22px;
}

.how-card h3,
.destination-card h3 {
  color: #102033;
  font-size: 1.28rem;
  margin: 0 0 8px;
}

.how-card p,
.destination-card p {
  color: #496276;
  line-height: 1.65;
  margin: 0;
}

.coded-compare {
  position: relative;
}

.comparison-inspiration {
  height: 105px !important;
  opacity: 0.28;
  object-fit: cover;
}

.compare-visual {
  display: grid;
  gap: 10px;
  padding: 18px 22px 0;
}

.compare-visual span {
  background: #f7f1e8;
  border: 1px solid rgba(20, 50, 71, 0.08);
  border-radius: 16px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr auto;
  padding: 12px;
}

.compare-visual span.best {
  background: #f9eadf;
  border-color: rgba(201, 111, 74, 0.28);
}

.compare-visual strong {
  color: #102033;
}

.compare-visual em {
  color: #9f553d;
  font-style: normal;
  font-weight: 900;
}

.compare-visual i {
  background: linear-gradient(90deg, #143247, #d9795a);
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 6px;
}

.popular-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.destination-card {
  min-height: 230px;
}

.destination-card.image-card {
  grid-row: span 2;
}

.destination-card img {
  height: 260px;
  object-fit: cover;
  width: 100%;
}

.destination-card span {
  color: #9f553d;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.editorial-shell .results-section {
  padding-top: 44px;
}

.editorial-shell .premium-empty {
  background: linear-gradient(145deg, #fffdf8, #f7f1e8);
}

@media (max-width: 1040px) {
  .editorial-hero,
  .how-grid,
  .popular-grid {
    grid-template-columns: 1fr;
  }

  .editorial-visual {
    min-height: 420px;
  }

  .destination-card.image-card {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .editorial-shell .app-header {
    align-items: flex-start;
  }

  .editorial-hero {
    padding-top: 16px;
  }

  .editorial-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.9rem);
  }

  .editorial-hero .search-card .city-pair,
  .editorial-hero .search-controls {
    grid-template-columns: 1fr;
  }

  .editorial-hero .search-card .swap-action {
    justify-self: center;
  }

  .editorial-visual {
    min-height: 340px;
  }

  .route-intel-card {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
}

.guide-body {
  background:
    radial-gradient(circle at 18% 8%, rgba(217, 121, 90, 0.14), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(111, 143, 163, 0.18), transparent 30%),
    #f7f1e8;
  color: #102033;
  margin: 0;
}

.guide-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px clamp(18px, 4vw, 44px) 72px;
}

.guide-layout {
  display: grid;
  gap: 34px;
}

.guide-breadcrumbs {
  align-items: center;
  color: #6f8fa3;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 9px;
}

.guide-breadcrumbs a {
  color: #143247;
  text-decoration: none;
}

.guide-breadcrumbs a:hover {
  color: #c96f4a;
}

.guide-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(11, 23, 38, 0.96), rgba(20, 50, 71, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  box-shadow: 0 34px 90px rgba(16, 32, 51, 0.2);
  color: #fffdf8;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 310px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  position: relative;
}

.guide-hero::after {
  background: linear-gradient(115deg, transparent, rgba(217, 121, 90, 0.22), transparent);
  content: "";
  inset: auto -15% -45% 38%;
  height: 260px;
  position: absolute;
  transform: rotate(-8deg);
}

.guide-badge,
.guide-section-label {
  color: #d9795a;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-hero h1 {
  color: #fffdf8;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.65rem, 5.8vw, 5.35rem);
  line-height: 0.98;
  margin: 16px 0 20px;
  max-width: 850px;
}

.guide-hero p {
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

.guide-hero-card {
  align-self: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 54px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 24px;
  place-content: center;
  position: relative;
  z-index: 1;
}

.guide-hero-card span {
  color: #9fd1e6;
  font-weight: 950;
  text-transform: uppercase;
}

.guide-hero-card strong {
  color: #fffdf8;
  font-size: 1.8rem;
}

.guide-hero-card small {
  color: rgba(255, 253, 248, 0.72);
  font-weight: 800;
}

.guide-section,
.quick-answer-box,
.airport-comparison-card,
.tip-card,
.guide-cta {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(226, 214, 194, 0.92);
  border-radius: 28px;
  box-shadow: 0 18px 52px rgba(16, 32, 51, 0.08);
  padding: clamp(22px, 3vw, 34px);
}

.guide-section {
  display: grid;
  gap: 20px;
}

.guide-section h2,
.quick-answer-box h2,
.tip-card h2,
.guide-cta h2 {
  color: #102033;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0;
}

.guide-prose,
.atlasfare-recommendation {
  color: #40556b;
  display: grid;
  gap: 14px;
  line-height: 1.75;
}

.guide-prose p,
.guide-prose ul,
.atlasfare-recommendation p,
.atlasfare-recommendation ul {
  margin: 0;
}

.guide-prose strong {
  color: #102033;
}

.guide-prose ul,
.atlasfare-recommendation ul {
  padding-left: 22px;
}

.quick-answer-box {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(255, 246, 235, 0.92)),
    linear-gradient(90deg, rgba(201, 111, 74, 0.1), transparent);
  border-color: rgba(217, 121, 90, 0.28);
}

.guide-table {
  border: 1px solid rgba(226, 214, 194, 0.98);
  border-radius: 22px;
  display: grid;
  overflow: hidden;
}

.guide-table-row {
  background: rgba(255, 253, 248, 0.74);
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) repeat(3, minmax(150px, 1fr));
}

.guide-table-row + .guide-table-row {
  border-top: 1px solid rgba(226, 214, 194, 0.88);
}

.guide-table-row > div {
  color: #496276;
  line-height: 1.55;
  padding: 18px;
}

.guide-table-row > div + div {
  border-left: 1px solid rgba(226, 214, 194, 0.78);
}

.guide-table-head {
  background: #143247;
}

.guide-table-head > div {
  color: #fffdf8;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.guide-table .strong-cell {
  color: #102033;
  font-weight: 950;
}

.guide-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.airport-comparison-card {
  box-shadow: none;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.airport-comparison-card > span,
.guide-related-card span,
.guide-cta span {
  color: #c96f4a;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.airport-comparison-card h3 {
  color: #102033;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0;
}

.airport-card-columns {
  display: grid;
  gap: 14px;
}

.airport-card-columns > div {
  background: #f7f1e8;
  border: 1px solid rgba(226, 214, 194, 0.92);
  border-radius: 18px;
  padding: 16px;
}

.airport-card-columns h4 {
  color: #143247;
  margin: 0 0 8px;
}

.airport-card-columns p {
  color: #40556b;
  line-height: 1.55;
  margin: 0 0 8px;
}

.airport-card-columns ul {
  color: #40556b;
  line-height: 1.6;
  margin: 0;
  padding-left: 20px;
}

.guide-split {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.tip-card {
  display: grid;
  gap: 16px;
}

.guide-icon {
  align-items: center;
  background: rgba(217, 121, 90, 0.12);
  border-radius: 999px;
  color: #c96f4a;
  display: inline-flex;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.mistake-list {
  display: grid;
  gap: 12px;
}

.mistake-list article {
  align-items: start;
  background: #fffdf8;
  border: 1px solid rgba(226, 214, 194, 0.92);
  border-radius: 20px;
  display: grid;
  gap: 16px;
  grid-template-columns: 42px 1fr;
  padding: 18px;
}

.mistake-list article > span {
  align-items: center;
  background: #143247;
  border-radius: 999px;
  color: #fffdf8;
  display: flex;
  font-weight: 950;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.mistake-list h3 {
  color: #102033;
  margin: 0 0 6px;
}

.mistake-list p,
.faq-section p {
  color: #40556b;
  line-height: 1.7;
  margin: 0;
}

.faq-section details {
  background: #fffdf8;
  border: 1px solid rgba(226, 214, 194, 0.92);
  border-radius: 18px;
  padding: 18px 20px;
}

.faq-section details + details {
  margin-top: 10px;
}

.faq-section summary {
  color: #102033;
  cursor: pointer;
  font-weight: 950;
}

.faq-section p {
  margin-top: 12px;
}

.guide-related-card {
  background: #fffdf8;
  border: 1px solid rgba(226, 214, 194, 0.92);
  border-radius: 20px;
  color: #102033;
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  text-decoration: none;
}

.guide-related-card.live:hover {
  border-color: rgba(201, 111, 74, 0.5);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.09);
  transform: translateY(-2px);
}

.guide-related-card.pending {
  opacity: 0.78;
}

.guide-related-card strong {
  font-size: 1.08rem;
}

.guide-related-card p {
  color: #6f8fa3;
  line-height: 1.55;
  margin: 0;
}

.guide-cta {
  align-items: center;
  background: linear-gradient(135deg, #102033, #143247);
  color: #fffdf8;
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr auto;
}

.guide-cta h2 {
  color: #fffdf8;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  margin-top: 8px;
  max-width: 780px;
}

.guide-cta a {
  background: linear-gradient(135deg, #d9795a, #c96f4a);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  color: #fffdf8;
  font-weight: 950;
  padding: 16px 22px;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .guide-hero,
  .guide-cta,
  .guide-split {
    grid-template-columns: 1fr;
  }

  .guide-hero-card {
    min-height: 150px;
  }

  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .guide-table {
    border: 0;
    gap: 12px;
    overflow: visible;
  }

  .guide-table-head {
    display: none;
  }

  .guide-table-row {
    border: 1px solid rgba(226, 214, 194, 0.92);
    border-radius: 20px;
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .guide-table-row + .guide-table-row {
    border-top: 1px solid rgba(226, 214, 194, 0.92);
  }

  .guide-table-row > div + div {
    border-left: 0;
    border-top: 1px solid rgba(226, 214, 194, 0.78);
  }

  .guide-cta a {
    justify-self: start;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .guide-shell {
    padding-inline: 14px;
  }

  .guide-hero,
  .guide-section,
  .quick-answer-box,
  .tip-card,
  .guide-cta {
    border-radius: 22px;
  }

  .mistake-list article {
    grid-template-columns: 1fr;
  }
}
