:root {
  --navy: #0F1B2D; --ink: #1E293B; --muted: #475569; --line: #E2E8F0; --soft: #F7F8FA;
  --teal: #0D9488; --teal-dark: #0F766E; --teal-light: #5EEAD4; --mint: #2DD4BF;
  --head: "Space Grotesk", system-ui, sans-serif; --body: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--soft); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
img, svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { color: #fff; box-shadow: 0 10px 24px rgba(15, 27, 45, .25); }
.btn-ghost { border: 1px solid #CBD5E1; color: var(--navy); background: #fff; }
.btn-teal { background: var(--mint); color: var(--navy); }
.btn-teal:hover { color: var(--navy); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font: 700 22px var(--head); }
.brand-labs { font-weight: 500; color: var(--teal); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; }
.nav a:not(.btn) { color: #334155; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--navy); }

/* Hero */
.hero { background: #fff; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 104px; }
.hero-copy { flex: 1 1 500px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.slash { display: inline-block; width: 26px; height: 10px; background: var(--teal); clip-path: polygon(0 0, 100% 0, 81% 100%, 0 100%); }
h1 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.01em; }
.lead { max-width: 560px; font-size: 20px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Chat */
.chat { flex: 1 1 400px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(15, 27, 45, .14); display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 96px; }
.chat-head { background: var(--navy); padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.chat-title { color: #fff; font-weight: 600; font-size: 16px; line-height: 1.3; }
.chat-status { color: #94A3B8; font-size: 13px; line-height: 1.3; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: ping 2s infinite; }
.chat-log { height: 320px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: #F8FAFC; font-size: 15.5px; line-height: 1.5; }
.msg { max-width: 86%; padding: 11px 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--navy); border-radius: 14px 14px 14px 4px; }
.msg.user { align-self: flex-end; background: var(--navy); color: #fff; border-radius: 14px 14px 4px 14px; }
.msg.booked { border-color: #99F6E4; background: #F0FDFA; }
.msg a { color: var(--teal-dark); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #94A3B8; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
.chips { padding: 14px 20px 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 13.5px; background: #fff; border: 1px solid #CBD5E1; color: #334155; border-radius: 999px; padding: 8px 14px; min-height: 40px; cursor: pointer; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--teal); background: #F0FDFA; }
.chat-form { padding: 12px 20px 8px; display: flex; gap: 10px; }
.chat-form input { flex: 1 1 auto; min-width: 0; border: 1px solid #CBD5E1; border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--navy); }
.chat-form input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(13, 148, 136, .18); }
.send { flex: 0 0 48px; height: 48px; border: none; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.send:disabled { opacity: .5; cursor: default; }
.chat-note { padding: 0 20px 16px; font-size: 12px; color: #64748B; }

/* Sections */
.section { padding: 100px 0; }
.section.white { background: #fff; border-top: 1px solid var(--line); }
.section.dark { background: var(--navy); color: #E2E8F0; }
.section.dark h2, .section.dark h3 { color: #fff; }
h2 { font-size: clamp(30px, 3.4vw, 40px); }
h3 { font-size: 22px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head p { max-width: 440px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; gap: 20px; }
.card div { display: flex; flex-direction: column; gap: 8px; }
.card p:not(.num) { font-size: 16px; color: var(--muted); }
.num { font: 700 15px var(--head); color: var(--teal-dark); }
.step { border: 1px solid #22344F; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step p { font-size: 16px; color: #B6C2D3; }
.step .step-n { font-size: 14px; font-weight: 600; color: var(--teal-light); }
.why { display: flex; flex-direction: column; gap: 10px; }
.why p { font-size: 16px; color: var(--muted); }
.faq-row { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-row h2 { flex: 1 1 280px; }
.faq-list { flex: 2 1 520px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-child { padding-top: 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-top: 8px; font-size: 16px; color: var(--muted); }
.cta { background: var(--navy); border-radius: 24px; padding: 64px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta h2 { max-width: 680px; color: #fff; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.cta p { color: #B6C2D3; }
.cta a:not(.btn) { color: var(--teal-light); }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: #64748B; }
.footer-row a { color: #64748B; }
.launcher { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 20px; border-radius: 999px; box-shadow: 0 12px 30px rgba(15, 27, 45, .3); transition: transform .2s, opacity .3s; }
.launcher:hover { color: #fff; transform: translateY(-3px); }
.launcher.hide { animation: none !important; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }

/* Motion */
@keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes inr { from { opacity: 0; transform: translateX(48px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: up .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-in > :nth-child(2) { animation-delay: .12s; } .hero-in > :nth-child(3) { animation-delay: .24s; } .hero-in > :nth-child(4) { animation-delay: .36s; }
  .panel-in { animation: inr 1s .3s cubic-bezier(.2, .7, .2, 1) both; }
  .msg { animation: pop .45s cubic-bezier(.2, .7, .2, 1) both; }
  .launcher { animation: pop .6s 1.2s both; }
  .lift, .lift-dark { transition: transform .25s, box-shadow .25s, border-color .25s; }
  .lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 27, 45, .1); border-color: #99F6E4; }
  .lift-dark:hover { transform: translateY(-6px); border-color: var(--mint); }
  .js .rv, .js .rv-zoom { opacity: 0; }
  .js .rv.in { animation: up .8s cubic-bezier(.2, .7, .2, 1) both; }
  .js .rv-zoom.in { animation: zoom .8s cubic-bezier(.2, .7, .2, 1) both; }
  .grow { transform-origin: left; }
  .js .grow { transform: scaleX(0); }
  .js .in .grow { animation: bar .6s .25s cubic-bezier(.2, .7, .2, 1) both; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .dot { animation: none; } }
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .hero-row { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .section { padding: 72px 0; }
  .card { padding: 24px; }
  .chat-log { height: 300px; }
  .cta { padding: 48px 22px; }
}
