:root {
  --color-canvas: #0b0c14;
  --color-panel: #131520;
  --color-panel-top: #161825;
  --color-primary: #3b82f6;
  --color-white: #ffffff;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
  --hero-image: url("https://images.unsplash.com/photo-1582719508461-905c673771fd?w=1600&h=900&fit=crop&auto=format");
  --desktop-width: 600px;
  --phone-width: 170px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-white);
  background: var(--color-canvas);
  font-family: var(--font-body);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon--small {
  width: 12px;
  height: 12px;
}

.hospitality-page {
  min-height: 100vh;
  background: var(--color-canvas);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px 40px;
  background: linear-gradient(to bottom, rgba(11, 12, 20, 0.96), rgba(11, 12, 20, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--color-white);
  font-size: 16px;
  font-weight: 700;
}

.brand__copy {
  display: flex;
  flex-direction: column;
}

.brand__copy strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.brand__copy small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  line-height: 1.3;
}

.desktop-nav,
.header-link,
.language-button {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 20px;
}

.header-link,
.language-button {
  gap: 8px;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  transition: color 160ms ease;
}

.header-link:hover,
.language-button:hover {
  color: rgba(255, 255, 255, 0.8);
}

.header-chat-button {
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 4px 16px rgba(196, 164, 107, 0.25);
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease;
}

.header-chat-button:hover {
  transform: scale(1.05);
}

.mobile-navigation {
  position: relative;
  display: none;
}

.mobile-navigation summary {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  list-style: none;
}

.mobile-navigation summary::-webkit-details-marker {
  display: none;
}

.mobile-navigation__panel {
  position: absolute;
  top: 44px;
  right: 0;
  display: grid;
  width: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(19, 21, 32, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.mobile-navigation__panel a {
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.mobile-navigation__panel a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero__overlay {
  background: radial-gradient(circle at 74% 35%, rgba(196, 164, 107, 0.07), transparent 34%),
    linear-gradient(
      125deg,
      rgba(11, 12, 20, 0.97) 0%,
      rgba(11, 12, 20, 0.85) 45%,
      rgba(11, 12, 20, 0.55) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 40px 80px;
  align-items: center;
  gap: 80px;
}

.preview-column,
.hero-copy {
  flex: 1 1 0;
  min-width: 0;
}

.preview-column {
  display: flex;
  justify-content: flex-start;
}

.preview-composition {
  position: relative;
  padding: 0 64px 64px 0;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.7));
}

.desktop-chat {
  display: flex;
  width: var(--desktop-width);
  height: calc((var(--desktop-width) * 12) / 16);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  color: #111827;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: transform 180ms ease;
}

.desktop-chat:hover,
.phone-chat:hover {
  transform: scale(1.02);
}

/* A real grid (not absolutely-positioned pieces) so this reflows instead of
   overlapping at any width - matches how the actual widget header works. */
/* Hamburger + logo grouped on the left, title left-aligned right after them
   - not centered in the leftover space between two differently-sized side
   groups, which shifts it off the bar's true center. Matches the real
   widget's .chat-header--brand exactly. */
.widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 22px;
  border-radius: 20px 20px 0 0;
  color: #fff;
  background: var(--color-primary);
}

.widget-header > strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-header__left {
  display: flex;
  align-items: center;
  background: #FFFFFF33;
  border-radius: 8px 50% 50% 8px;
  flex-shrink: 0;
}

.widget-header__menu,
.widget-header__new-chat {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  /* background: rgba(255, 255, 255, 0.14); */
}

.widget-header__menu .icon,
.widget-header__new-chat .icon {
  width: 18px;
  height: 18px;
}

.widget-logo {
  display: grid;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  object-fit: cover;
}

/* Matches the real widget's Wallet | Profile utility nav directly below the
   header - replaces the old language/notification toolbar row. */
.widget-toolbar {
  display: flex;
  min-height: 46px;
  padding: 7px 24px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #5f6d65;
  background: #f1f3f2;
  border-bottom: 1px solid #e6ebe8;
}

.widget-language,
.widget-notification {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
}

.widget-language {
  min-width: 90px;
  padding: 0 12px;
  gap: 6px;
  color: #5f6d65;
  font-size: 11px;
  font-weight: 600;
}

.widget-language .icon,
.widget-notification .icon {
  width: 14px;
  height: 14px;
}

.widget-notification {
  width: 31px;
  min-width: 68px;
  border-radius: 9px;
}

.widget-notification--wide {
  width: auto;
  padding: 0 12px;
  color: #5f6d65;
  font-size: 11px;
  font-weight: 600;
}

/* Section labels ("AVAILABLE TONIGHT" / "QUICK ACTIONS") above the room
   cards and quick-action grid - mirrors the real home screen exactly. */
.widget-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 8px 40px;
}

