:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --canvas: #f6f8fc;
  --surface: #ffffff;
  --coral: #f2564a;
  --green: #16a34a;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(15, 23, 42, 0.28), 0 2px 8px -2px rgba(15, 23, 42, 0.06);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  font-family:
    'Heebo',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus {
  top: 1rem;
}
.wrap {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}
.narrow {
  width: min(780px, 100% - 2.5rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s,
    background-color 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
}
.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.7);
}
.btn-primary:hover {
  background: var(--brand-700);
}
.btn-secondary {
  background: var(--surface);
  color: var(--brand-700);
  border-color: var(--line);
}
.btn-secondary:hover {
  background: var(--brand-50);
}
.btn-ghost {
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--canvas);
}
.btn-light {
  background: #fff;
  color: var(--brand-700);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo img {
  display: block;
  height: 30px;
  width: auto;
}
.hub-name {
  display: block;
  height: 22px;
  width: auto;
}
.footer-logo {
  display: block;
  height: 24px;
  width: auto;
}
.nav {
  display: flex;
  gap: 1.5rem;
  margin-inline-start: 1rem;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
.nav a:hover {
  color: var(--ink);
}
.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lang {
  display: inline-flex;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2px;
}
.lang button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}
.lang button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

/* Hero */
.hero {
  background:
    radial-gradient(60% 50% at 85% 0%, var(--brand-100), transparent 70%),
    radial-gradient(40% 40% at 0% 30%, #fde4e1, transparent 70%), var(--surface);
  padding-block: 5.5rem 4.5rem;
}
.hero-grid {
  display: block;
  text-align: center;
  max-width: 52rem;
}
.hero-grid .lead {
  margin-inline: auto;
}
.hero-grid .cta-row {
  justify-content: center;
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand-700);
  font-weight: 700;
  font-size: 0.9rem;
}
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
}
h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.lead {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* The inbox picture */
@keyframes fill {
  to {
    transform: scaleX(1);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* The other scenes of the tour */
@keyframes tick {
  to {
    background: var(--green);
    border-color: var(--green);
  }
}

/* Channels: every source flows into the one app */
.channels {
  padding-block: 4rem;
  background:
    radial-gradient(45% 55% at 0% 0%, rgba(242, 86, 74, 0.09), transparent 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(37, 99, 235, 0.08), transparent 70%), #fffaf7;
  border-block: 1px solid #fde8e4;
}
.channels-title {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--ink);
  font-weight: 800;
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  background: var(--surface);
}
.chips li.soon {
  color: var(--muted);
  border-style: dashed;
}
.chips li.soon .brand {
  opacity: 0.6;
}
.brand {
  width: 26px;
  height: 26px;
  flex: none;
}
.chips small {
  font-size: 0.75rem;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  padding: 0 0.45rem;
}

/* Everything flows into the one app */
.pipe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(3rem, 0.7fr) auto;
  align-items: center;
  max-width: 820px;
  margin-inline: auto;
}
.pipe-in {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 288px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pipe-in li {
  height: 44px;
  padding-block: 0;
}
.pipe-svg {
  width: 100%;
  height: 288px;
  overflow: visible;
}
[dir='rtl'] .pipe-svg {
  transform: scaleX(-1);
}
.pipe-svg path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.pipe-svg .base {
  stroke: #cbd5e1;
  stroke-width: 2;
}
.pipe-svg .flow {
  stroke: var(--brand-600);
  stroke-width: 2.5;
  stroke-dasharray: 4 14;
  animation: flow 1.4s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -18;
  }
}
.pipe-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}
.pipe-hub small {
  color: var(--muted);
  font-size: 0.82rem;
}
.app-icon {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--brand-100);
  box-shadow:
    0 18px 40px -16px rgba(37, 99, 235, 0.6),
    0 0 0 8px rgba(37, 99, 235, 0.06);
  margin-bottom: 0.4rem;
}

/* Sections */
.section {
  padding-block: 5rem;
}
.section-tint {
  background: #eef2f7;
}
/* Automation */
.section-warm {
  background:
    radial-gradient(45% 55% at 0% 0%, rgba(242, 86, 74, 0.09), transparent 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(37, 99, 235, 0.08), transparent 70%), #fffaf7;
}
.section-sub {
  margin: 0.5rem auto 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.flow-step {
  position: relative;
  text-align: center;
  padding: 0 0.4rem;
}
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  inset-inline-start: calc(50% + 42px);
  width: calc(100% - 84px);
  border-top: 2px dashed #93c5fd;
}
.flow-node {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 2px solid var(--brand-100);
  box-shadow: 0 8px 20px -10px rgba(37, 99, 235, 0.5);
}
.flow-node svg {
  width: 26px;
  height: 26px;
}
.flow-you .flow-node {
  background: #fff1ef;
  color: #b4231b;
  border-color: #ffd9d4;
  box-shadow: 0 8px 20px -10px rgba(242, 86, 74, 0.5);
}
.flow-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
}
.flow-you .flow-tag {
  color: #b4231b;
  background: #ffe4e0;
}
.flow-step h3 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.1rem;
}
.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.auto-note {
  margin: 1.75rem 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
}

