/* Public GEO shell: the same assets, typography and palette as the main journey. */
@import url("/assets/deeptrip/fonts/fonts.css");
@import url("/assets/deeptrip/home/site-logo.css");

:root {
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #171717;
  background: #fff;
  --geo-muted: #706779;
  --geo-line: #ededf1;
  --geo-purple: #8b5cf6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  position: relative;
  isolation: isolate;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 540px;
  pointer-events: none;
  background: url("/assets/deeptrip/home/hero-bg-blob.svg") center -100px / 1100px auto no-repeat;
  opacity: 0.25;
  z-index: -1;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #8b5cf6;
  outline-offset: 4px;
}
.shell {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 56px;
}
.topbar {
  width: 100%;
  min-height: 64px;
  padding: 10px 0;
  margin-bottom: 32px;
  gap: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.geo-logo {
  /* Keep the shared brand asset inside the same container as the catalogue. */
  position: relative;
  flex-shrink: 0;
  text-decoration: none;
}
.geo-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.geo-nav-link,
.back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #52525b;
  text-decoration: none;
}
.geo-nav-link:hover,
.back:hover {
  color: #6d28d9;
}
.geo-language {
  position: relative;
}
.geo-language summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #e8e8ed;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  line-height: 24px;
}
.geo-language summary::-webkit-details-marker {
  display: none;
}
.geo-language summary::after {
  /* Reuse the main journey icon; a text glyph follows the font baseline. */
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: url("/assets/deeptrip/i18n/language-chevron.png") center / contain no-repeat;
  transform: rotate(180deg);
}
.geo-language[open] summary::after {
  transform: none;
}
.geo-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 216px;
  z-index: 10;
  padding: 6px;
  border: 1px solid var(--geo-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 36px #17171714;
}
.geo-language-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  text-decoration: none;
}
.geo-language-menu a:hover {
  background: #f7f5fc;
}
.geo-language-menu a[aria-current] {
  color: #7c3aed;
  background: #f5f0ff;
}
.geo-language-menu a[aria-current]::after {
  content: "✓";
}
.hero {
  margin: 0;
  max-width: none;
}
.eyebrow {
  color: #8b5cf6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.lead {
  color: #737373;
  font-size: 16px;
  line-height: 1.75;
  max-width: 780px;
  margin: 16px 0 0;
}
.hero > h2,
.hero > h2 + .lead {
  display: none;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.stat {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  color: #737373;
  font-size: 13px;
}
.stat + .stat::before {
  content: "·";
  margin-right: 8px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  display: inline-flex;
  border: 0;
  border-radius: 8px;
  background: #ffffffb3;
  color: #6b6480;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.filter {
  padding: 10px 14px;
  min-height: 44px;
  align-items: center;
  border: 1px solid #e9e7ee;
  border-radius: 24px;
  background: #fff;
  font-size: 13px;
  color: #66616e;
  cursor: pointer;
}
.filter:hover {
  border-color: #c4b5fd;
  background: #faf8ff;
}
.filter[aria-pressed="true"] {
  color: #fff;
  background: #171717;
  border-color: #171717;
}
.geo-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid #e7e5ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px #30234605;
}
.geo-search:focus-within {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}
.geo-search input:focus-visible {
  outline: none;
}
.geo-search-icon {
  width: 20px;
  height: 20px;
  background: #8a8492;
  mask: url("/assets/deeptrip/article/icon-send.svg") center / contain no-repeat;
  flex-shrink: 0;
}
.geo-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.geo-search-clear:hover {
  background: #f5f2fa;
}
.geo-search-clear img {
  width: 14px;
  height: 14px;
}
.geo-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.geo-search input {
  min-width: 0;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 12px;
  outline-offset: 0;
  color: #262626;
  background: transparent;
  font-size: 14px;
}
.geo-results {
  font-size: 13px;
  color: #737373;
  margin: 16px 0 0;
}
.section {
  padding-top: 32px;
  scroll-margin-top: 20px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 0;
  margin-bottom: 16px;
  border: 0;
}
h2,
.section-head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #262626;
}
.section-head h2 {
  font-size: 24px;
  line-height: 32px;
}
.count {
  flex-shrink: 0;
  color: #8a8492;
  font-size: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  --geo-card: #f6f3ff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 225px;
  border: 1px solid #eae5f5;
  border-radius: 20px;
  padding: 24px;
  background: var(--geo-card);
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  content-visibility: auto;
  contain-intrinsic-size: auto 250px;
}
.section:nth-of-type(3n + 2) .card {
  --geo-card: #f1f7ff;
  border-color: #e1eaf7;
}
.section:nth-of-type(3n + 3) .card {
  --geo-card: #fff7ee;
  border-color: #f4e7d9;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #c7b7ed;
  box-shadow: 0 8px 24px #2d1b4d0a;
}
.card .chips {
  display: flex;
  gap: 5px;
  max-height: 24px;
  overflow: hidden;
  flex-wrap: wrap;
}
.card .chip {
  padding: 4px 8px;
  line-height: 16px;
}
.card h3 {
  font-size: 18px;
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 16px 0 10px;
  color: #262626;
  overflow-wrap: anywhere;
  /* A shared three-line title band aligns summaries across a row of cards. */
  min-height: 4.26em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card:hover h3 {
  color: #6d28d9;
}
.card p {
  color: var(--geo-muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta-line {
  color: var(--geo-muted);
  font-size: 11px;
  line-height: 1.5;
  margin-top: auto;
  overflow-wrap: anywhere;
}
.geo-empty {
  padding: 52px 24px;
  border: 1px dashed #ddd7e9;
  border-radius: 20px;
  text-align: center;
  color: #737373;
}
.geo-empty p {
  margin: 0 0 16px;
  line-height: 1.6;
}
.geo-empty-reset {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #e7e1ee;
  border-radius: 24px;
  background: #fff;
  color: #6d28d9;
  cursor: pointer;
}
.geo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8a8492;
  margin-bottom: 24px;
}
.geo-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  padding: 10px 0;
}
.geo-breadcrumb a:hover {
  color: #7c3aed;
}
.geo-breadcrumb,
.article-header,
body[data-geo-page="article"] .panel,
.geo-conversation,
.related-guides {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.article-header {
  margin-bottom: 32px;
}
.article-header h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.2;
}
.article-header .lead {
  font-size: 16px;
}
.article-header .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.article-header .chip {
  background: #f5f2fa;
  color: var(--geo-muted);
}
.panel {
  margin-top: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.panel > .eyebrow {
  display: none;
}
.source-content {
  max-width: 820px;
  margin: 0 auto;
  overflow-wrap: anywhere;
  color: #40404a;
  font-size: 16px;
  line-height: 1.85;
}
.source-content h1,
.source-content h2,
.source-content h3,
.source-content h4 {
  line-height: 1.4;
  color: #262626;
  letter-spacing: -0.025em;
  margin: 1.8em 0 0.7em;
}
.source-content h1 {
  font-size: 28px;
}
.source-content h2 {
  font-size: 24px;
  border: 0;
  padding-bottom: 0;
}
.source-content h3 {
  font-size: 19px;
}
.source-content h4 {
  font-size: 17px;
}
.source-content p,
.source-content ul,
.source-content ol,
.source-content blockquote,
.source-content table,
.source-content pre {
  margin: 0 0 1.2em;
}
.source-content a,
.related-guides a {
  color: #7c3aed;
  text-underline-offset: 3px;
}
.source-content blockquote {
  padding: 12px 18px;
  border-left: 3px solid #c4b5fd;
  background: #faf8ff;
  color: #797080;
  border-radius: 0 12px 12px 0;
}
.source-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}
.source-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.source-content th,
.source-content td {
  min-width: 120px;
  padding: 12px 16px;
  border: 1px solid #ece8f2;
  text-align: left;
  font-size: 14px;
}
.source-content th {
  background: #f7f4fc;
}
.source-content code {
  background: #f4f1f8;
  color: #665879;
}
.source-content pre {
  overflow-x: auto;
  white-space: pre-wrap;
  padding: 20px;
  background: #24222b;
  color: #f6f3ff;
  border-radius: 12px;
}
.source-content pre code {
  background: none;
  color: inherit;
  white-space: inherit;
}
.source-content hr {
  border: 0;
  border-top: 1px solid #ece8f2;
}
.related-guides {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--geo-line);
}
.related-guides h2 {
  font-size: 21px;
}
.related-guides ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.related-guides li {
  min-width: 0;
}
.related-guides a {
  display: flex;
  align-items: center;
  min-height: 44px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--geo-line);
  border-radius: 14px;
  background: #faf9fc;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.related-guides a:hover {
  border-color: #c4b5fd;
  background: #f7f3ff;
}
.geo-conversation {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid #e8e0f7;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8f5ff, #fcfbff);
}
.geo-conversation-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.geo-conversation-heading img {
  width: 24px;
  height: 28px;
}
.geo-conversation h2 {
  font-size: 22px;
}
.geo-conversation > p {
  font-size: 14px;
  color: var(--geo-muted);
  line-height: 1.65;
  margin: 10px 0 20px;
}
.geo-questions {
  display: grid;
  gap: 8px;
}
.geo-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #e9e3f2;
  border-radius: 14px;
  color: #5a4b70;
  background: #fff;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.geo-question::after {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  mask: url("/assets/deeptrip/home/icon-ask-arrow.svg") center / contain no-repeat;
  background: #9e79d6;
  transform: rotate(45deg);
}
.geo-question:hover {
  border-color: #c4b5fd;
  background: #fdfbff;
}
.geo-ask-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  margin-top: 16px;
  border: 1px solid #e7e1ee;
  border-radius: 16px;
  background: #fff;
}
.geo-ask-form label {
  width: 100%;
  font-size: 12px;
  color: var(--geo-muted);
}
.geo-ask-form textarea {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 48px;
  max-height: 160px;
  resize: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  background: transparent;
  color: #262626;
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 4px;
}
.geo-ask-form textarea::placeholder {
  color: #a39aa9;
}
.geo-ask-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 18px;
  align-self: flex-end;
  border: 0;
  border-radius: 26px;
  background: #171717;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.geo-ask-submit::after {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  mask: url("/assets/deeptrip/home/icon-ask-arrow.svg") center / contain no-repeat;
  background: #fff;
  transform: rotate(45deg);
}
.geo-ask-submit:disabled {
  background: #c9c4ce;
  cursor: default;
}
.geo-form-error {
  width: 100%;
  margin: 0;
  font-size: 13px;
  color: #b42318;
}
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid #f0edf4;
  padding-top: 28px;
  margin-top: 64px;
  color: #a09aa7;
  font-size: 12px;
  line-height: 1.7;
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #81778f;
}
.preview-banner {
  border-radius: 12px;
}
@media (max-width: 1050px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .geo-search input,
  .geo-ask-form textarea {
    /* Keep iOS from zooming the whole page when a field receives focus. */
    font-size: 16px;
  }
  .topbar {
    min-height: 60px;
    padding: 8px 0;
  }
}
@media (max-width: 700px) {
  body::before {
    background-size: 800px auto;
    opacity: 0.16;
  }
  .shell {
    width: calc(100% - 32px);
    padding-top: 0;
  }
  .topbar {
    min-height: 60px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .geo-nav {
    gap: 8px;
  }
  .geo-nav-link {
    display: none;
  }
  .geo-language summary {
    font-size: 12px;
    padding: 8px 12px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .lead {
    font-size: 14px;
    margin-top: 16px;
  }
  .stats {
    margin-top: 16px;
  }
  .filters {
    margin-top: 16px;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 8px 0;
  }
  .filter {
    flex-shrink: 0;
    white-space: nowrap;
    scroll-margin-inline: 8px;
    font-size: 12px;
    padding: 9px 12px;
  }
  .filter:focus-visible {
    outline-offset: -4px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .card {
    min-height: 190px;
    padding: 20px;
  }
  .card h3 {
    /* A single column can show the complete title without row alignment constraints. */
    min-height: 0;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .section {
    padding-top: 24px;
  }
  .section-head h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .article-header h1 {
    font-size: 30px;
  }
  .article-header .lead {
    font-size: 14px;
  }
  .source-content {
    font-size: 15px;
    line-height: 1.85;
  }
  .source-content h2 {
    font-size: 22px;
  }
  .source-content h3 {
    font-size: 18px;
  }
  .related-guides ul {
    grid-template-columns: 1fr;
  }
  .geo-conversation {
    padding: 20px;
    margin-top: 36px;
    border-radius: 20px;
  }
  .geo-conversation h2 {
    font-size: 20px;
  }
  .geo-question {
    font-size: 13px;
  }
  .geo-ask-form textarea {
    flex-basis: 100%;
  }
  .geo-ask-submit {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
