:root {
  color-scheme: light;
  --ink: #0a203e;
  --muted: #778296;
  --line: #d5dce6;
  --accent: #ed3638;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 3.25vw; }
.chat-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 95%); backdrop-filter: blur(12px); transition: transform .22s ease, box-shadow .22s ease; }
.chat-header.is-hidden { transform: translateY(-100%); }
.chat-header.is-scrolled { box-shadow: 0 1px 12px rgb(10 32 62 / 7%); }
.chat-brand { display: inline-flex; border-radius: 6px; font-size: 38px; }
.chat-header__actions { display: flex; align-items: center; gap: 12px; }
.chat-phone { display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; padding: 10px 4px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: color .18s ease; }
.chat-phone:hover { color: var(--accent); }
.chat-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.chat-login { border: 1px solid var(--ink); border-radius: 14px; padding: 12px 22px; font-size: 14px; font-weight: 500; transition: background .18s ease; }
.chat-login:hover { background: #f3f5f8; }
.chat-main { min-height: calc(100svh - 85px); padding: clamp(95px, 19.5vh, 205px) 24px 64px; transition: padding-top .38s cubic-bezier(.22, .61, .36, 1); }
.chat-start { width: min(100%, 924px); margin: 0 auto; }
h1 { margin: 0 0 48px; text-align: center; font-size: clamp(30px, 3.35vw, 50px); font-weight: 600; letter-spacing: -1.5px; line-height: 1.2; transition: font-size .38s cubic-bezier(.22, .61, .36, 1), margin-bottom .38s cubic-bezier(.22, .61, .36, 1), letter-spacing .38s cubic-bezier(.22, .61, .36, 1), line-height .38s cubic-bezier(.22, .61, .36, 1); }
.chat-first-home .chat-main { padding-top: clamp(70px, 12vh, 128px); }
.chat-first-home h1 { max-width: 900px; margin-inline: auto; font-size: clamp(38px, 4.25vw, 62px); font-weight: 650; letter-spacing: -2.7px; line-height: 1.06; text-wrap: balance; }
.chat-examples { margin-top: 32px; }
.chat-examples > p { margin: 0 0 24px; text-align: center; color: var(--muted); font-size: 16px; line-height: 1.5; }
.example-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.example { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; min-height: 70px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; transition: background .18s, border-color .18s, transform .18s; }
.example:hover { background: #f6f8fa; border-color: #a5b1c2; transform: translateY(-2px); }
.example[aria-pressed="true"] { background: #f1f4f8; border-color: #8d9cb2; }
.example-route { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 16px; line-height: 1.3; white-space: nowrap; }
.example-route svg { width: 17px; height: 17px; flex-shrink: 0; }
.example-cargo { color: var(--muted); font-size: 14px; }
.chat-status { margin: 16px 2px 0; color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center; }
:focus-visible { outline: 3px solid #6d8bb6; outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .chat-header { padding: 22px 20px; gap: 12px; }
  .chat-brand { font-size: 30px; }
  .chat-header__actions { gap: 8px; }
  .chat-phone { width: 40px; height: 40px; justify-content: center; padding: 0; border: 1px solid var(--line); }
  .chat-phone span { display: none; }
  .chat-login { padding: 11px 13px; font-size: 12px; border-radius: 12px; }
  .chat-main { padding: clamp(65px, 12vh, 110px) 20px 40px; }
  h1 { max-width: 340px; margin: 0 auto 30px; font-size: 34px; letter-spacing: -1.1px; }
  .chat-first-home .chat-main { padding-top: clamp(44px, 8vh, 72px); }
  .chat-first-home h1 { max-width: 360px; font-size: clamp(32px, 9vw, 42px); letter-spacing: -1.7px; line-height: 1.05; }
  .chat-examples { margin-top: 26px; }
  .chat-examples > p { font-size: 14px; margin-bottom: 16px; }
  .example-list { grid-template-columns: 1fr; gap: 10px; }
  .example { flex-direction: column; gap: 6px; min-height: 74px; padding: 13px 16px; border-radius: 14px; }
  .example-route { font-size: 14px; }
  .example-cargo { font-size: 12px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .chat-header { padding-inline: 14px; }
  .chat-main { padding-inline: 14px; }
  .chat-login { font-size: 11px; padding-inline: 10px; }
  .example { flex-direction: column; gap: 5px; }
  h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .example:hover, .chat-send:not(:disabled):hover { transform: none; }
}

.delivery-frame-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 4px 14px rgb(10 32 62 / 5%); background: #fff; }
.delivery-frame-shell:focus-within { border-color: #8d9cb2; box-shadow: 0 0 0 3px rgb(10 32 62 / 5%); }
#delivery-frame { display: block; width: 100%; height: 64px; border: 0; transition: height .42s cubic-bezier(.22, .61, .36, 1); }
.delivery-widget.is-expanded #delivery-frame { height: clamp(420px, 68svh, 740px); }
.example:disabled { cursor: wait; opacity: .55; transform: none; }
.chat-state-pending .chat-main,
.has-open-chat .chat-main { padding-top: 28px; }
.chat-state-pending h1,
.has-open-chat h1 { font-size: 26px; margin-bottom: 20px; letter-spacing: -1px; line-height: 1.15; }
.chat-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px; padding: 24px 3.25vw; border-top: 1px solid #e5e9ef; color: var(--muted); background: #fff; }
.chat-footer__brand { display: inline-flex; font-size: 25px; }
.chat-footer__links { display: flex; justify-content: center; align-items: center; gap: 12px 26px; flex-wrap: wrap; }
.chat-footer__links a, .chat-footer__contact { font-size: 13px; }
.chat-footer__links a:hover, .chat-footer__contact a:hover { color: var(--accent); }
.chat-footer__contact { display: grid; justify-items: end; gap: 4px; white-space: nowrap; }
.chat-footer__contact a { color: var(--ink); font-weight: 700; }
@media (max-width: 700px) {
  #delivery-frame { height: 60px; }
  .delivery-frame-shell { border-radius: 22px; }
  .chat-state-pending .chat-main,
  .has-open-chat .chat-main { padding-top: 20px; }
  .chat-state-pending h1,
  .has-open-chat h1 { font-size: 22px; }
  .chat-footer { grid-template-columns: 1fr; justify-items: start; gap: 20px; padding: 24px 20px; }
  .chat-footer__links { justify-content: flex-start; }
  .chat-footer__contact { justify-items: start; }
}
