/* Layout: mobile-first marketplace. Sticky top bar + bottom tab bar on phones; 1180px column with top nav on desktop.
   Colour: PIMANA Cobalt Blue v1.0 — 70% white/off-white · 20% ink · 10% cobalt. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F4F6FB;
  --ink: #151A2D;
  --text: #454B63;
  --muted: #6E758B;
  --line: #ECEFF5;
  --line-strong: #D9DFEA;
  --cobalt: #3155C9;
  --cobalt-hover: #2848B0;
  --link: #2848B0;
  --tint: #EEF2FF;
  --tint-2: #DDE5FF;
  --tint-3: #C1CFFF;
  --on-cobalt: #FFFFFF;
  --accent-text: #3155C9;
  --deep: #151A2D;
  --on-deep: #FFFFFF;
  --on-deep-muted: #AEB6CF;
  --success: #198754;
  --success-tint: #E4F3EB;
  --warning: #F4B740;
  --warning-tint: #FFF4D9;
  --warning-ink: #7A5100;
  --error: #D64545;
  --error-tint: #FBEAEA;
  --logo-word: #151A2D;
  --logo-arrow: #3155C9;
  --shadow-1: 0 1px 2px rgba(21, 26, 45, .06), 0 4px 14px rgba(21, 26, 45, .05);
  --shadow-2: 0 2px 4px rgba(21, 26, 45, .06), 0 16px 40px rgba(21, 26, 45, .10);
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --tabbar-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 6px; }
.i { width: 18px; height: 18px; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }

/* ---------- prototype notice ---------- */
.proto { background: var(--deep); color: var(--on-deep-muted); font-size: .8rem; text-align: center; padding-block: 6px; }
.proto strong { color: var(--on-deep); font-weight: 600; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand svg { height: 30px; width: auto; display: block; }
.logo-word { fill: var(--logo-word); }
.logo-arrow { fill: var(--logo-arrow); }
.desk-nav { display: none; gap: 4px; margin-left: 12px; }
.desk-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.desk-nav a:hover { background: var(--surface-2); }
.desk-nav a[aria-current="page"] { color: var(--accent-text); background: var(--tint); }
.topbar .spacer { flex: 1; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang button { border: 0; background: transparent; padding: 5px 11px; border-radius: 999px; font-weight: 700; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.admin-link { display: none; }
.is-owner .admin-link { display: inline-flex; }
@media (min-width: 900px) { .desk-nav { display: flex; } }

/* ---------- bottom tab bar (phones) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabbar nav { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 560px; margin: 0 auto; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: var(--tabbar-h); text-decoration: none; color: var(--muted); font-size: .72rem; font-weight: 600; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--accent-text); }
.tabbar a[aria-current="page"] .ti { background: var(--tint); }
.tabbar .ti { display: grid; place-items: center; width: 52px; height: 30px; border-radius: 999px; }
main { padding-bottom: calc(var(--tabbar-h) + 24px); }
@media (min-width: 900px) { .tabbar { display: none; } main { padding-bottom: 48px; } }

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; background: var(--cobalt); color: var(--on-cobalt); font-weight: 700; font-size: 1rem; text-decoration: none; transition: background .15s, transform .1s; }
.btn:hover { background: var(--cobalt-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--link); padding-inline: 10px; }
.btn-ghost:hover { background: var(--tint); }
.btn-danger { background: var(--surface); color: var(--error); border-color: color-mix(in srgb, var(--error) 40%, transparent); }
.btn-danger:hover { background: var(--error-tint); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-on-deep { background: var(--on-deep); color: #151A2D; }
.btn-on-deep:hover { background: #E7ECFA; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.chip svg { width: 16px; height: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.badge svg { width: 14px; height: 14px; flex: 0 0 auto; }
.badge-cto { background: var(--tint); color: var(--accent-text); }
.badge-vto { background: var(--success-tint); color: var(--success); }
.badge-soft { background: var(--surface-2); color: var(--muted); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tag-sample { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--line-strong); }
.tag-new { background: var(--cobalt); color: var(--on-cobalt); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-info { background: var(--tint); color: var(--accent-text); }
.pill-ok { background: var(--success-tint); color: var(--success); }
.pill-warn { background: var(--warning-tint); color: var(--warning-ink); }
.pill-err { background: var(--error-tint); color: var(--error); }
.pill-mute { background: var(--surface-2); color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- sections ---------- */
.section { padding-block: 40px; }
.section-tight { padding-block: 24px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head p { margin-top: 6px; color: var(--muted); max-width: 60ch; }
@media (min-width: 900px) { .section { padding-block: 64px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 36px; }
.hero .wrap > * { min-width: 0; }
.hero h1 .accent { color: var(--accent-text); }
.hero .lede { font-size: 1.08rem; color: var(--text); max-width: 46ch; margin-top: 14px; }
.hero .tagline { margin-top: 10px; font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: .95rem; letter-spacing: -0.01em; }
.flightpath { position: absolute; inset: 0; pointer-events: none; }
.flightpath path { fill: none; stroke: var(--tint-3); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.flightpath .plane { fill: var(--cobalt); }
@media (prefers-reduced-motion: no-preference) { .flightpath path { animation: dash 30s linear infinite; } }
@keyframes dash { to { stroke-dashoffset: -240; } }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; padding-block: 56px 64px; } }

.search-card { margin-top: 22px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 10px; display: grid; gap: 8px; }
.search-card .sf { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.search-card .sf svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.search-card .sf label { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.search-card .sf input, .search-card .sf select { border: 0; background: transparent; width: 100%; padding: 0; font-weight: 600; color: var(--ink); outline: none; min-width: 0; }
.search-card .sf > div { flex: 1; min-width: 0; }
@media (min-width: 640px) { .search-card { grid-template-columns: 1.4fr 1fr auto; align-items: stretch; } .search-card .btn { min-height: 100%; } }

.hero-art { position: relative; min-height: 300px; display: none; }
.hero-art .pc { position: absolute; width: 58%; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2); background: var(--surface); border: 6px solid var(--surface); }
.hero-art .pc .art { display: block; width: 100%; aspect-ratio: 16/11; height: auto; border-radius: 12px; }
.hero-art .pc figcaption { padding: 8px 6px 4px; font-weight: 700; font-family: var(--font-display); color: var(--ink); font-size: .92rem; display: flex; justify-content: space-between; gap: 8px; }
.hero-art .pc figcaption span { color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.hero-art .pc1 { left: 0; top: 0; width: 52%; transform: rotate(-4deg); z-index: 1; }
.hero-art .pc2 { right: 0; top: 34px; width: 52%; transform: rotate(3deg); }
.hero-art .pc3 { left: 18%; bottom: 0; width: 60%; transform: rotate(-1deg); z-index: 2; }
.escrow-chip { position: absolute; z-index: 3; right: 2%; bottom: 22%; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-2); font-size: .85rem; }
.escrow-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--success-tint); color: var(--success); }
.escrow-chip strong { display: block; color: var(--ink); font-size: .95rem; }
@media (min-width: 900px) { .hero-art { display: block; min-height: 440px; } }

/* app category row (from the official app mockup) */
.appcats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 18px; }
.appcat { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 700; text-align: center; min-width: 0; line-height: 1.2; }
.appcat:hover { background: var(--surface-2); }
.appcat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.appcat .ic svg { width: 22px; height: 22px; }
.appcat[aria-current="true"] { color: var(--accent-text); }
.appcat[aria-current="true"] .ic { background: var(--cobalt); color: var(--on-cobalt); }
.appcat .soon { font-size: .6rem; font-weight: 600; color: var(--muted); opacity: .85; }
@media (max-width: 380px) { .appcat .soon { display: none; } }

/* ---------- trust strip ---------- */
.trust { display: grid; gap: 12px; grid-template-columns: 1fr; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.trust-item .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 1rem; }
.trust-item p { font-size: .92rem; color: var(--muted); margin-top: 2px; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(3, 1fr); } }

/* ---------- trip cards ---------- */
.grid-trips { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 900px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.trip { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .15s; min-width: 0; }
.trip:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.trip .media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.trip .media .art { width: 100%; height: 100%; display: block; }
.trip .media .over { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: flex-start; }
.trip .media .over .badge { background: rgba(255, 255, 255, .94); color: #151A2D; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.trip .media .seats { background: #FFF4D9; color: #7A5100; }
.trip .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.trip .loc { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.trip .loc svg { width: 14px; height: 14px; }
.trip h3 { font-size: 1.08rem; }
.trip .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .86rem; color: var(--muted); }
.trip .meta span { display: inline-flex; align-items: center; gap: 5px; }
.trip .meta svg { width: 14px; height: 14px; }
.trip .foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.25rem; letter-spacing: -0.02em; }
.price small { font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--muted); letter-spacing: 0; }
.from { font-size: .74rem; color: var(--muted); font-weight: 600; display: block; }

/* ---------- supply explainer ---------- */
.supply { display: grid; gap: 16px; }
.supply-card { border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.supply-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.supply-card li { display: flex; gap: 10px; font-size: .95rem; }
.supply-card li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.supply-card.cto li svg { color: var(--accent-text); }
.supply-card.vto li svg { color: var(--success); }
@media (min-width: 720px) { .supply { grid-template-columns: 1fr 1fr; } }

/* ---------- category tiles ---------- */
.cats { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.cat-tile { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; text-decoration: none; border: 1px solid var(--line); background: var(--surface-2); }
.cat-tile .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.cat-tile span { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(255, 255, 255, .95); color: #151A2D; font-family: var(--font-display); font-weight: 700; padding: 8px 12px; border-radius: 10px; font-size: .92rem; display: flex; justify-content: space-between; gap: 6px; }
.cat-tile span em { font-style: normal; color: #646B82; font-family: var(--font-body); font-weight: 600; }
@media (min-width: 720px) { .cats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- scam contrast ---------- */
.versus { display: grid; gap: 14px; }
.versus > div { border-radius: var(--r-lg); padding: 22px; }
.versus .bad { background: var(--surface); border: 1px solid var(--line); }
.versus .good { background: var(--tint); border: 1px solid var(--tint-2); }
.versus ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.versus li { display: flex; gap: 10px; }
.versus li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.versus .bad li svg { color: var(--error); }
.versus .good li svg { color: var(--accent-text); }
@media (min-width: 720px) { .versus { grid-template-columns: 1fr 1fr; } }

/* ---------- deep band ---------- */
.band { background: var(--deep); color: var(--on-deep-muted); border-radius: var(--r-lg); padding: 28px 22px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.band h2 { color: var(--on-deep); }
.band .big-arrow { position: absolute; right: -20px; bottom: -30px; width: 180px; opacity: .12; fill: #FFFFFF; }
.band .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 40px; } }

/* soon */
.soon-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.soon-card { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.soon-card .art { display: block; width: 100%; aspect-ratio: 16/9; height: auto; filter: saturate(.9); }
.soon-card div { padding: 12px 14px; }
.soon-card h3 { font-size: 1rem; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .lbl { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); outline: none; }
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { border-color: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 22%, transparent); }
.input[aria-invalid="true"] { border-color: var(--error); }
.err-msg { color: var(--error); font-size: .82rem; font-weight: 600; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span2 { grid-column: 1 / -1; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-text); flex: 0 0 auto; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { border: 0; border-radius: 10px; padding: 10px 8px; background: transparent; font-weight: 700; font-size: .9rem; color: var(--muted); line-height: 1.25; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent-text); background: var(--tint); }
.radio-card input { accent-color: var(--accent-text); width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.radio-card strong { color: var(--ink); display: block; }

/* ---------- explore ---------- */
.explore-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.explore-head .wrap { padding-block: 20px; display: grid; gap: 14px; }
.searchbar { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 52px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); }
.searchbar svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.searchbar input { border: 0; outline: 0; background: transparent; width: 100%; font-weight: 600; color: var(--ink); min-width: 0; }
.searchbar:focus-within { border-color: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 22%, transparent); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.filter-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .filter-row { grid-template-columns: repeat(2, minmax(0, 240px)); } }
.sort-sel { width: auto; min-height: 40px; padding-block: 6px; font-weight: 600; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }
.empty svg { width: 40px; height: 40px; color: var(--muted); }
.empty h3 { margin-top: 10px; }
.empty p { color: var(--muted); margin-top: 6px; }

/* ---------- trip detail ---------- */
.crumb { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--muted); font-size: .9rem; padding-block: 14px; }
.crumb svg { width: 16px; height: 16px; }
.detail { display: grid; gap: 24px; align-items: start; }
.detail-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--line); }
.detail-media .art { width: 100%; height: 100%; display: block; }
.detail h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); margin-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.fact { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.fact .k { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.fact .v { font-weight: 700; color: var(--ink); margin-top: 2px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.block { margin-top: 28px; }
.block h2 { font-size: 1.25rem; margin-bottom: 12px; }
.itin { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.itin li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.itin li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.itin li:last-child::before { display: none; }
.itin .d { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); font-weight: 800; font-family: var(--font-display); font-size: .9rem; }
.incl { display: grid; gap: 16px; }
.incl ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.incl li { display: flex; gap: 10px; font-size: .95rem; }
.incl li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.incl .yes svg { color: var(--success); }
.incl .no svg { color: var(--muted); }
@media (min-width: 640px) { .incl { grid-template-columns: 1fr 1fr; } }
.org-card { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.org-top { display: flex; gap: 12px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; flex: 0 0 auto; }
.avatar.cto { background: var(--tint); color: var(--accent-text); }
.avatar.vto { background: var(--success-tint); color: var(--success); }
.kv { display: grid; gap: 8px; margin: 0; }
.kv > div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 10px; font-size: .9rem; padding-top: 8px; border-top: 1px solid var(--line); }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; }
.tiers { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .8rem; font-weight: 700; }
.tiers span { padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tiers span.on { background: var(--cobalt); color: var(--on-cobalt); }
.tiers i { color: var(--line-strong); font-style: normal; }

.book-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-2); display: grid; gap: 14px; }
.date-opts { display: grid; gap: 8px; }
.date-opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); text-align: left; width: 100%; }
.date-opt[aria-pressed="true"] { border-color: var(--accent-text); background: var(--tint); box-shadow: inset 0 0 0 1px var(--cobalt); }
.date-opt .when { font-weight: 700; color: var(--ink); }
.date-opt .left { font-size: .8rem; font-weight: 700; }
.date-opt .left.low { color: var(--warning-ink); }
.date-opt .left.ok { color: var(--muted); }
.date-opt[disabled] { opacity: .55; cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: var(--surface); display: grid; place-items: center; color: var(--ink); }
.stepper button:hover { background: var(--surface-2); }
.stepper button svg { width: 18px; height: 18px; }
.stepper output { min-width: 44px; text-align: center; font-weight: 800; color: var(--ink); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.protect { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; font-size: .86rem; }
.protect svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.protect.cto { background: var(--tint); color: var(--ink); }
.protect.cto svg { color: var(--accent-text); }
.protect.vto { background: var(--success-tint); color: var(--ink); }
.protect.vto svg { color: var(--success); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); z-index: 44; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(21, 26, 45, .08); }
@media (min-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr) 360px; }
  .detail aside { position: sticky; top: 84px; }
  .sticky-cta { display: none; }
}
.reviews { display: grid; gap: 12px; }
.review { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.stars { color: var(--warning); letter-spacing: 2px; font-size: 1rem; }

/* ---------- checkout ---------- */
.steps { display: flex; gap: 6px; margin: 10px 0 20px; }
.steps span { flex: 1; height: 5px; border-radius: 999px; background: var(--line); }
.steps span.on { background: var(--cobalt); }
.checkout { display: grid; gap: 20px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.summary { display: grid; gap: 12px; }
.summary .mini { display: flex; gap: 12px; align-items: center; }
.summary .mini .thumb { width: 84px; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.summary .mini .thumb .art { width: 100%; height: 100%; display: block; }
.lines { display: grid; gap: 8px; font-size: .94rem; }
.lines div { display: flex; justify-content: space-between; gap: 10px; }
.lines .t { font-weight: 800; color: var(--ink); font-size: 1.05rem; padding-top: 8px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr) 360px; } }
.processing { display: grid; place-items: center; gap: 14px; text-align: center; padding: 40px 10px; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--tint-2); border-top-color: var(--accent-text); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-head { text-align: center; display: grid; justify-items: center; gap: 10px; padding-block: 12px 6px; }
.success-head .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--success-tint); color: var(--success); }
.success-head .ok svg { width: 34px; height: 34px; }
.ref { font-family: var(--font-display); font-weight: 800; letter-spacing: .06em; color: var(--ink); background: var(--surface-2); padding: 6px 12px; border-radius: 10px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; position: relative; padding-bottom: 14px; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); border: 2px solid var(--line-strong); }
.timeline .dot svg { width: 14px; height: 14px; }
.timeline li.done .dot { background: var(--success); color: #FFFFFF; border-color: var(--success); }
.timeline li.now .dot { background: var(--cobalt); color: #FFFFFF; border-color: var(--accent-text); }
.timeline li.stop .dot { background: var(--error); color: #FFFFFF; border-color: var(--error); }
.timeline strong { color: var(--ink); display: block; font-size: .95rem; }
.timeline span { font-size: .85rem; color: var(--muted); }

/* ---------- bookings ---------- */
.bk-list { display: grid; gap: 16px; }
.bk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.bk-head { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; align-items: center; }
.bk-head .thumb { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; }
.bk-head .thumb .art { width: 100%; height: 100%; display: block; }
.bk-body { padding: 0 14px 14px; display: grid; gap: 14px; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--warning-tint); color: var(--ink); font-size: .88rem; }
.notice svg { width: 18px; height: 18px; color: var(--warning-ink); flex: 0 0 auto; margin-top: 2px; }
.notice.info { background: var(--tint); }
.notice.info svg { color: var(--accent-text); }

/* ---------- organizer ---------- */
.org-hero { background: var(--deep); color: var(--on-deep-muted); position: relative; overflow: hidden; }
.org-hero .wrap { padding-block: 36px 40px; display: grid; gap: 18px; position: relative; }
.org-hero h1 { color: var(--on-deep); font-size: clamp(1.9rem, 5.6vw, 3rem); }
.org-hero .lede { color: var(--on-deep-muted); max-width: 52ch; font-size: 1.05rem; }
.org-hero .big-arrow { position: absolute; right: -40px; top: -20px; width: 300px; fill: #FFFFFF; opacity: .07; }
.org-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-outline-deep { background: transparent; color: var(--on-deep); border-color: rgba(255, 255, 255, .35); }
.btn-outline-deep:hover { background: rgba(255, 255, 255, .08); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .92rem; }
.compare th, .compare td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface-2); font-family: var(--font-display); color: var(--ink); }
.compare tbody th { color: var(--muted); font-weight: 600; width: 26%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.calc { display: grid; gap: 20px; }
.calc-out { display: grid; gap: 10px; }
.calc-out .row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; padding-block: 6px; border-bottom: 1px dashed var(--line); }
.calc-out .row.big { border: 0; font-size: 1.1rem; font-weight: 800; color: var(--ink); padding-top: 12px; }
.calc-out .row.big .v { color: var(--accent-text); font-family: var(--font-display); font-size: 1.5rem; }
.bar { height: 14px; border-radius: 999px; overflow: hidden; display: flex; background: var(--surface-2); }
.bar span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; } }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; counter-increment: s; }
.steps-list li::before { content: counter(s); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); font-family: var(--font-display); font-weight: 800; }
.steps-list strong { color: var(--ink); display: block; }
.steps-list span { font-size: .9rem; color: var(--muted); }
.two-col { display: grid; gap: 20px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.status-card { display: grid; gap: 14px; }
.sig { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.8rem; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding: 4px 2px; min-height: 48px; }
.list-rows { display: grid; gap: 10px; }
.list-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); flex-wrap: wrap; }
.list-row .l { min-width: 0; flex: 1 1 220px; }
.list-row .l strong { color: var(--ink); display: block; overflow-wrap: anywhere; }
.list-row .l span { font-size: .85rem; color: var(--muted); }

