/* ==========================================================================
   AI Bruv — design system
   Warm navy + amber. Built around one idea: two mates talking.
   ========================================================================== */

:root {
  /* brand */
  --navy-900: #0d1b3e;
  --navy-800: #12275c;
  --navy-700: #1b3a8f;
  --navy-600: #2453bd;
  --blue-500: #2e6be6;
  --blue-400: #5b8ef0;
  --blue-100: #dbe7fd;
  --blue-50:  #eef4ff;

  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbae3c;
  --amber-100: #fef1dc;

  --teal-500: #0d9488;

  /* neutrals */
  --ink:      #101828;
  --ink-2:    #344054;
  --ink-3:    #667085;
  --line:     #e4e7ec;
  --line-2:   #f2f4f7;
  --paper:    #ffffff;
  --paper-2:  #f8fafc;

  /* system */
  --radius:   14px;
  --radius-lg:22px;
  --radius-xl:30px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow:    0 4px 16px -4px rgba(16,24,40,.10), 0 2px 6px -2px rgba(16,24,40,.06);
  --shadow-lg: 0 24px 48px -12px rgba(13,27,62,.18);
  --shadow-glow: 0 20px 60px -20px rgba(46,107,230,.45);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.022em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 780; letter-spacing: -.03em; }
h3 { font-size: 1.14rem; font-weight: 700; }
p  { margin: 0 0 1.05em; }
a  { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }
img, svg { max-width: 100%; }

.wrap   { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.narrow { max-width: 780px; }
.muted  { color: var(--ink-3); }
.small  { font-size: .875rem; }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy-700);
  color: #fff; padding: 12px 18px; z-index: 200; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------------ header */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .mark { width: 42px; height: 42px; flex: none; }
.wordmark {
  font-weight: 820; font-size: 1.28rem; color: var(--navy-800);
  letter-spacing: -.035em;
}
.links { display: flex; align-items: center; gap: 26px; }
.links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 560; }
.links a:hover { color: var(--navy-700); }
/* `.links a` (0,1,1) would otherwise beat `.btn` (0,1,0) and paint the
   header button's label dark on dark. Match specificity to win it back. */
.links a.btn        { color: #fff; }
.links a.btn:hover  { color: #fff; }
.links a.btn.ghost  { color: var(--navy-700); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--navy-700); color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 22px -10px rgba(27,58,143,.75);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--navy-600); color: #fff; transform: translateY(-1px);
             box-shadow: 0 14px 28px -12px rgba(27,58,143,.85); }
