/* MusafirQuest home page. Palette and type follow the MusafirQuest product page: night, marigold and paper. */
:root {
  --night: #150E22; --night2: #241A35; --dusk: #3A2B52;
  --paper: #FBF6EC; --paper2: #F3EDDF; --card: #FFFFFF;
  --marigold: #E89B2C; --marigold-lo: #F7E3C2; --brass: #C9964A;
  --sindoor: #B8432F; --sindoor-lo: #F6E0DB;
  --ganga: #2F6B68; --ganga-lo: #DDEBE9;
  --ink: #2A2118; --ink60: #6E6357; --line: #EADFCE;
  --pale: #E7DFF3; --pale60: #A79BC0;
  --disp: 'Fraunces', Georgia, serif;
  --body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 5vw, 64px);
  --max: 1240px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:focus-visible { outline: 2.5px solid var(--marigold); outline-offset: 4px; border-radius: 2px; }
a { color: inherit; }
code { font-size: .88em; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.night { background: var(--night); color: var(--pale); }
.paper { background: var(--paper); color: var(--ink); }
.paper2 { background: var(--paper2); color: var(--ink); }
section { padding: clamp(48px, 7vh, 80px) 0; position: relative; scroll-margin-top: 64px; }

h1, h2, h3, h4 {
  font-family: var(--disp); font-variation-settings: "SOFT" 26, "WONK" 1;
  font-weight: 600; letter-spacing: -.022em; line-height: 1.05; margin: 0;
}
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.14; }
h4 { font-size: 19px; line-height: 1.25; font-variation-settings: "SOFT" 26, "WONK" 0; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: var(--pale60); max-width: 56ch; margin: 0; }
.paper .lede, .paper2 .lede { color: var(--ink60); }
.tiny { font-size: 14px; line-height: 1.5; color: var(--ink60); }
.lit { color: var(--marigold); }
.lit-d { color: #A8661A; }

/* section marker: a lamp, not an eyebrow label */
.marker { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.marker i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--marigold); flex: 0 0 auto;
  box-shadow: 0 0 0 5px rgba(232, 155, 44, .16), 0 0 22px 5px rgba(232, 155, 44, .5);
}
.marker span { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--marigold); }
.paper .marker span, .paper2 .marker span { color: #A8661A; }
.sechead { display: grid; grid-template-columns: 1.15fr .9fr; gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3.5vw, 40px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-p { background: var(--marigold); color: #1E1405; box-shadow: 0 6px 28px rgba(232, 155, 44, .35); }
.btn-p:hover { background: #F0A93F; }
.btn-g { border-color: rgba(231, 223, 243, .35); color: var(--pale); }
.btn-g:hover { border-color: var(--pale); }
.btn-sm { padding: 9px 18px; font-size: 14.5px; box-shadow: none; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.solid { background: rgba(21, 14, 34, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(231, 223, 243, .08); }
.navin { display: flex; align-items: center; gap: 28px; height: 64px; }
.mark {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pale);
  font-family: var(--disp); font-weight: 700; font-size: 22px; letter-spacing: -.02em;
}
.mark em { color: var(--marigold); font-style: normal; }
.mark-glyph {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--marigold); color: #1E1405; font-size: 18px;
}
.navlinks { display: flex; gap: 26px; margin-left: auto; }
.navlinks a { color: var(--pale60); text-decoration: none; font-size: 15px; font-weight: 500; }
.navlinks a:hover { color: var(--pale); }

/* hero */
.hero { padding: clamp(104px, 16vh, 150px) 0 clamp(40px, 6vh, 64px); overflow: hidden; position: relative; }
.lampglow {
  position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; pointer-events: none;
  background: radial-gradient(circle, rgba(232, 155, 44, .30) 0%, rgba(232, 155, 44, .08) 38%, transparent 66%);
}
.lampglow.small { width: 640px; height: 640px; right: auto; left: 50%; top: -260px; transform: translateX(-50%); }
.hero .wrap { position: relative; }
.brandline { font-family: var(--disp); font-style: italic; font-size: 19px; color: var(--marigold); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); max-width: 15ch; line-height: 1; }
.hero .lit { display: block; margin-top: .12em; }
.sub { font-size: clamp(17px, 1.9vw, 20px); color: var(--pale60); max-width: 58ch; margin: 22px 0 30px; }
.herofoot { display: flex; flex-wrap: wrap; gap: 14px; }
.heroline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(36px, 6vh, 56px);
  padding-top: 22px; border-top: 1px solid rgba(231, 223, 243, .14);
}
.heroline b { display: block; font-family: var(--disp); font-size: clamp(26px, 3vw, 34px); color: var(--pale); font-weight: 600; letter-spacing: -.02em; }
.heroline span { color: var(--pale60); font-size: 15px; }

/* hero demo: the planner building a day, with its map */
.herogrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 1080px) {
  .herogrid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .herogrid h1 { font-size: clamp(44px, 4.6vw, 66px); }
  /* let the demo bleed past the column into the right gutter */
  .herogrid .demo { justify-self: start; max-width: none; width: calc(100% + clamp(40px, 6vw, 120px)); }
}
.demo {
  --dm-bg: #1C1430; --dm-map: #1A1229; --dm-line: rgba(231, 223, 243, .1);
  position: relative; width: 100%; max-width: 700px; justify-self: center;
  background: var(--dm-bg); border: 1px solid rgba(231, 223, 243, .12); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(232, 155, 44, .05), 0 0 60px rgba(232, 155, 44, .08);
  font-size: 15.5px; line-height: 1.4; color: var(--pale);
  animation: demoIn .9s .2s both cubic-bezier(.2, .7, .2, 1);
  transition: opacity .6s;
}
.dm-map svg, .dm-panel { transition: opacity .5s, transform .5s; }
.demo.fade .dm-map svg, .demo.fade .dm-panel { opacity: 0; transform: translateY(6px); }
@keyframes demoIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.dm-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--dm-line); }
.dm-dots { display: flex; gap: 6px; }
.dm-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(231, 223, 243, .16); }
.dm-tabs { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.dm-tabs button {
  font: 600 14px var(--body); color: var(--pale60); background: none; border: 0; cursor: pointer;
  padding: 4px 10px; border-radius: 8px; white-space: nowrap; transition: background .25s, color .25s;
}
.dm-tabs button:hover { color: var(--pale); }
.dm-tabs button.on { background: rgba(231, 223, 243, .1); color: var(--pale); }
.dm-tabs button { position: relative; overflow: hidden; }
.dm-tabs button::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--marigold); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .3s;
}
.dm-tabs button.next { color: var(--pale); }
.dm-tabs button.next::after { opacity: 1; }
.dm-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: rgba(231, 223, 243, .08); color: var(--pale60); transition: background .3s, color .3s;
}
.dm-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dm-status[data-s=work], .dm-status[data-s=route] { background: rgba(232, 155, 44, .16); color: var(--marigold); }
.dm-status[data-s=work] i, .dm-status[data-s=route] i { animation: blink 1s infinite; }
.dm-status[data-s=done] { background: rgba(47, 107, 104, .35); color: #9FD8D2; }
@keyframes blink { 50% { opacity: .25; } }

.dm-map { aspect-ratio: 480 / 260; background: var(--dm-map); border-bottom: 1px solid var(--dm-line); position: relative; }
.dm-map svg { display: block; width: 100%; height: 100%; }
.mp-street { fill: none; stroke: rgba(231, 223, 243, .09); stroke-width: 3; stroke-linecap: round; }
.mp-river-bank { fill: none; stroke: rgba(47, 107, 104, .35); stroke-width: 30; stroke-linecap: round; }
.mp-river { fill: none; stroke: #24504E; stroke-width: 20; stroke-linecap: round; }
.mp-label { fill: rgba(231, 223, 243, .32); font: 600 10px var(--body); letter-spacing: .04em; }
.mp-city { font-size: 10.5px; letter-spacing: .18em; fill: rgba(231, 223, 243, .4); }
.mp-water { fill: #7FB8B3; font-style: italic; font-family: var(--disp); font-size: 12px; letter-spacing: .02em; opacity: .7; }

.mp-cands circle { fill: var(--pale60); opacity: 0; transition: opacity .35s, fill .5s; }
.mp-cands.on circle { opacity: .55; }
.mp-cands.on.dim circle { opacity: .16; transition-delay: 0s !important; }

.mp-area { fill: rgba(232, 155, 44, .06); stroke: rgba(232, 155, 44, .45); stroke-width: 1.2; stroke-dasharray: 4 5; }
.mp-areas { opacity: 0; transition: opacity .6s; }
.mp-areas.on { opacity: 1; }
.mp-arealabel { fill: rgba(232, 155, 44, .7); font-size: 9.5px; }

.mp-leg { fill: none; stroke: var(--marigold); stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(232, 155, 44, .55)); }

.mp-hotel { opacity: 0; transition: opacity .4s; }
.mp-hotel.on { opacity: 1; }
.mp-hotel rect { fill: var(--pale); }
.mp-hotel text { fill: var(--night); font: 800 9px var(--body); text-anchor: middle; }

.mp-pin { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.mp-pin.on { transform: scale(.75); opacity: .55; }
.mp-pin.hit { transform: scale(1); opacity: 1; }
.mp-pin circle { fill: var(--dm-bg); stroke: var(--marigold); stroke-width: 2; }
.mp-pin.hit circle { fill: var(--marigold); }
.mp-pin text { fill: var(--marigold); font: 800 10px var(--body); text-anchor: middle; }
.mp-pin.hit text { fill: #1E1405; }
.mp-pin.is-meal circle { stroke: #9FD8D2; }
.mp-pin.is-meal text { fill: #9FD8D2; font-size: 8px; }
.mp-pin.is-meal.hit circle { fill: #9FD8D2; }
.mp-pin.is-meal.hit text { fill: var(--night); }
.mp-pin.is-anchor circle:not(.mp-halo) { stroke: #F08A6E; }
.mp-pin.is-anchor text { fill: #F08A6E; }
.mp-pin.is-anchor.hit circle:not(.mp-halo) { fill: #F08A6E; }
.mp-pin.is-anchor.hit text { fill: var(--night); }
.mp-halo { fill: none !important; stroke: #F08A6E !important; stroke-width: 1.5 !important; transform-box: fill-box; transform-origin: center; animation: halo 1.8s infinite ease-out; }
@keyframes halo { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

.mp-walker { opacity: 0; transition: opacity .3s; }
.mp-walker.on { opacity: 1; }
.mp-walker circle { fill: #FFF6E6; }
.mp-walker .mp-walker-glow { fill: rgba(255, 246, 230, .25); animation: halo 1.2s infinite ease-out; transform-box: fill-box; transform-origin: center; }

.mp-tip { opacity: 0; transition: opacity .25s, transform .3s; pointer-events: none; }
.mp-tip.on { opacity: 1; }
.mp-tip rect { fill: rgba(21, 14, 34, .92); stroke: rgba(232, 155, 44, .5); }
.mp-tip text { fill: var(--pale); font: 600 11px var(--body); white-space: pre; }

.dm-panel { position: relative; height: 360px; }
.dv { position: absolute; inset: 0; padding: 20px 24px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .4s, transform .4s, visibility 0s .4s; }
.dv.on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s .1s, transform .4s .1s, visibility 0s; }

.dv-form { display: flex; flex-direction: column; gap: 14px; }
.df-field { display: flex; flex-direction: column; gap: 7px; }
.df-label { font-size: 12px; font-weight: 700; color: var(--pale60); letter-spacing: .03em; }
.df-input { display: flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 11px; background: rgba(231, 223, 243, .06); border: 1px solid rgba(231, 223, 243, .14); font-size: 16px; font-weight: 600; }
.df-caret { width: 1.5px; height: 18px; background: var(--marigold); margin-left: 2px; animation: blink .9s infinite steps(1); }
.df-chips, .df-seg { display: flex; flex-wrap: wrap; gap: 7px; }
.df-chips span, .df-seg span {
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(231, 223, 243, .16); color: var(--pale60);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.df-chips span.on, .df-seg span.on { background: var(--marigold); border-color: var(--marigold); color: #1E1405; transform: scale(1.06); }
.df-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.df-when { font-size: 12.5px; color: var(--pale60); }
.df-go { padding: 8px 15px; border-radius: 999px; font-weight: 700; font-size: 14px; background: rgba(232, 155, 44, .18); color: var(--marigold); white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.df-go.on { background: var(--marigold); color: #1E1405; transform: scale(.95); box-shadow: 0 0 0 6px rgba(232, 155, 44, .18); }

.dw-title { font-family: var(--disp); font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.dw-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.dw-steps li { display: flex; align-items: center; gap: 11px; color: rgba(167, 155, 192, .55); font-size: 15.5px; transition: color .3s; }
.dw-steps li::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; box-sizing: border-box;
  border: 2px solid rgba(231, 223, 243, .18);
}
.dw-steps li.run { color: var(--pale); }
.dw-steps li.run::before { border-color: var(--marigold) transparent var(--marigold) var(--marigold); animation: spin .7s linear infinite; }
.dw-steps li.ok { color: var(--pale60); }
.dw-steps li.ok::before { content: "✓"; display: grid; place-items: center; border: 0; background: var(--ganga); color: #E6FFFB; font-size: 10px; font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }
.dw-bar { height: 4px; border-radius: 4px; background: rgba(231, 223, 243, .08); overflow: hidden; }
.dw-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--marigold), #F7C26B); transform-origin: left; transform: scaleX(0); }

.dv-list { padding-top: 10px; padding-bottom: 10px; display: flex; flex-direction: column; }
.dl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dl li {
  display: grid; grid-template-columns: 22px 44px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  height: 35px; padding: 0 8px; border-radius: 9px;
  opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .35s, background .3s;
}
.dl li.in { opacity: 1; transform: none; }
.dl li.now { background: rgba(232, 155, 44, .12); }
.dl-k { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(232, 155, 44, .2); color: var(--marigold); }
.is-meal .dl-k { background: rgba(159, 216, 210, .18); color: #9FD8D2; }
.is-anchor .dl-k { background: rgba(240, 138, 110, .2); color: #F08A6E; }
.dl-t { font-variant-numeric: tabular-nums; color: var(--pale60); font-weight: 600; font-size: 13px; }
.dl-n { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-o { font-size: 12px; color: #8FCBC5; white-space: nowrap; }
.is-meal .dl-o { color: var(--pale60); }
.is-anchor .dl-o { color: #F08A6E; }
.dl-foot {
  display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding: 9px 8px 0;
  border-top: 1px solid var(--dm-line); font-size: 12.5px; color: var(--pale60);
  opacity: 0; transition: opacity .5s;
}
.demo.done .dl-foot { opacity: 1; }
.dl-ok { color: #9FD8D2; font-weight: 700; }
.dl-ok::before { content: "✓ "; }

@media (max-width: 520px) {
  .dl-o { display: none; }
  .dl li { grid-template-columns: 22px 42px minmax(0, 1fr); }
  .dm-panel { height: 322px; }
  .dl-foot { flex-direction: column; gap: 2px; }
}

/* people: one traveler at a time, picked from tabs (all three stack if JS is off) */
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ptabs button {
  font: 600 15px var(--body); color: var(--ink60); background: var(--card); cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 18px; transition: background .15s, color .15s, border-color .15s;
}
.ptabs button:hover { border-color: var(--marigold); color: var(--ink); }
.ptabs button[aria-selected=true] { background: var(--night); border-color: var(--night); color: var(--marigold); }
.people { display: grid; gap: 18px; }
.person {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; align-items: stretch;
  box-shadow: 0 1px 2px rgba(42, 33, 24, .04), 0 12px 32px rgba(42, 33, 24, .05);
}
.tabbed .person[hidden] { display: none !important; }
.tabbed .person { animation: pIn .3s ease-out; }
@keyframes pIn { from { opacity: 0; transform: translateY(6px); } }
.who { display: flex; flex-direction: column; gap: 10px; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.b-marigold { background: var(--marigold-lo); color: #8A5A0F; }
.b-ganga { background: var(--ganga-lo); color: var(--ganga); }
.b-sindoor { background: var(--sindoor-lo); color: var(--sindoor); }
.sit { color: var(--ink60); margin: 0; font-size: 16px; }
.need, .gain { border-radius: 12px; padding: 16px 18px; }
.need { background: var(--paper2); }
.gain { background: var(--ganga-lo); }
.need b, .gain b { font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink60); }
.gain b { color: var(--ganga); }
.need p, .gain p { margin: 4px 0 0; font-size: 15.5px; }

/* how it works */
.howsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.howsteps li { position: relative; padding-top: 58px; }
.howsteps li::before {
  content: ""; position: absolute; top: 20px; left: 44px; right: -18px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--brass) 0 6px, transparent 6px 12px); opacity: .55;
}
.howsteps li:last-child::before { display: none; }
.howsteps .n {
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--night); color: var(--marigold);
  font-family: var(--disp); font-weight: 700; font-size: 18px;
}
.howsteps h4 { margin-bottom: 6px; }
.howsteps p { color: var(--ink60); font-size: 15px; margin: 0; }
.howcta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.howcta .tiny { max-width: 52ch; margin: 0; }

/* engine rules */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(231, 223, 243, .1); border: 1px solid rgba(231, 223, 243, .1); border-radius: 20px; overflow: hidden; }
.rule { background: var(--night); padding: 22px 24px; display: flex; gap: 16px; align-items: baseline; }
.rule:hover { background: var(--night2); }
.rn { display: block; font-family: var(--disp); color: var(--marigold); font-size: 15px; font-weight: 600; flex: 0 0 auto; }
.rule h4 { color: var(--pale); margin-bottom: 4px; }
.rule p { color: var(--pale60); font-size: 15px; margin: 0; }

/* cities */
.citygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.citycard {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.citycard:hover { transform: translateY(-3px); border-color: var(--marigold); box-shadow: 0 16px 40px rgba(42, 33, 24, .1); }
.cc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.country { color: var(--ink60); font-size: 14px; }
.citycard p { color: var(--ink60); font-size: 15.5px; margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--marigold-lo); color: #8A5A0F; }
.tag.soft { background: var(--paper2); color: var(--ink60); font-weight: 500; }
.go { margin-top: auto; padding-top: 6px; font-weight: 700; color: #A8661A; }
.skeleton { min-height: 200px; background: linear-gradient(90deg, var(--paper2), var(--card), var(--paper2)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* footer */
.foot { background: var(--night); border-top: 1px solid rgba(231, 223, 243, .08); padding: 28px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot .tiny { color: var(--pale60); }
.mark.small { font-size: 18px; }

@media (max-width: 1000px) {
  .howsteps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .howsteps li::before { display: none; }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .person { grid-template-columns: 1fr 1fr; }
  .who { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .navlinks { display: none; }
  .navin { justify-content: space-between; }
  .sechead { grid-template-columns: 1fr; }
  .heroline { grid-template-columns: 1fr; gap: 18px; }
  .howsteps, .rules, .person { grid-template-columns: 1fr; }
  .ptabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .ptabs button { flex: 0 0 auto; }
  .person, .citycard, .rule { padding: 22px; }
  .lampglow { width: 560px; height: 560px; right: -240px; top: -200px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .citycard { transition: none; }
  .skeleton { animation: none; }
  .demo, .mp-halo, .mp-walker-glow, .df-caret, .dm-status i { animation: none !important; }
}
@media print { .nav { display: none; } }

/* MusafirQuest logo mark */
.mark-glyph svg { width: 20px; height: 20px; display: block; }
