:root {
  --bg: #f4f2f4;
  --paper: #ffffff;
  --ink: #1b181c;
  --muted: #6c6670;
  --faint: #9d97a2;
  --line: #ebe6ec;
  --line-strong: #dcd6de;
  --accent: #7a1734;
  --accent-ink: #8b1e3f;
  --accent-soft: #f7e6ec;
  --green: #1f7a3f;
  --chip: #ffffff;
  --badge: #f9edd3;
  --badge-ink: #8a6100;
  --head: #f8f5f9;
  --glow-a: rgba(235, 190, 205, .55);
  --glow-b: rgba(200, 215, 240, .55);
  --shadow: 0 1px 2px rgba(30, 20, 30, .05), 0 10px 30px rgba(30, 20, 30, .06);
  --font-head: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141216; --paper: #1d1a20; --ink: #f1edf2; --muted: #aaa3ae; --faint: #7a737f;
    --line: #2c282f; --line-strong: #3a353e; --accent: #e08aa4; --accent-ink: #e9a2b8; --accent-soft: #3a2230;
    --green: #7dd69b; --chip: #24202a; --badge: #3a3220; --badge-ink: #e6c976; --head: #221e26;
    --glow-a: rgba(140, 60, 90, .35); --glow-b: rgba(60, 80, 140, .35);
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #141216; --paper: #1d1a20; --ink: #f1edf2; --muted: #aaa3ae; --faint: #7a737f;
  --line: #2c282f; --line-strong: #3a353e; --accent: #e08aa4; --accent-ink: #e9a2b8; --accent-soft: #3a2230;
  --green: #7dd69b; --chip: #24202a; --badge: #3a3220; --badge-ink: #e6c976; --head: #221e26;
  --glow-a: rgba(140, 60, 90, .35); --glow-b: rgba(60, 80, 140, .35);
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.page {
  position: relative; min-height: 100vh; overflow: hidden;
  background:
    radial-gradient(900px 520px at 12% 8%, var(--glow-a), transparent 60%),
    radial-gradient(900px 520px at 88% 12%, var(--glow-b), transparent 60%),
    var(--bg);
}

/* nav */
.nav {
  display: flex; align-items: center; gap: 28px;
  max-width: 1100px; margin: 0 auto; padding: 22px 28px 12px;
}
.brand { font: 700 19px/1 var(--font-head); display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.links { display: flex; gap: 22px; font-size: 13px; font-weight: 500; color: var(--muted); }
.links a.on, .links a:hover { color: var(--ink); }
.cta { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: 13px; font-weight: 600; }
.premium { background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; }

/* hero */
.hero { max-width: 1100px; margin: 0 auto; padding: 52px 28px 10px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 5px 11px; border-radius: 999px;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.hero h1 { font: 800 clamp(34px, 5.2vw, 52px)/1.08 var(--font-head); letter-spacing: -.02em; margin: 18px 0 14px; }
.lede { margin: 0 auto; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.lede strong { color: var(--ink); font-weight: 600; }

.ask {
  margin: 28px auto 0; max-width: 860px; display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow); color: var(--muted);
}
.ask input { flex: 1; min-width: 0; font: 14px var(--font-body); border: 0; outline: 0; background: transparent; color: var(--ink); }
.ask input::placeholder { color: var(--faint); }
.ask button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.suggest { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; max-width: 860px; margin: 12px auto 0; }
.suggest button {
  font: 500 12px var(--font-body); color: var(--accent-ink); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.suggest button:hover { background: color-mix(in srgb, var(--accent) 16%, var(--paper)); }

/* filters */
main { max-width: 1100px; margin: 0 auto; padding: 26px 28px 70px; }
.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow);
}
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--muted); }
.filters select {
  font: 500 13px var(--font-body); color: var(--ink); background: var(--chip);
  border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 32px 8px 12px; min-width: 150px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 11px center;
}
.filters .range { min-width: 190px; }
.filters .range b { color: var(--ink); font-weight: 600; }
.filters input[type="range"] { width: 100%; accent-color: var(--accent); margin: 10px 0 8px; }
.matched { margin-left: auto; font-size: 13px; color: var(--muted); padding-bottom: 8px; }
.matched b { color: var(--ink); font-weight: 600; }

