/* Keep the original template. Scoped product media and requested purchase entry points. */
/* The header belongs to the opening section and leaves with it on scroll. */
.site-header { position: absolute; }
.site-header .logo-wordmark {
  width: 180px;
  min-width: 180px;
  height: auto;
  padding: 0;
}
.site-header .logo-wordmark .brand-full-logo {
  position: static;
  width: 100%;
  height: auto;
  transform: none;
}
.alfred-screen-device {
  position: relative;
  padding: 22px 5px 6px;
  overflow: hidden;
  border: 2px solid #82858a;
  border-radius: 32px;
  background: #fffaf5;
  box-shadow: 0 0 0 2px #25262a, 0 18px 30px #17202e26;
}
.phone-front .alfred-screen-device { width: 82%; margin-inline: auto; transform: rotate(-12deg); }
.phone-back .alfred-screen-device { transform: rotate(7deg); border-radius: 24px; }
.phones-floating-container .alfred-screen-device > img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 23px 23px;
}
.alfred-device-island {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 28%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #141418;
}
.alfred-screen-caption {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: #6b7280;
}
.center-whatsapp .alfred-channel-mark { width: 66%; height: 66%; object-fit: contain; border-radius: 50%; }
.gcal-notif-icon .alfred-channel-mark { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; }
.logo-wordmark, .footer-logo, .tittanium-logo-wrap { background: transparent; }
.site-header .brand-logo-light-surface,
.site-header.header-light .brand-logo-dark-surface { display: none; }
.site-header.header-light .brand-logo-light-surface { display: block; }
.hdemo-section .hero-whatsapp-app { background: #fff8f2; color: #101c42; }
.hdemo-section .hero-whatsapp-app::before { opacity: .025; }
.hdemo-section .hero-wa-header { background: #fffaf5; border-color: #f0e3d8; }
.hdemo-section .hero-wa-back { stroke: #ed6018; }
.hdemo-section .hero-wa-header-actions img { width: 22px; height: 22px; }
.hdemo-section .hero-wa-contact strong { color: #101c42; }
.hdemo-section .hero-wa-message.user { background: #ffdfc8; color: #17233e; }
.hdemo-section .hero-wa-message.bot { background: #fff; color: #17233e; }
.hdemo-section .hero-wa-message.bot::before { border-right-color: #fff; }
.hdemo-section .hero-wa-message.user::before { border-left-color: #ffdfc8; }
.hdemo-section .hero-wa-input, .hdemo-section .hdemo-chips { background: #fffaf5; }
.hdemo-section .hdemo-chip { color: #8d3a16; border-color: #edcbb4; }
.hdemo-section .hdemo-chip:hover { background: #ffe8d7; }
.hdemo-section .hero-wa-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hdemo-section .hero-wa-checks svg { stroke: #9a694a; }
.hdemo-section .hero-wa-message > strong { color: #bd4b16; }
.ma-bubble.user, .dd-mockup-whatsapp-clean .dd-msg.user, .gp-wapp-bubble, .drive-msg-user {
  background: #ffdfc8;
  color: #17233e;
}
.drive-chat-name span { color: #bd4b16; }
.dd-msg-author > svg, .ma-verified { display: none; }
.delegate-ai-badge { background: #fff3e4 url('/brand/2026-09/mark.png') center / cover no-repeat; }
.delegate-ai-badge > svg { visibility: hidden; }

#pricing-section { scroll-margin-top: 92px; }
#pricing-section:focus { outline: none; }
.alfred-section-actions { margin-top: 26px; }
.alfred-section-actions--center { display: flex; justify-content: center; margin-top: 34px; }
.alfred-plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid #f59826;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffb347, #f57c00);
  box-shadow: 0 6px 18px #f57c0024;
  color: #251604;
  font: 600 14px/1.4 var(--font-poppins), sans-serif;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.alfred-plan-cta > svg { flex-shrink: 0; }
.alfred-plan-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px #f57c0038; }
.alfred-plan-cta:focus-visible { outline: 3px solid #17213e; outline-offset: 4px; }
.alfred-section-actions--on-orange .alfred-plan-cta {
  background: #17213e;
  color: #fff7eb;
  border-color: #17213e;
  box-shadow: 0 6px 18px #17213e26;
}
.alfred-section-actions--on-orange .alfred-plan-cta:focus-visible { outline-color: #fff; }
.alfred-mobile-purchase { display: none; }
@media (max-width: 768px) {
  .site-header .header-container {
    grid-template-columns: minmax(0, 1fr) auto 40px;
    gap: 8px;
    padding: 0 10px 0 16px;
  }
  .site-header .logo-wordmark { width: 144px; min-width: 0; max-width: 100%; }
  .site-header .header-login-btn { min-height: 40px; padding-inline: 12px; }
  .site-header .mobile-menu-btn { width: 40px; min-height: 44px; align-items: center; justify-content: center; }
  .hero .hero-demo-glass { min-height: 550px; align-items: flex-start; padding-top: 14px; }
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  #pricing-section { scroll-margin-top: 80px; }
  .alfred-section-actions .alfred-plan-cta { width: 100%; max-width: 340px; }
  .alfred-mobile-purchase {
    position: fixed;
    z-index: 900;
    inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    max-width: 480px;
    margin-inline: auto;
    padding: 10px 12px 10px 16px;
    border: 1px solid #fff3e426;
    border-radius: 20px;
    background: #15151cf5;
    box-shadow: 0 8px 30px #0003;
    backdrop-filter: blur(16px);
    animation: alfred-purchase-enter .2s ease-out;
  }
  .alfred-mobile-purchase[hidden] { display: none; }
  .alfred-mobile-purchase-copy { display: grid; gap: 2px; min-width: 0; }
  .alfred-mobile-purchase-copy strong { color: #fff7eb; font: 600 14px/1.3 var(--font-poppins), sans-serif; }
  .alfred-mobile-purchase-copy span { color: #c5bec0; font: 400 11px/1.4 var(--font-poppins), sans-serif; }
  .alfred-mobile-purchase .alfred-plan-cta { min-height: 44px; flex-shrink: 0; padding: 10px 16px; font-size: 13px; gap: 8px; }
  .alfred-mobile-purchase .alfred-plan-cta:focus-visible { outline-color: #fff7eb; outline-offset: 2px; }
}
@media (max-width: 480px) {
  .alfred-screen-device { border-radius: 27px; }
  .pricing-cards { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 380px) {
  .site-header .header-container { padding-inline: 12px 6px; gap: 6px; }
  .site-header .logo-wordmark { width: 136px; }
  .site-header .header-login-btn { font-size: .72rem; padding-inline: 10px; }
}

/* Restore the original live conversation, using Alfred's own visual identity. */
.hero .hero-whatsapp-app { display: flex; flex-direction: column; background: #fff4ea; color: #17233e; }
.hero .hero-whatsapp-app::before { opacity: .025; }
.hero .hero-wa-header { flex: 0 0 auto; background: #fffaf5; border-color: #f0e3d8; }
.hero .hero-wa-back { stroke: #ed6018; }
.hero .hero-wa-avatar img { transform: scale(1.12); }
.hero .hero-wa-header-actions img { width: 22px; height: 22px; }
.hero .hero-wa-contact strong { color: #101c42; }
.hero .hero-wa-body {
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: flex-start;
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
  transition: opacity .4s ease;
}
.hero .hero-wa-body::-webkit-scrollbar { display: none; }
.hero .hero-wa-message { flex-shrink: 0; }
.hero .hero-wa-message.user { background: #ffdfc8; color: #17233e; }
.hero .hero-wa-message.bot { background: #fff; color: #17233e; }
.hero .hero-wa-checks { color: #b77445; }
.hero .hero-wa-input { position: relative; flex: 0 0 auto; background: #fffaf5; }
.hero .hero-wa-typebox:has(#hero-wa-typing:empty)::before { content: 'Message Alfred'; color: #8c8d94; }
.hero .hero-wa-cursor { color: #ed6018; }
.hero[data-chat-paused="true"] .hero-wa-message,
.hero[data-chat-paused="true"] .hero-wa-typing-dots span,
.hero[data-chat-paused="true"] .hero-wa-cursor { animation-play-state: paused; }
@media (max-width: 768px) {
  .hero .hero-wa-message { font-size: .7rem; line-height: 1.45; padding: 7px 8px; }
  .hero .hero-wa-body { padding: 12px 9px; gap: 8px; }
  .hero .hero-wa-contact strong { font-size: .78rem; }
  .hero .hero-wa-contact span { font-size: .57rem; }
  .hero .hero-wa-header-actions img { width: 18px; height: 18px; }
}
@keyframes alfred-purchase-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .alfred-plan-cta { transition: none; }
  .alfred-mobile-purchase { animation: none; }
  .hero .hero-wa-message { animation: none; opacity: 1; transform: none; }
  .hero .hero-wa-cursor { animation: none; }
  .hero .hero-wa-body { transition: none; scroll-behavior: auto; }
}
