/* Hotel MCP landing page. Standalone: no shared app stylesheet. */
:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --surface-2: #f4ede3;
  --ink: #1d2627;
  --muted: #535d5c;
  --line: #e4d9c8;
  --accent: #a3461f;
  --accent-hover: #873917;
  --accent-soft: #f8e8dc;
  --teal: #1f3f3c;
  --teal-soft: #e5eeec;
  --green: #22654a;
  --green-soft: #e2f0e7;
  --red: #9c321c;
  --focus: #1a5fd0;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(29 38 39 / 6%), 0 10px 30px rgb(29 38 39 / 7%);
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
code { font-family: var(--font-mono); font-size: 0.85em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
section[id], .chat { scroll-margin-top: 80px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.fineprint { font-size: 0.875rem; color: var(--muted); }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-chatgpt { background: var(--teal); color: #fff; }
.btn-chatgpt:hover { background: #142c2a; color: #fff; }
.btn-chatgpt::before { content: ""; width: 0.65em; height: 0.65em; border-radius: 50%; background: #7fd1b9; }
.btn-small { min-height: 40px; padding: 0.45em 1em; font-size: 0.9375rem; }
.btn-large { min-height: 56px; padding: 0.9em 1.8em; font-size: 1.0625rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-text { background: none; border: 0; padding: 6px 8px; font: inherit; font-size: 0.875rem; color: var(--muted); text-decoration: underline; cursor: pointer; border-radius: 6px; }
.btn-text:hover { color: var(--ink); }
.btn-copy {
  font: inherit; font-size: 0.8125rem; font-weight: 600; padding: 6px 12px; min-height: 34px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.btn-copy:hover { border-color: var(--ink); }
.link-quiet { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 1.5em 0 1em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(251 247 241 / 92%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; }
.brand-by { font-size: 0.8125rem; color: var(--muted); }
.lang-switch { display: flex; gap: 2px; font-weight: 600; }
.lang-switch a { color: var(--muted); text-decoration: none; font-size: 0.875rem; padding: 6px 8px; border-radius: 8px; }
.lang-switch a:hover { background: var(--surface-2); color: var(--ink); }
.lang-switch a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 960px) { section { padding: 80px 0; } }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p:last-child { color: var(--muted); }

/* Hero */
.hero { padding-top: 40px; }
@media (min-width: 960px) { .hero { padding-top: 72px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; } }
.hero .eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: 0.04em; }
.lead { font-size: clamp(1.125rem, 1.7vw, 1.3125rem); color: #3a4544; max-width: 32em; }

/* Hero example: one exchange and its outcome. Static; numbers come from Go. */
.compare { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 92%; padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow); }
.bubble p { margin: 0; font-size: 1rem; line-height: 1.45; }
.bubble .who { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.bubble-ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-ai .who { color: var(--muted); }
.bubble-hotel { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.bubble-hotel .who { color: #b9cdc8; }
.outcome { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.outcome > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.outcome dt { font-size: 0.8125rem; color: var(--muted); }
.outcome dd { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-variant-numeric: tabular-nums; }
.outcome dd strong { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.1; }
.outcome dd small { font-size: 0.8125rem; color: var(--muted); }
.outcome-line { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 1.0625rem; }

/* How it works */
.how { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps li { counter-increment: step; position: relative; padding-left: 52px; color: #3a4544; font-size: 1.0625rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-family: var(--font-serif);
}

/* Demo */
.demo { background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%); }
.scenarios { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .scenarios { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .scenarios { grid-template-columns: repeat(4, 1fr); } }
.scenario {
  text-align: left; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.scenario:hover:not([aria-disabled="true"]) { border-color: var(--accent); box-shadow: var(--shadow); }
.scenario[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.scenario[aria-disabled="true"] { cursor: progress; opacity: 0.7; }
.scenario-title { font-weight: 700; }
.scenario-desc { font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.custom { margin: 12px 0 24px; border: 1.5px dashed var(--line); border-radius: 12px; background: rgb(255 255 255 / 55%); }
.custom summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--accent); border-radius: 12px; }
.custom[open] summary { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.custom-form { display: grid; gap: 14px; padding: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .custom-form { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label { font-size: 0.8125rem; font-weight: 600; color: #3a4544; }
.field input, .field select {
  font: inherit; font-size: 1rem; padding: 9px 10px; min-height: 44px; border: 1px solid #b9ad9b; border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 2px rgb(156 50 28 / 20%); }
.field-checks { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.field-checks label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; cursor: pointer; min-height: 32px; }
.field-checks input { width: 18px; height: 18px; accent-color: var(--accent); }
.field-submit { grid-column: 1 / -1; }

.demo-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .demo-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }

.chat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fdfbf8; }
.chat-title { margin: 0; font-weight: 700; line-height: 1.3; }
.chat-sub { margin: 0; font-size: 0.8125rem; color: var(--muted); }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; }
.avatar-ai { background: var(--teal); color: #fff; }
.chat-log { height: 520px; max-height: 72vh; overflow-y: auto; padding: 18px 16px 24px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; overscroll-behavior: contain; }
@media (prefers-reduced-motion: reduce) { .chat-log { scroll-behavior: auto; } }
.chat-empty { margin: auto; color: var(--muted); text-align: center; max-width: 24em; }

.msg { display: flex; flex-direction: column; max-width: min(88%, 40em); animation: msg-in 0.25s ease-out; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msg-role { font-size: 0.75rem; font-weight: 600; color: var(--muted); margin: 0 4px 3px; }
.msg-bubble { padding: 10px 14px; border-radius: 16px; font-size: 0.975rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg-bubble p { margin: 0; }
.msg-bubble p + p { margin-top: 0.5em; }
.msg-guest { align-self: flex-end; align-items: flex-end; }
.msg-guest .msg-bubble { background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.msg-ai { align-self: flex-start; }
.msg-ai .msg-bubble { background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg-ai.is-error .msg-bubble { background: #fbe9e4; color: #6f2413; }
.msg-ai strong { font-variant-numeric: tabular-nums; }
.ref { font-family: var(--font-mono); font-weight: 700; background: #fff; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); }

.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #8a928f; animation: typing 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 80%, 100% { opacity: 0.3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

/* A step the assistant took with the hotel; the request is folded away. */
.tool { align-self: flex-start; max-width: min(88%, 40em); margin-left: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fffdfa; font-size: 0.8125rem; color: var(--muted); animation: msg-in 0.25s ease-out; }
.tool summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 7px 12px; list-style: none; border-radius: 10px; }
.tool summary::-webkit-details-marker { display: none; }
.tool summary::before { content: "▸"; color: var(--accent); font-size: 0.8em; transition: transform 0.15s; }
.tool[open] summary::before { transform: rotate(90deg); }
.tool-name { color: var(--ink); }
.tool-status { margin-left: auto; font-family: var(--font-mono); font-size: 0.75rem; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tool-status.ok { background: var(--green-soft); color: var(--green); }
.tool-status.err { background: #fbe9e4; color: var(--red); }
.tool-body { padding: 0 12px 12px; }
.tool-via { margin: 0 0 8px; font-size: 0.8125rem; }
.tool h5 { margin: 10px 0 4px; font-family: var(--font-sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.tool pre { margin: 0; max-height: 280px; overflow: auto; padding: 10px 12px; background: #1f2626; color: #e8efe9; border-radius: 8px; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.45; white-space: pre; tab-size: 2; }

.chat-actions { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px; margin-left: 4px; }
.chat-actions .btn { min-height: 44px; }
.chat-actions .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.chat-actions .btn-ghost:hover { border-color: var(--ink); }

.dash { background: var(--teal); color: #eef4f2; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.dash h3 { color: #fff; font-size: 1.1rem; margin: 0; }
.dash .btn-text { color: #cfe0dc; }
.dash .btn-text:hover { color: #fff; }
.dash .btn-text:focus-visible { outline-color: #9cc3ff; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.stats > div { background: rgb(255 255 255 / 8%); border-radius: 10px; padding: 10px 12px; }
.stats dt { font-size: 0.75rem; color: #c3d5d1; line-height: 1.3; }
.stats dd { margin: 2px 0 0; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; font-family: var(--font-serif); }
.stats .stat-wide { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.stats .stat-gain dd { color: #a8e6c8; }
.stats .stat-alert.is-hot { background: rgb(255 170 140 / 22%); }
.stats .stat-alert.is-hot dd { color: #ffc9b3; }
.stats dd.bump { animation: bump 0.5s ease-out; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; font-size: 0.85rem; line-height: 1.4; }
.feed li { padding: 8px 10px 8px 26px; border-radius: 8px; background: rgb(255 255 255 / 6%); position: relative; }
.feed li::before { content: ""; position: absolute; left: 10px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: #9fb6b1; }
.feed li.feed-empty { padding-left: 10px; color: #b9cdc8; background: none; }
.feed li.feed-empty::before { display: none; }
.feed li.k-counter::before, .feed li.k-already::before { background: #f3b58f; }
.feed li.k-booking::before { background: #7fd1b9; }
.feed li.k-booking { background: rgb(127 209 185 / 16%); }
.feed li.k-leak::before, .feed li.k-rejected::before { background: #ff8f6b; }
.feed li.k-leak { background: rgb(255 143 107 / 16%); }
.feed time { display: block; font-size: 0.7rem; color: #9fb6b1; font-variant-numeric: tabular-nums; }

.noscript { padding: 14px 16px; background: var(--accent-soft); border-radius: 10px; margin-top: 16px; }

/* Try it in your own assistant (folded) */
.own { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.own summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--accent); border-radius: 12px; }
.own[open] summary { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.own-body { padding: 16px 18px 4px; max-width: 760px; }
.own-body .cta-row { margin: 0.5em 0 1em; }
.prompt-box { margin: 0 0 12px; background: var(--surface-2); border-radius: 10px; padding: 14px 16px; }
.prompt-box figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.prompt-box p { margin: 0; font-size: 0.9375rem; line-height: 1.55; overflow-wrap: anywhere; }

/* Pricing */
.pricing { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-inner { max-width: 680px; }
.price-main { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.25; color: var(--teal); }

/* FAQ */
.faq-inner { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 36px 16px 0; font-weight: 600; font-size: 1.0625rem; position: relative; list-style: none; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #3a4544; padding-bottom: 8px; max-width: 46em; }

/* Final CTA */
.final-cta { background: var(--accent); color: #fff; text-align: center; }
.final-inner { max-width: 680px; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #fff4ee; }
.final-cta .cta-row { justify-content: center; }
.final-cta .btn-primary { background: #fff; color: var(--accent); }
.final-cta .btn-primary:hover { background: #fbe7dc; color: var(--accent-hover); }
.final-cta .fineprint { color: #fdebe2; }
.final-cta a:not(.btn) { color: #fff; }
.final-cta :focus-visible { outline-color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d1cf; padding: 32px 0; font-size: 0.9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-brand { margin: 0; }
.footer-brand strong { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd9c2; }
.site-footer :focus-visible { outline-color: #9cc3ff; }