/* ---------- about ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.stat .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--ink); letter-spacing: -0.03em; }
.stat .k { font-size: .88rem; color: var(--muted); margin-top: 2px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.problems { display: grid; gap: 14px; }
.problem { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.problem .n { font-family: var(--font-display); font-weight: 800; color: var(--accent-text); font-size: .9rem; }
.problem h3 { margin-top: 6px; }
.problem p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
@media (min-width: 900px) { .problems { grid-template-columns: repeat(3, 1fr); } }
.channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.channel { padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.channel .v { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.channel .k { font-size: .82rem; color: var(--muted); }
.team { display: grid; gap: 14px; }
.person { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.person .avatar { background: var(--ink); color: var(--surface); }
.person p { color: var(--muted); font-size: .93rem; margin-top: 6px; }
@media (min-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.roadmap li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.roadmap .m { font-family: var(--font-display); font-weight: 800; color: var(--accent-text); font-size: .9rem; }
.roadmap strong { color: var(--ink); }
.roadmap span { color: var(--muted); font-size: .9rem; display: block; }

/* ---------- waitlist + footer ---------- */
.waitlist { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--tint-2); }
.waitlist form { display: grid; gap: 10px; }
@media (min-width: 720px) { .waitlist { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 32px; } .waitlist form { grid-template-columns: 1fr auto; } .waitlist .seg { grid-column: 1 / -1; } }
footer.site { border-top: 1px solid var(--line); background: var(--surface); margin-top: 24px; }
footer.site .wrap { padding-block: 28px; display: grid; gap: 18px; font-size: .9rem; color: var(--muted); }
footer.site .cols { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
footer.site h4 { font-size: .85rem; margin-bottom: 8px; color: var(--ink); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
.copy-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy-row code { font-family: var(--font-body); font-weight: 700; color: var(--ink); user-select: all; }
@media (min-width: 900px) { footer.site .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- sheet + toast ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 80; background: rgba(13, 17, 32, .5); display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.sheet { width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px)); box-shadow: var(--shadow-2); display: grid; gap: 14px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink); flex: 0 0 auto; }
.icon-btn svg { width: 18px; height: 18px; }
@media (min-width: 640px) { .sheet-bg { align-items: center; padding: 16px; } .sheet { border-radius: 22px; } }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 90; background: var(--ink); color: var(--surface); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-2); max-width: min(92vw, 460px); text-align: center; }
@media (min-width: 900px) { .toast { bottom: 24px; } }
.rating-input { display: flex; gap: 4px; }
.rating-input button { border: 0; background: transparent; font-size: 1.8rem; line-height: 1; color: var(--line-strong); padding: 2px; }
.rating-input button.on { color: var(--warning); }
.admin-tabs { margin-bottom: 16px; }