.btn:active { transform: translateY(0); }
.btn.small { padding: 10px 20px; font-size: .92rem; }
.btn.ghost { background: transparent; color: var(--navy-700); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--blue-50); border-color: var(--blue-100); color: var(--navy-700); }
.btn.amber { background: var(--amber-500); box-shadow: 0 8px 22px -10px rgba(217,119,6,.8); }
.btn.amber:hover { background: var(--amber-600); }
.btn.white { background: #fff; color: var(--navy-800); }
.btn.white:hover { background: #f4f7ff; color: var(--navy-800); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -8%, rgba(251,174,60,.20), transparent 62%),
    radial-gradient(880px 520px at 4% 4%, rgba(46,107,230,.20), transparent 60%),
    linear-gradient(180deg, var(--blue-50) 0%, #ffffff 74%);
  padding: 74px 0 84px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(27,58,143,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--blue-100); color: var(--navy-700);
  padding: 7px 15px 7px 9px; border-radius: 999px;
  font-size: .82rem; font-weight: 680; letter-spacing: .01em; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a;
                box-shadow: 0 0 0 3px rgba(22,163,74,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

.hero h1 { color: var(--navy-900); }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--amber-500), var(--amber-400) 55%, #ffcf7a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.16rem; color: var(--ink-2); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-2); font-weight: 550; }
.hero-points svg { width: 18px; height: 18px; flex: none; color: var(--teal-500); }

/* phone mockup ------------------------------------------------------------ */
.phone {
  position: relative; width: 100%; max-width: 330px; margin-inline: auto;
  background: linear-gradient(160deg, #17264d, #0d1b3e);
  border-radius: 38px; padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.07) inset;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-11px)} }
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.22);
}
.phone-screen {
  background: #e9e3db; border-radius: 29px; overflow: hidden;
  min-height: 480px; display: flex; flex-direction: column;
}
.phone-bar {
  background: #075e54; color: #fff; padding: 26px 15px 12px;
  display: flex; align-items: center; gap: 10px;
}
.phone-av {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--amber-400), var(--amber-600));
  display: grid; place-items: center; font-weight: 800; font-size: .84rem; color: #fff;
}
.phone-who { font-size: .92rem; font-weight: 680; line-height: 1.25; }
.phone-sub { font-size: .7rem; opacity: .82; }
.phone-body { padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.bub {
  max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: .85rem;
  line-height: 1.5; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,.13);
  opacity: 0; transform: translateY(9px); animation: bubIn .45s ease forwards;
}
@keyframes bubIn { to { opacity: 1; transform: none; } }
.bub.them { background: #fff; align-self: flex-start; border-top-left-radius: 5px; }
.bub.us   { background: #d9fdd3; align-self: flex-end;  border-top-right-radius: 5px; }
.bub .t { display: block; font-size: .62rem; color: #667781; text-align: right; margin-top: 3px; }
.bub:nth-child(1){animation-delay:.35s} .bub:nth-child(2){animation-delay:1.0s}
.bub:nth-child(3){animation-delay:1.7s} .bub:nth-child(4){animation-delay:2.5s}
.bub:nth-child(5){animation-delay:3.2s}

/* ------------------------------------------------------------------ bands */
.band { padding: 82px 0; }
.band.alt  { background: var(--paper-2); border-block: 1px solid var(--line-2); }
.band.tint { background: linear-gradient(180deg, var(--blue-50), #fff); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-lede { font-size: 1.09rem; color: var(--ink-3); margin: 0; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 760; letter-spacing: .10em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: 12px;
}

.grid { display: grid; gap: 22px; }
.grid.two   { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four  { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 17px; background: var(--blue-50); color: var(--navy-700);
}
.icon-badge svg { width: 25px; height: 25px; }
.icon-badge.amber { background: var(--amber-100); color: var(--amber-600); }
.icon-badge.teal  { background: #d9f2ef; color: var(--teal-500); }

/* steps ------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px;
         grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; background: #fff; border: 1px solid var(--line);
            border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.steps .num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(140deg, var(--navy-700), var(--blue-500));
  color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 15px;
  box-shadow: 0 8px 18px -8px rgba(27,58,143,.8);
}
.steps li p:last-child { margin-bottom: 0; }

/* packages ---------------------------------------------------------------- */
.price { display: flex; flex-direction: column; }
.price .who { color: var(--ink-3); font-size: .92rem; margin: -4px 0 16px; }
.price ul { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 11px; }
.price li { position: relative; padding-left: 27px; font-size: .95rem; }
.price li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px;
  border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3a8f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.price.featured { border-color: var(--navy-700); box-shadow: var(--shadow-glow); position: relative; }
.price.featured::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 2px solid var(--navy-700);
}
.tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber-500); color: #3b2100; font-size: .72rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px;
  white-space: nowrap; z-index: 1;
}
.fineprint { margin-top: 26px; color: var(--ink-3); font-size: .9rem; text-align: center; }

/* industry chips ---------------------------------------------------------- */
.chip {
  display: block; text-decoration: none; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.chip:hover h3 { color: var(--navy-600); }
.chip .try {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 11px;
  font-size: .82rem; font-weight: 680; color: var(--blue-500); opacity: 0;
  transform: translateX(-4px); transition: opacity .18s, transform .18s;
}
.chip:hover .try { opacity: 1; transform: none; }
.chip h3 { font-size: 1rem; margin-bottom: 5px; }
.chip p  { margin: 0; font-size: .9rem; color: var(--ink-3); }
.chip .ic { width: 26px; height: 26px; color: var(--blue-500); margin-bottom: 11px; }

/* ==========================================================================
   INTERACTIVE DEMO
   ========================================================================== */
.demo-band {
  background:
    radial-gradient(900px 460px at 12% 0%, rgba(46,107,230,.16), transparent 60%),
    radial-gradient(760px 420px at 92% 100%, rgba(251,174,60,.16), transparent 62%),
    linear-gradient(180deg, var(--navy-900), #142a5e 60%, var(--navy-800));
  color: #d9e2f5; padding: 84px 0;
}
.demo-band h2 { color: #fff; }
.demo-band .section-lede { color: #a9bde4; }
.demo-band .kicker { color: var(--amber-400); }

.picker { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 30px; }
.pick {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: #d9e2f5; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font-size: .9rem; font-weight: 600; font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.pick:hover { background: rgba(255,255,255,.13); transform: translateY(-1px); }
.pick[aria-selected="true"] { background: #fff; color: var(--navy-800); border-color: #fff; }
.pick svg { width: 17px; height: 17px; }

.chat-shell {
  max-width: 700px; margin-inline: auto; background: #fff; color: var(--ink-2);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
}
.chat-head {
  display: flex; align-items: center; gap: 13px; padding: 17px 20px;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #fff;
}
.chat-av {
  width: 43px; height: 43px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.15); color: #fff;
}
.chat-av svg { width: 23px; height: 23px; }
.chat-name { font-weight: 720; font-size: 1.02rem; line-height: 1.25; }
.chat-tag  { font-size: .8rem; opacity: .8; }
.chat-badge {
  margin-left: auto; font-size: .68rem; font-weight: 750; letter-spacing: .07em;
  text-transform: uppercase; background: rgba(255,255,255,.16); padding: 5px 11px;
  border-radius: 999px; white-space: nowrap;
}
.chat-log {
  min-height: 310px; max-height: 430px; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 11px; background: var(--paper-2);
  overscroll-behavior: contain;
}
.msg {
  max-width: 80%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.55;
  animation: bubIn .3s ease forwards; opacity: 0;
}
.msg.bot  { background: #fff; border: 1px solid var(--line); align-self: flex-start;
            border-bottom-left-radius: 5px; color: var(--ink); }
.msg.user { background: var(--navy-700); color: #fff; align-self: flex-end;
            border-bottom-right-radius: 5px; }
.msg strong { font-weight: 700; }
.msg.note { align-self: center; background: var(--amber-100); color: #7c4a03;
            border: 1px solid #f7d9a6; font-size: .85rem; max-width: 92%; text-align: center; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 3px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3);
            animation: blink 1.3s infinite; }
.typing i:nth-child(2){animation-delay:.18s} .typing i:nth-child(3){animation-delay:.36s}
@keyframes blink { 0%,60%,100%{opacity:.25} 30%{opacity:1} }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 13px 20px 0; }
.sug {
  background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--navy-700);
  padding: 7px 13px; border-radius: 999px; font-size: .85rem; cursor: pointer;
  font-family: inherit; font-weight: 550; transition: background .15s, transform .15s;
}
.sug:hover { background: var(--blue-100); transform: translateY(-1px); }

.chat-form { display: flex; gap: 10px; padding: 15px 20px 20px; border-top: 1px solid var(--line-2); }
.chat-form input {
  flex: 1; padding: 13px 17px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .97rem; font-family: inherit; color: var(--ink); background: #fff;
}
.chat-form input:focus { outline: none; border-color: var(--blue-400);
                         box-shadow: 0 0 0 3px rgba(91,142,240,.22); }
.chat-form button {
  width: 48px; height: 48px; border-radius: 50%; border: 0; flex: none; cursor: pointer;
  background: var(--navy-700); color: #fff; display: grid; place-items: center;
  transition: background .15s, transform .15s;
}
.chat-form button:hover:not(:disabled) { background: var(--blue-500); transform: scale(1.05); }
.chat-form button:disabled { opacity: .45; cursor: not-allowed; }
.chat-form button svg { width: 21px; height: 21px; }
.demo-foot { text-align: center; margin-top: 24px; font-size: .88rem; color: #9db2dc; }
.demo-foot a { color: var(--amber-400); }

/* ------------------------------------------------------------------ CTA */
.cta-band {
  background: linear-gradient(125deg, var(--navy-800), var(--navy-700) 55%, var(--navy-600));
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 320px at 50% 0%, rgba(251,174,60,.24), transparent 65%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #cfdcf6; margin-inline: auto; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 30px; }
.contact-card {
  display: flex; flex-direction: column; gap: 3px; min-width: 244px; text-decoration: none;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  padding: 19px 26px; border-radius: var(--radius); color: #fff;
  transition: background .15s, transform .15s;
}
.contact-card:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }
.contact-card .label { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em;
                       opacity: .78; font-weight: 700; }
.contact-card .value { font-size: 1.06rem; font-weight: 650; }

/* ------------------------------------------------------------------ legal */
.legal-block {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px; margin-top: 26px;
}
.legal-block dl { margin: 0; display: grid; gap: 15px; }
.legal-block dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
                  color: var(--ink-3); font-weight: 750; margin-bottom: 3px; }
.legal-block dd { margin: 0; color: var(--ink); font-size: .96rem; }

/* ------------------------------------------------------------------ docs */
.doc { padding: 60px 0 84px; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.7rem); }
.doc h2 { font-size: 1.34rem; margin-top: 2.1em; padding-bottom: .4em;
          border-bottom: 1px solid var(--line); }
.doc ul { padding-left: 1.25em; }
.doc li { margin-bottom: .5em; }
.updated { color: var(--ink-3); font-size: .9rem; margin-top: -.4em; }

/* ------------------------------------------------------------------ footer */
footer.site { background: var(--navy-900); color: #93a7cd; padding: 56px 0 30px; }
.foot { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.foot-brand { color: #fff; font-weight: 730; font-size: 1.06rem; margin: 0 0 6px; }
.foot p { margin: 0 0 5px; }
.foot .muted { color: #7d92ba; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.foot-links a { color: #b9c9e6; text-decoration: none; font-size: .94rem; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.copy { border-top: 1px solid rgba(255,255,255,.10); margin-top: 34px; padding-top: 22px; }
.copy .muted { color: #6d82ab; }

/* ------------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps     { grid-template-columns: repeat(2, 1fr); }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .links a:not(.btn) { display: none; }
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .band, .demo-band { padding: 60px 0; }
  .hero { padding: 52px 0 62px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .grid.four { grid-template-columns: 1fr; }
  .wrap { padding-inline: 17px; }
  .msg { max-width: 88%; }
  .contact-card { min-width: 100%; }
  .chat-log { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
                           transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .bub, .msg { opacity: 1; }
}

/* ==========================================================================
   SALES CHAT — our own onboarding, run by our own product
   ========================================================================== */
.sales-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy-700); color: #fff; border: 0; cursor: pointer;
  padding: 15px 22px; border-radius: 999px; font: inherit; font-weight: 680; font-size: .97rem;
  box-shadow: 0 14px 34px -10px rgba(13,27,62,.6);
  transition: transform .18s ease, background .18s ease, opacity .2s ease;
}
.sales-fab:hover { background: var(--blue-500); transform: translateY(-2px); }
.sales-fab.hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.sales-fab svg { flex: none; }

.sales-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 130;
  width: min(400px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 40px));
  background: #fff; border-radius: var(--radius-xl); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 70px -18px rgba(13,27,62,.45);
  opacity: 0; transform: translateY(18px) scale(.97); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.sales-panel.in { opacity: 1; transform: none; pointer-events: auto; }

.sales-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff;
}
.sales-av {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.14);
}
.sales-name { font-weight: 720; font-size: 1rem; line-height: 1.25; }
.sales-sub  { font-size: .78rem; opacity: .82; }
.sales-x {
  margin-left: auto; background: rgba(255,255,255,.14); border: 0; color: #fff;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background .15s;
}
.sales-x:hover { background: rgba(255,255,255,.28); }

.sales-log {
  flex: 1; min-height: 240px; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper-2); overscroll-behavior: contain;
}
.sales-panel .chips { padding: 11px 18px 0; }
.sales-panel .chat-form { padding: 13px 18px 18px; }

@media (max-width: 560px) {
  .sales-panel { right: 8px; left: 8px; bottom: 8px; width: auto;
                 max-height: calc(100vh - 16px); border-radius: 22px; }
  .sales-fab { right: 14px; bottom: 14px; padding: 14px 18px; }
  .sales-fab span { display: none; }
}

/* package starting price */
.price-tag { margin: -2px 0 4px; font-size: .95rem; color: var(--ink-3); }
.price-tag strong { font-size: 1.85rem; font-weight: 800; color: var(--navy-800);
                    letter-spacing: -.03em; }
.price-tag span { font-size: .9rem; }
