:root {
  --paper: #f6f1e8;
  --paper-2: #efe7da;
  --card: #fffdf9;
  --ink: #1e1b17;
  --ink-2: #4a443c;
  --muted: #7b7266;
  --line: #e2d8c8;
  --accent: #c2562b;
  --accent-ink: #fff;
  --teal: #13403f;
  --ok: #2f7a4f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(40, 30, 20, .06), 0 8px 28px rgba(40, 30, 20, .08);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.lede { color: var(--ink-2); font-size: 17px; max-width: 56ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand b { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-family: var(--serif); font-style: italic; }
.nav nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.nav nav a:hover { color: var(--ink); }
.pill-test {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #fde7c7; color: #8a4b05; padding: 4px 10px; border-radius: 99px;
}
@media (max-width: 720px) { .nav nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; font-weight: 700;
  padding: 12px 20px; border-radius: 99px; background: var(--ink); color: var(--paper);
  transition: transform .15s, background .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.block { width: 100%; padding: 16px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(40px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: .98; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.hero-stats div span { color: var(--muted); font-size: 13px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; gap: 14px; transform: rotate(-1.5deg); }
.mosaic figure {
  margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--c, #c2562b), #2b2620);
}
.mosaic figure:nth-child(1) { grid-row: span 2; }
.mosaic figure:nth-child(3) { transform: translateY(18px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255,253,249,.92);
  padding: 4px 12px; border-radius: 99px; font-weight: 700; font-size: 13px;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: 150px 150px; transform: none; }
}

/* ---------- destinations ---------- */
section.block { padding-block: clamp(48px, 7vw, 96px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1040px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dest-grid { grid-template-columns: 1fr; } }
.dest {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; cursor: pointer; border: 0; padding: 0; text-align: left;
  transition: transform .2s, box-shadow .2s;
}
.dest:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(40,30,20,.06), 0 18px 40px rgba(40,30,20,.14); }
.dest .ph { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--c), #2b2620); overflow: hidden; }
.dest .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dest:hover .ph img { transform: scale(1.05); }
.dest .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dest h3 { font-size: 28px; }
.dest .route { font-size: 13px; color: var(--muted); font-weight: 600; }
.dest p { margin: 4px 0 10px; color: var(--ink-2); }
.dest .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; }
.dest .meta b { font-family: var(--serif); font-size: 18px; font-weight: 500; }

/* ---------- planner ---------- */
#plan { background: var(--paper-2); border-block: 1px solid var(--line); }
.planner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .planner { grid-template-columns: 1fr; } }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px); }
.panel + .panel { margin-top: 20px; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head .num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: var(--paper); font-weight: 800; font-size: 13px;
}
.panel-head h3 { font-size: 24px; }
.panel-head .aside { margin-left: auto; color: var(--muted); font-size: 13px; }

.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 560px) { .seg { grid-template-columns: repeat(2, 1fr); } }
.seg button {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 10px 12px;
  cursor: pointer; font-weight: 700; text-align: left; display: flex; gap: 10px; align-items: center;
}
.seg button img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: none; background: var(--line); }
.seg button[aria-pressed="true"] { border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 1px var(--ink); }

.fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
@media (max-width: 760px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.f input, .f select, .stepper {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; height: 46px; padding: 0 12px;
  font-size: 15px; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; width: 100%;
}
.stepper { display: flex; align-items: center; padding: 0 4px; }
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; font-size: 20px; line-height: 1; }
.stepper button:hover { background: var(--paper-2); }
.stepper output { flex: 1; text-align: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.chips > span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 99px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

/* itinerary timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 10px 0; }
.timeline .dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 2px solid var(--line);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; z-index: 1;
}
.timeline li:first-child .dot, .timeline li:last-child .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.timeline .when { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.timeline h4 { margin: 2px 0 2px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.timeline p { margin: 0; color: var(--ink-2); }
.timeline .tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.timeline .tags span { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); font-weight: 700; }
.timeline .tags span.hit { background: #d8ebe3; color: var(--teal); }

/* options (flights/hotels) */
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; margin-left: auto; }
.toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
.options { display: grid; gap: 10px; }
.options.off, .cabin-row.off { opacity: .4; pointer-events: none; filter: grayscale(.6); }
.opt {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; background: var(--paper);
}
.opt:has(input:checked) { border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 1px var(--ink); }
.opt input { width: 18px; height: 18px; accent-color: var(--ink); }
.opt .t { font-weight: 800; }
.opt .s { color: var(--muted); font-size: 13px; }
.opt .price { text-align: right; font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.opt .price small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.route-line { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.route-line i { flex: 1; min-width: 24px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--muted) 0 4px, transparent 4px 8px); position: relative; }
.badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: #d8ebe3; color: var(--teal); font-weight: 800; margin-left: 6px; vertical-align: 1px; }
.stars { color: #c69320; letter-spacing: 1px; }
.cabin-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

/* tips */
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .tips { grid-template-columns: 1fr; } }
.tip { display: block; text-decoration: none; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--paper); transition: border-color .15s; }
.tip:hover { border-color: var(--ink); }
.tip .site { font-size: 12px; color: var(--accent); font-weight: 800; }
.tip b { display: block; margin: 2px 0 4px; line-height: 1.35; }
.tip p { margin: 0; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.skeleton { height: 96px; border-radius: 14px; background: linear-gradient(90deg, var(--paper-2), var(--paper), var(--paper-2)); background-size: 200% 100%; animation: sh 1.4s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

/* summary */
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.summary .cover { margin: calc(-1 * clamp(18px, 3vw, 28px)); margin-bottom: 18px; height: 140px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; position: relative; background: var(--teal); }
.summary .cover img { width: 100%; height: 100%; object-fit: cover; }
.summary .cover > div { position: absolute; inset: auto 0 0 0; padding: 14px 18px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.summary .cover h3 { font-size: 28px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 16px; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.lines { border-top: 1px dashed var(--line); padding-top: 14px; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 14px; }
.line .n { font-weight: 700; }
.line .d { grid-column: 1; color: var(--muted); font-size: 12px; }
.line .a { grid-row: 1 / span 2; grid-column: 2; font-weight: 800; align-self: center; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px solid var(--ink); margin-top: 16px; padding-top: 14px; }
.total b { font-family: var(--serif); font-size: 34px; font-weight: 500; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.testcard { margin-top: 14px; background: #fff6e6; border: 1px dashed #e4b770; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: #6b4507; }
.testcard code { font-weight: 800; background: #fde7c7; padding: 1px 6px; border-radius: 6px; }
.error { color: #a8321b; font-size: 13px; font-weight: 700; margin-top: 10px; min-height: 1em; }
.empty-note { color: var(--muted); font-size: 14px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step b { font-family: var(--serif); font-size: 46px; font-weight: 400; color: var(--accent); line-height: 1; }
.step h3 { font-size: 22px; margin: 10px 0 6px; }
.step p { color: var(--ink-2); margin: 0; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.stack span { border: 1.5px solid var(--line); border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: 13px; background: var(--card); }

footer { background: var(--ink); color: #cfc6b8; padding-block: 48px; margin-top: 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: end; }
footer .brand b { color: var(--paper); }
footer small { display: block; max-width: 60ch; }

/* success page */
.confirm { max-width: 760px; margin: 0 auto; padding-block: clamp(32px, 6vw, 72px); }
.ticket { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.ticket .top { padding: clamp(22px, 4vw, 36px); background: var(--teal); color: #fff; position: relative; }
.ticket .top h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.05; }
.ticket .top .ref { font-family: ui-monospace, Consolas, monospace; letter-spacing: .1em; background: rgba(255,255,255,.14); padding: 4px 10px; border-radius: 8px; display: inline-block; margin-top: 12px; }
.ticket .tick { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }
.ticket .perf { height: 0; border-top: 2px dashed var(--line); margin: 0 22px; }
.ticket .bottom { padding: clamp(22px, 4vw, 36px); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 24px; }
.kv div span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.kv div b { font-size: 16px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
@media print { .nav, footer, .actions { display: none; } body { background: #fff; } }

/* ---------- chat ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-hero .wrap { display: block; max-width: 920px; }
.chat-intro { text-align: center; margin-bottom: 28px; }
.chat-intro .lede { margin: 18px auto 0; }
.chat { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(14px, 3vw, 24px); }
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; align-items: flex-start; max-width: 100%; }
.msg .avatar {
  width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 18px;
}
.msg .bubble { background: var(--paper); border-radius: 4px 18px 18px 18px; padding: 12px 16px; max-width: min(640px, 100%); min-width: 0; }
.msg.user { justify-content: flex-end; }
.msg.user .bubble { background: var(--ink); color: var(--paper); border-radius: 18px 4px 18px 18px; }
.msg.wide .bubble { background: transparent; padding: 0; max-width: 100%; flex: 1; }
.composer {
  position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 5;
  display: flex; gap: 8px; margin-top: 18px; padding: 6px; border-radius: 99px;
  background: var(--card); border: 1.5px solid var(--ink); box-shadow: 0 8px 30px rgba(40, 30, 20, .14);
}
.composer input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: 16px; outline: none; }
.composer:focus-within { box-shadow: 0 0 0 4px rgba(194, 86, 43, .2), 0 8px 30px rgba(40, 30, 20, .14); }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
.suggest.inline { justify-content: flex-start; margin-top: 10px; }
.suggest button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 99px; padding: 6px 14px; cursor: pointer; font-size: 13px; font-weight: 600; text-align: left; }
.suggest button:hover { border-color: var(--ink); }
.dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* answer card */
.answer { border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); }
.ans-head {
  position: relative; color: #fff; padding: clamp(18px, 4vw, 28px); display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between;
  min-height: 190px; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)), var(--img) center / cover, var(--teal);
}
.ans-title h3 { font-size: clamp(28px, 4vw, 40px); line-height: 1.05; }
.ans-title p { margin: 4px 0 0; opacity: .9; font-weight: 600; }
.ans-title .eyebrow { color: #ffd9c2; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); padding: 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.assume { margin: 0; padding: 12px clamp(16px, 3vw, 24px); background: #fff6e6; border-bottom: 1px solid var(--line); font-size: 14px; color: #6b4507; }
.ans-sec { padding: clamp(16px, 3vw, 24px); border-bottom: 1px solid var(--line); }
.ans-sec:last-child { border-bottom: 0; }
.ans-sec h4 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 22px; display: flex; gap: 10px; align-items: center; }
.ans-sec h4 span { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 12px/26px var(--sans); text-align: center; }
.sec-note { color: var(--muted); font-size: 13.5px; margin: -4px 0 12px; }
.timeline.compact li { padding: 6px 0; }
.timeline.compact h5 { margin: 1px 0; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.timeline.compact p { font-size: 14px; }
.chips-static { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chips-static span { background: #d8ebe3; color: var(--teal); font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 99px; }
.opt.skip { background: transparent; border-style: dashed; padding-block: 10px; }
.opt .t + .s { margin-top: 1px; }

/* web results */
.web { margin-top: 14px; background: var(--paper); border-radius: 14px; padding: 14px; }
.web-head { font-size: 14px; margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47,122,79,.2); }
.web-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.web-list a { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; transition: border-color .15s; }
.web-list a:hover { border-color: var(--ink); }
.web-list .site { font-size: 11.5px; font-weight: 800; color: var(--accent); }
.web-list b { display: block; font-size: 14px; line-height: 1.35; }
.web-list p { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
mark { background: #ffe2a8; color: inherit; padding: 0 3px; border-radius: 4px; font-weight: 800; }
.web-foot { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; }
.skeleton.short { height: 58px; margin-top: 8px; }

/* cost breakdown */
.table-scroll { overflow-x: auto; }
.costs { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.costs th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 8px 8px 0; border-bottom: 1.5px solid var(--ink); }
.costs td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.costs td:nth-child(2) { color: var(--ink-2); white-space: nowrap; }
.costs td:last-child, .costs th:last-child { text-align: right; font-weight: 800; white-space: nowrap; padding-right: 0; }
.costs td small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.costs td:first-child { font-weight: 700; }
.costs tr.sub td { background: var(--paper); font-weight: 800; padding-left: 8px; }
.costs tr.grand td { border-top: 1.5px solid var(--ink); border-bottom: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; padding-top: 14px; }
.costs tr.pp td { border-bottom: 0; color: var(--muted); padding-top: 0; }
.costs tr.pp td:last-child { color: var(--ink); }
.book-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.book-row .btn { flex: 1 1 220px; padding: 15px 18px; }

/* answer cards use the full chat width */
.msg.wide .avatar { display: none; }
.costs .calc-m { display: none; }
@media (max-width: 600px) {
  .chat { padding: 10px; border-radius: 20px; }
  .chat-intro { text-align: left; }
  .opt { grid-template-columns: auto 1fr; gap: 10px 12px; padding: 12px; }
  .opt .price { grid-column: 2; text-align: left; font-size: 19px; }
  .opt .price small { display: inline; margin-left: 6px; }
  .costs { min-width: 0; }
  .costs th:nth-child(2), .costs td:nth-child(2) { display: none; }
  .costs .calc-m { display: block; color: var(--ink-2); }
  .ans-head { min-height: 170px; }
  .suggest { justify-content: flex-start; }
}

/* ---------- MPP pay-per-request bar + receipts ---------- */
.mpp-bar { margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.mpp-bar a, .mpp-receipt a { color: var(--teal); font-weight: 600; }
.mpp-receipt { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }

/* =====================================================================
   Theme: white base, warm gradients (purple → pink → red) for accents,
   cool gradients (blue → violet → green) for secondary elements.
   Kept as an override layer so the original theme is easy to restore.
   ===================================================================== */
:root {
  --paper: #ffffff;
  --paper-2: #f8f6ff;
  --card: #ffffff;
  --ink: #1b1238;
  --ink-2: #4a4466;
  --muted: #7c7698;
  --line: #ece8f8;
  --accent: #db2777;
  --teal: #5b4ce0;
  --ok: #10b981;
  --violet: #7c3aed;
  --blue: #2563eb;
  --grad-warm: linear-gradient(120deg, #7c3aed 0%, #db2777 55%, #ef4444 100%);
  --grad-cool: linear-gradient(120deg, #2563eb 0%, #7c3aed 50%, #10b981 100%);
  --grad-soft: linear-gradient(120deg, #f3e8ff, #fce7f3 50%, #e0f2fe);
  --shadow: 0 1px 2px rgba(60, 30, 120, .06), 0 10px 30px rgba(91, 76, 224, .10);
}
body {
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(124, 58, 237, .10), transparent 60%),
    radial-gradient(800px 460px at 100% 0%, rgba(219, 39, 119, .09), transparent 60%),
    radial-gradient(700px 420px at 50% 100%, rgba(16, 185, 129, .06), transparent 60%),
    #fff;
  background-attachment: fixed;
}
:focus-visible { outline-color: var(--violet); }

/* gradient text accents */
.eyebrow, .hero h1 em, .step b {
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand b { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ans-title .eyebrow { background: none; color: #fbcfe8; }
.pill-test { background: var(--grad-soft); color: var(--violet); }

/* buttons */
.btn { background: var(--grad-cool); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .22); }
.btn.accent { background: var(--grad-warm); color: #fff; box-shadow: 0 6px 18px rgba(219, 39, 119, .28); }
.btn.ghost { background: #fff; color: var(--violet); box-shadow: inset 0 0 0 1.5px var(--violet); }
.btn:hover { filter: brightness(1.06) saturate(1.1); }

/* chat */
.chat { border: 1px solid var(--line); }
.msg .avatar { background: var(--grad-warm); }
.msg .bubble { background: var(--paper-2); }
.msg.user .bubble { background: var(--grad-cool); color: #fff; }
.msg.wide .bubble { background: transparent; }
.composer {
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-warm) border-box;
}
.composer:focus-within { box-shadow: 0 0 0 4px rgba(219, 39, 119, .16), 0 8px 30px rgba(91, 76, 224, .14); }
.suggest button { background: #fff; }
.suggest button:hover { border-color: var(--violet); color: var(--violet); }

/* answer card + planner */
.ans-head { background: linear-gradient(180deg, rgba(27,18,56,.05), rgba(27,18,56,.78)), var(--img) center / cover, var(--grad-cool); }
.ans-sec h4 span, .panel-head .num { background: var(--grad-cool); color: #fff; }
.assume { background: var(--grad-soft); color: var(--ink-2); }
.timeline li:first-child .dot, .timeline li:last-child .dot { background: var(--grad-warm); border-color: transparent; }
.timeline .tags span.hit, .badge, .chips-static span { background: #e0f2fe; color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--grad-cool); border-color: transparent; }
.seg button[aria-pressed="true"], .opt:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.opt input, .toggle input { accent-color: var(--violet); }
.web { background: var(--paper-2); }
.web-list a:hover, .tip:hover { border-color: var(--violet); }
.web-list .site, .tip .site { color: var(--accent); }
.live { color: var(--ok); }
.live::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); }
mark { background: #fce7f3; color: #9d174d; }
.testcard { background: var(--grad-soft); border-color: #d8b4fe; color: var(--ink-2); }
.testcard code { background: #fff; color: var(--violet); }
.total { border-top-color: var(--violet); }
.costs th, .costs tr.grand td { border-color: var(--violet); }
.step { border-top: 2px solid transparent; border-image: var(--grad-cool) 1; }
#plan { background: linear-gradient(180deg, #faf8ff, #fdf4fa); }

/* footer + success page */
footer { background: linear-gradient(120deg, #1b1238, #3b1d6e 60%, #5b1a4a); color: #d9d2f2; }
footer .brand b { background: none; color: #fff; }
.ticket .top { background: var(--grad-cool); }
.ticket .tick { color: var(--violet); }

/* MPP bar */
.mpp-bar a, .mpp-receipt a { color: var(--blue); }

/* modern geometric headings instead of the old serif */
:root { --serif: "Space Grotesk", "Manrope", "Segoe UI", system-ui, sans-serif; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; }

/* planner summary cover: label sits above the destination name, readable on the photo */
.summary .cover .cover-eyebrow { background: none; color: #fbcfe8; margin-bottom: 2px; }
.summary .cover h3 { line-height: 1.1; }