/* ===================== Reference UI (white-base concept) ===================== */
/* header: logo + tagline left, bell right */
.brand { flex-direction: column; align-items: flex-start; gap: 3px; }
.brand-logo svg { height: 27px; width: auto; display: block; }
.brand-tag { font-family: var(--font-display); font-size: .54rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; white-space: nowrap; }
.topbar .wrap { min-height: 64px; gap: 10px; }
.icon-btn.round { border-radius: 50%; position: relative; text-decoration: none; }
.icon-btn.round svg { width: 20px; height: 20px; }
.bell .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 2px var(--surface); }
.desk-only { display: none !important; }
@media (min-width: 900px) { .desk-only { display: inline-flex !important; } .lang.desk-only { display: inline-flex !important; } }
.tabbar nav { grid-template-columns: repeat(5, 1fr); }
.tabbar a { font-size: .7rem; color: var(--muted); }
.tabbar a[aria-current="page"] .ti { background: var(--tint); color: var(--accent-text); }
.page-title { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }

/* splash */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--surface); display: grid; place-items: center; overflow: hidden; transition: opacity .4s ease, visibility .4s; }
.splash.out { opacity: 0; visibility: hidden; }
.splash-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 48%; }
.splash-waves .w1 { fill: var(--tint); opacity: .9; }
.splash-waves .w2 { fill: var(--tint-2); opacity: .55; }
.splash-waves .w3 { fill: var(--tint-3); opacity: .28; }
.splash-logo { position: relative; transform: translateY(-4vh); }
.splash-logo svg { height: clamp(46px, 9vw, 64px); width: auto; display: block; }
.splash-tag { position: absolute; left: 0; right: 0; bottom: calc(13vh + env(safe-area-inset-bottom, 0px)); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .34em; padding-left: .34em; line-height: 2; color: var(--ink); }
.splash-tag::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--cobalt); margin: 12px auto 0; }
@media (prefers-reduced-motion: no-preference) { .splash-logo { animation: rise .7s ease both; } .splash-tag { animation: rise .7s .15s ease both; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* home top: pill search, category chips, featured carousel */
.home-top { background: var(--surface); padding-bottom: 8px; }
.home-top .wrap { display: grid; gap: 18px; padding-block: 14px 18px; }
.search-pill { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.search-pill svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.search-pill input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-weight: 600; color: var(--ink); }
.search-pill input::placeholder { color: var(--muted); font-weight: 500; }
.search-pill:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 20%, transparent); }
@media (min-width: 900px) { .home-top .search-pill { max-width: 680px; } }
.appcats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 0; }
.appcat { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 4px 2px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); font-size: .76rem; font-weight: 600; text-align: center; min-width: 0; line-height: 1.2; }
.appcat:hover { background: transparent; }
.appcat .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); transition: transform .15s; }
.appcat:hover .ic { transform: translateY(-1px); }
.appcat .ic svg { width: 24px; height: 24px; }
.appcat[aria-current="true"] { color: var(--ink); }
.appcat[aria-current="true"] .ic { background: var(--tint-2); color: var(--accent-text); }
@media (min-width: 900px) { .home-top .appcats { max-width: 520px; } }

