@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --card: #ffffff;
  --card-alt: #f8fafc;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #0f172a;
  --text-sec: #334155;
  --muted: #64748b;
  --brand: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-soft: #eff6ff;
  --ok: #047857;
  --ok-soft: #ecfdf5;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 6px 16px rgba(15, 23, 42, 0.07), 0 22px 44px -12px rgba(29, 78, 216, 0.18);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1120;
  --card: #131c2e;
  --card-alt: #182338;
  --line: #23324b;
  --line-strong: #334666;
  --text: #f8fafc;
  --text-sec: #cbd5e1;
  --muted: #94a3b8;
  --brand: #60a5fa;
  --brand-hover: #3b82f6;
  --brand-soft: rgba(59, 130, 246, 0.15);
  --ok: #34d399;
  --ok-soft: rgba(16, 185, 129, 0.15);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 14px 36px -14px rgba(0, 0, 0, 0.72);
  --shadow-hover: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 24px 48px -14px rgba(37, 99, 235, 0.38);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.72 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #1d4ed8; color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 99; text-decoration: none; font-weight: 700; }

.top-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  max-width: 1280px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  font-size: 18.5px;
  letter-spacing: -0.025em;
}
.brand img { border-radius: 8px; display: block; }
.brand em { font-style: normal; color: var(--brand); font-weight: 700; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.top nav a {
  color: var(--text-sec);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.top nav a:hover, .top nav a[aria-current] {
  color: var(--brand);
  background: var(--brand-soft);
}
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.theme-btn:hover { border-color: var(--brand); color: var(--brand); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 32px 22px 72px; }
.index-head { margin-bottom: 28px; }
.head h1 {
  font-size: clamp(1.95rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.25em 0;
  color: var(--text);
}
.eyebrow, .cat {
  color: var(--ok);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0;
  display: inline-block;
}
.lede { color: var(--text-sec); font-size: 1.1rem; max-width: 780px; line-height: 1.66; }
.meta { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.card {
  display: block;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  margin: 22px 0;
  box-shadow: var(--shadow);
}
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.post-card {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
  color: var(--text);
}
.post-card picture, .hero picture { display: block; width: 100%; }
.post-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: var(--card-alt);
}
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 {
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.34;
  margin: 0.35em 0;
}
.post-card p { color: var(--text-sec); font-size: 14.5px; line-height: 1.56; margin: 0.25em 0 0.9em; flex: 1; }

.crumbs { font-size: 13.5px; color: var(--muted); max-width: 840px; margin: 0 auto 16px; }
.crumbs a { color: var(--text-sec); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--brand); }

.post { max-width: 840px; margin: 0 auto; }
.post p, .post li { color: var(--text-sec); font-size: 1.04rem; }
.post strong { color: var(--text); }
.post h2 {
  color: var(--text);
  font-size: 1.54rem;
  font-weight: 800;
  letter-spacing: -0.024em;
  line-height: 1.26;
  margin: 1.75em 0 0.45em;
}
.post h3 {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.2em 0 0.3em;
}
.hero { margin: 22px 0; }
.hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
}
figcaption { color: var(--muted); font-size: 12.5px; margin-top: 8px; }

.quick {
  background: var(--brand-soft);
  border: 1.5px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  border-radius: 18px;
  padding: 20px 22px;
  color: var(--text);
}
.disclosure {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  border-left: 3px solid var(--ok);
  padding: 4px 0 4px 14px;
  margin: 18px 0;
}
.toc ol { margin: 0.5em 0 0; padding-left: 1.3em; }
.toc li { margin: 5px 0; font-size: 14.5px; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }

.table-scroll { overflow-x: auto; margin-top: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { font-weight: 800; color: var(--text); background: var(--card-alt); }

.cta {
  background: linear-gradient(145deg, var(--card), var(--brand-soft));
  border: 1.5px solid color-mix(in srgb, var(--brand) 32%, var(--line));
}
.cta h2 { margin-top: 0.25em; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: #1d4ed8;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.24);
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}
.btn:hover { background: #1e40af; color: #ffffff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(29, 78, 216, 0.32); }
.btn-outline {
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--card-alt);
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: none;
}
.store-fine { font-size: 12.5px !important; color: var(--muted) !important; margin: 12px 0 0 !important; font-weight: 600; }

.faq-item {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 12px 0;
}
.faq-item h3 { margin-top: 0; }
.faq-item p { margin-bottom: 0; }

.more-sec { margin-top: 40px; }
.share { margin: 34px 0; border-top: 1px solid var(--line); padding-top: 22px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sbtn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.sbtn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 34px 0; }
.pager-stat { font-size: 14px; font-weight: 700; color: var(--muted); }

.foot { border-top: 1px solid var(--line); background: var(--card); margin-top: 52px; }
.foot-in { color: var(--muted); font-size: 13.5px; text-align: center; padding: 30px 20px 46px; max-width: 1080px; margin: 0 auto; }
.foot-links a { color: var(--text-sec); font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--brand); text-decoration: underline; }

/* Executive Centred Glassmorphic 1.65s Partner Transfer Modal (FindMyHotel parity, CSP-clean zero inline styles) */
.transfer-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 18px;
  background: rgba(11, 17, 32, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 1250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.transfer-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.transfer-modal-card {
  position: relative;
  width: min(94vw, 540px);
  background: color-mix(in srgb, var(--card) 93%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid color-mix(in srgb, var(--brand) 48%, var(--line));
  border-radius: 26px;
  padding: 28px 26px 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s ease;
}
.transfer-modal-backdrop.show .transfer-modal-card {
  transform: translateY(0) scale(1);
}
.transfer-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--card-alt);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.transfer-close:hover { border-color: var(--brand); color: var(--brand); }
.transfer-route-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.transfer-crest {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--text);
  font-weight: 800;
  font-size: 13.5px;
  border: 1px solid var(--line);
}
.transfer-crest img { border-radius: 6px; display: block; }
.transfer-dots { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: 2px; }
.transfer-dots i {
  font-style: normal;
  display: inline-block;
  animation: fmp-dot 1.2s infinite ease-in-out;
  margin: 0 1px;
}
.transfer-dots i:nth-child(2) { animation-delay: 0.2s; }
.transfer-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes fmp-dot {
  0%, 80%, 100% { opacity: 0.28; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
.transfer-partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 15px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.3);
}
.transfer-partner-pill:hover { color: #ffffff; background: #1e40af; }
.transfer-title {
  font-size: clamp(18px, 2.6vw, 21px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin: 2px 0 0;
}
.transfer-sub {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-sec);
  max-width: 44ch;
  margin: 0;
}
.transfer-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin: 6px 0 2px;
}
.transfer-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #1d4ed8, #38bdf8, #10b981);
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
}
.transfer-modal-backdrop.show .transfer-progress-bar {
  animation: fmp-transfer-prog 1.65s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes fmp-transfer-prog {
  0% { transform: scaleX(0.06); }
  100% { transform: scaleX(1); }
}
.transfer-fine {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 640px) {
  .top { padding: 10px 14px; gap: 8px; }
  .top nav { width: 100%; order: 3; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { white-space: nowrap; padding: 7px 10px; font-size: 13px; }
  .transfer-modal-card { padding: 24px 18px 20px; border-radius: 22px; }
}