/* Lead analysis */
.section-blue {
  background: radial-gradient(50% 50% at 100% 0%, rgba(37, 99, 235, 0.1), transparent 70%), #eff6ff;
}
.an-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.ticks2 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.ticks2 li {
  position: relative;
  padding-inline-start: 2rem;
  color: var(--ink);
  font-weight: 500;
}
.ticks2 li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.an-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem 1rem;
}
.an-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.an-head b {
  font-size: 1.1rem;
}
.an-head small {
  color: var(--muted);
  font-size: 0.85rem;
}
.an-kpis,
.an-bars {
  list-style: none;
  margin: 0;
  padding: 0;
}
.an-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.an-kpis li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
}
.an-kpis b {
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--brand-700);
}
.an-kpis small {
  color: var(--muted);
  font-size: 0.78rem;
}
.an-kpis em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
}
.an-kpis .up {
  color: var(--green);
}
.an-bars {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.an-bars li {
  display: grid;
  grid-template-columns: 4.4rem 1fr 2rem;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.an-bars i {
  display: block;
  height: 12px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-600), #60a5fa);
  transform-origin: left;
}
[dir='rtl'] .an-bars i {
  transform-origin: right;
}
.an-bars em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.js .an-card.reveal:not(.in) .an-bars i {
  transform: scaleX(0);
}
.an-card .an-bars i {
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}
.an-table {
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.an-row {
  display: grid;
  grid-template-columns: 1.9fr 0.7fr 0.7fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--ink);
}
.an-row span:not(:first-child) {
  text-align: end;
  direction: ltr;
}
.an-th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
}
.an-note {
  margin: 0.6rem 0 0;
  color: #94a3b8;
  font-size: 0.75rem;
  text-align: center;
}