.feat { position: relative; border-radius: 24px; overflow: hidden; }
.feat-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.feat-track::-webkit-scrollbar { display: none; }
.feat-card { flex: 0 0 100%; scroll-snap-align: start; position: relative; aspect-ratio: 4 / 5; max-height: 520px; overflow: hidden; background: var(--surface-2); }
.feat-card .art { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (min-width: 560px) { .feat-card { aspect-ratio: 16 / 10; } }
@media (min-width: 900px) { .feat-card { aspect-ratio: 21 / 8; } }
.scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10, 14, 28, .82) 0%, rgba(10, 14, 28, .45) 32%, rgba(10, 14, 28, 0) 62%), linear-gradient(to bottom, rgba(10, 14, 28, .22), rgba(10, 14, 28, 0) 22%); }
.feat-body { position: absolute; left: 20px; bottom: 20px; right: 110px; display: grid; gap: 4px; color: #FFFFFF; }
.feat-body h2 { color: #FFFFFF; font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; }
.feat-body p { color: rgba(255, 255, 255, .88); font-size: .98rem; }
.eyebrow-w { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.pill-btn { justify-self: start; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: 999px; background: #3155C9; color: #FFFFFF; font-weight: 700; text-decoration: none; font-size: .95rem; }
.pill-btn:hover { background: #2848B0; }
.pill-btn svg { width: 16px; height: 16px; }
.feat-meta { position: absolute; right: 18px; bottom: 26px; display: flex; align-items: center; gap: 10px; color: #FFFFFF; font-weight: 700; font-size: .82rem; }
.dots { display: flex; gap: 6px; align-items: center; }
.dots button { width: 7px; height: 7px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); transition: width .2s, background .2s; cursor: pointer; }
.dots button[aria-current="true"] { width: 20px; background: #FFFFFF; }

.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.row-head h2 { font-size: 1.25rem; }
.see-all { color: var(--accent-text); font-weight: 700; text-decoration: none; font-size: .92rem; }
.see-all:hover { text-decoration: underline; }
.dest-row { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; padding-bottom: 6px; scrollbar-width: none; }
.dest-row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .dest-row { grid-auto-columns: calc((100% - 60px) / 6); margin-inline: 0; padding-inline: 0; } }
.dest-card { display: grid; gap: 8px; text-decoration: none; color: inherit; scroll-snap-align: start; min-width: 0; }
.dest-card .ph { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.dest-card .ph .art { width: 100%; height: 100%; display: block; transition: transform .3s; }
.dest-card:hover .ph .art { transform: scale(1.04); }
.dest-card strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.dest-card span { font-size: .82rem; color: var(--muted); }
.dest-grid { display: grid; gap: 16px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .dest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .dest-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* detail hero (reference screen 3) */
.dhero-wrap { position: relative; }
@media (min-width: 900px) { .dhero-wrap { max-width: 1180px; margin: 20px auto 0; padding-inline: 24px; } }
.dhero { position: relative; overflow: hidden; height: min(60vh, 460px); min-height: 320px; background: var(--surface-2); }
@media (min-width: 900px) { .dhero { border-radius: 28px; height: 460px; } }
.dhero-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.dhero-track::-webkit-scrollbar { display: none; }
.dhero-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.dhero-slide .art { width: 100%; height: 100%; display: block; }
.dhero-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; }
.cbtns { display: flex; gap: 10px; }
.cbtn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #FFFFFF; color: #151A2D; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(10, 14, 28, .18); }
.cbtn svg { width: 20px; height: 20px; }
.cbtn.on { color: #3155C9; }
.cbtn.on svg { fill: currentColor; }
.dhero-text { position: absolute; left: 20px; right: 20px; bottom: 44px; display: grid; gap: 4px; pointer-events: none; }
.dhero-text h1 { color: #FFFFFF; font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; }
.dhero-text p { color: rgba(255, 255, 255, .9); font-size: 1rem; font-weight: 500; }
.dhero-dots { position: absolute; left: 20px; bottom: 22px; }
@media (min-width: 900px) { .dhero-text { left: 32px; bottom: 52px; } .dhero-dots { left: 32px; bottom: 28px; } }
.dcard-wrap { position: relative; }
.dcard { position: relative; z-index: 1; margin-top: -24px; background: var(--surface); border-radius: 24px 24px 0 0; padding: 22px 16px 24px; border-bottom: 1px solid var(--line); }
.dcard .block h2 { font-size: 1.2rem; margin-bottom: 8px; }
@media (min-width: 640px) { .dcard { padding-inline: 24px; } }
@media (min-width: 900px) { .dcard { max-width: 1132px; margin: 20px auto 0; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 28px 32px; } }

/* profile + notifications */
.profile-card { display: flex; gap: 14px; align-items: center; }
.profile-card .avatar svg { width: 26px; height: 26px; }
.menu { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.menu-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.menu-row:last-child { border-bottom: 0; }
.menu-row:hover { background: var(--surface-2); }
.menu-row .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); flex: 0 0 auto; }
.menu-row .l { flex: 1; min-width: 0; }
.menu-row strong { display: block; color: var(--ink); }
.menu-row .l span { font-size: .85rem; color: var(--muted); }
.menu-row .chev { color: var(--muted); }
.notif-list { display: grid; gap: 4px; }
.notif { display: flex; gap: 12px; padding: 12px; border-radius: 14px; text-decoration: none; color: inherit; }
.notif:hover { background: var(--surface-2); }
.notif.new { background: var(--tint); }
.notif .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--accent-text); flex: 0 0 auto; }
.notif .l { display: grid; gap: 2px; min-width: 0; }
.notif strong { color: var(--ink); font-size: .95rem; }
.notif .l span { font-size: .88rem; color: var(--text); }
.notif em { font-style: normal; font-size: .78rem; color: var(--muted); }
.share-box { width: 100%; }
.dcard .appcats { max-width: 560px; }

/* ===================== v3: match official mockup (white base) ===================== */
:root { --shadow-1: 0 1px 2px rgba(21, 26, 45, .04), 0 6px 18px rgba(21, 26, 45, .06); --shadow-2: 0 4px 10px rgba(21, 26, 45, .05), 0 18px 40px rgba(21, 26, 45, .10); --chip: #F3F5FA; --tagline: #7D8397; }
body { background: #FFFFFF; }
.proto { background: #FFFFFF; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .74rem; padding-block: 5px; }
.proto strong { color: var(--ink); }
.topbar { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.brand-tag { display: none; }
.home-top { background: #FFFFFF; }
.explore-head { background: #FFFFFF; border-bottom: 0; }
.trip, .supply-card, .trust-item, .panel, .org-card, .book-panel, .fact, .problem, .stat, .channel, .person, .roadmap li, .steps-list li, .list-row, .bk, .review, .soon-card, .menu, .table-wrap, .versus .bad { border-color: var(--line); }
.trip { box-shadow: var(--shadow-1); }
.versus .good { background: #F6F8FF; border-color: #E6ECFF; }
.waitlist { background: #F6F8FF; border-color: #E6ECFF; }
footer.site { background: #FFFFFF; }

/* mobile: proto line moves to home header pill + footer */
@media (max-width: 899px) {
  .proto { display: none; }
  .route-home .topbar, .route-dest .topbar, .route-trip .topbar { display: none; }
  .route-dest .tabbar, .route-trip .tabbar { display: none; }
  .route-dest main, .route-trip main { padding-bottom: 96px; }
  .route-trip .sticky-cta { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}

/* home header (mockup): logo + two-line tagline, bell in soft circle */
.home-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 18px; }
.home-head .logo-lg svg { height: 40px; width: auto; display: block; }
.home-head .tagline-2 { margin-top: 8px; font-size: 1.1rem; line-height: 1.35; color: var(--tagline); font-weight: 400; letter-spacing: -0.01em; }
.home-head .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.bell-soft { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--chip); color: var(--ink); display: grid; place-items: center; }
.bell-soft svg { width: 22px; height: 22px; }
.bell-soft .dot { position: absolute; top: 9px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 2px #FFFFFF; }
.proto-pill { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
@media (min-width: 900px) { .home-head { display: none; } }

/* search pill: white with soft shadow */
.search-pill { background: #FFFFFF; border: 1px solid #EEF1F6; box-shadow: 0 6px 20px rgba(21, 26, 45, .07); min-height: 54px; padding: 0 20px; }
.search-pill svg { color: var(--ink); }
.search-pill input::placeholder { color: #8A90A2; font-weight: 400; }
.home-top .wrap { gap: 20px; padding-block: 16px 8px; }

/* category chips: soft grey squares, filled cobalt icons */
.appcats { gap: 8px; }
.appcat { color: var(--text); font-weight: 500; font-size: .8rem; gap: 8px; }
.appcat .ic { width: 58px; height: 58px; border-radius: 16px; background: var(--chip); color: var(--cobalt); box-shadow: 0 1px 0 rgba(21, 26, 45, .03); }
.appcat .ic svg { width: 26px; height: 26px; }
.appcat[aria-current="true"] { color: var(--text); }
.appcat[aria-current="true"] .ic { background: var(--chip); color: var(--cobalt); }
.appcats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* featured card: landscape, rounded, photo + scrim */
.feat { border-radius: 22px; box-shadow: var(--shadow-1); }
.feat-card { aspect-ratio: 16 / 10.4; }
@media (min-width: 900px) { .feat-card { aspect-ratio: 21 / 8; } }
.scrim { background: linear-gradient(90deg, rgba(8, 14, 32, .62) 0%, rgba(8, 14, 32, .25) 48%, rgba(8, 14, 32, 0) 75%), linear-gradient(to top, rgba(8, 14, 32, .45) 0%, rgba(8, 14, 32, 0) 45%); }
.feat-body { left: 20px; bottom: 18px; right: 96px; gap: 2px; }
.feat-body .eyebrow-w { letter-spacing: .32em; font-size: .68rem; font-weight: 600; margin-bottom: 2px; }
.feat-body h2 { font-size: clamp(2rem, 8.6vw, 3.4rem); line-height: 1.05; }
.feat-body p { font-size: .98rem; line-height: 1.35; color: rgba(255, 255, 255, .95); }
.pill-btn { margin-top: 12px; min-height: 42px; padding: 0 20px; font-weight: 600; }
.feat-meta { flex-direction: column; align-items: flex-end; gap: 8px; right: 16px; bottom: 16px; font-weight: 600; font-size: .95rem; }
.feat-meta .dots { order: 2; }
.dots button { width: 6px; height: 6px; background: rgba(255, 255, 255, .6); }
.dots button[aria-current="true"] { width: 8px; height: 8px; background: #3155C9; box-shadow: 0 0 0 2px #FFFFFF; }

/* section header + popular destination tiles (label over photo) */
.row-head h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.see-all { font-weight: 500; font-size: .95rem; color: #3155C9; }
.dest-row { grid-auto-columns: 104px; gap: 10px; }
@media (min-width: 900px) { .dest-row { grid-auto-columns: calc((100% - 50px) / 6); } }
.dest-tile { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; text-decoration: none; scroll-snap-align: start; background: var(--surface-2); }
.dest-tile .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 14, 32, .7) 0%, rgba(8, 14, 32, 0) 50%); }
.dest-tile span { position: absolute; left: 9px; right: 6px; bottom: 9px; z-index: 1; color: #FFFFFF; display: grid; gap: 1px; }
.dest-tile strong { font-weight: 600; font-size: .9rem; line-height: 1.15; }
.dest-tile em { font-style: normal; font-size: .72rem; color: rgba(255, 255, 255, .9); }
.dest-grid .dest-tile { aspect-ratio: 3 / 4; }
.dest-grid .dest-tile strong { font-size: 1.05rem; }

/* tab bar: active = cobalt circle with white icon */
.tabbar { border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(21, 26, 45, .04); }
.tabbar a { gap: 4px; min-height: 70px; font-size: .74rem; font-weight: 500; color: #7D8397; }
.tabbar .ti { width: 36px; height: 36px; border-radius: 50%; }
.tabbar .ti svg { width: 23px; height: 23px; }
.tabbar a[aria-current="page"] { color: #3155C9; font-weight: 600; }
.tabbar a[aria-current="page"] .ti { background: #3155C9; color: #FFFFFF; }
.tabbar a[aria-current="page"] .ti svg { width: 20px; height: 20px; }

/* detail screen (mockup 3) */
@media (max-width: 899px) {
  .dhero { height: max(440px, 66vh); max-height: 640px; }
  .dcard { margin-top: -30px; border-radius: 28px 28px 0 0; padding: 24px 20px 24px; border-bottom: 0; }
}
.cbtn { width: 46px; height: 46px; box-shadow: 0 4px 14px rgba(8, 14, 32, .16); }
.cbtn svg { width: 21px; height: 21px; }
.dhero-top { top: calc(16px + env(safe-area-inset-top, 0px)); left: 18px; right: 18px; }
.dhero-text { left: 22px; right: 22px; bottom: 48px; gap: 2px; pointer-events: none; }
.dhero-text .eyebrow-w { letter-spacing: .32em; font-size: .68rem; font-weight: 600; margin-bottom: 4px; }
.dhero-text h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.02; }
.dhero-text p { font-size: 1.05rem; line-height: 1.35; color: rgba(255, 255, 255, .95); }
.dhero .dots { pointer-events: auto; margin-top: 14px; }
.dhero-dots { display: none; }
.dhero .scrim { background: linear-gradient(to top, rgba(8, 14, 32, .7) 0%, rgba(8, 14, 32, .3) 30%, rgba(8, 14, 32, 0) 55%), linear-gradient(to bottom, rgba(8, 14, 32, .18), rgba(8, 14, 32, 0) 20%); }
.dcard .block h2 { font-size: 1.25rem; font-weight: 700; }
.dcard .block p { color: #6E758B; line-height: 1.55; }
.btn-xl { min-height: 56px; border-radius: 18px; font-size: 1.05rem; font-weight: 600; }

/* splash: white, very soft blue sweeps */
.splash { background: #FFFFFF; }
.splash-waves { height: 58%; }
.splash-waves .w1 { fill: #EEF3FF; opacity: 1; }
.splash-waves .w2 { fill: #E3EBFF; opacity: .7; }
.splash-waves .w3 { fill: #F4F7FF; opacity: 1; }
.splash-logo svg { height: clamp(66px, 19vw, 92px); }
.splash-tag { color: #3B4157; font-weight: 500; font-family: var(--font-body); font-size: .78rem; letter-spacing: .36em; padding-left: .36em; }
.splash-tag::after { width: 44px; height: 2px; background: #3155C9; margin-top: 16px; }

/* ===================== v4: itinerary shop + affiliate ===================== */
.ph-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feat-card .ph-img, .dest-tile .ph-img { position: absolute; inset: 0; }
.ph-soon { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 14px; background: linear-gradient(160deg, #EEF2FF 0%, #DDE5FF 100%); color: #20398F; }
.ph-soon .soon-mark { width: 30px; height: 36px; color: #3155C9; }
.ph-soon strong { font-family: var(--font-display); font-size: 1.15rem; color: #151A2D; }
.ph-soon em { font-style: normal; font-size: .78rem; font-weight: 600; color: #3155C9; }
.ph-soon.sm { position: absolute; inset: 0; }
.dest-tile .ph-soon.sm .soon-mark { width: 22px; height: 26px; }

/* product cards (guidebook covers) */
.icards { display: grid; gap: 18px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .icards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .icards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.icard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.icard .cover { position: relative; aspect-ratio: 376 / 532; border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: 0 2px 6px rgba(21, 26, 45, .08), 0 14px 30px rgba(21, 26, 45, .10); transition: transform .2s; }
.icard:hover .cover { transform: translateY(-3px); }
.cover-tag { position: absolute; left: 8px; top: 8px; background: rgba(255, 255, 255, .95); color: #151A2D; }
.icard .ib { display: grid; gap: 4px; }
.meta-sm { font-size: .78rem; color: var(--muted); font-weight: 600; }
.icard h3 { font-size: 1.02rem; }
.icard .price { font-size: 1.1rem; }
.icard .price small { font-size: .8rem; }
.icard .btn-sm { min-height: 34px; padding: 0 14px; }

/* how it works */
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.how .n { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #3155C9; color: #FFFFFF; font-family: var(--font-display); font-weight: 800; }
.how strong { display: block; color: var(--ink); }
.how li span:not(.n) { font-size: .9rem; color: var(--muted); }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }

/* includes */
.incl-panel { display: grid; gap: 18px; padding: 22px; border-radius: 22px; background: #F6F8FF; border: 1px solid #E6ECFF; }
@media (min-width: 900px) { .incl-panel { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 32px; } }
.incl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.incl-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--ink); }
.incl-list .ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #FFFFFF; color: #3155C9; box-shadow: var(--shadow-1); }
.dcard .incl-list .ic { background: var(--chip); box-shadow: none; }

/* partners */
.partners { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .partners { grid-template-columns: repeat(5, 1fr); } }
.partner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #FFFFFF; text-decoration: none; color: inherit; text-align: left; width: 100%; box-shadow: var(--shadow-1); }
.partner:hover { border-color: #C1CFFF; }
.partner .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--chip); color: #3155C9; }
.partner .ic svg { width: 22px; height: 22px; }
.partner .l { flex: 1; min-width: 0; display: grid; }
.partner strong { color: var(--ink); }
.partner .l span { font-size: .85rem; color: var(--muted); }
.partner .go { color: var(--muted); }
.aff-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.aff-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; }

/* itinerary hero: blurred photo + sharp guidebook cover */
.ihero { position: relative; overflow: hidden; height: 470px; background: linear-gradient(160deg, #EEF2FF, #C1CFFF); display: grid; place-items: center; }
@media (min-width: 900px) { .ihero { border-radius: 28px; height: 500px; } }
.ihero-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(18px) saturate(1.1); transform: scale(1.05); }
.ihero-tint { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8, 14, 32, .25), rgba(8, 14, 32, .45)); }
.ihero-book { position: relative; width: min(56vw, 250px); aspect-ratio: 376 / 532; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, .25), 0 30px 60px rgba(0, 0, 0, .3); margin-top: 22px; }
.ihero-book .ph-soon { border-radius: 10px; }
@media (max-width: 899px) { .route-itin .topbar, .route-itin .tabbar { display: none; } .route-itin main { padding-bottom: 96px; } .route-itin .sticky-cta { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 900px) { .route-itin .sticky-cta { display: none; } }
.itin-title { font-size: clamp(2rem, 8vw, 2.8rem); margin-top: 6px; }
.itin-tag { color: var(--muted); font-size: 1.05rem; margin-top: 4px; }
.price-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.hl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; background: #FFFFFF; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin-top: 8px; color: var(--muted); font-size: .94rem; }

/* checkout */
.cover-thumb { aspect-ratio: 376 / 532 !important; width: 64px !important; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-1); }
.bk-head .cover-thumb { width: 72px !important; }
.bk-head { grid-template-columns: 72px 1fr; }
.chip-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chip-head strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .02em; color: var(--ink); }
.email-preview { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #FFFFFF; box-shadow: var(--shadow-1); }
.em-head { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.em-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #EEF2FF; color: #3155C9; flex: 0 0 auto; }
.em-subj { padding: 12px 16px 0; font-weight: 700; color: var(--ink); }
.em-body { padding: 8px 16px 16px; display: grid; gap: 10px; font-size: .94rem; }
.em-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #3155C9; color: #FFFFFF; font-weight: 600; }
.em-btn svg { width: 16px; height: 16px; }
a.appcat { text-decoration: none; }
.pprice { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pprice s { color: var(--muted); font-size: .85rem; font-weight: 500; }
.pprice .price { color: var(--ink); }
.pprice.big .price { font-size: 1.8rem; }
.pprice.big s { font-size: 1rem; }
.promo-pill { align-self: center; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #FFFFFF; background: #3155C9; border-radius: 999px; padding: 2px 8px; }
.save-note { display: block; font-size: .85rem; font-weight: 600; color: var(--success); margin-top: 2px; }
.icard .pprice .price { font-size: 1.1rem; }
.icard .promo-pill { display: none; }

/* ================= LIVE additions ================= */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
.center-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.status-panel { margin-top: 20px; display: grid; gap: 18px; }
.success-head .ok.bad { background: var(--error-tint); color: var(--error); }
.success-head .ok.warn { background: var(--warning-tint); color: var(--warning-ink); }
.processing .ref { margin-top: 4px; }
.pay-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 22px; }
.pay-row p { display: flex; gap: 8px; align-items: flex-start; max-width: 46ch; margin: 0; }
.pay-row p svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
@media (max-width: 599px) { .pay-row .btn { width: 100%; justify-content: center; } }
.btn[disabled] { opacity: .75; cursor: progress; }
.spin-sm { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .8s linear infinite; display: inline-block; }
.check a { color: var(--accent-text); font-weight: 600; }
.lookup { display: grid; gap: 10px; }
.lookup > div:first-child { display: grid; gap: 2px; }
.lookup strong { color: var(--ink); }
@media (min-width: 720px) { .lookup { grid-template-columns: 1fr minmax(220px, 1fr) auto; align-items: center; } .lookup .field { margin: 0; } }
.legal { max-width: 820px; }
.legal-body { margin-top: 18px; display: grid; gap: 10px; line-height: 1.65; }
.legal-body h2 { font-size: 1.08rem; margin-top: 12px; }
.legal-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-body a { color: var(--accent-text); font-weight: 600; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal-nav a { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.contact-grid { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; gap: 14px; text-decoration: none; color: inherit; }
.contact-card .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); flex: 0 0 auto; }
.contact-card div { display: grid; gap: 2px; }
.contact-card strong { color: var(--ink); }
.btn svg.i { width: 18px; height: 18px; }
/* ---------- account + affiliate ---------- */
.acct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.aff-card { border-radius: var(--r-lg); padding: 20px; background: linear-gradient(135deg, var(--tint), var(--surface)); border: 1px solid var(--line); display: grid; gap: 10px; }
.aff-card h2 { font-size: 1.25rem; }
.aff-card .eyebrow { color: var(--accent-text); }
.linkbox { display: flex; gap: 8px; align-items: center; }
.linkbox .input { flex: 1; min-width: 0; font-size: .9rem; background: var(--surface); }
.aff-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.acct-facts { margin-top: 14px; }
.paybar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.paybar > div { height: 100%; border-radius: 999px; background: var(--accent-text); min-width: 4px; }
.clist { display: grid; gap: 8px; }
.crow { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.crow > div { display: grid; gap: 2px; min-width: 0; }
.crow strong { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow .num { font-weight: 700; color: var(--ink); }
.bank-set { display: flex; gap: 14px; align-items: center; }
.bank-set > div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.bank-set .ic, .acct-link .ic, .aff-mini .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); flex: 0 0 auto; }
.acct-link { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.acct-link > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.acct-link strong { color: var(--ink); }
.aff-mini { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--tint); margin-top: 14px; }
.aff-mini > div { flex: 1; display: grid; gap: 8px; min-width: 0; }
.aff-mini strong { color: var(--ink); }
.aff-promo { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px; border-radius: 14px; background: var(--tint); }
.aff-promo > div { display: grid; gap: 4px; flex: 1 1 260px; }
.aff-promo strong { color: var(--ink); }
.aff-hero { border-radius: var(--r-lg); padding: 22px; background: var(--ink); color: #fff; display: grid; gap: 8px; }
.aff-hero .eyebrow { color: #A9B9F2; }
.aff-hero h2 { color: #fff; font-size: 1.4rem; }
.aff-hero p { color: rgba(255,255,255,.82); margin: 0; }
.aff-hero a { color: #fff; font-weight: 700; }
.rules { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.6; }
.rules a { color: var(--accent-text); font-weight: 600; }
.faq-like summary { cursor: pointer; padding: 12px 0; }
@media (max-width: 599px) { .linkbox { flex-direction: column; align-items: stretch; } .crow { grid-template-columns: 1fr auto; } .crow .pill { grid-column: 1 / -1; justify-self: start; } }
/* custom itinerary */
.cust-hero { background: var(--ink); color: #fff; padding-block: 36px 40px; }
.cust-hero .eyebrow { color: #C1CFFF; }
.cust-hero h1 { color: #fff; margin-top: 8px; font-size: clamp(1.7rem, 4.4vw, 2.5rem); line-height: 1.15; max-width: 22ch; }
.cust-hero p { margin-top: 12px; max-width: 60ch; color: rgba(255, 255, 255, .82); }
.cust-how { margin-top: 20px; }
@media (min-width: 900px) { .cust-how { grid-template-columns: repeat(4, 1fr); } }
.cust-form { margin-top: 20px; }
.pkgs { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .pkgs { grid-template-columns: 1fr 1fr; } }
.pkg { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); cursor: pointer; }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg.on { border-color: var(--accent-text); background: var(--tint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 18%, transparent); }
.pkg:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pkg-top strong { color: var(--ink); font-size: 1.05rem; }
.pkg-top .num { font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.pkg ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: .88rem; }
.pkg li { display: flex; gap: 6px; align-items: flex-start; }
.pkg li svg { width: 16px; height: 16px; color: var(--success); flex: 0 0 auto; margin-top: 3px; }
.cust-checks { display: grid; gap: 10px; margin-top: 14px; }
.cust-form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cust-side { display: grid; gap: 4px; }
@media (min-width: 900px) { .cust-side { position: sticky; top: 84px; } }
.cust-pay { display: grid; gap: 6px; margin: 12px 0 8px; padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: .94rem; }
.cust-pay div { display: flex; justify-content: space-between; gap: 10px; }
.cust-pay strong, .cust-pay strong + .num { color: var(--ink); font-weight: 800; }
.cust-side p.small { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; }
.cust-side p.small svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.cust-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cust-steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 0 0 18px; }
.cust-steps li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 2px; width: 2px; background: var(--line-strong); }
.cust-steps li.done:not(:last-child)::before { background: var(--success); }
.cust-steps .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line-strong); flex: 0 0 auto; }
.cust-steps .dot svg { width: 16px; height: 16px; }
.cust-steps li.done .dot { background: var(--success-tint); color: var(--success); border-color: transparent; }
.cust-steps li.active .dot { background: var(--accent-text); color: #fff; border-color: transparent; }
.cust-steps strong { color: var(--ink); display: block; padding-top: 5px; }
.cust-promo { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--tint); border: 1px solid var(--tint-2); text-decoration: none; color: inherit; }
.cust-promo .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--accent-text); flex: 0 0 auto; }
.cust-promo > span:nth-child(2) { flex: 1; display: grid; gap: 2px; min-width: 0; }
.cust-promo strong { color: var(--ink); }
.cust-promo .chev { color: var(--accent-text); flex: 0 0 auto; }
.cust-home { display: grid; gap: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--tint-2); }
@media (min-width: 900px) { .cust-home { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; padding: 28px; } }
.cust-home-pk { display: grid; gap: 10px; }
@media (min-width: 520px) { .cust-home-pk { grid-template-columns: 1fr 1fr; } }
.cust-home .pk { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; box-shadow: var(--shadow-1); }
.cust-home .pk strong { color: var(--ink); }
.cust-home .pk .num { font-weight: 800; font-size: 1.35rem; color: var(--accent-text); }
.cust-thumb { width: 64px; aspect-ratio: 376 / 532; border-radius: 8px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); }
.cust-thumb svg { width: 26px; height: 26px; }
.bk-head .cust-thumb { aspect-ratio: 376 / 532; width: 72px; border-radius: 8px; }
.cust-form .field { align-content: start; }
/* blog cards inside the app */
.bgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.bgrid.one { grid-template-columns: 1fr; }
.bcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; text-decoration: none; color: inherit; box-shadow: var(--shadow-1); }
.bcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--surface-2); }
.bcard-b { display: grid; gap: 4px; padding: 12px 14px 14px; }
.bcard-b strong { color: var(--ink); font-family: var(--font-display); line-height: 1.3; }
.bcard-b .small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bgrid.one .bcard { flex-direction: row; }
.bgrid.one .bcard img { width: 120px; aspect-ratio: 1; flex: 0 0 auto; }

/* ===== Server-rendered pages: blog, guidebook landing pages (body.pg) ===== */
.pg main { padding-bottom: 32px; min-height: 60vh; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow-2); }
.pg .topbar .wrap { min-height: 60px; gap: 14px; }
.pg-logo { height: 28px; width: auto; display: block; }
.pg-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pg-nav::-webkit-scrollbar { display: none; }
.pg-nav a { padding: 8px 10px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.pg-nav a:hover { background: var(--surface-2); }
.pg-nav a[aria-current="page"] { color: var(--accent-text); background: var(--tint); }
.pg .lang a, .pg .lang span { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.pg .lang .on { background: var(--ink); color: var(--surface); }
.pg .lang .off { opacity: .4; }
@media (max-width: 899px) {
  .pg .topbar .wrap { flex-wrap: wrap; row-gap: 0; padding-block: 6px; }
  .pg .topbar .brand { order: 1; }
  .pg .topbar .spacer { order: 2; }
  .pg .topbar .lang { order: 3; }
  .pg-nav { order: 4; flex-basis: 100%; margin-inline: -8px; padding-bottom: 4px; }
}
.pg-narrow { max-width: 780px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 0; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li:last-child { min-width: 0; flex: 1 1 0; }
.crumbs [aria-current] { color: var(--text); display: block; max-width: 46ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-bar { background: var(--warning-tint); color: var(--warning-ink); text-align: center; font-weight: 700; padding: 10px 16px; font-size: .9rem; }

/* article */
.post-head { margin-top: 14px; }
.post-head h1 { font-size: clamp(1.8rem, 5.2vw, 2.7rem); line-height: 1.12; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: .88rem; color: var(--muted); }
.post-meta span + span::before { content: "·"; margin-right: 14px; color: var(--line-strong); }
.post-cover { margin: 20px 0 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.post-cover img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.toc { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); padding: 12px 18px; }
.toc summary { font-family: var(--font-display); font-weight: 800; color: var(--ink); cursor: pointer; }
.toc ol { margin: 10px 0 2px; padding-left: 20px; display: grid; gap: 5px; font-size: .95rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }
.prose { margin-top: 22px; font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); margin-top: 1.9em; scroll-margin-top: 80px; }
.prose h3 { font-size: 1.18rem; margin-top: 1.5em; scroll-margin-top: 80px; }
.prose h4 { font-size: 1.02rem; margin-top: 1.3em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--link); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent-text); }
.prose blockquote { margin-inline: 0; padding: 14px 18px; border-left: 4px solid var(--cobalt); background: var(--tint); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink); }
.prose blockquote p + p { margin-top: .6em; }
.prose figure { margin: 1.4em 0; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-md); display: block; }
.prose figcaption { font-size: .86rem; color: var(--muted); margin-top: 6px; text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { background: var(--surface-2); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.prose .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: .86rem; }
.prose tr:last-child td { border-bottom: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.post-tags .chip, .blog-tags .chip { text-decoration: none; min-height: 34px; font-size: .85rem; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; }
.post-share span { color: var(--muted); font-weight: 600; }
.post-share a { font-weight: 700; color: var(--link); text-decoration: none; }
.post-lang { margin-top: 14px; font-size: .92rem; color: var(--muted); }

/* shortcode boxes */
.gb-box { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; margin: 1.6em 0; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--tint-2); background: linear-gradient(180deg, var(--tint), #fff 75%); }
.gb-cover img { width: 96px; height: auto; border-radius: 8px; box-shadow: var(--shadow-1); display: block; }
.gb-body { display: grid; gap: 6px; min-width: 0; }
.gb-title { font-family: var(--font-display); color: var(--ink); font-size: 1.12rem; line-height: 1.25; }
.prose .gb-pts { list-style: none; padding: 0; margin: 2px 0 0; font-size: .92rem; line-height: 1.5; display: grid; gap: 2px; }
.prose .gb-pts li + li { margin-top: 0; }
.gb-pts li::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 8px; }
.gb-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 8px; }
.gb-price { font-family: var(--font-display); color: var(--ink); font-size: 1.3rem; }
.gb-price s { color: var(--muted); font-size: .9rem; font-weight: 600; margin-right: 4px; }
.prose .gb-buy .btn { color: #fff; }
.prose .gb-buy .btn-line { color: var(--ink); }
.prose .gb-more { font-size: .9rem; }
@media (max-width: 480px) { .gb-box { grid-template-columns: 72px 1fr; padding: 14px; gap: 12px; } .gb-cover img { width: 72px; } }
.cu-box { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin: 1.6em 0; padding: 18px 20px; border-radius: var(--r-lg); background: var(--ink); color: #D9DEEE; }
.cu-box > div { flex: 1 1 320px; display: grid; gap: 6px; }
.cu-box strong { font-family: var(--font-display); color: #fff; font-size: 1.1rem; line-height: 1.3; }
.cu-box p { font-size: .94rem; line-height: 1.55; margin: 0; }
.prose .cu-box p { margin: 0; }
.cu-box .btn-line { background: #fff; color: var(--ink); border-color: #fff; }
.pt-box { margin: 1.6em 0; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-2); display: grid; gap: 12px; }
.pt-box > strong { font-family: var(--font-display); color: var(--ink); }
.pt-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.prose .pt-list a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.pt-list a span { font-weight: 500; font-size: .85rem; color: var(--muted); }
.pt-list a:hover { border-color: var(--tint-3); }
.pt-box .small { color: var(--muted); margin: 0; }

/* lists of posts */
.blog-head { padding-bottom: 6px; }
.blog-head .page-title { margin-top: 12px; }
.blog-head > p { margin-top: 8px; max-width: 62ch; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pgrid { display: grid; gap: 18px; margin-top: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pgrid.two { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.pcard-img { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pcard:hover .pcard-img img { transform: scale(1.03); }
.pcard-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--tint), var(--tint-3)); }
.pcard-body { padding: 14px 16px 18px; display: grid; gap: 6px; }
.pcard h3 { font-size: 1.08rem; line-height: 1.3; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a:hover { color: var(--link); }
.pcard p { font-size: .92rem; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 900px) {
  .pcard.big { grid-column: 1 / -1; flex-direction: row; }
  .pcard.big .pcard-img { flex: 0 0 55%; aspect-ratio: auto; min-height: 300px; }
  .pcard.big .pcard-body { align-content: center; padding: 28px; }
  .pcard.big h3 { font-size: 1.6rem; }
  .pcard.big p { -webkit-line-clamp: 4; font-size: 1rem; }
}
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 700; color: var(--ink); }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-pg { padding: 30px 0 4px; }
.blog-cta { margin-top: 36px; }
.related { margin-top: 36px; }
.related h2 { font-size: 1.4rem; }

/* guidebook landing pages */
.ggrid { display: grid; gap: 18px; margin-top: 22px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ggrid.sm { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.gcard { display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.gcard img { width: 100%; height: auto; aspect-ratio: 376 / 532; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-1); margin-bottom: 6px; transition: transform .2s; }
.gcard:hover img { transform: translateY(-2px); }
.gcard strong { font-family: var(--font-display); font-size: 1.05rem; }
.gprice b { color: var(--ink); }
.gprice s { color: var(--muted); font-size: .85rem; }
.gb-hero { display: grid; gap: 22px; margin-top: 16px; }
.gb-hero-img { border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.gb-hero-img img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.gb-hero-body { display: grid; gap: 10px; align-content: center; }
.gb-hero-body h1 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.12; }
.gb-hero .lead { font-size: 1.1rem; color: var(--text); }
.gb-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.gb-price-row .gb-price { font-size: 1.7rem; }
@media (min-width: 900px) { .gb-hero { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.gb-main > section { margin-top: 30px; }
.gb-main > section > h2 { font-size: 1.35rem; margin-bottom: 12px; }
.gb-main > section > p { line-height: 1.7; }
.gb-main .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gb-main .chip { min-height: 32px; font-size: .85rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--success); font-weight: 800; }
.gb-main .cu-box { margin-top: 30px; }