/* table card */
.card { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.tablewrap { overflow-x: auto; }
table.deals { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; }
.deals th {
  text-align: left; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); padding: 13px 18px; background: var(--head); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.deals td { padding: 20px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.deals td:first-child, .deals th:first-child { padding-left: 18px; }
.deals td:last-child, .deals th:last-child { padding-right: 18px; }
.deals tr:last-child td { border-bottom: 0; }
.deals tr:hover td { background: color-mix(in srgb, var(--head) 60%, var(--paper)); }

.prop { min-width: 220px; }
.prop .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.prop .name { font: 700 16px/1.25 var(--font-head); letter-spacing: -.01em; }
.badge { flex: none; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; padding: 3px 7px; border-radius: 5px; background: var(--badge); color: var(--badge-ink); margin-top: 2px; }
.prop .meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.prop .meta .program { font-weight: 600; }
.prop .bar { height: 3px; width: 140px; background: var(--line); border-radius: 2px; margin-top: 9px; overflow: hidden; }
.prop .bar i { display: block; height: 100%; background: var(--accent); }
.prop .dates { font-size: 11.5px; color: var(--faint); margin-top: 7px; }
.prop .dates span { display: inline-block; margin-right: 8px; white-space: nowrap; }

.big { font: 700 17px/1.2 var(--font-head); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sub { font-size: 11px; color: var(--faint); margin-top: 4px; line-height: 1.4; }
.cpp .big { color: var(--accent-ink); }
.usual .big { color: var(--green); }

.notes { min-width: 170px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.notes .txt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.notes .txt.open { display: block; }
.notes .src { font-size: 11px; color: var(--faint); margin-top: 6px; }
.notes .src a { color: var(--accent-ink); font-weight: 600; }

.empty { padding: 40px; text-align: center; color: var(--muted); margin: 0; }

/* how / footer */
.how { margin-top: 48px; }
.how h2 { font: 700 22px var(--font-head); margin: 0 0 14px; letter-spacing: -.01em; }
.how .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how .cols div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.how .cols b { display: block; color: var(--ink); margin-bottom: 6px; font-family: var(--font-head); }
footer { color: var(--faint); font-size: 12px; margin-top: 36px; }

@media (max-width: 760px) {
  .nav { padding: 16px 16px 8px; gap: 16px; }
  .links { display: none; }
  .hero { padding: 36px 16px 8px; }
  main { padding: 18px 16px 50px; }
  .filters label, .filters select { width: 100%; }
  .filters .range { min-width: 0; }
  .matched { margin-left: 0; }
  .how .cols { grid-template-columns: 1fr; }
}

/* gated "see more" */
.card { position: relative; }
.more { position: relative; text-align: center; padding: 8px 18px 26px; }
.more .fade { position: absolute; left: 0; right: 0; top: -90px; height: 90px; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.more button {
  font: 600 14px var(--font-head); color: var(--paper); background: var(--ink);
  border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer;
}
.more button:hover { opacity: .9; }
.more p { margin: 10px 0 0; font-size: 12px; color: var(--faint); }
.nav .signin.user { color: var(--muted); font-weight: 500; }

/* auth modal */
.overlay {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(20, 15, 20, .45); backdrop-filter: blur(4px); padding: 16px;
}
@media (min-width: 640px) { .overlay { align-items: center; } }
.auth {
  position: relative; width: 100%; max-width: 480px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.auth .close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--head); color: var(--muted); font-size: 20px; cursor: pointer; }
.auth h2 { font: 800 24px/1.15 var(--font-head); letter-spacing: -.02em; margin: 0 34px 8px 0; }
.authSub { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.auth form { display: flex; flex-direction: column; gap: 12px; }
.auth form[hidden], .auth [hidden] { display: none !important; }
.auth input:not([type="checkbox"]) {
  width: 100%; font: 17px var(--font-body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 14px 16px; outline: 0;
}
.auth input:not([type="checkbox"]):focus { border-color: var(--ink); }
.auth input::placeholder { color: var(--faint); }
.auth .phone { display: flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 16px; padding-left: 16px; }
.auth .phone:focus-within { border-color: var(--ink); }
.auth .phone span { font-size: 17px; color: var(--muted); margin-right: 10px; }
.auth .phone input { border: 0; border-radius: 0 16px 16px 0; padding-left: 0; }
.auth .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.auth .consent input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--ink); border-radius: 6px; }
.auth button[type="submit"] {
  font: 700 17px var(--font-head); color: #fff; background: var(--ink);
  border: 0; border-radius: 999px; padding: 16px; cursor: pointer; margin-top: 4px;
}
.auth button[type="submit"]:disabled { background: #a3a0a6; cursor: not-allowed; }
.auth .fine { margin: 2px 0 0; font-size: 12.5px; color: var(--faint); line-height: 1.45; }
.auth .switch { margin: 8px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.auth .switch a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.authErr { margin: -4px 0 0; font-size: 13px; color: #b3261e; }
.authDone { text-align: center; padding: 18px 0 8px; }
.authDone h2 { font: 800 26px var(--font-head); margin: 0 0 8px; }
.authDone p { color: var(--muted); margin: 0; }
body.modal-open { overflow: hidden; }

/* experiences */
.xp { margin-top: 56px; }
.xp-head { text-align: center; max-width: 720px; margin: 0 auto 22px; }
.xp-head h2 { font: 800 clamp(24px, 3.2vw, 32px)/1.15 var(--font-head); letter-spacing: -.02em; margin: 12px 0 8px; }
.xp-head p { margin: 0; color: var(--muted); font-size: 14px; }
.xp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.xp-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow); color: inherit; transition: transform .15s ease, box-shadow .15s ease;
}
.xp-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(30,20,30,.06), 0 16px 40px rgba(30,20,30,.10); }
.xp-img { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--accent-soft), var(--glow-b)); overflow: hidden; }
.xp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-img .cat { position: absolute; left: 12px; top: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(20,15,20,.55); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 999px; }
.xp-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.xp-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.xp-title { font: 700 16px/1.25 var(--font-head); letter-spacing: -.01em; }
.xp-badge { flex: none; font-size: 11px; font-weight: 600; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 999px; white-space: nowrap; margin-top: 1px; }
.xp-badge.soft { background: var(--accent-soft); color: var(--accent-ink); }
.xp-loc { color: var(--muted); font-size: 13px; }
.xp-loc .prog { font-weight: 600; }
.xp-facts { display: flex; gap: 26px; margin-top: 8px; }
.xp-facts div { font-size: 11px; color: var(--muted); }
.xp-facts b { display: block; font: 700 15px/1.2 var(--font-head); color: var(--ink); margin-top: 2px; }
.xp-facts b.pts { color: var(--accent-ink); }
.xp-facts small { display: block; font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.xp-more { text-align: center; margin-top: 20px; }
.xp-more button { font: 600 14px var(--font-head); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; padding: 11px 24px; cursor: pointer; }
.xp-more button:hover { background: var(--head); }
@media (max-width: 760px) { .xp-grid { grid-template-columns: 1fr; } .xp-facts { gap: 18px; } }

/* concierge band */
.concierge-band {
  /* transparent: the page's own gradient shows through */
  margin: 30px 0 0; padding: 0; background: transparent;
}
.concierge {
  display: flex; align-items: center; gap: 20px;
  background: color-mix(in srgb, var(--paper) 88%, transparent); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 20px 18px 24px; box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.concierge .avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px color-mix(in srgb, var(--paper) 70%, transparent); }
.concierge .text { flex: 1; min-width: 0; }
.concierge .title { font: 700 16px/1.3 var(--font-head); letter-spacing: -.01em; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.concierge .beta {
  font: 600 9.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); border-radius: 5px; padding: 4px 6px;
}
.concierge .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.concierge .go {
  flex: none; font: 600 14px var(--font-head); color: #fff; background: var(--accent); border: 0;
  border-radius: 10px; padding: 13px 20px; cursor: pointer; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent);
}
.concierge .go:hover { filter: brightness(1.08); }
@media (max-width: 760px) {
  .concierge { flex-wrap: wrap; }
  .concierge .go { width: 100%; }
}

/* suggestion pills: left-moving carousel */
.suggest {
  display: block; overflow: hidden; max-width: 860px; margin: 14px auto 0; padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.suggest-track { display: flex; width: max-content; animation: suggest-marquee 42s linear infinite; }
.suggest-group { display: flex; gap: 8px; padding-right: 8px; }
.suggest:hover .suggest-track, .suggest:focus-within .suggest-track { animation-play-state: paused; }
@keyframes suggest-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .suggest { overflow-x: auto; }
  .suggest-track { animation: none; }
}
.suggest button { white-space: nowrap; }

/* trip request modal */
.auth.trip { max-width: 620px; }
.trip .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trip label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.trip label input, .trip label select, .trip label textarea {
  display: block; width: 100%; margin-top: 6px;
  font: 14px var(--font-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px;
}
.trip label textarea { resize: vertical; min-height: 92px; }
.trip label input:focus, .trip label select:focus, .trip label textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; }
.trip .flex-check { display: flex; align-items: center; gap: 9px; margin: -4px 0 14px; font-size: 13px; color: var(--muted); }
.trip .flex-check input { width: 17px; height: 17px; accent-color: var(--accent); margin: 0; }
@media (max-width: 560px) { .trip .row2 { grid-template-columns: 1fr; } }

/* verification code step */
.codeStep { text-align: left; }
.codeStep h2 { font: 800 22px/1.2 var(--font-head); letter-spacing: -.02em; margin: 0 0 6px; }
#codeInput {
  display: block; width: 100%; margin: 18px 0 4px;
  font: 700 26px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .34em; text-align: center;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px 12px;
}
#codeInput:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; }
#codeInput::placeholder { color: var(--faint); letter-spacing: .34em; }
button.linkish {
  font: 600 13px var(--font-body); color: var(--accent-ink); background: none; border: 0; padding: 0;
  text-decoration: underline; cursor: pointer;
}
.src .ok { color: var(--green); font-weight: 600; }
.empty { padding: 34px 22px; margin: 0; color: var(--muted); text-align: center; max-width: 620px; margin-inline: auto; line-height: 1.6; }

/* assistant */
body.chatting .lede, body.chatting .pill { display: none; }
body.chatting .hero { padding-top: 34px; }
body.chatting .hero h1 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 18px; }
.chat {
  max-width: 860px; margin: 18px auto 0; text-align: left;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--head);
}
.chat-head .who { display: flex; align-items: center; gap: 8px; font: 600 12.5px var(--font-head); }
.chat-head .who i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat-head button {
  font: 600 12.5px var(--font-body); color: var(--muted); background: none; border: 0; cursor: pointer;
}
.chat-head button:hover { color: var(--ink); }
.chat-log { max-height: 46vh; min-height: 130px; overflow-y: auto; padding: 18px 16px; }
.chat-log .msg { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; }
.chat-log .msg:last-child { margin-bottom: 0; }
.chat-log .msg p { margin: 0 0 10px; }
.chat-log .msg p:last-child, .chat-log .msg ul:last-child { margin-bottom: 0; }
.chat-log .msg ul { margin: 0 0 10px; padding-left: 20px; }
.chat-log .msg li { margin: 3px 0; }
.chat-log .msg code { font: 13px ui-monospace, Menlo, monospace; background: var(--head); padding: 1px 5px; border-radius: 5px; }
.chat-log .user {
  margin-left: auto; max-width: 78%; width: fit-content;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  padding: 9px 13px; border-radius: 13px 13px 3px 13px;
}
.chat-log .bot { color: var(--ink); }
.chat-log .thinking .dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat-log .thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: chat-dot 1.1s infinite; }
.chat-log .thinking i:nth-child(2) { animation-delay: .15s; }
.chat-log .thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat-log .thinking i { animation: none; opacity: .5; } }
.chat-compose { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-compose input {
  flex: 1; min-width: 0; font: 14px var(--font-body); color: var(--ink);
  background: var(--chip); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px;
}
.chat-compose input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 1px; }
.chat-compose button {
  flex: none; width: 38px; height: 38px; border: 0; border-radius: 10px;
  background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.chat-compose button:disabled { opacity: .5; cursor: default; }
.prop .offer { display: inline-block; margin-top: 7px; font: 600 11.5px var(--font-body); color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 3px 8px; }
.prop .dates span + span { margin-left: 6px; padding-left: 8px; border-left: 1px solid var(--line-strong); }

/* guided flow: choice chips */
.pickrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pickrow .pick {
  font: 600 13px var(--font-body); color: var(--ink); background: var(--chip);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 15px; cursor: pointer;
}
.pickrow .pick:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-ink); }
.pickrow .pick.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.pickrow .pick.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pickrow.locked .pick { opacity: .45; cursor: default; }
.pickrow.locked .pick.on, .pickrow.locked .pick.primary { opacity: .8; }

