:root { font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; color: #17202a; background: #f5f7fb; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(860px, 94vw); min-height: 100vh; margin: 0 auto; display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: 20px 0; }
.hero, .panel { background: white; border: 1px solid #e1e7f0; border-radius: 20px; box-shadow: 0 12px 28px rgba(23,32,42,.06); }
.hero { padding: 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: #52606d; margin: 0 0 8px; }
h1 { margin: 0 0 8px; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1; }
.hero p:last-child { margin-bottom: 0; }
.conversation { padding: 14px; min-height: 58vh; display: grid; grid-template-rows: 1fr auto; }
.messages { min-height: 360px; max-height: calc(100vh - 300px); overflow-y: auto; display: grid; gap: 10px; align-content: start; padding: 8px; }
.message { padding: 12px 14px; border-radius: 16px; max-width: 760px; line-height: 1.45; white-space: pre-wrap; }
.user { justify-self: end; background: #e8f0ff; }
.clio { justify-self: start; background: #f0f3f8; }
.chat-form { display: flex; gap: 10px; padding: 8px; }
input { width: 100%; border: 1px solid #cbd5e1; border-radius: 14px; padding: 13px 14px; font-size: 1rem; }
button { border: 0; border-radius: 14px; padding: 12px 18px; background: #17202a; color: white; font-weight: 700; cursor: pointer; }
@media (max-width: 720px) { .shell { width: 100%; padding: 0; gap: 0; } .hero { border-radius: 0; box-shadow: none; } .conversation { border-radius: 0; border-left: 0; border-right: 0; min-height: calc(100vh - 190px); } .chat-form { display: grid; grid-template-columns: 1fr; } button { width: 100%; } .messages { max-height: calc(100vh - 310px); } }