/* One dark band in the middle of the page, so the sections don't blur into one another. */
.section-dark {
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(59, 130, 246, 0.28), transparent 70%),
    linear-gradient(180deg, #0b1736, #10245a);
  color: #fff;
}
.section-dark .eyebrow {
  color: #93c5fd;
}
.section-dark .steps > li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.section-dark .steps p {
  color: #cbd5e1;
}
.section-dark .num {
  background: #fff;
  color: var(--brand-700);
}
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-100);
}
.card p {
  margin: 0;
  color: var(--muted);
}
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 1rem;
}
.icon svg {
  width: 24px;
  height: 24px;
}
.i-violet {
  background: #ede9fe;
  color: #6d28d9;
}
.i-blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.i-emerald {
  background: #d1fae5;
  color: #047857;
}
.i-amber {
  background: #fef3c7;
  color: #b45309;
}
.i-rose {
  background: #ffe4e6;
  color: #be123c;
}
.i-sky {
  background: #e0f2fe;
  color: #0369a1;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.steps > li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.step-top .num {
  margin-bottom: 0;
}
.step-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}
.step-tag.tag-auto {
  background: #dcfce7;
  color: #166534;
}
.section-dark .steps > li.step-auto {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.42), rgba(255, 255, 255, 0.08));
  border-color: rgba(147, 197, 253, 0.7);
  box-shadow: 0 24px 60px -24px rgba(37, 99, 235, 0.8);
  transform: translateY(-8px);
}
.step-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding: 0;
}
.section-dark .steps .step-chips li {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: none;
}
.num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
/* The arrow between two steps points the way the page reads. */

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.25rem;
}
.faq summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand-600);
}
.faq details[open] summary::after {
  content: '−';
}
.faq p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Final call */
.final {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff;
  text-align: center;
  padding-block: 4.5rem;
}
.final p {
  margin: 0 0 1.5rem;
  color: #dbeafe;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  /* extra room at the bottom so the floating helper never covers the footer */
  padding-block: 2rem 5.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.footer-slogan {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer nav {
  display: flex;
  gap: 1.25rem;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: var(--ink);
}

/* Motion: things ease in as they come into view, and the inbox picture plays its little story.
   Everything is visible without JavaScript, and nothing moves for people who asked for less. */
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-copy > * {
  animation: pop 0.6s both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.32s;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 800px) {
  /* Same picture as on desktop: a column of channel icons whose lines converge on the app. */
  .pipe {
    grid-template-columns: auto minmax(2rem, 1fr) auto;
  }
  .pipe-in li {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    gap: 0;
    font-size: 0;
  }
  .pipe-in li small {
    display: none;
  }
  .pipe-in li .brand {
    width: 28px;
    height: 28px;
  }
  .app-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
  }
  .app-icon img {
    width: 46px;
    height: 46px;
  }
}
@media (max-width: 960px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    max-width: 30rem;
    margin-inline: auto;
  }
  .flow-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 1rem;
    text-align: start;
    padding: 0;
  }
  .flow-step:not(:last-child)::after {
    top: 64px;
    bottom: -1.6rem;
    inset-inline-start: 27px;
    width: 0;
    height: auto;
    border-top: 0;
    border-inline-start: 2px dashed #93c5fd;
  }
  .flow-node {
    grid-row: 1 / span 3;
    margin: 0;
  }
  .flow-tag {
    justify-self: start;
  }
  .flow-step h3 {
    margin-top: 0.4rem;
  }
  .an-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
  }
}
@media (max-width: 640px) {
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
  .hide-sm {
    display: none;
  }
  .section {
    padding-block: 3.5rem;
  }
  .header-row {
    gap: 0.5rem;
    min-height: 3.5rem;
  }
  .logo img {
    height: 26px;
  }
  .header-actions {
    gap: 0.4rem;
  }
  .header-actions .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 10px;
    white-space: nowrap;
  }
  .lang button {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* The help character, bottom-right like in the app */
.mascot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: block;
  width: 76px;
  height: 76px;
  text-decoration: none;
  filter: drop-shadow(0 14px 18px rgba(30, 58, 138, 0.3));
}
.mascot svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mascot:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 4px;
  border-radius: 24px;
}
.mascot-bubble {
  position: absolute;
  right: 84px;
  bottom: 18px;
  width: max-content;
  max-width: 15rem;
  padding: 0.7rem 1rem;
  border-radius: 16px 16px 4px 16px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateX(8px) scale(0.96);
  transform-origin: right bottom;
  transition:
    opacity 0.25s,
    transform 0.25s;
  pointer-events: none;
}
.mascot:hover .mascot-bubble,
.mascot:focus-visible .mascot-bubble {
  opacity: 1;
  transform: none;
}
.m-float,
.m-bob,
.m-wave,
.m-blink {
  transform-box: fill-box;
}
.mascot-bubble {
  display: grid;
}
.mb {
  grid-area: 1 / 1;
}
.mb1 {
  opacity: 0;
}
.mascot:hover .mb1,
.mascot:focus-visible .mb1 {
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .mascot:not(.quiet) .mascot-bubble {
    animation: mascot-hello 11s 0.9s both;
  }
  .mascot:not(.quiet) .mb1 {
    animation: mascot-first 11s 0.9s both;
  }
  .mascot:not(.quiet) .mb2 {
    animation: mascot-second 11s 0.9s both;
  }
  .m-float {
    animation: mascot-float 3.2s ease-in-out infinite;
  }
  .m-bob {
    transform-origin: 50% 100%;
    animation: mascot-bob 2.4s ease-in-out infinite;
  }
  .m-wave {
    transform-origin: 100% 100%;
    animation: mascot-wave 1.1s 0.9s 3 ease-in-out;
  }
  .m-blink {
    transform-origin: 50% 50%;
    animation: mascot-blink 5s infinite;
  }
}
@keyframes mascot-hello {
  0%,
  100% {
    opacity: 0;
    transform: translateX(8px) scale(0.96);
  }
  8%,
  88% {
    opacity: 1;
    transform: none;
  }
}
@keyframes mascot-first {
  0%,
  42% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}
@keyframes mascot-second {
  0%,
  44% {
    opacity: 0;
  }
  50%,
  100% {
    opacity: 1;
  }
}
@keyframes mascot-float {
  50% {
    transform: translateY(-4px);
  }
}
@keyframes mascot-bob {
  50% {
    transform: rotate(9deg);
  }
}
@keyframes mascot-wave {
  25% {
    transform: rotate(-24deg);
  }
  75% {
    transform: rotate(22deg);
  }
}
@keyframes mascot-blink {
  94%,
  100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.1);
  }
}
@media (max-width: 640px) {
  .mascot {
    right: 12px;
    bottom: 12px;
    width: 60px;
    height: 60px;
  }
  .mascot-bubble {
    right: 66px;
    bottom: 10px;
    max-width: 11rem;
    font-size: 0.88rem;
  }
}