.widget-section-label span {
  color: var(--color-primary);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.widget-section-label b {
  color: var(--color-primary);
  font-size: 9px;
  font-weight: 700;
}

.widget-rooms {
  display: grid;
  margin: 0 10px 4px 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.widget-room-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid #e6ebe8;
  border-radius: 10px;
  background: #fff;
}

.widget-room-card img {
  width: 64px;
  height: 100%;
  min-height: 56px;
  object-fit: cover;
}

.widget-room-card > div {
  display: flex;
  min-width: 0;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.widget-room-card strong {
  overflow: hidden;
  color: #1e2924;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-room-card small {
  overflow: hidden;
  color: #728078;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-room-card span {
  color: var(--color-primary);
  font-size: 8px;
  font-weight: 700;
}

.widget-room-card span em {
  color: #728078;
  font-size: 7px;
  font-style: normal;
  font-weight: 500;
}

.widget-room-card i {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--color-primary);
}

.widget-room-card i .icon {
  width: 10px;
  height: 10px;
}

.widget-wallet-nudge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 10px 10px 40px;
  padding: 9px 11px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-primary), #fff 90%);
  color: #1e2924;
  font-size: 9px;
  font-weight: 700;
}

.widget-wallet-nudge i {
  display: grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--color-primary);
}

.widget-wallet-nudge i .icon {
  width: 13px;
  height: 13px;
}

.widget-wallet-nudge span {
  flex: 1;
}

.widget-conversation {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  background: #fff;
}