/* guided flow: result card */
.rescard {
  border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; margin: 0 0 12px;
  background: color-mix(in srgb, var(--head) 55%, var(--paper));
}
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.rc-prog { font: 600 11.5px var(--font-body); }
.rc-off {
  font: 600 11.5px var(--font-body); color: var(--green);
  background: color-mix(in srgb, var(--green) 12%, transparent); border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}
.rc-name { font: 700 16px/1.3 var(--font-head); letter-spacing: -.01em; }
.rc-where { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.rc-nums { display: flex; flex-wrap: wrap; gap: 20px; margin: 12px 0 0; }
.rc-nums div { display: flex; flex-direction: column; }
.rc-nums b { font: 700 17px var(--font-head); letter-spacing: -.01em; }
.rc-nums span { font-size: 11px; color: var(--muted); margin-top: 1px; }
.rc-when { font-size: 12px; color: var(--faint); margin-top: 10px; }
.rc-book {
  display: inline-block; margin-top: 12px; font: 600 13px var(--font-body);
  color: var(--paper); background: var(--ink); border-radius: 999px; padding: 8px 16px;
}
.rc-book:hover { background: var(--accent); }
@media (max-width: 480px) { .rc-nums { gap: 14px; } .rc-nums b { font-size: 15px; } }

/* ---------- landing page ---------- */
.lp-hero { max-width: 900px; margin: 0 auto; padding: 60px 28px 8px; text-align: center; }
.lp-hero h1 {
  font: 800 clamp(30px, 5.4vw, 54px)/1.08 var(--font-head);
  letter-spacing: -.025em;
  margin: 20px auto 16px;
  text-wrap: balance;
}
.lp-hero h1 span { display: inline; }
.lp-hero h1 span + span::before { content: " "; }
.lp-hero .lede { max-width: 640px; }
.lp-join {
  display: flex; gap: 10px; max-width: 480px; margin: 30px auto 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 7px 7px 7px 16px; box-shadow: var(--shadow);
}
.lp-join input { flex: 1; min-width: 0; font: 15px var(--font-body); border: 0; outline: 0; background: transparent; color: var(--ink); }
.lp-join input::placeholder { color: var(--faint); }
.lp-join button {
  flex: none; font: 600 14px var(--font-body); color: var(--paper); background: var(--ink);
  border: 0; border-radius: 9px; padding: 11px 18px; cursor: pointer; white-space: nowrap;
}
.lp-join button:hover { background: var(--accent); }
.lp-proof, .lp-how, .lp-cta { max-width: 1000px; margin: 0 auto; padding: 60px 28px 0; }
.lp-proof h2, .lp-how h2, .lp-cta h2 {
  font: 800 clamp(23px, 3vw, 30px)/1.2 var(--font-head); letter-spacing: -.02em; margin: 0 0 8px; text-align: center;
}
.lp-sub { text-align: center; color: var(--muted); margin: 0 auto 26px; max-width: 560px; }

.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-card { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 18px 19px; box-shadow: var(--shadow); }
.lp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 11.5px var(--font-body); }
.lp-off { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.lp-card h3 { font: 700 17px/1.3 var(--font-head); letter-spacing: -.01em; margin: 11px 0 2px; }
.lp-where { color: var(--muted); font-size: 12.5px; margin: 0; }
.lp-nums { display: flex; flex-wrap: wrap; gap: 16px; margin: 15px 0 0; }
.lp-nums div { display: flex; flex-direction: column; }
.lp-nums b { font: 700 17px var(--font-head); letter-spacing: -.01em; }
.lp-nums span { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.lp-nights { font-size: 12px; color: var(--faint); margin: 13px 0 0; }
.lp-more { display: block; text-align: center; margin: 24px 0 0; font: 600 14px var(--font-body); color: var(--accent-ink); }
.lp-more:hover { text-decoration: underline; }



.lp-cta { text-align: center; padding-bottom: 20px; }
.lp-cta p { color: var(--muted); margin: 0 auto; max-width: 460px; }
.lp-cta .lp-join { margin-top: 22px; }

@media (max-width: 860px) {
  .lp-cards, .lp-feats { gap: 14px 26px; }
}
@media (max-width: 520px) {
  .lp-join { flex-wrap: wrap; padding: 10px; }
  .lp-join input { width: 100%; padding: 4px 6px; }
  .lp-join button { width: 100%; }
}

/* waitlist card */
.wl {
  max-width: 470px; margin: 34px auto 0; padding: 34px 34px 28px; text-align: center;
  border-radius: 26px; border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--glow-a) 20%, var(--paper)), var(--paper) 55%,
                    color-mix(in srgb, var(--glow-b) 22%, var(--paper)));
  box-shadow: 0 1px 2px rgba(30, 20, 30, .04), 0 18px 48px -14px rgba(30, 20, 30, .16);
}
.wl h2 { font: 800 27px/1.2 var(--font-head); letter-spacing: -.02em; margin: 0 0 10px; }
.wl-sub { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 auto 22px; max-width: 340px; }
.wl-field {
  display: flex; align-items: center; gap: 11px; padding: 0 16px;
  background: color-mix(in srgb, var(--head) 70%, var(--paper));
  border: 1px solid var(--line-strong); border-radius: 13px; color: var(--faint);
}
.wl-field:focus-within { border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent-ink); }
.wl-field input {
  flex: 1; min-width: 0; font: 15px var(--font-body); color: var(--ink);
  background: transparent; border: 0; outline: 0; padding: 15px 0;
}
.wl-field input::placeholder { color: var(--faint); }
.wl-form button {
  width: 100%; margin-top: 12px; font: 700 15px var(--font-head); letter-spacing: -.01em;
  color: #fff; background: var(--accent); border: 0; border-radius: 13px; padding: 16px 20px; cursor: pointer;
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 75%, transparent);
}
.wl-form button:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.lp-cta .wl { margin-top: 24px; }
/* Decorative postcards use four windows onto the original, unmodified artwork. */
.lp-hero { max-width: 1160px; }
@media (min-width: 1000px) {
  .lp-hero { max-width: none; }
  .lp-hero h1 { font-size: min(48px, 3vw); }
  .lp-hero h1 span { display: block; white-space: nowrap; }
  .lp-hero h1 span + span::before { content: none; }
}
.lp-waitlist-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px) minmax(0, 1fr); align-items: center; gap: 30px; margin-top: 34px; }
.lp-waitlist-scene > .wl { width: 100%; margin: 0; position: relative; z-index: 1; }
.lp-postcards { position: relative; height: 330px; pointer-events: none; }
.lp-postcard { position: absolute; width: 165px; aspect-ratio: 607 / 647; border-radius: 4px; background-image: url('/postcards.png'); background-size: 200% 200%; box-shadow: 0 10px 22px -8px rgba(48, 39, 25, .3); transform: translateY(0) rotate(var(--tilt)); animation: postcard-float 7s ease-in-out infinite; }
.lp-postcard-kyoto { background-position: left top; top: 0; left: calc(50% - 82.5px); --tilt: -8deg; }
.lp-postcard-como { background-position: left bottom; bottom: 0; left: calc(50% - 82.5px); --tilt: 6deg; animation-delay: -3.5s; }
.lp-postcard-paris { background-position: right top; top: 0; left: calc(50% - 82.5px); --tilt: 8deg; animation-delay: -1.5s; }
.lp-postcard-maldives { background-position: right bottom; bottom: 0; left: calc(50% - 82.5px); --tilt: -6deg; animation-delay: -5s; }
@keyframes postcard-float { 0%, 100% { transform: translateY(0) rotate(var(--tilt)); } 50% { transform: translateY(-6px) rotate(calc(var(--tilt) + 1deg)); } }
@media (max-width: 1000px) and (min-width: 521px) {
  .lp-waitlist-scene { gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 2.8fr) minmax(0, 1fr); }
  .lp-postcard { width: min(100%, 125px); left: max(0px, calc(50% - 62.5px)); }
  .lp-postcards { height: 285px; }
  .lp-waitlist-scene > .wl { padding-inline: 20px; }
}
@media (max-width: 520px) {
  .lp-hero { padding-inline: 20px; }
  .lp-hero h1 { font-size: clamp(28px, 9vw, 36px); }
  .lp-waitlist-scene { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; max-width: 470px; margin-inline: auto; }
  .lp-waitlist-scene > .wl { grid-column: 1 / -1; grid-row: 1; }
  .lp-postcards { height: clamp(125px, 29vw, 190px); }
  .lp-postcard { width: 62%; max-width: 125px; }
  .lp-postcard-kyoto, .lp-postcard-paris { top: 5px; left: 5px; right: auto; }
  .lp-postcard-como, .lp-postcard-maldives { bottom: 0; right: 5px; left: auto; }
}
@media (prefers-reduced-motion: reduce) { .lp-postcard { animation: none; } }
@media (max-width: 520px) { .wl { padding: 26px 20px 22px; border-radius: 20px; } .wl h2 { font-size: 23px; } }

/* how it works: feature cards */
.lp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 0; }
.lp-feat {
  padding: 26px 26px 28px; border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--head) 80%, var(--paper)), var(--paper) 70%);
  box-shadow: 0 1px 2px rgba(30, 20, 30, .03), 0 14px 34px -18px rgba(30, 20, 30, .18);
}
.lp-ico {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 13px; color: var(--accent-ink);
  background: color-mix(in srgb, var(--paper) 80%, var(--accent-soft));
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.lp-step-number { font: 800 17px/1 var(--font-head); }
.lp-feat h3 { font: 700 19px/1.25 var(--font-head); letter-spacing: -.015em; margin: 0 0 9px; }
.lp-feat p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 860px) { .lp-feats { gap: 16px; } .lp-feat { padding: 22px; } }
@media (max-width: 760px) {
  .lp-feats {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
    margin-inline: auto;
  }
}
