:root {
  color-scheme: light;
  --ink: #173a3b;
  --muted: #607172;
  --teal: #176c6a;
  --gold: #c58a34;
  --paper: #fffdf7;
  --line: rgba(23, 58, 59, 0.14);
  --shadow: 0 18px 48px rgba(31, 62, 63, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(68, 151, 146, 0.16), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(225, 175, 92, 0.18), transparent 30rem),
    #f5f1e7;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.hero {
  padding: 72px 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.8rem, 8vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.8;
}

.section {
  padding: 28px 0 72px;
}

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

.section h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.section-note {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  min-height: 310px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(31, 62, 63, 0.17);
}

.card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -45px;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.8), rgba(23,108,106,.22));
}

.card.guide::after {
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.8), rgba(197,138,52,.28));
}

.card.placeholder {
  min-height: 250px;
}

.card.placeholder::after {
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.8), rgba(197,138,52,.22));
}

.world-map {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.68);
  box-shadow: var(--shadow);
}

.map-canvas {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-canvas svg {
  display: block;
  width: 100%;
  height: auto;
  cursor: grab;
  touch-action: none;
}

.map-canvas.is-dragging svg { cursor: grabbing; }
.map-sphere { fill: rgba(23, 108, 106, 0.05); }
.map-graticule { fill: none; stroke: rgba(23, 58, 59, 0.10); stroke-width: 0.75; }
.map-country { fill: rgba(23, 58, 59, 0.10); stroke: rgba(23, 58, 59, 0.24); stroke-width: 0.75; }
.map-route { fill: none; stroke-width: 2; stroke-linecap: round; opacity: 0.72; }
.map-marker { cursor: pointer; stroke: var(--paper); stroke-width: 3; }
.map-marker:focus { outline: none; stroke: var(--ink); stroke-width: 4; }

.map-tooltip {
  position: absolute;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.map-tooltip.is-visible { opacity: 1; transform: translateY(0); }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 12px 2px 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.86rem;
}

.map-legend li { display: inline-flex; align-items: center; gap: 7px; }
.map-dot { width: 10px; height: 10px; border-radius: 50%; }
.trip-one { background: #176c6a; }
.trip-two { background: #c58a34; }
.trip-three { background: #a45d4c; }
.trip-four { background: #4d7298; }
.trip-five { background: #7d6a9c; }
.trip-business { background: #8a6f57; }

.status {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(23, 108, 106, 0.1);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.card h3 {
  max-width: 520px;
  margin: 24px 0 12px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.card .arrow {
  position: absolute;
  left: 32px;
  bottom: 30px;
  color: var(--teal);
  font-weight: 800;
}

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

.phase {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.54);
}

.phase strong { display: block; margin-bottom: 6px; }
.phase span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

footer {
  padding: 28px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .hero { padding-top: 42px; }
  .grid { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: start; flex-direction: column; }
  .card { min-height: 330px; padding: 26px; }
  .card .arrow { left: 26px; }
  .world-map { padding: 12px; border-radius: 22px; }
  .map-canvas { min-height: 190px; }
}
