:root {
  color-scheme: light;
  --ink: #0a1020;
  --muted: #3f4a66;
  --paper: #f6f7fb;
  --line: #d9deeb;
  --accent: #8a5200;
  --surface: #ffffff;
  --surface-alt: #eef1f8;
  --button-bg: #f7b03f;
  --button-ink: #0a1020;
  --button-hover: #ffc566;
  --shadow-color: #e3e8f3;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
.shell {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  padding: 12px;
  background: var(--surface);
  z-index: 2;
}
.skip:focus {
  top: 8px;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.brand {
  min-height: 44px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: none;
}
.header-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions > .eyebrow {
  margin: 0;
}
.theme-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.theme-toggle[hidden] {
  display: none;
}
@media (hover: hover) {
  .theme-toggle:hover {
    background: var(--surface-alt);
    color: var(--ink);
  }
}
.hero {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 76px;
  align-items: center;
  padding-block: 70px 72px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--accent);
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 740px;
}
.intro {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin: 25px 0 30px;
  max-width: 640px;
}
.button {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 14px 21px;
  background: var(--button-bg);
  color: var(--button-ink);
  border-radius: 7px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
}
.button:hover {
  background: var(--button-hover);
}
.hero-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-action > .cta-note {
  margin: 0;
  text-align: center;
}
.cta-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 12px 0 0;
}
.route-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
}
.compass {
  height: 82px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
.compass span {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid #bac6b6;
  border-radius: 50%;
  font-size: 48px;
  color: var(--accent);
  transform: rotate(12deg);
}
dl {
  margin: 0;
}
dl div + div {
  margin-top: 22px;
}
dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
dd {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.zone-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid #ccd5c6;
  margin: 24px 0 0;
  overflow-wrap: anywhere;
}
.reading-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 76px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}
.contents {
  align-self: start;
  position: sticky;
  top: 30px;
}
.contents a {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.contents a:hover {
  text-decoration: underline;
}
.contents a span {
  color: var(--accent);
  font-size: 11px;
  padding-top: 2px;
}
.editorial-section {
  position: relative;
  padding: 0 0 34px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.section-number {
  font-size: 11px;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 650;
}
h2 {
  font-size: 27px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
article p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 0;
}
.next-step {
  background: var(--surface-alt);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 36px;
}
.next-step h2 {
  max-width: 420px;
}
.next-step .eyebrow {
  font-size: 11px;
  color: var(--accent);
}
.next-step .cta-note {
  font-size: 12px;
  margin: 12px 0 0;
}
.sources h2 {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0 0 4px;
}
.sources {
  padding-block: 16px 4px;
  color: var(--muted);
}
.sources p {
  font-size: 11px;
  line-height: 1.5;
  margin: 0 0 4px;
}
.related {
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
}
.related h2 {
  font-size: 23px;
}
.related > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related a {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.related a:hover {
  border-color: var(--accent);
}
.related a > span:first-child {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 24px;
  color: var(--muted);
  font-size: 12px;
}
footer nav {
  display: flex;
  gap: 24px;
}
footer a {
  min-height: 44px;
  padding-block: 14px;
}
@media (max-width: 800px) {
  .shell {
    width: calc(100% - 40px);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 42px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .intro {
    font-size: 17px;
    margin-block: 22px;
  }
  .route-card {
    padding: 22px;
  }
  .compass {
    display: none;
  }
  .route-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .route-card dl div + div {
    margin-top: 0;
  }
  .zone-note {
    margin-top: 18px;
    padding-top: 14px;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 28px;
  }
  .contents {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
  }
  .contents a {
    min-height: 44px;
    padding-block: 11px;
  }
  .contents .eyebrow {
    margin-bottom: 5px;
  }
  h2 {
    font-size: 25px;
  }
  .editorial-section {
    padding-bottom: 22px;
    margin-bottom: 25px;
  }
  .next-step {
    padding: 24px;
  }
  .related > div {
    grid-template-columns: 1fr;
  }
  .related a {
    min-height: 90px;
  }
  footer {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
  .header-link {
    font-size: 12px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.landing-index {
  max-width: 900px;
  padding-block: 45px 70px;
}
.landing-index h1 {
  font-size: clamp(32px, 5vw, 46px);
}
.landing-index .intro {
  font-size: 16px;
  margin-block: 18px 35px;
}
.landing-index section {
  margin-block: 32px;
}
.landing-index h2 {
  font-size: 20px;
}
.landing-index-links {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.landing-index-links li + li {
  border-top: 1px solid var(--line);
}
.landing-index-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  text-decoration: none;
  min-height: 60px;
  background: var(--surface);
}
.landing-index-links a:hover {
  background: var(--surface-alt);
}
.landing-index-links a:focus-visible {
  outline-offset: -4px;
}
.landing-index-links strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.landing-index-links small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.index-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Editorial pages: destination postcards, travel tickets and main's palette. */
.editorial-page {
  background: var(--paper);
}
.editorial-page .masthead {
  border-bottom: 0;
}
.editorial-page .header-link {
  text-decoration-thickness: 1px;
  gap: 8px;
}
.editorial-page .hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  padding-block: 42px 66px;
}
.editorial-page .hero-copy {
  align-self: start;
}
.editorial-page .hero-copy > .eyebrow {
  display: inline-block;
  padding: 9px 14px;
  background: var(--surface-alt);
  border-radius: 30px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.editorial-page h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
}
.editorial-page .intro {
  font-size: 18px;
  line-height: 1.7;
  margin-block: 24px;
}
.editorial-page .button {
  border-radius: 50px;
  padding-inline: 24px;
  gap: 16px;
}
.destination-postcard {
  position: relative;
  margin: 0 8px 0 0;
  padding: 12px 12px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 8px 12px 0 var(--shadow-color);
  transform: rotate(2deg);
}
.postcard-image {
  position: relative;
}
.postcard-image > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.12;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.illustration-postcard .postcard-image > img {
  aspect-ratio: 1.25;
}
.postcard-sticker {
  position: absolute;
  left: -28px;
  top: -22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--button-bg);
  color: var(--button-ink);
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 3px 0 #22352d12;
  transform: rotate(-8deg);
}
.postcard-sticker svg {
  width: 28px;
  height: 28px;
}
.destination-postcard figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 10px;
}
.destination-postcard figcaption strong {
  display: block;
  font-size: 29px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.destination-postcard figcaption span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.destination-postcard figcaption > svg {
  color: var(--muted);
  width: 36px;
  flex-shrink: 0;
}
.route-ticket {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px dashed var(--line);
  padding: 14px 10px;
  font-family: ui-monospace, monospace;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.ticket-line {
  flex: 1;
  text-align: center;
  height: 26px;
  position: relative;
}
.ticket-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--line);
}
.ticket-line svg {
  position: relative;
  height: 26px;
  width: 42px;
  background: var(--surface);
}
.quick-facts {
  margin-bottom: 64px;
}
.quick-facts > .eyebrow {
  color: var(--muted);
}
.quick-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.quick-facts dl > div {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface-alt);
  border-radius: 16px;
  padding: 24px;
  margin: 0;
}
.quick-facts dl > div > div {
  margin: 0;
  min-width: 0;
}
.quick-facts dd {
  font-size: 19px;
  overflow-wrap: anywhere;
}
.fact-icon {
  flex-shrink: 0;
}
.fact-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
.editorial-page .reading-layout {
  padding-top: 0;
  border-top: 0;
  gap: 66px;
}
.editorial-page .contents {
  background: var(--surface-alt);
  border-radius: 16px;
  padding: 24px;
}
.editorial-page .editorial-section {
  padding-bottom: 28px;
  margin-bottom: 32px;
}
.editorial-page .section-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-number > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--button-bg);
  color: var(--button-ink);
  border-radius: 50%;
  font-size: 13px;
}
.editorial-section:nth-child(2n) .section-number > span {
  background: #e6dcf2;
}
.section-number > svg {
  width: 28px;
  height: 28px;
  color: var(--muted);
}
.editorial-page .next-step {
  background: var(--surface-alt);
  border-radius: 24px;
  padding: 32px;
  position: relative;
}
.cta-art {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--muted);
}
.cta-art svg:nth-child(2) {
  transform: rotate(-12deg);
}
.editorial-page .next-step h2 {
  font-size: 32px;
}
.editorial-page .related a {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}
.related a > img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
}
.related-copy {
  padding: 22px;
}
.related-copy > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}
.related-copy > strong {
  display: block;
  font-weight: 650;
  margin-bottom: 14px;
}
.related-copy > svg {
  display: block;
}
.index-thumbnail {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.landing-index-links a > span:first-of-type {
  flex: 1;
  min-width: 0;
}
@media (max-width: 950px) {
  .editorial-page .hero {
    gap: 36px;
  }
  .quick-facts dl > div {
    padding: 20px;
    gap: 12px;
  }
  .fact-icon {
    display: none;
  }
}
@media (max-width: 800px) {
  .editorial-page .masthead {
    padding-block: 14px;
  }
  .editorial-page .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 8px 42px;
  }
  .destination-postcard {
    width: min(100%, 520px);
    margin: 0 auto;
    transform: none;
    box-shadow: 5px 7px 0 var(--shadow-color);
  }
  .postcard-image > img {
    aspect-ratio: 1.5;
  }
  .postcard-sticker {
    left: 2px;
    top: -20px;
  }
  .destination-postcard figcaption {
    padding: 16px 8px;
  }
  .destination-postcard figcaption strong {
    font-size: 26px;
  }
  .quick-facts {
    margin-bottom: 38px;
  }
  .quick-facts dl {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .quick-facts dl > div {
    padding: 18px 20px;
    gap: 18px;
  }
  .fact-icon {
    display: block;
  }
  .quick-facts dd {
    font-size: 19px;
  }
  .editorial-page .reading-layout {
    gap: 32px;
  }
  .editorial-page .contents {
    padding: 22px;
  }
  .editorial-page .next-step {
    padding: 24px;
  }
  .editorial-page .next-step h2 {
    font-size: 28px;
  }
  .related a > img {
    height: 190px;
  }
}
@media (max-width: 420px) {
  .header-actions {
    gap: 8px;
  }
  .editorial-page .header-link svg {
    display: none;
  }
  .index-thumbnail {
    width: 56px;
    height: 56px;
  }
  .landing-index-links a {
    gap: 12px;
    padding: 16px 12px;
  }
  .editorial-page .brand {
    font-size: 19px;
    gap: 6px;
  }
  .editorial-page .header-link {
    gap: 4px;
  }
  .editorial-page .intro {
    font-size: 16px;
  }
}

.guide-library {
  max-width: 960px;
  padding-bottom: 32px;
}
.library-intro {
  padding-block: 20px 28px;
}
.library-intro h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 12px;
}
.library-intro .intro {
  margin: 0;
}
.library-section {
  margin-bottom: 40px;
}
.library-section h2 {
  font-size: 24px;
  margin: 0 0 8px;
}
.library-section > p {
  color: var(--muted);
  margin: 0 0 20px;
}
.library-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.library-links a {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.45;
}
.library-links a:hover {
  border-color: var(--accent);
  background: var(--surface-alt);
}
.library-links img {
  width: 72px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.library-links span {
  flex: 1;
}
.library-links svg {
  flex-shrink: 0;
  color: var(--muted);
}
@media (max-width: 650px) {
  .library-links {
    grid-template-columns: 1fr;
  }
  .library-intro {
    padding-top: 8px;
  }
}

/* Match main's welcome palette in preview.css, including its navy dark mode. */
:root[data-resolved-theme='dark'] {
  color-scheme: dark;
  --ink: #f4f6fb;
  --muted: #b4bdd3;
  --paper: #0a1020;
  --line: #26314f;
  --accent: #f7b03f;
  --surface: #121a2e;
  --surface-alt: #0f1730;
  --shadow-color: #070c18;
}
@media (prefers-reduced-motion: no-preference) {
  .editorial-page .button,
  .editorial-page .related a {
    transition:
      transform 180ms ease,
      box-shadow 180ms ease;
  }
  .editorial-page .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 var(--shadow-color);
  }
  .editorial-page .related a:hover {
    transform: translateY(-3px);
  }
}