.widget-conversation__content {
  display: flex;
  min-height: 0;
  padding: 22px 10px 12px;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.widget-message {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  align-items: flex-start;
  gap: 10px;
}

.widget-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #ccc;
  color: var(--color-primary);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.widget-message p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.widget-message--assistant p {
  position: relative;
  display: flex;
  min-height: 38px;
  max-width: 75%;
  padding: 11px 38px 11px 15px;
  align-items: center;
  border-radius: 0 30px 30px 30px;
  color: #111827;
  background: #f1f1f1;
}

.widget-message--assistant p .icon {
  position: absolute;
  right: 13px;
  width: 15px;
  height: 15px;
  color: #8e8e8e;
}

.widget-message--user {
  justify-content: flex-end;
}

.widget-message--user p {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 30px 0 30px 30px;
  color: #fff;
  background: var(--color-primary);
}

.widget-options {
  display: grid;
  margin: 0 10px 10px 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.widget-options span {
  display: flex;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  overflow: hidden;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  color: var(--color-primary);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-options .icon--small {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  opacity: 0.6;
}

.widget-options__wide {
  grid-column: 1 / -1;
}

.widget-message--loading p {
  padding-right: 18px;
  font-weight: 700;
}

.widget-message--loading p i,
.phone-loading p i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 3px;
  border-radius: 50%;
  background: #8e8e8e;
}

.widget-input {
  display: flex;
  min-height: 50px;
  padding: 8px 10px 8px 24px;
  flex: 0 0 auto;
  align-items: center;
  border-top: 1px solid #f1f1f1;
  color: #8e8e8e;
  font-size: 12px;
}

.widget-input > span:first-child {
  flex: 1 1 auto;
}

.widget-input__action {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
}

.widget-input__action .icon {
  width: 15px;
  height: 15px;
}

.phone-chat {
  position: absolute;
  right: 8px;
  bottom: 0px;
  display: flex;
  width: var(--phone-width);
  height: calc((var(--phone-width) * 18) / 9);
  flex-direction: column;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  color: #111827;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-status {
  display: flex;
  padding: 10px 14px 4px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.62);
  background: #1a1c28;
  font-size: 8px;
  font-weight: 500;
}

.phone-status__icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-status__icons i {
  width: 12px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}

.phone-status__icons b {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

/* Mobile drops the logo entirely (matches the real widget below 480px) -
   just the hamburger, then the title left-aligned, then the add button. */
.phone-header {
  display: flex;
  min-height: 38px;
  padding: 6px 8px;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: var(--color-primary);
}

.phone-menu,
.phone-add {
  display: grid;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
}

.phone-menu .icon,
.phone-add .icon {
  width: 12px;
  height: 12px;
}

.phone-header strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-toolbar {
  display: flex;
  min-height: 27px;
  padding: 4px 9px;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #5f6d65;
  background: #f1f3f2;
  border-bottom: 1px solid #e6ebe8;
}

.phone-toolbar span {
  display: flex;
  min-width: 28px;
  padding: 2px 6px;
  align-items: center;
  gap: 3px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #5f6d65;
  font-size: 6px;
  font-weight: 600;
}

.phone-toolbar .icon {
  width: 8px;
  height: 8px;
}

.phone-conversation {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  background: #fff;
}

.phone-conversation__content {
  display: flex;
  min-height: 0;
  padding: 30px 7px 5px;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
}

.phone-welcome,
.phone-loading {
  display: flex;
  margin-bottom: 5px;
  align-items: flex-start;
  gap: 4px;
}

.phone-welcome > span,
.phone-loading > span {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  color: var(--color-primary);
  background: #fff;
  font-size: 5px;
  font-weight: 700;
}

.phone-welcome p,
.phone-loading p {
  margin: 0;
  padding: 6px 8px;
  border-radius: 0 12px 12px 12px;
  color: #111827;
  background: #f1f1f1;
  font-size: 6px;
  font-weight: 600;
}

.phone-options {
  display: grid;
  margin: 0 0 5px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.phone-options span {
  display: flex;
  min-height: 20px;
  padding: 3px 5px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  color: var(--color-primary);
  background: #fff;
  font-size: 4.5px;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-options__wide {
  grid-column: 1 / -1;
}

.phone-section-label {
  margin: 8px 0 4px 20px;
}

.phone-section-label span {
  color: var(--color-primary);
  font-size: 4.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.phone-rooms {
  display: grid;
  margin: 0 7px 4px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.phone-room-card {
  display: flex;
  overflow: hidden;
  border: 1px solid #e6ebe8;
  border-radius: 5px;
  background: #fff;
}

.phone-room-card img {
  width: 24px;
  height: 100%;
  min-height: 24px;
  object-fit: cover;
}

.phone-room-card > div {
  display: flex;
  min-width: 0;
  padding: 3px;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}

.phone-room-card strong {
  overflow: hidden;
  color: #1e2924;
  font-size: 4.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-room-card small {
  overflow: hidden;
  color: #728078;
  font-size: 3.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-room-card span {
  color: var(--color-primary);
  font-size: 4px;
  font-weight: 700;
}

.phone-wallet-nudge {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 2px 7px 5px 20px;
  padding: 4px 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--color-primary), #fff 90%);
  color: #1e2924;
  font-size: 4.5px;
  font-weight: 700;
}

.phone-wallet-nudge .icon {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.phone-user-message {
  max-width: 76%;
  margin: 0 0 5px auto;
  padding: 6px 8px;
  border-radius: 12px 0 12px 12px;
  color: #fff;
  background: var(--color-primary);
  font-size: 6px;
}

.phone-loading p i {
  width: 2px;
  height: 2px;
  margin-left: 1px;
}

.phone-input {
  display: flex;
  min-height: 28px;
  padding: 4px 6px 4px 10px;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #f1f1f1;
  color: #8e8e8e;
  background: #fff;
  font-size: 6px;
}

.phone-input > span:first-child {
  flex: 1 1 auto;
}

.phone-input > span:last-child {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
}

.phone-input .icon {
  width: 8px;
  height: 8px;
}

.hero-copy {
  max-width: 500px;
}

.hero-copy h1 {
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 em {
  color: var(--color-primary);
  font-style: normal;
}

.hero-copy__description {
  max-width: 420px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 28px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: scale(1.04);
}

.button--primary {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 8px 28px rgba(196, 164, 107, 0.27);
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: transparent;
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.trust-signals {
  display: flex;
  margin-top: 40px;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-signals span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.trust-signals .icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.25);
}

.social-links {
  position: absolute;
  z-index: 3;
  right: 40px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 160ms ease;
}

.social-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.social-links .icon {
  width: 30px;
  height: 30px;
}

.floating-chat {
  position: fixed;
  z-index: 10;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-canvas);
  background: var(--color-primary);
  box-shadow: 0 8px 28px rgba(196, 164, 107, 0.33);
  transition: transform 160ms ease;
}

.floating-chat:hover {
  transform: scale(1.1);
}

.floating-chat .icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 1280px) {
  :root {
    --desktop-width: 400px;
    --phone-width: 140px;
  }

  .phone-chat {
    height: calc((var(--phone-width) * 18) / 9.5);
  }

  .widget-header {
    min-height: 44px;
    padding: 7px 10px;
  }

  .widget-header > strong {
    font-size: 11px;
  }

  .widget-header__menu,
  .widget-header__new-chat {
    width: 27px;
    height: 27px;
  }

  .widget-header__menu .icon,
  .widget-header__new-chat .icon {
    width: 15px;
    height: 15px;
  }

  .widget-logo {
    width: 29px;
    height: 29px;
    font-size: 9px;
  }

  .widget-toolbar {
    min-height: 29px;
    padding: 4px 7px;
    gap: 6px;
  }

  .widget-language,
  .widget-notification {
    min-height: 20px;
  }

  .widget-language {
    padding: 2px 6px;
    gap: 4px;
    font-size: 8px;
  }

  .widget-language .icon,
  .widget-notification .icon {
    width: 10px;
    height: 10px;
  }

  .widget-notification {
    width: 21px;
  }

  .widget-conversation__content {
    padding: 8px 8px 4px;
  }

  .widget-message {
    margin-bottom: 4px;
    gap: 6px;
  }

  .widget-avatar {
    width: 21px;
    height: 21px;
    border-width: 1px;
    font-size: 7px;
  }

  .widget-message p {
    font-size: 7px;
    line-height: 1.2;
  }

  .widget-message--assistant p {
    min-height: 24px;
    max-width: 68%;
    padding: 6px 25px 6px 10px;
  }

  .widget-message--assistant p .icon {
    right: 9px;
    width: 10px;
    height: 10px;
  }

  .widget-message--user {
    padding-right: 15px;
  }

  .widget-message--user p {
    max-width: 100%;
    padding: 6px 9px;
    overflow-wrap: anywhere;
  }

  .widget-options {
    margin: 0 0 4px 27px;
    gap: 3px 4px;
  }

  .widget-options span {
    min-height: 19px;
    padding: 3px 5px;
    border-width: 1px;
    border-radius: 11px;
    font-size: 6.5px;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .widget-message--loading p {
    padding-right: 10px;
  }

  .widget-message--loading p i {
    width: 2px;
    height: 2px;
    margin-left: 1px;
  }

  .widget-input {
    min-height: 34px;
    padding: 5px 7px 5px 14px;
    font-size: 8px;
  }

  .widget-input__action {
    width: 22px;
    height: 22px;
  }

  .widget-input__action .icon {
    width: 11px;
    height: 11px;
  }

  .phone-status {
    padding: 6px 10px 3px;
    font-size: 6px;
  }

  .phone-status__icons i {
    width: 8px;
    height: 4px;
  }

  .phone-header {
    min-height: 30px;
    padding: 4px 6px;
  }

  .phone-menu,
  .phone-add {
    width: 18px;
    height: 18px;
  }

  .phone-menu {
    left: 5px;
  }

  .phone-add {
    right: 5px;
  }

  .phone-menu .icon,
  .phone-add .icon {
    width: 9px;
    height: 9px;
  }

  .phone-avatar {
    left: 25px;
    width: 19px;
    height: 19px;
    font-size: 5px;
  }

  .phone-header strong {
    max-width: 68px;
    font-size: 5.5px;
    line-height: 1.1;
    white-space: normal;
  }

  .phone-toolbar {
    min-height: 21px;
    padding: 3px 5px;
    gap: 4px;
  }

  .phone-toolbar span {
    padding: 1px 4px;
    font-size: 4.5px;
  }

  .phone-toolbar .icon {
    width: 6px;
    height: 6px;
  }

  .phone-conversation__content {
    padding: 12px 5px 3px;
  }

  .phone-welcome,
  .phone-loading {
    margin-bottom: 3px;
    gap: 3px;
  }

  .phone-welcome > span,
  .phone-loading > span {
    width: 13px;
    height: 13px;
    font-size: 4px;
  }

  .phone-welcome p,
  .phone-loading p {
    padding: 4px 5px;
    font-size: 4.5px;
    line-height: 1.15;
  }

  .phone-options {
    margin: 0 0 3px 0;
    gap: 2px 3px;
  }

  .phone-options span {
    min-height: 14px;
    padding: 2px;
    border-radius: 7px;
    font-size: 3.7px;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .phone-user-message {
    max-width: 68%;
    margin-bottom: 3px;
    padding: 4px 5px;
    font-size: 4.5px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .phone-input {
    min-height: 23px;
    padding: 3px 5px 3px 7px;
    font-size: 4.5px;
  }

  .phone-input > span:last-child {
    width: 13px;
    height: 13px;
  }

  .phone-input .icon {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 1120px) {
  .hero__content {
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .button {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: 100vh;
    overflow: visible;
  }

  .hero__image,
  .hero__overlay {
    position: fixed;
  }

  .hero__content {
    flex-direction: column-reverse;
    padding-top: 120px;
    padding-bottom: 120px;
    gap: 64px;
  }

  .hero-copy {
    order: 1;
    text-align: center;
  }

  .preview-column {
    order: 2;
    justify-content: center;
  }

  .hero-copy__description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .trust-signals {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .site-header {
    min-height: 68px;
    padding: 14px 24px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-navigation {
    display: block;
  }

  .social-links {
    /* display: none; */
    right: 50%;
    transform: translateX(50%);
  }

  .hero__content {
    padding: 104px 24px 104px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy__description {
    font-size: 16px;
  }

  .continue-link {
    display: flex;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }

  .floating-chat {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 540px) {
  :root {
    --desktop-width: 100%;
    --phone-width: 128px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .preview-composition {
    /* width: min(100%, 400px); */
    width: 350px;
    padding: 0 42px 0 0;
  }

  .phone-chat {
    right: 0;
    bottom: 0;
  }

  .widget-header > strong {
    font-size: 10px;
  }

  .widget-logo {
    display: none;
  }

  .widget-header__left {
    border-radius: 8px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero__content {
    padding-right: 18px;
    padding-left: 18px;
    gap: 0;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .trust-signals {
    gap: 12px;
  }

  .phone-chat {
    display: none;
  }

  .widget-message--user {
    padding-right: 0;
  }

  .preview-column {
    width: 90%;
  }

  .preview-composition {
    padding: 0;
    width: min(100%, 350px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
